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

Disassembly:
push 0xffffffffffffffff
push 0x607d39
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.00411430
lea ebx, [edi + 0xf0]
lea esi, [edi + 0xf4]
mov ecx, esi
mov dword [esp + 0x160], 0
mov dword [ebx], 0
call fcn.0040b4e0
lea ebp, [edi + 0x178]
mov byte [esp + 0x160], 1
mov ecx, ebp
mov dword [edi + 0x174], 0
call fcn.0040b4e0
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], 0x61c38c
mov dword [edi + 0x1e4], ebp
mov dword [edi + 0x1e8], ebp
call fcn.004bee50
lea ecx, [esp + 0x1c]
push 4
push ecx
push esi
call fcn.004bee50
mov edx, dword [esp + 0x28]
lea eax, [edi + 0x1f8]
push edx
push eax
push esi
call fcn.004bee50
mov ecx, dword [esp + 0x34]
lea eax, [edi + 0x2fc]
push 4
push eax
push esi
mov byte [ecx + edi + 0x1f8], 0
call fcn.004bee50
lea eax, [edi + 0x300]
push 4
push eax
push esi
call fcn.004bee50
lea eax, [edi + 0x304]
push 4
push eax
push esi
call fcn.004bee50
add esp, 0x48
lea eax, [edi + 0x308]
push 4
push eax
push esi
call fcn.004bee50
lea eax, [edi + 0x30c]
push 4
push eax
push esi
call fcn.004bee50
mov eax, dword [ebx]
add esp, 0x18
test eax, eax
mov dword [esp + 0x48], 0
jle 0x40bae6
lea edx, [esp + 0x10]
push 4
push edx
push esi
call fcn.004bee50
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x60]
push eax
push ecx
push esi
call fcn.004bee50
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x50]
push 4
push eax
push esi
mov byte [esp + edx + 0x78], 0
call fcn.004bee50
lea ecx, [esp + 0x50]
push 4
push ecx
push esi
call fcn.004bee50
lea edx, [esp + 0x64]
push 4
push edx
push esi
call fcn.004bee50
lea eax, [esp + 0x50]
push 4
push eax
push esi
call fcn.004bee50
add esp, 0x48
lea ecx, [esp + 0x30]
push 4
push ecx
push esi
call fcn.004bee50
lea edx, [esp + 0x4c]
push 4
push edx
push esi
call fcn.004bee50
lea eax, [esp + 0x40]
push 4
push eax
push esi
call fcn.004bee50
lea ecx, [esp + 0x68]
push 4
push ecx
push esi
call fcn.004bee50
lea edx, [esp + 0x50]
push 4
push edx
push esi
call fcn.004bee50
lea eax, [esp + 0x78]
push 4
push eax
push esi
call fcn.004bee50
add esp, 0x48
lea ecx, [esp + 0x18]
push 4
push ecx
push esi
call fcn.004bee50
lea edx, [esp + 0x28]
push 4
push edx
push esi
call fcn.004bee50
lea eax, [esp + 0x3c]
push 4
push eax
push esi
call fcn.004bee50
push 0x80
call fcn.005faa3d
add esp, 0x28
mov dword [esp + 0x4c], eax
test eax, eax
mov byte [esp + 0x160], 3
je 0x40ba66
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.0040b530
mov ebp, eax
jmp 0x40ba68
xor ebp, ebp
mov eax, dword [esp + 0x18]
mov ecx, ebp
push eax
mov byte [esp + 0x164], 2
call fcn.0040b640
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.0040b650
mov edx, dword [esp + 0x24]
mov ecx, ebp
push edx
call fcn.0040b690
mov eax, dword [esp + 0x2c]
mov ecx, ebp
push eax
call fcn.005c0e30
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, ebp
call fcn.0040a120
mov edx, dword [esp + 0x3c]
mov ecx, ebp
push edx
call fcn.0040a160
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 0x40b941
lea ebp, [edi + 0x174]
push 4
push ebp
push esi
call fcn.004bee50
mov eax, dword [ebp]
add esp, 0xc
xor ebx, ebx
test eax, eax
jle 0x40bca6
lea eax, [esp + 0x10]
push 4
push eax
push esi
call fcn.004bee50
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x60]
push ecx
push edx
push esi
call fcn.004bee50
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x54]
push 4
push ecx
push esi
mov byte [esp + eax + 0x78], 0
call fcn.004bee50
lea edx, [esp + 0x68]
push 4
push edx
push esi
call fcn.004bee50
lea eax, [esp + 0x50]
push 4
push eax
push esi
call fcn.004bee50
lea ecx, [esp + 0x50]
push 4
push ecx
push esi
call fcn.004bee50
add esp, 0x48
lea edx, [esp + 0x18]
push 4
push edx
push esi
call fcn.004bee50
lea eax, [esp + 0x28]
push 4
push eax
push esi
call fcn.004bee50
lea ecx, [esp + 0x3c]
push 4
push ecx
push esi
call fcn.004bee50
lea edx, [esp + 0x50]
push 4
push edx
push esi
call fcn.004bee50
lea eax, [esp + 0x64]
push 4
push eax
push esi
call fcn.004bee50
lea ecx, [esp + 0x74]
push 4
push ecx
push esi
call fcn.004bee50
add esp, 0x48
lea edx, [esp + 0x30]
push 4
push edx
push esi
call fcn.004bee50
lea eax, [esp + 0x4c]
push 4
push eax
push esi
call fcn.004bee50
lea ecx, [esp + 0x40]
push 4
push ecx
push esi
call fcn.004bee50
push 0x80
call fcn.005faa3d
add esp, 0x28
mov dword [esp + 0x4c], eax
test eax, eax
mov byte [esp + 0x160], 4
je 0x40bc2a
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.0040b530
mov ebp, eax
jmp 0x40bc2c
xor ebp, ebp
mov edx, dword [esp + 0x30]
mov ecx, ebp
push edx
mov byte [esp + 0x164], 2
call fcn.0040b640
mov eax, dword [esp + 0x40]
mov ecx, ebp
push eax
call fcn.0040b650
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, ebp
call fcn.0040b690
mov edx, dword [esp + 0x44]
mov ecx, ebp
push edx
call fcn.005c0e30
mov eax, dword [esp + 0x20]
mov ecx, ebp
push eax
call fcn.0040a120
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, ebp
call fcn.0040a160
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 0x40bb05
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