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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4aab5b
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4e52f4]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 8]
xor ebx, ebx
push esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], esi
call fcn.0040c5ab
lea eax, [edi + 0x40]
push eax
call fcn.0040c5ab
lea eax, [edi + 0x5c]
push eax
mov dword [esp + 0x20], eax
call fcn.0040c5ab
lea eax, [edi + 0x78]
mov dword [esp + 0x24], eax
call fcn.0040c647
mov ecx, dword [edi + 4]
mov byte [edi + 0x90], 1
mov eax, dword [ecx]
call dword [eax + 0x58]
cmp dword [eax + 0x14], ebx
jne 0x40c111
xor al, al
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00489b1b
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x4c]
push eax
call dword [edx + 0x3c]
mov dword [esp + 0x90], ebx
cmp dword [esp + 0x5c], ebx
jne 0x40c149
mov byte [esp + 0x17], bl
or dword [esp + 0x90], 0xffffffff
push ebx
push 1
lea ecx, [esp + 0x50]
call fcn.004043a7
mov al, byte [esp + 0x17]
jmp 0x40c0f0
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x54]
test al, al
je 0x40c1c7
cmp dword [esp + 0x60], 8
mov esi, dword [esp + 0x4c]
jae 0x40c164
lea esi, [esp + 0x4c]
call fcn.0044dd6d
test al, al
je 0x40c173
lea eax, [esp + 0x48]
jmp 0x40c191
push 0x4bc7c4
lea ecx, [esp + 0x68]
call fcn.0040432c
mov byte [esp + 0x90], 1
mov dword [esp + 0x18], 1
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebx
push eax
call fcn.00404072
mov dword [esp + 0x90], ebx
test byte [esp + 0x18], 1
je 0x40c1bd
and dword [esp + 0x18], 0xfffffffe
push ebx
push 1
lea ecx, [esp + 0x6c]
call fcn.004043a7
mov byte [esp + 0x17], 1
jmp 0x40c12f
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x50]
test al, al
jne 0x40c1e4
mov ecx, esi
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x50]
push eax
call fcn.00404072
jmp 0x40c1bd
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x4c]
call fcn.00403f5b
mov ecx, eax
call fcn.004039f2
cmp word [eax], 0x7b
jne 0x40c1d3
mov esi, 0x4bc9f0
push esi
call fcn.0048a11b
pop ecx
push eax
push esi
lea eax, [esp + 0x50]
call fcn.0040c70e
cmp eax, 1
jne 0x40c325
push eax
lea eax, [esp + 0x20]
push eax
xor eax, eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x24], 0x7d
call fcn.0040c8a2
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x40c325
add eax, 0xfffffffe
push eax
push 2
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00403ec3
mov byte [esp + 0x90], 2
cmp dword [esp + 0x7c], 8
mov esi, dword [esp + 0x68]
jae 0x40c271
lea esi, [esp + 0x68]
call fcn.0044dd6d
test al, al
je 0x40c280
lea eax, [esp + 0x64]
jmp 0x40c29e
push 0x4bc7c4
lea ecx, [esp + 0x30]
call fcn.0040432c
mov byte [esp + 0x90], 3
mov dword [esp + 0x18], 2
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x40]
call fcn.00404072
mov dword [esp + 0x90], 2
test byte [esp + 0x18], 2
je 0x40c2cd
and dword [esp + 0x18], 0xfffffffd
push ebx
push 1
lea ecx, [esp + 0x34]
call fcn.004043a7
cmp dword [edi + 0x54], ebx
je 0x40c312
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
inc eax
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00403ec3
mov byte [esp + 0x90], 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.00404072
mov byte [esp + 0x90], 2
push ebx
push 1
lea ecx, [esp + 0x34]
call fcn.004043a7
mov byte [esp + 0x90], bl
push ebx
push 1
lea ecx, [esp + 0x6c]
call fcn.004043a7
mov esi, 0x4bc9f8
push esi
call fcn.0048a11b
pop ecx
push eax
push esi
lea eax, [esp + 0x50]
call fcn.0040c70e
cmp eax, ebx
jne 0x40c408
push 1
lea eax, [esp + 0x20]
push eax
xor eax, eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x24], 0x7d
call fcn.0040c8a2
mov edi, eax
cmp edi, 0xffffffff
je 0x40c325
lea eax, [edi - 1]
push eax
push 1
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00403ec3
mov byte [esp + 0x90], 5
lea esi, [esp + 0x64]
call fcn.004411e0
test al, al
je 0x40c39c
mov eax, esi
call fcn.00439b00
mov dword [esp + 0x1c], eax
jmp 0x40c3a1
or dword [esp + 0x1c], 0xffffffff
cmp dword [esp + 0x1c], 0xffffffff
je 0x40c3eb
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x28]
call fcn.0040c5e9
push 0xffffffffffffffff
inc edi
push edi
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00403ec3
mov byte [esp + 0x90], 6
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.00404072
mov byte [esp + 0x90], 5
jmp 0x40c306
lea eax, [esp + 0x48]
push eax
call fcn.0040c5ab
mov byte [esp + 0x90], bl
push ebx
push 1
lea ecx, [esp + 0x6c]
call fcn.004043a7
mov ecx, dword [esp + 0x28]
jmp 0x40c1d5