Function at 0x418ca9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5b4
push ebx
push esi
push edi
lea eax, [esp + 0x118]
mov byte [esp + 0xe], 0
mov byte [esp + 0xf], 1
call fcn.0041569c
mov ebx, dword [esp + 0x200]
lea eax, [esp + 0x3ed]
mov dword [esp + 0x34], eax
shr ebx, 0xf
lea eax, [esp + 0x28d]
and ebx, 1
mov dword [esp + 0x38], eax
lea eax, [esp + 0x220]
xor edi, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], edi
jmp 0x418d0a
xor edi, edi
cmp byte [esp + 0xe], 0
jne 0x419065
mov eax, dword [esp + 0x18]
mov eax, dword [esp + eax*4 + 0x34]
cmp byte [eax], 0
jne 0x418d2b
cmp dword [ebp + 8], edi
je 0x418e4c
mov esi, dword [ebp + 8]
cmp esi, edi
cmove esi, eax
push esi
call fcn.004317cc
mov dword [esp + 0x1c], eax
call fcn.0043194b
mov dword [esp + 0x14], eax
cmp ebx, edi
je 0x418d65
call fcn.004155e2
test eax, eax
je 0x418d65
push dword [esp + 0x14]
call fcn.0042b085
call fcn.0043113e
mov dword [esp + 0x14], eax
cmp dword [esp + 0x1c], edi
jne 0x418d7c
push 0x479770
or eax, 0xffffffff
call fcn.0042b4e3
mov dword [esp + 0x1c], eax
lea esi, [esp + 0x40]
call fcn.004151de
mov eax, dword [0x4a60a4]
push dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], edi
lea esi, [esp + 0x14]
lea edi, [esp + 0x24]
mov dword [esp + 0x54], eax
mov dword [esp + 0x74], 0x12d000
mov dword [esp + 0x68], 3
call fcn.004198b6
cmp al, 1
jne 0x418e34
mov esi, dword [esp + 0x20]
test esi, esi
je 0x418e34
mov eax, dword [esp + 0x10]
test eax, eax
je 0x418e34
and dword [esp + 0x10], 0
mov dword [esp + 0x60], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2c]
push eax
lea edi, [esp + 0x48]
mov dword [esp + 0x64], esi
call fcn.0042e4b8
test al, al
je 0x418e1f
xor eax, eax
cmp dword [ebp + 8], eax
lea ebx, [esp + 0x28]
setne al
push eax
call fcn.00418bd0
test al, al
je 0x418e12
mov byte [esp + 0xe], 1
push dword [esp + 0x28]
call fcn.0042b085
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0x10], 0x194
je 0x418e2e
mov byte [esp + 0xf], 0
push esi
call fcn.0042b085
push dword [esp + 0x14]
call fcn.0042b085
push dword [esp + 0x1c]
call fcn.0042b085
cmp dword [ebp + 8], 0
jne 0x418e5b
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 3
jb 0x418d08
cmp byte [esp + 0xe], 0
jne 0x419065
cmp dword [ebp + 8], 0
jne 0x419065
call fcn.004189f1
mov esi, eax
test esi, esi
je 0x419065
push 0x10000000
push 0x4e24
push esi
lea ebx, [esp + 0x1c]
call fcn.00432c8d
mov edi, eax
push esi
mov dword [esp + 0x34], edi
call fcn.0042b085
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.0042c05d
test al, al
je 0x41905c
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x14]
push 1
call fcn.0042c09b
test eax, eax
jne 0x418f0f
call fcn.0042b187
mov esi, eax
lea eax, [esp + 0x78]
push eax
xor bl, bl
call fcn.004142d6
cmp al, 1
jne 0x418f0f
mov eax, esi
sub eax, dword [esp + 0xf8]
cmp eax, 0x15180
jbe 0x418ef5
mov dword [esp + 0xf8], esi
jmp 0x418efd
cmp eax, 0x1c20
setb bl
lea eax, [esp + 0x78]
push eax
call fcn.0041432e
test bl, bl
jne 0x41905c
push 0x2710
push dword [0x4a60a4]
call dword [0x471284]
cmp eax, 0x102
jne 0x41905c
push dword [esp + 0x14]
call fcn.004317cc
mov esi, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
call fcn.0043194b
xor ebx, ebx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x24], ebx
je 0x418f68
call fcn.004155e2
test eax, eax
je 0x418f68
push dword [esp + 0x18]
call fcn.0042b085
call fcn.0043113e
mov dword [esp + 0x18], eax
cmp dword [esp + 0x1c], ebx
jne 0x418f7f
push 0x479770
or eax, 0xffffffff
call fcn.0042b4e3
mov dword [esp + 0x1c], eax
lea esi, [esp + 0x40]
call fcn.004151de
mov eax, dword [0x4a60a4]
push dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
lea esi, [esp + 0x24]
lea edi, [esp + 0x14]
mov dword [esp + 0x54], eax
mov dword [esp + 0x74], 0x12d000
mov dword [esp + 0x68], 3
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], ebx
call fcn.004198b6
cmp al, 1
jne 0x41902c
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x41902c
mov eax, dword [esp + 0x20]
cmp eax, ebx
jbe 0x41902c
mov dword [esp + 0x60], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2c]
push eax
lea edi, [esp + 0x48]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x64], esi
call fcn.0042e4b8
test al, al
je 0x419017
push ebx
lea ebx, [esp + 0x2c]
call fcn.00418bd0
test al, al
je 0x41900c
mov byte [esp + 0xe], 1
push dword [esp + 0x28]
call fcn.0042b085
xor ebx, ebx
cmp dword [esp + 0x10], 0x194
je 0x419026
mov byte [esp + 0xf], 0
push esi
call fcn.0042b085
push dword [esp + 0x18]
call fcn.0042b085
push dword [esp + 0x1c]
call fcn.0042b085
cmp byte [esp + 0xe], 0
jne 0x41905c
mov eax, dword [esp + 0x14]
push 1
call fcn.0042c09b
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x418eb6
push dword [esp + 0x30]
call fcn.0042b085
cmp byte [esp + 0xf], 0
je 0x419079
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x419079
mov dword [eax], 0x194
mov al, byte [esp + 0xe]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8