Function at 0x48e3e0
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x674769
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x74b738]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x490790
mov dword [ebx + 0xc0], eax
mov dword [ebx + 0xc4], 0
call fcn.005510b0
push 0x104
lea eax, [ebp - 0x114]
mov dword [0x755f18], 0
push 0
push eax
mov dword [0x755f28], 0x5e60b50e
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea eax, [ebp - 0x114]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x114]
push eax
push 0x800
push 0x758738
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
push str.titan
push 0x758738
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
call sym._b015226917.exe_TitanSDK_Start
mov edi, eax
mov dword [ebp - 0x220], edi
test edi, edi
je 0x48e6e1
call sym._b015226917.exe_TitanSDK_Stop
lea ecx, [ebp - 0x218]
call fcn.0048e1c0
mov edx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1fc], 1
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x48e4e3
sub edx, ecx
lea ecx, [ebp - 0x1f4]
sar edx, 1
push edx
push esi
call fcn.0043fcb0
mov eax, dword [ebx]
lea ecx, [ebp - 0x218]
push ecx
mov ecx, ebx
mov dword [ebp - 0x1f8], 3
mov dword [ebp - 0x1a8], edi
call dword [eax + 0x20]
call fcn.00509500
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x48e6ca
push 0x38
mov dword [ebp - 0x134], eax
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x130], eax
push str.f:master_luinst_ui_market_net_titan_titansdk_helper.cc
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], al
call fcn.0042a9a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
push 3
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
push 0x6d1880
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.0042a9a0
mov byte [ebp - 4], 2
call fcn.00509500
mov edi, eax
lea ecx, [ebp - 0x2e4]
push 0x34
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.0042c590
mov esi, eax
push str.TitanSDK_Start_fail:
push esi
mov byte [ebp - 4], 3
call fcn.0043f750
add esp, 8
mov ecx, esi
push dword [ebp - 0x220]
call fcn.00439f10
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 4
call fcn.00428ee0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x48e650
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48e646
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48e646
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x48e6ab
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48e6a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48e6a1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 0xffffffff
call fcn.0048dd90
jmp 0x48f78f
push dword [ebx + 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48e6fe
mov eax, dword [ebx + 4]
cmp dword [eax - 0xc], 0
je 0x48e6fe
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [ebx + 4]
lea eax, [ebp - 0x174]
push eax
call fcn.0050b150
add esp, 0xc
mov dword [ebp - 4], 0xd
lea eax, [ebp - 0x174]
cmp dword [ebp - 0x160], 0x10
cmovae eax, dword [ebp - 0x174]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
test eax, eax
jne 0x48e953
call fcn.00509500
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x48e8f0
push 0x38
mov dword [ebp - 0x134], eax
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x130], eax
push str.f:master_luinst_ui_market_net_titan_titansdk_helper.cc
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], al
call fcn.0042a9a0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x12c]
push 3
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
push 0x6d1880
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.0042a9a0
mov byte [ebp - 4], 0xf
call fcn.00509500
mov edi, eax
lea ecx, [ebp - 0x2e4]
push 0x42
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.0042c590
mov esi, eax
push str.MakeSureDirectoryPathExists_fail_path:
push esi
mov byte [ebp - 4], 0x10
call fcn.0043f750
mov ecx, dword [ebx + 4]
mov edx, str._null_
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.0043f750
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x11
call fcn.00428ee0
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x48e876
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48e86c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48e86c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x48e8d1
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48e8c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48e8c7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
mov byte [ebp - 4], 0xd
mov dword [ebp - 4], 0x1a
mov edx, dword [ebp - 0x160]
cmp edx, 0x10
jb 0x48e933
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48e929
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48e929
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0xf
mov byte [ebp - 0x174], 0
jmp 0x48f788
mov eax, dword [ebx + 4]
cmp dword [eax - 0xc], 0
je 0x48f6ba
push 0x180
push 0x40
push 0x8109
push eax
lea edi, [ebx + 0xb0]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wsopen_s]
add esp, 0x14
test eax, eax
jne 0x48f6ba
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x48f6ba
push 2
push 0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__lseek]
add esp, 0xc
test eax, eax
js 0x48f6ba
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
nop
cmp dword [0x755f18], 0
jne 0x48e9c3
push 0xa
call edi
inc esi
cmp esi, 0x64
jl 0x48e9b0
lea ecx, [ebp - 0x24c]
call fcn.00518f20
push 0x186a0
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x23
call fcn.005125a0
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x12c]
push 0xe
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
push str.SCHED_BOOT_LEN
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.0042a9a0
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0x25
push eax
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00519150
mov ecx, eax
call fcn.00513020
mov byte [ebp - 4], 0x26
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x48ea8b
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48ea81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48ea81
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x23
call fcn.00512e40
push 0x7d0
lea ecx, [ebp - 0x18c]
call fcn.005125a0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x12c]
push 0x12
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
push str.SCHED_BOOT_TIMEOUT
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.0042a9a0
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0x2b
push eax
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00519150
mov ecx, eax
call fcn.00513020
mov byte [ebp - 4], 0x2c
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x48eb6e
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48eb64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48eb64
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x23
call fcn.00512e40
mov esi, dword [ebp - 0x228]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48eba3
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
call fcn.00669a2f
mov edi, eax
lea eax, [ebp - 0x12c]
push 0xfde9
push esi
push eax
mov dword [ebp - 0x220], edi
call fcn.0050b150
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 0x30
cmp dword [ecx + 0x14], 0x10
jb 0x48ebe6
mov ecx, dword [ecx]
mov edx, edi
sub edx, ecx
nop word [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x48ebf0
mov byte [ebp - 4], 0x31
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x48ec3d
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48ec33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48ec33
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x18c]
push 0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0
push 0x6d18c8
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0xf
mov byte [ebp - 0x18c], 0
call fcn.0042a9a0
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0x35
push eax
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0051a700
mov byte [ebp - 4], 0x38
mov edx, dword [ebp - 0x178]
cmp edx, 0x10
jb 0x48ecfa
mov ecx, dword [ebp - 0x18c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48ecf0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48ecf0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0xf
mov byte [ebp - 0x18c], 0
mov byte [ebp - 4], 0x37
mov eax, dword [ebp - 0x194]
inc eax
push eax
call fcn.00669a2f
add esp, 4
lea ecx, [ebp - 0x1a4]
cmp dword [ebp - 0x190], 0x10
mov edi, eax
mov edx, edi
mov dword [ebp - 0x234], edi
cmovae ecx, dword [ebp - 0x1a4]
sub edx, ecx
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x48ed50
push 0x490140
push 0x48fd40
push 0x48f800
push edi
push 2
push dword [ebp - 0x220]
call sym._b015226917.exe_TitanSDK_OpenSwarm
add esp, 0x18
mov edi, eax
mov dword [ebp - 0x22c], edi
call fcn.00509500
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x48f0eb
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x148], ecx
push 0x38
mov dword [ebp - 0x14c], ecx
mov byte [ebp - 0x15c], cl
lea ecx, [ebp - 0x15c]
push str.f:master_luinst_ui_market_net_titan_titansdk_helper.cc
mov dword [ebp - 0x148], 0xf
call fcn.0042a9a0
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x12c]
push 3
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
push 0x6d1880
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.0042a9a0
mov byte [ebp - 4], 0x3d
call fcn.00509500
push 1
push 2
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 0x21c], eax
call fcn.00427c70
push 0xffffffffffffffff
push 0x6d18d8
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x3e
call fcn.004290b0
push 0xffffffffffffffff
push 0x6d18dc
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x228], eax
call fcn.004290b0
push 0x64
mov edi, eax
lea eax, [ebp - 0x208]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp edi, 0xffffffff
je 0x48ef9c
mov ecx, dword [ebp - 0x228]
lea eax, [edi - 1]
cmp ecx, eax
jae 0x48ef9c
mov eax, dword [ebp - 0x14c]
lea edx, [ecx + 1]
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
cmp eax, edx
jb 0x48f7ad
sub edi, ecx
sub eax, edx
dec edi
lea ecx, [ebp - 0x144]
cmp eax, edi
cmovb edi, eax
cmp dword [ebp - 0x148], 0x10
lea eax, [ebp - 0x15c]
cmovae eax, dword [ebp - 0x15c]
push edi
add eax, edx
push eax
call fcn.0042a9a0
mov dword [ebp - 0x224], 1
mov byte [ebp - 4], 0x3f
lea eax, [ebp - 0x144]
cmp dword [ebp - 0x130], 0x10
cmovae eax, dword [ebp - 0x144]
push eax
push 0x5f
lea eax, [ebp - 0x208]
push str.__4d___s_
push eax
call fcn.00429390
add esp, 0x10
mov byte [ebp - 4], 0x40
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x48ef7b
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48ef71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48ef71
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
mov byte [ebp - 4], 0x3e
jmp 0x48efb2
push 0x5f
lea eax, [ebp - 0x208]
push str.__4d_
push eax
call fcn.00429390
add esp, 0xc
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.0042c400
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.0042c400
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x44
push str.TitanSDK_OpenSwarm_ret:
push eax
call fcn.0043f750
mov edi, dword [ebp - 0x22c]
lea ecx, [ebp - 0x2e4]
add esp, 0x18
push edi
call fcn.00439f10
mov ecx, dword [ebp - 0x21c]
lea edx, [ebp - 0x2e4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x45
call fcn.00428ee0
mov byte [ebp - 4], 0x46
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x48f071
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48f067
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48f067
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
mov byte [ebp - 4], 0x4a
mov edx, dword [ebp - 0x148]
cmp edx, 0x10
jb 0x48f0cc
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48f0c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48f0c2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
mov byte [ebp - 4], 0x37
test edi, edi
jg 0x48f22e
lea ecx, [ebp - 0x218]
call fcn.0048e1c0
mov ecx, esi
mov byte [ebp - 4], 0x4e
mov dword [ebp - 0x1fc], 1
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f111
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x1f4]
call fcn.0043fcb0
mov eax, dword [ebx]
lea ecx, [ebp - 0x218]
push ecx
mov ecx, ebx
mov dword [ebp - 0x1f8], 3
mov dword [ebp - 0x1a8], edi
call dword [eax + 0x20]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x37
call fcn.0048dd90
mov byte [ebp - 4], 0x4f
mov edx, dword [ebp - 0x190]
cmp edx, 0x10
jb 0x48f1a1
mov ecx, dword [ebp - 0x1a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48f197
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48f197
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0xf
mov byte [ebp - 0x1a4], 0
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x53
call fcn.00512e40
mov dword [ebp - 4], 0x54
mov edx, dword [ebp - 0x160]
cmp edx, 0x10
jb 0x48f20e
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48f204
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48f204
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0xf
mov byte [ebp - 0x174], 0
jmp 0x48f788
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push 0
push edi
call sym._b015226917.exe_TitanSDK_AsyncOpenSession
mov ecx, dword [0x758f88]
add esp, 0x18
mov dword [ebx + 0x10], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], 0
test ecx, ecx
jne 0x48f2b3
push 0x74c128
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x758f88], 0
jne 0x48f2a2
push 0x320
call fcn.00669e77
add esp, 4
mov dword [ebp - 0x21c], eax
mov ecx, eax
mov byte [ebp - 4], 0x58
call fcn.0042ccb0
mov ecx, eax
mov byte [ebp - 4], 0x37
xchg dword [ebp - 0x21c], eax
mov dword [0x758f88], ecx
push 0x74c128
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x758f88]
lea eax, [ebp - 0x230]
add ecx, 0x318
push eax
call fcn.00490920
mov dword [eax], ebx
call fcn.00509500
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x48f61c
push 0x38
mov dword [ebp - 0x14c], eax
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x148], eax
push str.f:master_luinst_ui_market_net_titan_titansdk_helper.cc
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], al
call fcn.0042a9a0
mov byte [ebp - 4], 0x59
lea ecx, [ebp - 0x144]
push 3
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
push 0x6d1880
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
call fcn.0042a9a0
mov byte [ebp - 4], 0x5a
call fcn.00509500
push 1
push 2
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 0x21c], eax
call fcn.00427c70
push 0xffffffffffffffff
push 0x6d18d8
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x5b
call fcn.004290b0
push 0xffffffffffffffff
push 0x6d18dc
lea ecx, [ebp - 0x15c]
mov edi, eax
call fcn.004290b0
push 0x64
mov esi, eax
lea eax, [ebp - 0x208]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp esi, 0xffffffff
je 0x48f4d1
lea eax, [esi - 1]
cmp edi, eax
jae 0x48f4d1
mov eax, dword [ebp - 0x14c]
lea ecx, [edi + 1]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
cmp eax, ecx
jb 0x48f7b2
sub eax, ecx
sub esi, edi
dec esi
cmp eax, esi
cmovb esi, eax
cmp dword [ebp - 0x148], 0x10
lea eax, [ebp - 0x15c]
cmovae eax, dword [ebp - 0x15c]
add eax, ecx
lea ecx, [ebp - 0x12c]
push esi
push eax
call fcn.0042a9a0
or dword [ebp - 0x224], 2
mov byte [ebp - 4], 0x5c
lea eax, [ebp - 0x12c]
cmp dword [ebp - 0x118], 0x10
cmovae eax, dword [ebp - 0x12c]
push eax
push 0x6d
lea eax, [ebp - 0x208]
push str.__4d___s_
push eax
call fcn.00429390
add esp, 0x10
mov byte [ebp - 4], 0x5d
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x48f4b0
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48f4a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48f4a6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
mov byte [ebp - 4], 0x5b
jmp 0x48f4e7
push 0x6d
lea eax, [ebp - 0x208]
push str.__4d_
push eax
call fcn.00429390
add esp, 0xc
cmp dword [ebp - 0x130], 0x10
lea eax, [ebp - 0x144]
cmovae eax, dword [ebp - 0x144]
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.0042c400
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.0042c400
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x61
push str.TitanSDK_AsyncOpenSession_ret:
push eax
call fcn.0043f750
add esp, 0x18
lea ecx, [ebp - 0x2e4]
push dword [ebx + 0x10]
call fcn.0048bb30
mov ecx, dword [ebp - 0x21c]
lea edx, [ebp - 0x2e4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x62
call fcn.00428ee0
mov byte [ebp - 4], 0x63
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x48f5a2
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48f598
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48f598
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
mov byte [ebp - 4], 0x67
mov edx, dword [ebp - 0x148]
cmp edx, 0x10
jb 0x48f5fd
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48f5f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48f5f3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
mov byte [ebp - 4], 0x37
push 1
push dword [ebp - 0x220]
call fcn.00669e69
push 1
push dword [ebp - 0x234]
call fcn.00669e69
add esp, 0x10
mov byte [ebp - 4], 0x6b
mov edx, dword [ebp - 0x190]
cmp edx, 0x10
jb 0x48f679
mov ecx, dword [ebp - 0x1a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48f66f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48f66f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0xf
mov byte [ebp - 0x1a4], 0
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x6f
call fcn.00512e40
lea ecx, [ebp - 0x174]
mov dword [ebp - 4], 0x70
call fcn.0042acd0
jmp 0x48f788
lea ecx, [ebp - 0x218]
call fcn.0048e1c0
mov ecx, esi
mov byte [ebp - 4], 0x1e
mov dword [ebp - 0x1fc], 7
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f6e0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x1f4]
call fcn.0043fcb0
mov eax, dword [ebx]
lea ecx, [ebp - 0x218]
push ecx
mov ecx, ebx
mov dword [ebp - 0x1f8], 3
call dword [eax + 0x20]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0xd
call fcn.0048dd90
mov dword [ebp - 4], 0x1f
mov edx, dword [ebp - 0x160]
cmp edx, 0x10
jb 0x48f76d
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48f763
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48f763
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0xf
mov byte [ebp - 0x174], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00669a1e
mov esp, ebp
pop ebp
ret 0x14
call fcn.004291f0
call fcn.004291f0
int3