Function at 0x42b2b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x280
mov eax, dword [0x52efc0]
mov edi, dword [ebp + 8]
xor eax, ebp
mov dword [esp + 0x278], eax
mov esi, dword [0x530cbc]
cmp esi, 1
ja 0x42b319
push 0x530cbc
call fcn.00435680
add esp, 4
test al, al
je 0x42b313
mov byte [0x530cc0], 0
push 0x530cbc
push 0
push 0x530cc0
push 0x530cbc
call fcn.00435730
add esp, 0x10
mov esi, 0x530cc0
jmp 0x42b319
mov esi, dword [0x530cbc]
test edi, edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], esi
je 0x42b34a
lea esi, [esp + 0x10]
mov ecx, esi
push edi
call fcn.00428a50
jmp 0x42b609
lea edi, [esp + 0x70]
push 0x208
push 0
push edi
call fcn.004b81d0
add esp, 0xc
push 0x4e6c22
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42b3ce
push 0x103
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.360base.dll
push edi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], 0
push edi
call fcn.004cf81e
add esp, 4
cmp eax, 0x7ffffff0
jae 0x42b748
mov ebx, eax
cmp eax, 5
jae 0x42b3fd
lea esi, [esp + 0x40]
test ebx, ebx
mov byte [esp + 0x4b], bl
jne 0x42b42d
jmp 0x42b43c
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp word [esp + 0x70], 0
je 0x42b45e
xor eax, eax
nop word cs:[eax + eax]
cmp word [esp + eax*2 + 0x72], 0
lea eax, [eax + 1]
jne 0x42b3f0
jmp 0x42b460
lea edi, [ebx + 8]
and edi, 0xfffffff8
js 0x42b751
lea eax, [edi + edi]
push eax
call fcn.004aea96
add esp, 4
or edi, 0x80000000
mov dword [esp + 0x40], eax
mov esi, eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
lea edi, [esp + 0x70]
mov eax, ebx
add eax, ebx
push eax
push edi
push esi
call fcn.004b76d0
add esp, 0xc
mov word [esi + ebx*2], 0
cmp byte [esp + 0x1b], 0
js 0x42b5c5
mov word [esp + 0x10], 0
mov byte [esp + 0x1b], 0
jmp 0x42b5f1
xor eax, eax
lea esi, [esp + 0x64]
mov ecx, esi
push eax
push edi
call fcn.0042cb30
lea eax, [esp + 0x60]
push esi
push eax
call fcn.00430390
add esp, 8
cmp dword [esp + 0x60], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
je 0x42b595
lea edi, [esp + 0x28]
lea ecx, [esp + 0x64]
push edi
call fcn.00431a10
mov ecx, dword [esp + 0x60]
lea ebx, [esp + 0x1c]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x28]
movzx eax, byte [esp + 0x27]
test al, al
jns 0x42b4cb
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea esi, [esp + 0x34]
mov ecx, edi
push eax
push ebx
push esi
call fcn.00431b50
lea edi, [esp + 0x40]
mov ecx, esi
push 0xb
push str.360base.dll
push edi
call fcn.00431b50
lea ebx, [esp + 0x50]
mov ecx, ebx
push edi
call fcn.004283b4
mov ecx, edi
call fcn.0042cba0
mov ecx, esi
call fcn.0042cba0
cmp byte [esp + 0x27], 0
jns 0x42b519
push dword [esp + 0x1c]
call fcn.004aeac6
add esp, 4
lea ecx, [esp + 0x28]
call fcn.0042cba0
cmp byte [esp + 0x5b], 0
jns 0x42b52d
mov ebx, dword [esp + 0x50]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b569
lea ecx, [esp + 0x64]
push esi
call fcn.00431a10
mov ecx, esi
push 0xb
push str.360base.dll
push edi
call fcn.00431b50
lea ecx, [esp + 0x50]
push edi
call fcn.004283b4
mov ecx, edi
call fcn.0042cba0
mov ecx, esi
call fcn.0042cba0
mov ecx, dword [esp + 0x60]
movsd xmm0, qword [esp + 0x50]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x60], 0
test ecx, ecx
movsd qword [esp + 0x40], xmm0
mov dword [esp + 0x48], eax
je 0x42b5b1
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x42b5b1
mov eax, dword [esp + 0x58]
movsd xmm0, qword [esp + 0x50]
mov dword [esp + 0x60], 0
mov dword [esp + 0x48], eax
movsd qword [esp + 0x40], xmm0
lea ecx, [esp + 0x64]
call fcn.0042cba0
cmp byte [esp + 0x1b], 0
jns 0x42b44d
mov eax, dword [esp + 0x10]
mov word [eax], 0
mov dword [esp + 0x14], 0
cmp byte [esp + 0x1b], 0
jns 0x42b5f1
push dword [esp + 0x10]
call fcn.004aeac6
add esp, 4
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x48]
movsd xmm0, qword [esp + 0x40]
lea esi, [esp + 0x10]
mov dword [esp + 0x18], eax
movsd qword [esp + 0x10], xmm0
mov al, byte [esi + 0xb]
test al, al
jns 0x42b63b
mov ebx, dword [esp + 0x10]
cmp byte [0x530cc4], 0
je 0x42b648
test al, al
js 0x42b737
mov ecx, dword [esp + 0x278]
xor ecx, ebp
call fcn.004aeb01
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ebx, [esp + 0x10]
cmp byte [0x530cc4], 0
jne 0x42b61d
call fcn.00460e80
cmp dword [eax + 0x428], 0
jne 0x42b717
lea edi, [eax + 0x410]
mov dword [esp + 8], esi
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x428], 0
mov dword [esp], esi
jne 0x42b709
mov dword [esp + 4], edi
push ebx
call fcn.00460df7
add esp, 4
test eax, eax
je 0x42b6cd
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.InitLibs
push eax
call ebx
mov edi, eax
push str.CreateObject
push esi
call ebx
mov ecx, edi
mov edi, dword [esp]
test ecx, ecx
mov dword [edi + 8], eax
je 0x42b6d7
mov eax, edi
mov dword [edi + 0xc], 0x100
add eax, 0xc
push eax
call ecx
mov ebx, eax
test eax, eax
jne 0x42b6e2
xor ebx, ebx
jmp 0x42b6eb
mov edi, dword [esp]
mov ebx, 0x80004005
jmp 0x42b6ee
xor ebx, ebx
test eax, eax
jne 0x42b6eb
mov ebx, 0x80004005
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
mov dword [edi + 4], esi
xor eax, eax
test ebx, ebx
sete al
mov dword [edi + 0x42c], eax
mov dword [edi + 0x428], 1
mov edi, dword [esp + 4]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp]
mov esi, dword [esp + 8]
cmp dword [eax + 0x42c], 0
mov eax, dword [esp + 0xc]
setne byte [eax]
mov byte [0x530cc4], 1
mov al, byte [esi + 0xb]
test al, al
jns 0x42b625
push dword [esp + 0x10]
call fcn.004aeac6
add esp, 4
jmp 0x42b625
lea ecx, [esp + 0x40]
call fcn.0042752c
call fcn.004c8e4e
int3