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

Disassembly:
push 0xffffffffffffffff
push 0x459df3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push ebp
push esi
push edi
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x8c], ecx
xor edi, edi
mov dword [esp + 0x78], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0xc8], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x94], ecx
mov al, byte [esp + 0x17]
xor edx, edx
mov dword [esp + 0x50], edx
push edi
mov dword [esp + 0x58], edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xcc], 1
mov dword [esp + 0x50], edi
mov dword [esp + 0x5c], edx
xor ebx, ebx
mov byte [esp + 0x2c], al
call fcn.00406d30
mov ecx, dword [esp + 0xdc]
mov dl, byte [esp + 0x17]
mov dword [esp + 0x44], ecx
mov byte [esp + 0x5c], dl
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov eax, dword [esp + 0xe8]
mov byte [esp + 0xc8], 3
cmp eax, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
jg 0x418b5b
mov dword [esp + 0xe8], 2
mov ebp, dword [esp + 0xd0]
mov eax, dword [ebp + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x418b83
mov eax, dword [esi + 8]
add eax, 0x50
push eax
call fcn.00418620
mov esi, dword [esi]
mov eax, dword [ebp + 4]
add esp, 4
cmp esi, eax
jne 0x418b6b
mov eax, dword [ebp + 4]
mov esi, dword [eax]
cmp esi, eax
mov dword [esp + 0x1c], esi
je 0x418fc9
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xd8]
sub eax, ecx
mov dword [esp + 0x20], eax
jmp 0x418bae
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 8]
mov dword [esp + 0x3c], edi
mov ebp, 0x45d630
mov ecx, dword [eax + 4]
cmp ecx, edi
je 0x418bc3
mov ebp, ecx
cmp dword [eax + 0x68], 0x64
jne 0x418bed
mov eax, dword [eax + 0x64]
cmp eax, edi
je 0x418c0f
mov ecx, dword [esp + 0xd4]
push eax
push ecx
mov dword [esp + 0x44], 1
call dword [0x45d084]
mov dword [esp + 0x38], eax
jmp 0x418c0f
mov eax, dword [eax + 0x30]
cmp eax, edi
je 0x418c0f
mov edx, dword [esp + 0xd4]
push eax
push edx
call dword [0x45d084]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 1
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x74]
cmp ecx, edi
je 0x418c1d
add ebx, ecx
jmp 0x418c2d
mov eax, dword [eax + 0x78]
cmp eax, edi
je 0x418c2d
mov ebx, dword [esp + 0xe0]
sub ebx, eax
cmp ebx, dword [esp + 0x20]
jge 0x418f98
jmp 0x418c3b
xor edi, edi
push ebp
mov dword [esp + 0x28], edi
call dword [0x45d33c]
mov esi, eax
add esp, 4
cmp esi, edi
je 0x418f94
push esi
push 0
sub esp, 0x10
lea eax, [esp + 0x2f]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
push ebp
mov edi, esi
call fcn.0041a430
lea ecx, [esp + 0xb8]
push ecx
call fcn.00417670
add esp, 0x1c
mov edx, dword [0x45d64c]
lea ecx, [esp + 0x28]
push edx
push 0
push eax
mov byte [esp + 0xd4], 4
call fcn.0041af20
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0xcc], 3
call fcn.00406d30
mov esi, dword [esp + 0x30]
test esi, esi
je 0x418f3c
push 0x464e00
call dword [0x45d33c]
add esp, 4
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x34]
push 0x464e00
push eax
push 0
call fcn.0041e8d0
test eax, eax
je 0x418d1e
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x418cee
mov eax, 0x45d630
mov edx, dword [esp + 0xd4]
lea ecx, [esp + 0x4c]
push 0x420
push ecx
push esi
push eax
push edx
call dword [0x45d3ec]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
mov ecx, eax
sub ecx, edx
test ecx, ecx
jle 0x418e61
jmp 0x418d22
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x18]
cmp edx, ecx
jge 0x418d32
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x1c]
mov edx, dword [edx + 8]
mov ecx, dword [edx + 0x3c]
test ecx, ecx
je 0x418d4a
cmp dword [esp + 0x18], ecx
jge 0x418d4a
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 0x70]
test ecx, ecx
jne 0x418d90
mov ecx, dword [esp + 0x20]
sub ecx, ebx
cmp eax, ecx
jle 0x418da7
sub eax, dword [esp + 0x4c]
cdq
mov dword [esp + 0x40], eax
mov eax, ecx
imul eax, esi
mov ecx, edx
push ecx
mov ecx, dword [esp + 0x44]
cdq
push ecx
push edx
push eax
call fcn.004582c0
mov esi, eax
cmp edi, esi
jle 0x418e2c
test esi, esi
je 0x418f3c
jmp 0x418c53
mov edx, dword [esp + 0x20]
mov dword [esp + 0x24], 1
sub edx, ebx
mov dword [esp + 0x54], edx
jmp 0x418e61
push esi
push 0
sub esp, 0x10
lea eax, [esp + 0x63]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
push ebp
call fcn.0041a430
lea ecx, [esp + 0xc8]
push ecx
call fcn.00417670
add esp, 0x1c
mov edx, dword [0x45d64c]
lea ecx, [esp + 0x28]
push edx
push 0
push eax
mov byte [esp + 0xd4], 5
call fcn.0041af20
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0xcc], 3
call fcn.00406d30
mov eax, dword [esp + 0x30]
test eax, eax
je 0x418e61
lea ecx, [esp + 0x28]
call fcn.0041b370
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
test eax, eax
jne 0x418e20
xor eax, eax
jmp 0x418e23
lea eax, [eax + ecx*2]
cmp word [eax - 2], 0xa
jne 0x418e61
jmp 0x418e57
mov eax, dword [esp + 0x30]
test eax, eax
je 0x418e61
lea ecx, [esp + 0x28]
call fcn.0041b370
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
test eax, eax
jne 0x418e4d
xor eax, eax
jmp 0x418e50
lea eax, [eax + ecx*2]
cmp word [eax - 2], 0xa
jne 0x418e61
mov dword [esp + 0x24], 1
mov esi, ecx
test esi, esi
je 0x418f3c
push 0x30
call fcn.00458152
xor edi, edi
add esp, 4
cmp eax, edi
je 0x418ea5
mov edx, eax
xor ecx, ecx
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], edi
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
lea edx, [eax + 0x18]
mov dword [eax + 0x18], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
jmp 0x418ea7
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov edx, dword [ecx + 8]
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x10]
mov dword [eax + 0x28], ebp
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xd8]
mov dword [edx + 0x10], esi
mov edx, dword [esp + 0x10]
add eax, ebx
mov dword [edx], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
add edx, dword [esp + 0x54]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x10]
mov dword [eax + 0x18], ebx
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
add edx, dword [esp + 0x54]
mov dword [eax + 0x20], edx
mov eax, dword [esp + 0x10]
mov dword [eax + 0x1c], edi
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x58]
mov dword [eax + 0x24], edx
mov ecx, dword [ecx + 8]
add ecx, 0x50
lea edx, [esp + 0x10]
push edx
push 1
mov eax, dword [ecx + 8]
push eax
call fcn.0041bff0
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x10]
push ecx
push 1
push edx
lea ecx, [esp + 0x68]
call fcn.0041bff0
mov eax, dword [esp + 0x54]
lea ebp, [ebp + esi*2]
add ebx, eax
jmp 0x418f4c
push ebp
call dword [0x45d33c]
add esp, 4
test eax, eax
ja 0x418f5a
xor edi, edi
cmp ebx, dword [esp + 0x20]
jge 0x418f5c
cmp dword [esp + 0x24], edi
je 0x418f88
jmp 0x418f5c
xor edi, edi
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x44]
push edi
lea eax, [esp + 0x60]
push esi
push eax
xor ebx, ebx
call fcn.00417fc0
mov ecx, dword [esp + 0xf4]
add esp, 0xc
add edi, ecx
mov dword [esp + 0x18], ebx
add esi, edi
mov dword [esp + 0x44], esi
cmp ebx, dword [esp + 0x20]
jl 0x418c39
xor edi, edi
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x3c], edi
je 0x418fb1
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0xd4]
push edx
push eax
call dword [0x45d084]
mov ecx, dword [esp + 0xd0]
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
cmp eax, dword [ecx + 4]
jne 0x418baa
mov ebp, ecx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
push edx
lea ecx, [esp + 0x60]
push eax
push ecx
call fcn.00417fc0
mov edx, dword [esp + 0xf8]
add esp, 0xc
mov ecx, dword [esp + 0xd8]
push edx
mov edx, dword [esp + 0xe0]
sub esp, 0x10
mov eax, esp
push ebp
mov dword [eax], ecx
mov ecx, dword [esp + 0xf8]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xfc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00418790
mov eax, dword [esp + 0x78]
push eax
call fcn.0044c87a
mov eax, dword [esp + 0x48]
add esp, 0x1c
cmp eax, edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
je 0x41905a
mov cl, byte [eax - 1]
test cl, cl
je 0x41904e
cmp cl, 0xff
je 0x41904e
dec cl
mov byte [eax - 1], cl
jmp 0x41905a
add eax, 0xfffffffe
push eax
call fcn.0044c87a
add esp, 4
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xbc
ret