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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ba93c
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4d509c]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x4d509c]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], esi
mov byte [esp + 0x80], 0
mov dword [esp + 0xa8], esi
mov eax, dword [esp + 0x1c]
and eax, 0xfffffe07
or eax, 7
push 0x20
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
call fcn.0048701b
mov edi, eax
add esp, 4
mov dword [esp + 0x38], edi
mov byte [esp + 0xa8], 1
cmp edi, esi
je 0x40c2cd
push edi
call fcn.004064e0
jmp 0x40c2cf
xor edi, edi
mov dword [esp + 0x14], edi
mov eax, ebx
mov byte [esp + 0xa8], 2
call fcn.0040e620
mov edi, dword [eax]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x40]
call fcn.00402340
lea ecx, [esp + 0x3c]
mov edx, edi
call fcn.00402650
call fcn.004024f0
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 0
call fcn.004024f0
lea edi, [esp + 0x60]
mov eax, ebx
call fcn.0040bc70
test al, al
je 0x40c683
mov ecx, dword [esp + 0x60]
mov al, 1
cmp ecx, 0xc
jne 0x40c355
test al, al
je 0x40c683
lea edi, [esp + 0x60]
mov eax, ebx
call fcn.0040bc70
mov ecx, dword [esp + 0x60]
cmp ecx, 0xc
je 0x40c331
test al, al
je 0x40c683
cmp ecx, 2
je 0x40c520
cmp ecx, 5
jne 0x40c683
push esi
push 0x4c8dd8
lea ecx, [esp + 0x84]
call fcn.00405ef0
lea edx, [esp + 0x60]
push edx
push ebx
lea ecx, [esp + 0x84]
call fcn.0040d030
test al, al
je 0x40c54e
lea edi, [esp + 0x14]
mov eax, ebx
call fcn.0040bc70
test al, al
je 0x40c60d
cmp dword [esp + 0x14], 0xb
jne 0x40c60d
mov eax, dword [ebx + 0x18]
mov edi, dword [ebx + 0x1c]
add edi, eax
cmp eax, edi
jbe 0x40c3c2
call fcn.0048877f
mov esi, dword [ebx]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], edi
test esi, esi
jne 0x40c3ec
call fcn.0048877f
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
dec edi
cmp edi, ecx
ja 0x40c3f9
test esi, esi
je 0x40c3f2
mov esi, dword [esi]
jmp 0x40c3f4
mov eax, dword [esi]
mov ecx, eax
jmp 0x40c3d9
xor esi, esi
cmp edi, dword [esi + 0x18]
jae 0x40c3fe
call fcn.0048877f
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x74]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edi
call fcn.00410350
cmp dword [esp + 0x94], 0x10
mov eax, dword [eax]
mov ecx, dword [esp + 0x80]
jae 0x40c42d
lea ecx, [esp + 0x80]
push 0
push ecx
push eax
call fcn.00403640
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x1c]
add ecx, eax
test cl, 3
jne 0x40c457
add eax, 4
shr eax, 2
cmp dword [ebx + 0x14], eax
ja 0x40c457
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 0x40c46b
sub edi, eax
mov edx, dword [ebx + 0x10]
cmp dword [edx + edi*4], 0
jne 0x40c484
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 0x40c49a
mov ecx, dword [esp + 0x38]
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 0x40c4b8
dec ecx
mov dword [ebx + 0x1c], ecx
cmp ecx, esi
jne 0x40c4b8
mov dword [ebx + 0x18], esi
test al, al
je 0x40c573
lea edi, [esp + 0x3c]
mov eax, ebx
call fcn.0040bc70
test al, al
je 0x40c598
mov ecx, dword [esp + 0x3c]
cmp ecx, 2
je 0x40c4ea
cmp ecx, 0xa
je 0x40c4ea
cmp ecx, 0xc
jne 0x40c598
mov al, 1
cmp ecx, 0xc
jne 0x40c509
test al, al
je 0x40c509
lea edi, [esp + 0x3c]
mov eax, ebx
call fcn.0040bc70
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xc
je 0x40c4f1
cmp ecx, 2
je 0x40c52d
lea edi, [esp + 0x60]
mov eax, ebx
call fcn.0040bc70
xor esi, esi
jmp 0x40c31e
cmp dword [esp + 0x90], esi
jne 0x40c683
cmp dword [esp + 0x94], 0x10
jb 0x40c547
mov edx, dword [esp + 0x80]
push edx
call fcn.004867ca
add esp, 4
mov al, 1
jmp 0x40c70b
push 2
push ebx
call fcn.0040d700
cmp dword [esp + 0x94], 0x10
mov bl, al
jb 0x40c709
mov eax, dword [esp + 0x80]
push eax
jmp 0x40c701
push 2
push ebx
call fcn.0040d700
cmp dword [esp + 0x94], 0x10
mov bl, al
jb 0x40c709
mov ecx, dword [esp + 0x80]
push ecx
jmp 0x40c701
push 0x28
mov edi, 0xf
push str.Missing___or__in_object_declaration
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], esi
mov byte [esp + 0x20], 0
call fcn.00405ef0
push esi
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1c]
mov edx, ebx
mov byte [esp + 0xb0], 4
call fcn.0040d5c0
push 2
push ebx
call fcn.0040d700
mov esi, 0x10
mov bl, al
cmp dword [esp + 0x2c], esi
jb 0x40c5f5
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004867ca
add esp, 4
cmp dword [esp + 0x94], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], 0
jmp 0x40c6f2
push 0x24
push str.Missing_:_after_object_member_name
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], esi
mov byte [esp + 0x48], 0
call fcn.00405ef0
push esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
mov edx, ebx
mov byte [esp + 0xb0], 3
call fcn.0040d5c0
push 2
push ebx
call fcn.0040d700
mov edi, 0x10
mov bl, al
cmp dword [esp + 0x54], edi
jb 0x40c669
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004867ca
add esp, 4
cmp dword [esp + 0x94], edi
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], esi
mov byte [esp + 0x40], 0
jmp 0x40c6f7
push 0x21
push str.Missing__or_object_member_name
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], esi
mov byte [esp + 0x20], 0
call fcn.00405ef0
push esi
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x1c]
mov edx, ebx
mov byte [esp + 0xb0], 5
call fcn.0040d5c0
push 2
push ebx
call fcn.0040d700
mov edi, 0x10
mov bl, al
cmp dword [esp + 0x2c], edi
jb 0x40c6df
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004867ca
add esp, 4
cmp dword [esp + 0x94], edi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], esi
mov byte [esp + 0x18], 0
jb 0x40c709
mov edx, dword [esp + 0x80]
push edx
call fcn.004867ca
add esp, 4
mov al, bl
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.004873c2
mov esp, ebp
pop ebp
ret