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

Disassembly:
push 0xffffffffffffffff
push 0x4441b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x4553d4]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x18]
push ecx
push str.__s___l
push edx
mov dword [esp + 0x34], 0
call fcn.0040b030
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x3c]
push 0xffffffffffffffff
push ecx
push eax
mov byte [esp + 0x5c], 1
call fcn.0040bf90
add esp, 0x34
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0
call fcn.0043602c
mov edi, dword [esi + 0x7c]
mov ebx, dword [esi + 0x78]
add esi, 0x74
cmp edi, edi
mov ebp, edi
je 0x418c84
push ebp
mov ecx, ebx
call fcn.00436165
add ebp, 4
add ebx, 4
cmp ebp, edi
jne 0x418c72
mov ebp, dword [esi + 8]
mov edi, ebx
cmp ebx, ebp
je 0x418c9b
mov ecx, edi
call fcn.0043602c
add edi, 4
cmp edi, ebp
jne 0x418c8d
xor edi, edi
lea ecx, [esp + 0x14]
push edi
push 0xa
mov dword [esi + 8], ebx
call fcn.004364ec
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x18], ebx
jle 0x418e45
jmp 0x418cc0
mov ebx, dword [esp + 0x18]
mov edx, ebx
lea eax, [esp + 0x10]
sub edx, edi
lea ecx, [esp + 0x14]
dec edx
push edx
push edi
push eax
call fcn.004348c8
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call fcn.00434e8d
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub ecx, eax
mov edi, eax
sar ecx, 2
cmp ecx, 1
jae 0x418d9f
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x418d0c
sub eax, ecx
sar eax, 2
cmp eax, 1
mov ebx, eax
ja 0x418d11
mov ebx, 1
mov ecx, esi
call fcn.00404e70
add eax, ebx
mov dword [esp + 0x1c], eax
jns 0x418d22
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.0043658d
add esp, 4
mov ebp, eax
mov eax, dword [esi + 4]
mov ecx, esi
push ebp
push edi
push eax
call fcn.00405430
lea ecx, [esp + 0x10]
mov ebx, eax
push ecx
push 1
push ebx
mov ecx, esi
call fcn.00405470
mov edx, dword [esi + 8]
add ebx, 4
push ebx
push edx
push edi
mov ecx, esi
call fcn.00405430
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00405240
mov eax, dword [esi + 4]
push eax
call fcn.004365b6
mov edx, dword [esp + 0x20]
add esp, 4
mov ecx, esi
lea eax, [ebp + edx*4]
mov dword [esi + 0xc], eax
call fcn.00404e70
mov ebx, dword [esp + 0x18]
lea ecx, [ebp + eax*4 + 4]
mov dword [esi + 8], ecx
mov dword [esi + 4], ebp
jmp 0x418e1c
mov edx, eax
sub edx, edi
sar edx, 2
cmp edx, 1
jae 0x418deb
lea ecx, [edi + 4]
push ecx
push eax
push edi
mov ecx, esi
call fcn.00405430
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
mov ecx, eax
push edx
sub ecx, edi
mov edx, 1
sar ecx, 2
sub edx, ecx
mov ecx, esi
push edx
push eax
call fcn.00405470
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
push edi
call fcn.00405e30
add esp, 0xc
jmp 0x418e18
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.00405430
mov eax, dword [esi + 8]
push eax
add eax, 0xfffffffc
push eax
push edi
call fcn.00405e60
lea edx, [esp + 0x1c]
lea eax, [edi + 4]
push edx
push eax
push edi
call fcn.00405e30
add esp, 0x18
add dword [esi + 8], 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.0043602c
lea edi, [ebx + 1]
lea ecx, [esp + 0x14]
push edi
push 0xa
call fcn.004364ec
test eax, eax
mov dword [esp + 0x18], eax
jg 0x418cbc
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.0043602c
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret