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

Disassembly:
push 0xffffffffffffffff
push 0x427cb7
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x42f0f4]
xor eax, esp
mov dword [esp + 0x308], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42f0f4]
xor eax, esp
push eax
lea eax, [esp + 0x320]
mov dword fs:[0], eax
mov eax, dword [esp + 0x338]
mov ebp, dword [esp + 0x330]
mov esi, dword [esp + 0x334]
push eax
xor ebx, ebx
lea eax, [esp + 0x68]
push 0x4298f0
mov dword [esp + 0x2c], ebx
push eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x24], ebx
call fcn.0040b4e0
push eax
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x33c], ebx
call fcn.0040a990
add esp, 0x14
cmp dword [eax + 0x18], 0x10
jb 0x40c98e
mov eax, dword [eax + 4]
jmp 0x40c991
add eax, 4
lea edx, [esp + 0x18]
push edx
push eax
xor eax, eax
cmp byte [esp + 0x344], bl
sete al
add eax, 0x80000001
push eax
call dword [0x429018]
cmp dword [esp + 0x44], 0x10
mov edi, eax
jb 0x40c9c5
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0041a65d
add esp, 4
cmp dword [esp + 0x7c], 8
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov dword [esp + 0x328], 0xffffffff
jb 0x40c9f4
mov edx, dword [esp + 0x68]
push edx
call fcn.0041a65d
add esp, 4
cmp edi, ebx
je 0x40ca1a
push ebx
xor eax, eax
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
push 0x4298ec
mov ecx, ebp
mov word [ebp + 4], ax
call fcn.0040a270
jmp 0x40cba7
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x24]
push ebx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0xb0]
push edx
push ebx
push eax
xor edi, edi
mov dword [esp + 0x40], 0x80
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], 0x200
call dword [0x42901c]
test eax, eax
jne 0x40cb90
mov ebp, 1
lea esp, [esp]
cmp dword [esp + 0x24], ebp
jne 0x40cb46
lea eax, [esp + 0x9c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40ca94
sub eax, edx
push eax
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x34]
call fcn.00403d50
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x330], ebp
call fcn.0040b930
add esp, 8
cmp dword [esi + 0x18], 8
mov ecx, dword [esi + 0x14]
mov byte [esp + 0x328], 2
jb 0x40cade
mov edx, dword [esi + 4]
jmp 0x40cae1
lea edx, [esi + 4]
push ecx
mov ecx, dword [eax + 0x14]
push edx
push ecx
push ebx
mov ecx, eax
call fcn.004094d0
test eax, eax
sete byte [esp + 0x17]
cmp dword [esp + 0x7c], 8
jb 0x40cb0a
mov edx, dword [esp + 0x68]
push edx
call fcn.0041a65d
add esp, 4
xor eax, eax
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], ax
mov dword [esp + 0x328], 0xffffffff
jb 0x40cb3c
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0041a65d
add esp, 4
cmp byte [esp + 0x17], bl
jne 0x40cbd1
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
push ebx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0xb0]
push eax
add edi, ebp
push edi
push ecx
mov dword [esp + 0x3c], 0x200
mov dword [esp + 0x40], 0x80
call dword [0x42901c]
test eax, eax
je 0x40ca70
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x429028]
push 0x4298ec
mov ecx, ebp
call fcn.0040b430
mov eax, ebp
mov ecx, dword [esp + 0x320]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x308]
xor ecx, esp
call fcn.0041ac87
add esp, 0x318
ret
mov esi, 0xf
lea eax, [esp + 0x11c]
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40cbf0
sub eax, edx
push eax
lea edx, [esp + 0x120]
push edx
lea ecx, [esp + 0x50]
call fcn.00403d50
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x84]
push ecx
mov dword [esp + 0x330], 3
call fcn.0040b930
add esp, 8
cmp dword [esp + 0x60], 0x10
mov byte [esp + 0x328], 5
jb 0x40cc47
mov edx, dword [esp + 0x4c]
push edx
call fcn.0041a65d
add esp, 4
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call dword [0x429028]
mov esi, dword [esp + 0x28]
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push ebx
lea edx, [esp + 0x88]
mov word [esi + 4], cx
push edx
mov ecx, esi
call fcn.00403e30
cmp dword [esp + 0x98], 8
jb 0x40cc9e
mov eax, dword [esp + 0x84]
push eax
call fcn.0041a65d
add esp, 4
mov eax, esi
jmp 0x40cba9