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

Disassembly:
push 0xffffffffffffffff
push 0x6205b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
mov eax, dword [esp + 0x158]
push ebx
push ebp
push esi
push edi
push 0
push eax
mov edi, ecx
push 0x3ea
push str.ConAI
mov dword [esp + 0x60], edi
call fcn.00411c30
lea ebx, [edi + 0xf0]
lea esi, [edi + 0xf4]
mov ecx, esi
mov dword [esp + 0x160], 0
mov dword [ebx], 0
call fcn.0040bce0
lea ebp, [edi + 0x178]
mov byte [esp + 0x160], 1
mov ecx, ebp
mov dword [edi + 0x174], 0
call fcn.0040bce0
mov dword [edi + 0x160], esi
mov dword [edi + 0x164], esi
mov esi, dword [esp + 0x16c]
push 4
push ebx
push esi
mov byte [esp + 0x16c], 2
mov dword [edi + 0x2fc], 0xbf800000
mov dword [edi + 0x300], 0xbf800000
mov dword [edi + 0x304], 0xbf800000
mov dword [edi + 0x308], 0xffffffff
mov dword [edi + 0x30c], 0xffffffff
mov dword [edi + 0x310], 0
mov dword [edi], 0x63573c
mov dword [edi + 0x1e4], ebp
mov dword [edi + 0x1e8], ebp
call fcn.004c5a20
lea ecx, [esp + 0x1c]
push 4
push ecx
push esi
call fcn.004c5a20
mov edx, dword [esp + 0x28]
lea eax, [edi + 0x1f8]
push edx
push eax
push esi
call fcn.004c5a20
mov ecx, dword [esp + 0x34]
lea eax, [edi + 0x2fc]
push 4
push eax
push esi
mov byte [ecx + edi + 0x1f8], 0
call fcn.004c5a20
lea eax, [edi + 0x300]
push 4
push eax
push esi
call fcn.004c5a20
lea eax, [edi + 0x304]
push 4
push eax
push esi
call fcn.004c5a20
add esp, 0x48
lea eax, [edi + 0x308]
push 4
push eax
push esi
call fcn.004c5a20
lea eax, [edi + 0x30c]
push 4
push eax
push esi
call fcn.004c5a20
mov eax, dword [ebx]
add esp, 0x18
test eax, eax
mov dword [esp + 0x48], 0
jle 0x40c2e6
lea edx, [esp + 0x10]
push 4
push edx
push esi
call fcn.004c5a20
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x60]
push eax
push ecx
push esi
call fcn.004c5a20
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x50]
push 4
push eax
push esi
mov byte [esp + edx + 0x78], 0
call fcn.004c5a20
lea ecx, [esp + 0x50]
push 4
push ecx
push esi
call fcn.004c5a20
lea edx, [esp + 0x64]
push 4
push edx
push esi
call fcn.004c5a20
lea eax, [esp + 0x50]
push 4
push eax
push esi
call fcn.004c5a20
add esp, 0x48
lea ecx, [esp + 0x30]
push 4
push ecx
push esi
call fcn.004c5a20
lea edx, [esp + 0x4c]
push 4
push edx
push esi
call fcn.004c5a20
lea eax, [esp + 0x40]
push 4
push eax
push esi
call fcn.004c5a20
lea ecx, [esp + 0x68]
push 4
push ecx
push esi
call fcn.004c5a20
lea edx, [esp + 0x50]
push 4
push edx
push esi
call fcn.004c5a20
lea eax, [esp + 0x78]
push 4
push eax
push esi
call fcn.004c5a20
add esp, 0x48
lea ecx, [esp + 0x18]
push 4
push ecx
push esi
call fcn.004c5a20
lea edx, [esp + 0x28]
push 4
push edx
push esi
call fcn.004c5a20
lea eax, [esp + 0x3c]
push 4
push eax
push esi
call fcn.004c5a20
push 0x80
call fcn.0061317d
add esp, 0x28
mov dword [esp + 0x4c], eax
test eax, eax
mov byte [esp + 0x160], 3
je 0x40c266
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x2c]
push ecx
push edx
mov ecx, eax
call fcn.0040bd30
mov ebp, eax
jmp 0x40c268
xor ebp, ebp
mov eax, dword [esp + 0x18]
mov ecx, ebp
push eax
mov byte [esp + 0x164], 2
call fcn.0040be40
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.0040be50
mov edx, dword [esp + 0x24]
mov ecx, ebp
push edx
call fcn.0040be90
mov eax, dword [esp + 0x2c]
mov ecx, ebp
push eax
call fcn.005d68b0
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, ebp
call fcn.0040a920
mov edx, dword [esp + 0x3c]
mov ecx, ebp
push edx
call fcn.0040a960
lea eax, [edi + 0xf4]
mov dword [ebp + 0x6c], eax
mov eax, dword [edi + 0x164]
mov dword [ebp + 0x70], eax
mov dword [eax + 0x6c], ebp
mov eax, dword [esp + 0x48]
mov ecx, dword [ebx]
inc eax
cmp eax, ecx
mov dword [edi + 0x164], ebp
mov dword [esp + 0x48], eax
jl 0x40c141
lea ebp, [edi + 0x174]
push 4
push ebp
push esi
call fcn.004c5a20
mov eax, dword [ebp]
add esp, 0xc
xor ebx, ebx
test eax, eax
jle 0x40c4a6
lea eax, [esp + 0x10]
push 4
push eax
push esi
call fcn.004c5a20
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x60]
push ecx
push edx
push esi
call fcn.004c5a20
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x54]
push 4
push ecx
push esi
mov byte [esp + eax + 0x78], 0
call fcn.004c5a20
lea edx, [esp + 0x68]
push 4
push edx
push esi
call fcn.004c5a20
lea eax, [esp + 0x50]
push 4
push eax
push esi
call fcn.004c5a20
lea ecx, [esp + 0x50]
push 4
push ecx
push esi
call fcn.004c5a20
add esp, 0x48
lea edx, [esp + 0x18]
push 4
push edx
push esi
call fcn.004c5a20
lea eax, [esp + 0x28]
push 4
push eax
push esi
call fcn.004c5a20
lea ecx, [esp + 0x3c]
push 4
push ecx
push esi
call fcn.004c5a20
lea edx, [esp + 0x50]
push 4
push edx
push esi
call fcn.004c5a20
lea eax, [esp + 0x64]
push 4
push eax
push esi
call fcn.004c5a20
lea ecx, [esp + 0x74]
push 4
push ecx
push esi
call fcn.004c5a20
add esp, 0x48
lea edx, [esp + 0x30]
push 4
push edx
push esi
call fcn.004c5a20
lea eax, [esp + 0x4c]
push 4
push eax
push esi
call fcn.004c5a20
lea ecx, [esp + 0x40]
push 4
push ecx
push esi
call fcn.004c5a20
push 0x80
call fcn.0061317d
add esp, 0x28
mov dword [esp + 0x4c], eax
test eax, eax
mov byte [esp + 0x160], 4
je 0x40c42a
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x54]
push edx
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push ecx
mov ecx, eax
call fcn.0040bd30
mov ebp, eax
jmp 0x40c42c
xor ebp, ebp
mov edx, dword [esp + 0x30]
mov ecx, ebp
push edx
mov byte [esp + 0x164], 2
call fcn.0040be40
mov eax, dword [esp + 0x40]
mov ecx, ebp
push eax
call fcn.0040be50
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, ebp
call fcn.0040be90
mov edx, dword [esp + 0x44]
mov ecx, ebp
push edx
call fcn.005d68b0
mov eax, dword [esp + 0x20]
mov ecx, ebp
push eax
call fcn.0040a920
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, ebp
call fcn.0040a960
lea eax, [edi + 0x178]
inc ebx
mov dword [ebp + 0x6c], eax
mov eax, dword [edi + 0x1e8]
mov dword [ebp + 0x70], eax
mov dword [eax + 0x6c], ebp
mov eax, dword [edi + 0x174]
cmp ebx, eax
mov dword [edi + 0x1e8], ebp
jl 0x40c305
mov ecx, dword [esp + 0x158]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x154
ret 8