Function at 0x4398d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0b0b
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x61e69c]
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
push 0x104
lea eax, [ebp - 0x218]
push eax
xor edi, edi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0x43c]
push edx
lea ecx, [ebp - 0x218]
call fcn.004066b0
push str.360mobilesrv.exe
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x44c], eax
cmp eax, edi
je 0x439a4e
lea edx, [ebp - 0x42c]
push edx
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x218]
push ecx
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x42c], edi
call fcn.0049d331
mov ecx, dword [ebp - 0x424]
mov eax, ecx
shr eax, 0x10
movzx edx, cx
mov ecx, dword [ebp - 0x42c]
mov dword [ebp - 0x458], eax
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0x420], eax
movzx eax, cx
add esp, 0xc
lea ecx, [ebp - 0x454]
mov dword [ebp - 0x45c], edx
push ecx
lea edx, [ebp - 0x450]
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x450], edi
push edx
lea ebx, [ebp - 0x424]
lea edi, [ebp - 0x42c]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x42c], 2
mov dword [ebp - 0x454], 0x406
call fcn.00439620
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x458]
cmp ecx, eax
jg 0x439a4e
jne 0x439a44
mov eax, dword [ebp - 0x424]
mov ecx, dword [ebp - 0x45c]
cmp ecx, eax
jg 0x439a4e
jne 0x439a44
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 0x420]
cmp ecx, eax
jg 0x439a4e
jne 0x439a44
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp - 0x454]
jge 0x439a4e
mov dword [ebp - 0x44c], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x41c], esp
push ecx
mov ecx, str._url
call fcn.004066b0
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x254]
lea ebx, [esi + 0x254]
push ecx
sub eax, 0x10
mov dword [ebp - 0x420], esp
mov edi, esp
call fcn.004073f0
lea edx, [ebp - 0x430]
add eax, 0x10
push edx
mov dword [edi], eax
push esi
mov byte [ebp - 4], 0
call fcn.00439fd0
push ecx
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x41c], esp
push eax
mov ecx, str._iconurl
call fcn.004066b0
mov byte [ebp - 4], 3
mov eax, dword [ebx]
push ecx
sub eax, 0x10
mov dword [ebp - 0x420], esp
mov edi, esp
call fcn.004073f0
lea ecx, [ebp - 0x434]
add eax, 0x10
push ecx
mov dword [edi], eax
push esi
mov byte [ebp - 4], 2
call fcn.00439fd0
push ecx
mov byte [ebp - 4], 4
mov edx, esp
mov dword [ebp - 0x41c], esp
push edx
mov ecx, str._appname
call fcn.004066b0
mov byte [ebp - 4], 5
mov eax, dword [ebx]
push ecx
sub eax, 0x10
mov dword [ebp - 0x420], esp
mov edi, esp
call fcn.004073f0
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x428]
push eax
push esi
mov byte [ebp - 4], 4
call fcn.00439fd0
push ecx
mov ecx, esp
mov byte [ebp - 4], 6
mov dword [ebp - 0x41c], esp
push ecx
mov ecx, str._appmd5
call fcn.004066b0
push ecx
mov byte [ebp - 4], 7
mov dword [ebp - 0x420], esp
mov edi, esp
mov eax, dword [ebx]
sub eax, 0x10
call fcn.004073f0
lea edx, [ebp - 0x444]
add eax, 0x10
push edx
mov dword [edi], eax
push esi
mov byte [ebp - 4], 6
call fcn.00439fd0
push ecx
mov byte [ebp - 4], 8
mov eax, esp
mov dword [ebp - 0x41c], esp
push eax
mov ecx, str._runcmd
call fcn.004066b0
mov byte [ebp - 4], 9
mov eax, dword [ebx]
push ecx
sub eax, 0x10
mov dword [ebp - 0x420], esp
mov edi, esp
call fcn.004073f0
lea ecx, [ebp - 0x448]
add eax, 0x10
push ecx
mov dword [edi], eax
push esi
mov byte [ebp - 4], 8
call fcn.00439fd0
push ecx
mov byte [ebp - 4], 0xa
mov edx, esp
mov dword [ebp - 0x41c], esp
push edx
mov ecx, str._sid
call fcn.004066b0
mov byte [ebp - 4], 0xb
mov eax, dword [ebx]
push ecx
sub eax, 0x10
mov dword [ebp - 0x420], esp
mov edi, esp
call fcn.004073f0
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x440]
push eax
push esi
mov byte [ebp - 4], 0xa
call fcn.00439fd0
push ecx
mov ecx, esp
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x41c], esp
push ecx
mov ecx, str._maketid
call fcn.004066b0
mov byte [ebp - 4], 0xd
mov eax, dword [ebx]
push ecx
sub eax, 0x10
mov dword [ebp - 0x420], esp
mov edi, esp
call fcn.004073f0
lea edx, [ebp - 0x438]
add eax, 0x10
push edx
mov dword [edi], eax
push esi
mov byte [ebp - 4], 0xc
call fcn.00439fd0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x430]
cmp dword [eax - 0xc], 0
je 0x439e6d
mov eax, dword [ebp - 0x428]
cmp dword [eax - 0xc], 0
jl 0x439d2d
push 0x5dcb64
push eax
call fcn.004f7373
add esp, 8
test eax, eax
je 0x439d2d
mov edi, dword [ebp - 0x428]
sub eax, edi
sar eax, 1
test eax, eax
jle 0x439d2d
push 0x1ff
lea ecx, [ebp - 0x417]
push 0
push ecx
mov byte [ebp - 0x418], 0
call fcn.004fe380
add esp, 0xc
mov dword [ebp - 0x41c], edi
test edi, edi
jne 0x439cae
xor ecx, ecx
jmp 0x439cdf
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x439cc1
xor ecx, ecx
jmp 0x439cdf
lea edi, [eax + eax]
mov eax, edi
call fcn.00503a00
mov edx, dword [ebp - 0x41c]
mov eax, esp
push 3
push edi
push edx
push eax
call fcn.00434910
mov ecx, eax
lea eax, [ebp - 0x418]
call fcn.00409070
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x439d06
xor eax, eax
jmp 0x439d20
lea eax, [edi + edi]
call fcn.00503a00
mov eax, esp
push 3
push edi
lea ecx, [ebp - 0x418]
push ecx
push eax
call fcn.004348d0
mov edx, eax
lea edi, [ebp - 0x428]
call fcn.00406780
mov edx, dword [0x6285c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x6285c4
call eax
add eax, 0x10
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x438]
mov edx, dword [ebp - 0x440]
mov eax, dword [ebp - 0x448]
push str._refloader_v2
push ecx
mov ecx, dword [ebp - 0x444]
push edx
mov edx, dword [ebp - 0x428]
push eax
mov eax, dword [ebp - 0x434]
push ecx
mov ecx, dword [ebp - 0x430]
push edx
push eax
push ecx
push str._s_s_s_s_s_s_s__s
lea edi, [ebp - 0x424]
call fcn.00407710
add esp, 0x24
cmp dword [ebp - 0x44c], 0
jne 0x439e01
push 0xa
push str.__CmdLine
push ebx
call fcn.00409a20
mov edi, dword [ebp - 0x424]
mov eax, dword [edi - 0xc]
push eax
push edi
push ebx
call fcn.00409a20
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x439e4d
mov eax, dword [ebx]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x439de4
mov eax, dword [eax + 4]
push eax
push ebx
call fcn.00407090
mov ecx, dword [esi + 4]
mov ebx, dword [ebx]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push 0
push ebx
push 0x659
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x439e4d
mov edx, dword [ebp - 0x43c]
mov edi, dword [ebp - 0x424]
push edx
push 5
push 1
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x41c], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
mov dword [esi], eax
push ecx
mov eax, esp
mov dword [ebp - 0x420], esp
push eax
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x10
call fcn.004066b0
mov byte [ebp - 4], 0xf
call fcn.0049daf3
add esp, 0x14
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439e6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x438]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439e93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x440]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439eb9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x448]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439edf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x444]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439f05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439f2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x434]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439f51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439f77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x43c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439fa0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [ebp - 0x470]
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.004f673f
mov esp, ebp
pop ebp
ret