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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ba8db
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x4d509c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [esp + 0x3c]
and eax, 0xfffffe06
or eax, 6
xor edi, edi
push 0x20
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edi
call fcn.0048701b
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x70], edi
cmp esi, edi
je 0x40c794
push esi
call fcn.004064e0
jmp 0x40c796
xor esi, esi
mov dword [esp + 0x34], esi
mov eax, ebx
mov dword [esp + 0x70], 1
call fcn.0040e620
mov esi, dword [eax]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x28]
call fcn.00402340
lea ecx, [esp + 0x24]
mov edx, esi
call fcn.00402650
call fcn.004024f0
lea ecx, [esp + 0x34]
mov dword [esp + 0x70], 0xffffffff
call fcn.004024f0
mov edx, dword [ebx + 0x64]
cmp edx, dword [ebx + 0x60]
je 0x40c802
mov ecx, dword [ebx + 0x64]
mov al, byte [ecx]
cmp al, 0x20
je 0x40c7f7
cmp al, 9
je 0x40c7f7
cmp al, 0xd
je 0x40c7f7
cmp al, 0xa
jne 0x40c802
inc ecx
mov eax, ecx
mov dword [ebx + 0x64], ecx
cmp eax, dword [ebx + 0x60]
jne 0x40c7e2
mov ecx, dword [ebx + 0x64]
cmp byte [ecx], 0x5d
jne 0x40c82a
lea edi, [esp + 0x34]
mov eax, ebx
call fcn.0040bc70
mov al, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x14], edi
mov edi, edi
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x1c]
add esi, eax
cmp eax, esi
jbe 0x40c841
call fcn.0048877f
mov edi, dword [ebx]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
test edi, edi
jne 0x40c86b
call fcn.0048877f
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
dec esi
cmp esi, edx
ja 0x40c878
test edi, edi
je 0x40c871
mov edi, dword [edi]
jmp 0x40c873
mov eax, dword [edi]
mov ecx, eax
jmp 0x40c858
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x40c87d
call fcn.0048877f
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], esi
call fcn.00410350
mov esi, dword [esp + 0x14]
mov eax, dword [eax]
push esi
push eax
call fcn.004032a0
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x1c]
inc esi
add ecx, eax
mov dword [esp + 0x14], esi
test cl, 3
jne 0x40c8c5
add eax, 4
shr eax, 2
cmp dword [ebx + 0x14], eax
ja 0x40c8c5
call fcn.0040ee10
mov esi, dword [ebx + 0x1c]
add esi, dword [ebx + 0x18]
mov eax, dword [ebx + 0x14]
mov edi, esi
shr edi, 2
cmp eax, edi
ja 0x40c8d9
sub edi, eax
mov edx, dword [ebx + 0x10]
cmp dword [edx + edi*4], 0
jne 0x40c8f2
push 0x10
call fcn.0048701b
mov ecx, dword [ebx + 0x10]
add esp, 4
mov dword [ecx + edi*4], eax
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + edi*4]
and esi, 3
lea esi, [eax + esi*4]
test esi, esi
je 0x40c908
mov ecx, dword [esp + 0x18]
mov dword [esi], ecx
inc dword [ebx + 0x1c]
mov ecx, ebx
call fcn.0040b920
mov ecx, dword [ebx + 0x1c]
xor esi, esi
cmp ecx, esi
je 0x40c926
dec ecx
mov dword [ebx + 0x1c], ecx
cmp ecx, esi
jne 0x40c926
mov dword [ebx + 0x18], esi
test al, al
je 0x40c97a
lea edi, [esp + 0x34]
mov eax, ebx
call fcn.0040bc70
mov ecx, dword [esp + 0x34]
cmp ecx, 0xc
jne 0x40c958
mov edi, edi
test al, al
je 0x40c995
lea edi, [esp + 0x34]
mov eax, ebx
call fcn.0040bc70
mov ecx, dword [esp + 0x34]
cmp ecx, 0xc
je 0x40c940
test al, al
je 0x40c995
cmp ecx, 4
jne 0x40c830
mov al, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 4
push ebx
call fcn.0040d700
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x27
push str.Missing___or___in_array_declaration
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], esi
mov byte [esp + 0x54], 0
call fcn.00405ef0
push esi
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x50]
mov edx, ebx
mov dword [esp + 0x78], 2
call fcn.0040d5c0
push 4
push ebx
call fcn.0040d700
cmp dword [esp + 0x60], 0x10
mov bl, al
jb 0x40c9ed
mov eax, dword [esp + 0x4c]
push eax
call fcn.004867ca
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret