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

Disassembly:
push 0xffffffffffffffff
push 0x44f119
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
mov eax, dword [0x4664d0]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov edi, 0xf
mov dword [esp + 0xdc], eax
mov esi, ecx
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
push 2
push 0x453484
lea ecx, [esp + 0x58]
mov dword [esp + 0xf0], ebx
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00402f40
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
lea ecx, [esi + 0x10]
mov byte [esp + 0xe8], 2
mov dword [esp + 0x14], ecx
call fcn.0040b000
mov ebp, dword [esp + 0xf0]
push 1
push ebx
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov byte [esp + 0x1c], bl
call fcn.00404430
mov esi, eax
cmp esi, 0xffffffff
je 0x40cd94
lea esp, [esp]
push 1
inc esi
push esi
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
mov byte [esp + 0x1c], bl
call fcn.00404430
mov edi, eax
cmp esi, edi
je 0x40cd8f
cmp edi, 0xffffffff
je 0x40cd8f
mov edx, edi
sub edx, esi
push edx
push esi
lea eax, [esp + 0xc8]
push eax
mov ecx, ebp
call fcn.00404770
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xb0]
mov byte [esp + 0xf4], 3
call fcn.00402e50
mov eax, dword [esp + 0xd8]
mov esi, 0x10
cmp eax, esi
mov byte [esp + 0xe8], 2
jb 0x40cc6c
mov ecx, dword [esp + 0xc4]
push ecx
call fcn.004388a9
add esp, 4
cmp dword [esp + 0x68], esi
mov eax, dword [esp + 0x54]
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
jae 0x40cc93
lea eax, [esp + 0x54]
mov edx, dword [esp + 0x64]
push edx
push ebx
push eax
lea ecx, [esp + 0xb0]
call fcn.00404430
mov esi, eax
cmp esi, 0xffffffff
je 0x40cd71
push esi
push ebx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xb0]
call fcn.00404770
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xf4], 4
call fcn.00402e50
cmp dword [esp + 0x4c], 0x10
mov byte [esp + 0xe8], 2
jb 0x40ccf5
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004388a9
add esp, 4
mov edx, dword [esp + 0x64]
push 0xffffffffffffffff
add edx, esi
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xb0]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00404770
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0xf4], 5
call fcn.00402e50
cmp dword [esp + 0x30], 0x10
mov byte [esp + 0xe8], 2
jb 0x40cd53
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004388a9
add esp, 4
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.0040b960
push 1
push edi
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov byte [esp + 0x1c], bl
call fcn.00404430
mov esi, eax
cmp esi, 0xffffffff
jne 0x40cbf0
mov edi, 0xf
mov eax, dword [esp + 0xa0]
mov esi, 0x10
cmp eax, esi
jb 0x40cdb4
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.004388a9
add esp, 4
cmp dword [esp + 0x84], esi
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
jb 0x40cddf
mov edx, dword [esp + 0x70]
push edx
call fcn.004388a9
add esp, 4
cmp dword [esp + 0x68], esi
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
jb 0x40ce04
mov eax, dword [esp + 0x54]
push eax
call fcn.004388a9
add esp, 4
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x68], edi
pop edi
cmp eax, esi
pop esi
pop ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
pop ebx
jb 0x40ce2f
mov ecx, dword [esp + 0x98]
push ecx
call fcn.004388a9
add esp, 4
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xcc]
call fcn.00422ede
add esp, 0xdc
ret 4