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

Disassembly:
push 0xffffffffffffffff
push 0x448610
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x45e5e0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45e5e0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [esp + 0x90]
mov ebp, dword [esp + 0x94]
xor esi, esi
mov dword [esp + 0x4c], esi
push esi
mov edi, ecx
push 0x450da0
lea ecx, [esp + 0x68]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], esi
mov word [esp + 0x6c], si
call fcn.004044c0
mov dword [esp + 0x88], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
xor ecx, ecx
push ecx
lea eax, [esp + 0x34]
push eax
push esi
mov edx, eax
push edx
lea ecx, [esp + 0x5c]
push ecx
mov esi, eax
mov byte [esp + 0x9c], 1
call fcn.00404190
xor esi, esi
cmp edi, esi
mov ebx, 8
je 0x40ccc9
lea edx, [ebp + 0xa8]
lea eax, [ebp + 0x1c]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
lea ecx, [ebp + 0x38]
lea edx, [ebp + 0x54]
lea eax, [ebp + 0x70]
add ebp, 0x8c
mov dword [esp + 0x54], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], ebp
jmp 0x40c970
movzx ecx, byte [edi + 0x199]
movzx edx, byte [edi + 0x198]
movzx eax, byte [edi + 0x197]
push ecx
movzx ecx, byte [edi + 0x196]
push edx
movzx edx, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push str._02x_02x_02x_02x_02x_02x
push ecx
call fcn.00443fd0
add esp, 0x20
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x94], 2
call fcn.004043d0
mov byte [esp + 0x88], 1
cmp dword [esp + 0x2c], ebx
jb 0x40c9e2
mov edx, dword [esp + 0x18]
push edx
call fcn.00411d3b
add esp, 4
cmp dword [esp + 0x74], esi
je 0x40ca5b
cmp dword [esp + 0x78], ebx
mov edx, dword [esp + 0x64]
jae 0x40c9f6
lea edx, [esp + 0x64]
mov eax, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], esi
mov word [esp + 0x18], si
lea ebp, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x40ca10
sub eax, ebp
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.004044c0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 3
call fcn.00403db0
mov byte [esp + 0x88], 1
cmp dword [esp + 0x2c], ebx
jb 0x40ca5b
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00411d3b
add esp, 4
lea edx, [edi + 0x10c]
push edx
lea eax, [esp + 0x18]
push 0x4512f0
push eax
call fcn.00443fd0
add esp, 0xc
mov ecx, dword [esp + 0x58]
push 0xffffffffffffffff
push esi
push eax
mov byte [esp + 0x94], 4
call fcn.004043d0
mov byte [esp + 0x88], 1
cmp dword [esp + 0x2c], ebx
jb 0x40caa4
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00411d3b
add esp, 4
mov ebp, dword [esp + 0x5c]
push esi
push 0x450da0
mov ecx, ebp
call fcn.004044c0
cmp dword [ebp + 0x18], ebx
jb 0x40cabf
mov eax, dword [ebp + 4]
jmp 0x40cac2
lea eax, [ebp + 4]
lea edx, [edi + 0x1b0]
push edx
push eax
lea eax, [esp + 0x1c]
push str._s_s
push eax
call fcn.00443fd0
add esp, 0x10
push 0xffffffffffffffff
push esi
push eax
mov ecx, ebp
mov byte [esp + 0x94], 5
call fcn.004043d0
mov byte [esp + 0x88], 1
cmp dword [esp + 0x2c], ebx
jb 0x40cb0a
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00411d3b
add esp, 4
lea edx, [edi + 0x1c0]
push edx
lea eax, [esp + 0x18]
push 0x4512f0
push eax
call fcn.00443fd0
add esp, 0xc
mov ecx, dword [esp + 0x54]
push 0xffffffffffffffff
push esi
push eax
mov byte [esp + 0x94], 6
call fcn.004043d0
mov byte [esp + 0x88], 1
cmp dword [esp + 0x2c], ebx
jb 0x40cb53
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00411d3b
add esp, 4
lea edx, [edi + 0x1d8]
push edx
lea eax, [esp + 0x18]
push 0x4512f0
push eax
call fcn.00443fd0
add esp, 0xc
push 0xffffffffffffffff
push esi
mov byte [esp + 0x90], 7
mov ecx, dword [esp + 0x54]
push eax
call fcn.004043d0
mov byte [esp + 0x88], 1
cmp dword [esp + 0x2c], ebx
jb 0x40cb9c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00411d3b
add esp, 4
cmp dword [edi + 0x224], esi
je 0x40cbe6
lea edx, [edi + 0x22c]
push edx
lea eax, [esp + 0x18]
push 0x4512f0
push eax
call fcn.00443fd0
add esp, 0xc
mov ecx, dword [esp + 0x40]
push 0xffffffffffffffff
push esi
push eax
mov byte [esp + 0x94], bl
call fcn.004043d0
mov byte [esp + 0x88], 1
cmp dword [esp + 0x2c], ebx
jb 0x40cc2d
mov ecx, dword [esp + 0x18]
push ecx
jmp 0x40cc25
push 0x451594
lea edx, [esp + 0x18]
push 0x4512f0
push edx
call fcn.00443fd0
add esp, 0xc
mov ecx, dword [esp + 0x40]
push 0xffffffffffffffff
push esi
push eax
mov byte [esp + 0x94], 9
call fcn.004043d0
mov byte [esp + 0x88], 1
cmp dword [esp + 0x2c], ebx
jb 0x40cc2d
mov eax, dword [esp + 0x18]
push eax
call fcn.00411d3b
add esp, 4
cmp dword [edi + 0x1a4], esi
je 0x40cc78
lea ecx, [edi + 0x200]
push ecx
lea edx, [esp + 0x18]
push 0x4512f0
push edx
call fcn.00443fd0
add esp, 0xc
mov ecx, dword [esp + 0x48]
push 0xffffffffffffffff
push esi
push eax
mov byte [esp + 0x94], 0xa
call fcn.004043d0
mov byte [esp + 0x88], 1
cmp dword [esp + 0x2c], ebx
jb 0x40ccbf
mov eax, dword [esp + 0x18]
push eax
jmp 0x40ccb7
push 0x451594
lea ecx, [esp + 0x18]
push 0x4512f0
push ecx
call fcn.00443fd0
add esp, 0xc
mov ecx, dword [esp + 0x48]
push 0xffffffffffffffff
push esi
push eax
mov byte [esp + 0x94], 0xb
call fcn.004043d0
mov byte [esp + 0x88], 1
cmp dword [esp + 0x2c], ebx
jb 0x40ccbf
mov edx, dword [esp + 0x18]
push edx
call fcn.00411d3b
add esp, 4
mov edi, dword [edi]
cmp edi, esi
jne 0x40c970
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x40cd40
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40cd40
push esi
lea eax, [esp + 0x34]
call fcn.00403d30
cmp dword [eax + 0x18], ebx
jb 0x40cd00
mov eax, dword [eax + 4]
jmp 0x40cd03
add eax, 4
push eax
lea ecx, [esp + 0x18]
push 0x4512f0
push ecx
call fcn.00443fd0
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x94], 0xc
call fcn.004043d0
mov byte [esp + 0x88], 1
cmp dword [esp + 0x2c], ebx
jb 0x40cd82
mov edx, dword [esp + 0x18]
push edx
jmp 0x40cd7a
lea eax, [esp + 0x14]
push 0x451598
push eax
call fcn.00443fd0
add esp, 8
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x94], 0xd
call fcn.004043d0
mov byte [esp + 0x88], 1
cmp dword [esp + 0x2c], ebx
jb 0x40cd82
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00411d3b
add esp, 4
cmp dword [esp + 0x78], ebx
mov edx, dword [esp + 0x64]
jae 0x40cd90
lea edx, [esp + 0x64]
mov edi, dword [esp + 0x44]
mov eax, edx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], esi
mov word [edi + 4], si
lea ebp, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x40cda7
sub eax, ebp
sar eax, 1
push eax
push edx
mov ecx, edi
call fcn.004044c0
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x40cde9
mov edx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x34]
push ecx
push edx
push eax
call fcn.00404eb0
mov eax, dword [esp + 0x44]
push eax
call fcn.00411d3b
add esp, 0x14
cmp dword [esp + 0x78], ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
jb 0x40ce08
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00411d3b
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0042e014
add esp, 0x78
ret 8