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

Disassembly:
push 0xffffffffffffffff
push 0x45c809
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
mov eax, dword [0x4774f0]
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 0x4614c4
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.00403690
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.0040ae10
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.00402300
mov esi, eax
cmp esi, 0xffffffff
je 0x40cba4
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.00402300
mov edi, eax
cmp esi, edi
je 0x40cb9f
cmp edi, 0xffffffff
je 0x40cb9f
mov edx, edi
sub edx, esi
push edx
push esi
lea eax, [esp + 0xc8]
push eax
mov ecx, ebp
call fcn.00407540
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xb0]
mov byte [esp + 0xf4], 3
call fcn.00403490
mov eax, dword [esp + 0xd8]
mov esi, 0x10
cmp eax, esi
mov byte [esp + 0xe8], 2
jb 0x40ca7c
mov ecx, dword [esp + 0xc4]
push ecx
call fcn.00446038
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 0x40caa3
lea eax, [esp + 0x54]
mov edx, dword [esp + 0x64]
push edx
push ebx
push eax
lea ecx, [esp + 0xb0]
call fcn.00402300
mov esi, eax
cmp esi, 0xffffffff
je 0x40cb81
push esi
push ebx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xb0]
call fcn.00407540
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xf4], 4
call fcn.00403490
cmp dword [esp + 0x4c], 0x10
mov byte [esp + 0xe8], 2
jb 0x40cb05
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00446038
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.00407540
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0xf4], 5
call fcn.00403490
cmp dword [esp + 0x30], 0x10
mov byte [esp + 0xe8], 2
jb 0x40cb63
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00446038
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.0040b770
push 1
push edi
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov byte [esp + 0x1c], bl
call fcn.00402300
mov esi, eax
cmp esi, 0xffffffff
jne 0x40ca00
mov edi, 0xf
mov eax, dword [esp + 0xa0]
mov esi, 0x10
cmp eax, esi
jb 0x40cbc4
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.00446038
add esp, 4
cmp dword [esp + 0x84], esi
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
jb 0x40cbef
mov edx, dword [esp + 0x70]
push edx
call fcn.00446038
add esp, 4
cmp dword [esp + 0x68], esi
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
jb 0x40cc14
mov eax, dword [esp + 0x54]
push eax
call fcn.00446038
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 0x40cc3f
mov ecx, dword [esp + 0x98]
push ecx
call fcn.00446038
add esp, 4
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xcc]
call fcn.004305ce
add esp, 0xdc
ret 4