Function at 0x43c390
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6ac4
mov eax, dword fs:[0]
push eax
mov eax, 0x1248
call fcn.0048ec30
mov eax, dword [0x516108]
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 dword [ebp - 0x1044], ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
xor ebx, ebx
mov dword [ebp - 0x1048], eax
mov eax, dword [ebp + 0xc]
movq qword [ebp - 0x1038], xmm0
mov dword [ebp - 0x104c], eax
mov dword [ebp - 0x1038], ebx
mov dword [ebp - 0x1034], ebx
lea esi, [ecx + 4]
mov dword [ebp - 4], ebx
mov edi, dword [esi]
test edi, edi
je 0x43c6a3
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43c6a3
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x43c437
push str.GetLuaExplain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43c437
call eax
mov ebx, eax
mov dword [ebp - 0x1038], ebx
xor ecx, ecx
test ebx, ebx
setne cl
test ecx, ecx
je 0x43c6a3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
test eax, eax
je 0x43c6a3
push str._envExplain____r_n
lea ecx, [ebp - 0x1030]
call fcn.00401f70
push 0x4f6c7e
lea ecx, [ebp - 0x102c]
mov byte [ebp - 4], 1
call fcn.00401f70
push str._envExplain.strEnv__inst____r_n
lea ecx, [ebp - 0x1028]
mov byte [ebp - 4], 2
call fcn.00401f70
push 0x4f6c7e
lea ecx, [ebp - 0x1024]
mov byte [ebp - 4], 3
call fcn.00401f70
mov edi, dword [ebp - 0x1044]
lea eax, [ebp - 0x114c]
push ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1150]
mov dword [ebp - 0x1150], eax
push dword [edi + 0xc]
call fcn.0043c970
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1020]
mov esi, dword [ebp - 0x1150]
push str._envExplain.strPid___s____r_n
call fcn.00401f70
push esi
lea ecx, [ebp - 0x101c]
mov byte [ebp - 4], 6
call fcn.00401f70
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x114c]
mov eax, dword [ebp - 0x1150]
cmp eax, ecx
je 0x43c50c
push eax
call fcn.004aa54d
add esp, 4
push ecx
push dword [edi + 8]
lea eax, [ebp - 0x1250]
lea ecx, [ebp - 0x1254]
mov dword [ebp - 0x1254], eax
call fcn.0043c970
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1018]
mov esi, dword [ebp - 0x1254]
push str._envExplain.strAppVer___s____r_n
call fcn.00401f70
push esi
lea ecx, [ebp - 0x1014]
mov byte [ebp - 4], 0xa
call fcn.00401f70
mov eax, dword [ebp - 0x1254]
lea ecx, [ebp - 0x1250]
cmp eax, ecx
je 0x43c56a
push eax
call fcn.004aa54d
add esp, 4
push 0x400
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 0xb
push 0
push eax
call fcn.004a7480
add esp, 0xc
lea esi, [ebp - 0x102c]
xor edi, edi
lea ebx, [edi + 4]
nop
push dword [esi]
mov eax, 0x3ff
push dword [esi - 4]
sub eax, edi
push eax
lea eax, [ebp - 0x810]
add eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x10
test eax, eax
js 0x43c5b5
add edi, eax
add esi, 8
sub ebx, 1
jne 0x43c590
push 0x800
lea eax, [ebp - 0x1010]
push ebx
push eax
call fcn.004a7480
mov ebx, dword [ebp - 0x1038]
lea ecx, [ebp - 0x103c]
add esp, 0xc
mov dword [ebp - 0x103c], 0x7ff
mov eax, dword [ebx]
push ecx
lea ecx, [ebp - 0x1010]
push ecx
push 1
lea ecx, [ebp - 0x810]
push ecx
mov ecx, ebx
call dword [eax + 8]
push 0x43c6f0
push 4
push 8
lea eax, [ebp - 0x1030]
mov byte [ebp - 4], 0
push eax
call fcn.0048e35b
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.004a7480
mov ecx, dword [ebp - 0x1048]
add esp, 0xc
mov dword [ebp - 0x1040], 0x3ff
cmp dword [ecx + 0x14], 0x10
mov edx, dword [ecx + 0x10]
jb 0x43c64a
mov ecx, dword [ecx]
mov eax, dword [ebx]
lea esi, [ebp - 0x1040]
push esi
lea esi, [ebp - 0x410]
push esi
push edx
push ecx
mov ecx, ebx
call dword [eax + 8]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
cmp byte [ebp - 0x410], 0
jne 0x43c675
xor ecx, ecx
jmp 0x43c689
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43c680
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0x104c]
lea eax, [ebp - 0x410]
push eax
call fcn.00425950
mov eax, 1
jmp 0x43c6c6
mov eax, dword [esi]
cmp dword [eax - 4], 1
jle 0x43c6b5
push dword [eax - 0xc]
mov ecx, esi
call fcn.004041a0
push dword [esi]
push str.InitDll_InitDll_error_:_s
call fcn.0043aab0
add esp, 8
xor eax, eax
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.0048e923
mov esp, ebp
pop ebp
ret 8