Function at 0x438260
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x597546
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x260]
xor ebx, ebx
mov dword [esp + 0x258], 1
cmp dword [esp + 0x270], ebx
jne 0x4382c1
cmp dword [esp + 0x274], ebx
je 0x4382d3
cmp dword [esp + 0x278], ebx
jne 0x4382dd
cmp dword [esp + 0x27c], ebx
jne 0x4382dd
push 0x5dc808
jmp 0x438589
mov eax, dword [esp + 0x26c]
lea ecx, [eax - 1]
cmp ecx, 3
ja 0x438584
cmp eax, 2
jne 0x43834c
mov eax, dword [esp + 0x268]
cmp dword [eax - 0xc], ebx
jl 0x438322
push str.http
push eax
call fcn.004f7373
add esp, 8
cmp eax, ebx
je 0x438322
sub eax, dword [esp + 0x268]
sar eax, 1
jns 0x4383e0
push 0x5dc8b0
call fcn.0049d036
add esp, 4
lea ecx, [esp + 0x264]
call fcn.00406760
lea ecx, [esp + 0x268]
call fcn.00406760
jmp 0x4385e9
cmp eax, 1
jne 0x4383e0
push 0x104
lea edx, [esp + 0x48]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x44]
push eax
call esi
lea ecx, [esp + 0x44]
push ecx
call esi
lea edx, [esp + 0x18]
push edx
mov ecx, 0x5d74e0
call fcn.004066b0
lea eax, [esp + 0x44]
push eax
push str._sSoftMgrSoftManager.exe
lea edi, [esp + 0x20]
mov byte [esp + 0x260], 2
call fcn.00407710
mov ecx, dword [esp + 0x20]
add esp, 8
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4383cf
push 0x5dc908
call fcn.0049d036
add esp, 4
mov ecx, edi
call fcn.00406760
jmp 0x43832f
lea ecx, [esp + 0x18]
mov byte [esp + 0x258], 1
call fcn.00406760
cmp dword [ebp + 0x240], ebx
lea esi, [ebp + 0x240]
jne 0x43842c
mov edx, dword [esp + 0x264]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43842c
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push ecx
mov dword [eax], 0x5d83e0
mov ecx, dword [esp + 0x26c]
mov eax, esp
mov dword [esp + 0x20], esp
mov dword [eax], ecx
call fcn.0040a470
add esp, 8
mov edi, eax
call fcn.0040a740
mov ecx, dword [esi]
cmp ecx, ebx
jne 0x43843c
push 0x5dc958
jmp 0x438327
lea edx, [esp + 0x2c]
xor eax, eax
push edx
push 0x18
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov esi, dword [sym.imp.USER32.dll_PtInRect]
mov dword [ebp + 0x264], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x274]
mov dword [ebp + 0x268], ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x270]
push eax
push ecx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call esi
test eax, eax
je 0x43857a
mov eax, dword [esp + 0x27c]
mov ecx, dword [esp + 0x278]
push eax
push ecx
lea edx, [esp + 0x24]
push edx
call esi
test eax, eax
je 0x43857a
mov eax, dword [esp + 0x27c]
mov ecx, dword [esp + 0x278]
mov edx, dword [esp + 0x274]
push eax
mov eax, dword [esp + 0x274]
push ecx
push edx
push eax
lea ecx, [ebp + 0x244]
push ecx
call fcn.00434980
lea edi, [ebp + 0x254]
lea eax, [esp + 0x268]
call fcn.00406fe0
mov eax, dword [esp + 0x264]
mov edx, dword [esp + 0x26c]
push ecx
add eax, 0xfffffff0
mov dword [ebp + 0x258], edx
mov dword [esp + 0x1c], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x1c]
push eax
call fcn.0049c799
add esp, 8
lea edi, [ebp + 0x7e8]
mov byte [esp + 0x258], 3
call fcn.00406fe0
lea ecx, [esp + 0x18]
call fcn.00406760
lea ecx, [esp + 0x264]
call fcn.00406760
lea ecx, [esp + 0x268]
call fcn.00406760
mov eax, 1
jmp 0x4385eb
push str._android
jmp 0x438327
push 0x5dc858
call fcn.0049d036
mov byte [esp + 0x25c], bl
mov eax, dword [esp + 0x268]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
add esp, 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4385bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x258], 0xffffffff
mov eax, dword [esp + 0x268]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4385e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.004f673f
add esp, 0x248
ret 0x20