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

Disassembly:
push 0xffffffffffffffff
push 0x467e62
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x28]
call fcn.00425050
lea edi, [esi + 0xec]
mov ecx, edi
mov dword [esp + 0x70], 0
call fcn.004255f0
lea ebx, [esi + 0x10c]
mov ecx, ebx
call fcn.004255f0
mov ecx, dword [esp + 0x78]
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x84], esp
push eax
mov dword [esi + 0xd8], ecx
call fcn.00428bc0
call fcn.0040ef50
add esp, 0xc
cmp eax, 8
jne 0x4187cf
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x84], esp
push 0x3d
push ecx
mov ecx, 0x48e830
call fcn.0041d980
mov ecx, edi
call fcn.00425510
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x84], esp
push 0x46f9ac
call fcn.00424ef0
mov ecx, ebx
call fcn.00425510
jmp 0x4189b1
mov ecx, dword [esi + 0xd8]
xor edi, edi
call fcn.00429280
test eax, eax
jle 0x4189b1
mov bl, 3
mov ecx, dword [esi + 0xd8]
push edi
call fcn.00429270
mov ecx, eax
call fcn.00427300
test eax, eax
jne 0x41899d
mov ecx, dword [esi + 0xd8]
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x84], esp
push edx
push edi
call fcn.00429270
mov ecx, eax
call fcn.00427310
lea ecx, [esi + 0x10c]
call fcn.00425510
mov ecx, dword [esi + 0xd8]
push edi
xor ebp, ebp
call fcn.00429270
mov ecx, eax
call fcn.00427620
test eax, eax
jle 0x41899d
lea esp, [esp]
mov ecx, dword [esi + 0xd8]
lea eax, [esp + 0x34]
push eax
push ebp
push edi
call fcn.00429270
mov ecx, eax
call fcn.00427610
mov ecx, eax
call fcn.0042c5f0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 1
call fcn.004250d0
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], 0
call fcn.004250c0
mov ecx, dword [esi + 0xd8]
push ebp
push edi
call fcn.00429270
mov ecx, eax
call fcn.00427610
mov ecx, eax
call fcn.0042c5a0
cmp eax, 8
jne 0x418981
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
call fcn.00424f60
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 2
call fcn.00424fd0
cmp eax, 2
jle 0x4188f8
lea ecx, [esp + 0x1c]
call fcn.00424fd0
sub eax, 2
push eax
push 2
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x28]
call fcn.004252e0
lea ecx, [esp + 0x40]
call fcn.004250c0
sub esp, 0xc
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x84], esp
push eax
call fcn.00424f60
lea ecx, [esp + 0x58]
push ecx
mov ecx, 0x48e830
call fcn.0041dc20
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], bl
call fcn.004250d0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 2
call fcn.004250c0
push 0x46f94a
lea ecx, [esp + 0x20]
call fcn.00425150
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x84], esp
test al, al
je 0x41895e
lea edx, [esp + 0x34]
push edx
jmp 0x418963
lea eax, [esp + 0x28]
push eax
call fcn.00424f60
lea ecx, [esi + 0xec]
call fcn.00425510
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 0
call fcn.004250c0
mov ecx, dword [esi + 0xd8]
push edi
inc ebp
call fcn.00429270
mov ecx, eax
call fcn.00427620
cmp ebp, eax
jl 0x418850
mov ecx, dword [esi + 0xd8]
inc edi
call fcn.00429280
cmp edi, eax
jl 0x4187e6
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x84], esp
push 0xc
push ecx
call fcn.0040ea50
add esp, 8
mov ecx, 0x48e748
call fcn.0041bab0
mov ebp, eax
mov ecx, ebp
mov dword [esp + 0x14], ebp
xor ebx, ebx
call fcn.00429280
test eax, eax
jle 0x418bd1
lea esp, [esp]
push ebx
mov ecx, ebp
call fcn.00429270
mov edi, eax
mov ecx, edi
call fcn.00427300
cmp eax, 0xd
jne 0x418bc1
mov ecx, edi
mov byte [esp + 0x78], 0
xor ebp, ebp
call fcn.00427620
test eax, eax
jle 0x418bbd
lea edx, [esp + 0x4c]
push edx
push ebp
mov ecx, edi
call fcn.00427610
mov ecx, eax
call fcn.0042c5f0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 4
call fcn.004250d0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 0
call fcn.004250c0
push ebp
mov ecx, edi
call fcn.00427610
mov ecx, eax
call fcn.0042c5a0
sub eax, 0x31
je 0x418b88
sub eax, 1
jne 0x418bad
cmp byte [esp + 0x78], 1
jne 0x418bad
mov ecx, dword [esp + 0x14]
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x24], esp
push eax
push ebx
call fcn.00429270
mov ecx, eax
call fcn.00427310
call fcn.00418d70
lea ecx, [eax + eax*2]
mov edx, esp
mov dword [esp + 0x24], esp
push ecx
push edx
call fcn.00418d20
add esp, 8
lea ecx, [esi + 0x10c]
call fcn.00425510
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
call fcn.00424f60
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 5
call fcn.00424fd0
cmp eax, 2
jle 0x418b02
lea ecx, [esp + 0x1c]
call fcn.00424fd0
sub eax, 2
push eax
push 2
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x28]
call fcn.004252e0
lea ecx, [esp + 0x40]
call fcn.004250c0
sub esp, 0xc
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00424f60
lea eax, [esp + 0x40]
push eax
mov ecx, 0x48e830
call fcn.0041dc20
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 6
call fcn.004250d0
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], 5
call fcn.004250c0
push 0x46f94b
lea ecx, [esp + 0x20]
call fcn.00425150
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
test al, al
je 0x418b63
lea edx, [esp + 0x34]
push edx
jmp 0x418b68
lea eax, [esp + 0x28]
push eax
call fcn.00424f60
lea ecx, [esi + 0xec]
call fcn.00425510
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 0
call fcn.004250c0
jmp 0x418bad
sub esp, 0xc
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
call fcn.00424f60
call fcn.00418d70
add esp, 0xc
test eax, eax
setne byte [esp + 0x78]
mov ecx, edi
inc ebp
call fcn.00427620
cmp ebp, eax
jl 0x418a20
mov ebp, dword [esp + 0x14]
mov ecx, ebp
inc ebx
call fcn.00429280
cmp ebx, eax
jl 0x4189f0
lea ecx, [esp + 0x58]
call fcn.0040bd80
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call fcn.0040be10
mov edi, dword [esi + 0xe8]
add edi, 4
imul edi, dword [esi + 0x108]
lea ecx, [esp + 0x58]
call fcn.0040bda0
sub eax, edi
cdq
sub eax, edx
mov ebp, eax
xor edi, edi
sar ebp, 1
cmp dword [esi + 0x108], edi
mov ebx, 1
jle 0x418c55
jmp 0x418c20
push edi
lea ecx, [esi + 0xf4]
call fcn.00402260
mov ecx, eax
call fcn.00424fd0
cmp eax, ebx
jle 0x418c4c
push edi
lea ecx, [esi + 0xf4]
call fcn.00402260
mov ecx, eax
call fcn.00424fd0
mov ebx, eax
inc edi
cmp edi, dword [esi + 0x108]
jl 0x418c20
lea ecx, [esp + 0x58]
call fcn.0040bd90
mov ecx, dword [esi + 0xe4]
imul ecx, ebx
sub eax, ecx
sub eax, dword [esi + 0xe0]
xor edi, edi
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
cmp dword [esi + 0x108], edi
jle 0x418cf0
push edi
lea ecx, [esi + 0xf4]
call fcn.00402260
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x84], esp
push eax
call fcn.00424f60
push 1
push ebp
push ebx
push edi
lea ecx, [esi + 0x114]
mov byte [esp + 0x8c], 7
call fcn.00402260
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00424f60
call fcn.00418d70
add esp, 0xc
push eax
mov ecx, esi
mov byte [esp + 0x8c], 0
call fcn.00418dc0
mov edx, dword [esi + 0xe8]
inc edi
cmp edi, dword [esi + 0x108]
lea ebp, [edx + ebp + 4]
jl 0x418c80
lea ecx, [esp + 0x28]
mov dword [esp + 0x70], 0xffffffff
call fcn.004250c0
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 4