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

Disassembly:
push 0xffffffffffffffff
push 0x41a739
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4202b0]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4202b0]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xb4]
xor ebx, ebx
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
mov dword [esp + 0xac], ebx
mov eax, dword [esp + 0x3c]
and eax, 0xfffffe07
or eax, 7
push 0x20
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebx
call fcn.00409bdc
mov esi, eax
add esp, 4
mov dword [esp + 0x64], esi
mov byte [esp + 0xac], 1
cmp esi, ebx
je 0x4020fc
push esi
call fcn.00404ad0
jmp 0x4020fe
xor esi, esi
mov dword [esp + 0x34], esi
mov eax, ebp
mov byte [esp + 0xac], 2
call fcn.004054f0
mov esi, dword [eax]
lea eax, [esp + 0x34]
call fcn.00403a80
lea eax, [esp + 0x34]
mov byte [esp + 0xac], 0
call fcn.004039b0
lea edi, [esp + 0x58]
mov eax, ebp
call fcn.00401b20
test al, al
je 0x402457
mov ecx, dword [esp + 0x58]
mov al, 1
cmp ecx, 0xc
jne 0x402174
jmp 0x402150
test al, al
je 0x402457
lea edi, [esp + 0x58]
mov eax, ebp
call fcn.00401b20
mov ecx, dword [esp + 0x58]
cmp ecx, 0xc
je 0x402150
test al, al
je 0x402457
cmp ecx, 2
je 0x40233a
cmp ecx, 5
jne 0x402457
push ebx
push 0x41cd4f
lea ecx, [esp + 0x88]
call fcn.004048d0
lea ecx, [esp + 0x58]
push ecx
push ebp
lea ecx, [esp + 0x88]
call fcn.00402e00
test al, al
je 0x402368
lea edi, [esp + 0x34]
mov eax, ebp
call fcn.00401b20
test al, al
je 0x402428
cmp dword [esp + 0x34], 0xb
jne 0x402428
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0x1c]
add esi, eax
cmp eax, esi
jbe 0x4021e1
call fcn.004099c9
mov edi, dword [ebp]
mov ebx, edi
mov dword [esp + 0x68], esi
test edi, edi
jne 0x40220a
call fcn.004099c9
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
dec esi
cmp esi, edx
ja 0x402217
test edi, edi
je 0x402210
mov edi, dword [edi]
jmp 0x402212
mov eax, dword [edi]
mov ecx, eax
jmp 0x4021f7
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x40221c
call fcn.004099c9
lea eax, [esp + 0x78]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], esi
call fcn.00407020
cmp dword [esp + 0x98], 0x10
mov eax, dword [eax]
mov ecx, dword [esp + 0x84]
jae 0x402247
lea ecx, [esp + 0x84]
push ecx
mov ecx, eax
call fcn.00403d30
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x1c]
add ecx, eax
test cl, 3
jne 0x402272
add eax, 4
shr eax, 2
cmp dword [ebp + 0x14], eax
ja 0x402272
mov ebx, ebp
call fcn.00405f30
mov esi, dword [ebp + 0x1c]
add esi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov edi, esi
shr edi, 2
cmp eax, edi
ja 0x402286
sub edi, eax
mov edx, dword [ebp + 0x10]
xor ebx, ebx
cmp dword [edx + edi*4], ebx
jne 0x4022a0
push 0x10
call fcn.00409bdc
mov ecx, dword [ebp + 0x10]
add esp, 4
mov dword [ecx + edi*4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + edi*4]
and esi, 3
lea esi, [eax + esi*4]
cmp esi, ebx
je 0x4022b6
mov ecx, dword [esp + 0x64]
mov dword [esi], ecx
inc dword [ebp + 0x1c]
mov ecx, ebp
call fcn.004018e0
mov ecx, dword [ebp + 0x1c]
cmp ecx, ebx
je 0x4022d2
dec ecx
mov dword [ebp + 0x1c], ecx
cmp ecx, ebx
jne 0x4022d2
mov dword [ebp + 0x18], ebx
test al, al
je 0x40238d
lea edi, [esp + 0x6c]
mov eax, ebp
call fcn.00401b20
test al, al
je 0x4023b2
mov ecx, dword [esp + 0x6c]
cmp ecx, 2
je 0x402304
cmp ecx, 0xa
je 0x402304
cmp ecx, 0xc
jne 0x4023b2
mov al, 1
cmp ecx, 0xc
jne 0x402323
test al, al
je 0x402323
lea edi, [esp + 0x6c]
mov eax, ebp
call fcn.00401b20
mov ecx, dword [esp + 0x6c]
cmp ecx, 0xc
je 0x40230b
cmp ecx, 2
je 0x402347
lea edi, [esp + 0x58]
mov eax, ebp
call fcn.00401b20
xor ebx, ebx
jmp 0x402138
cmp dword [esp + 0x94], ebx
jne 0x402457
cmp dword [esp + 0x98], 0x10
jb 0x402361
mov edx, dword [esp + 0x84]
push edx
call fcn.00409a49
add esp, 4
mov al, 1
jmp 0x4024e3
push 2
push ebp
call fcn.004035a0
cmp dword [esp + 0x98], 0x10
mov bl, al
jb 0x4024e1
mov eax, dword [esp + 0x84]
push eax
jmp 0x4024d9
push 2
push ebp
call fcn.004035a0
cmp dword [esp + 0x98], 0x10
mov bl, al
jb 0x4024e1
mov ecx, dword [esp + 0x84]
push ecx
jmp 0x4024d9
push 0x28
push str.Missing___or__in_object_declaration
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], 0
call fcn.004048d0
push ebx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x3c]
mov edx, ebp
mov byte [esp + 0xb4], 4
call fcn.00403470
push 2
push ebp
call fcn.004035a0
mov esi, 0x10
mov bl, al
cmp dword [esp + 0x4c], esi
jb 0x40240e
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00409a49
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
jmp 0x4024c8
push 0x24
push str.Missing_:_after_object_member_name
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], 0
call fcn.004048d0
mov byte [esp + 0xac], 3
lea eax, [esp + 0x34]
jmp 0x402484
push 0x21
push str.Missing__or_object_member_name
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], 0
call fcn.004048d0
mov byte [esp + 0xac], 5
lea eax, [esp + 0x58]
push ebx
push eax
lea ecx, [esp + 0x20]
mov edx, ebp
call fcn.00403470
push 2
push ebp
call fcn.004035a0
mov esi, 0x10
mov bl, al
cmp dword [esp + 0x30], esi
jb 0x4024b3
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00409a49
add esp, 4
mov byte [esp + 0x1c], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0xf
cmp dword [esp + 0x98], esi
jb 0x4024e1
mov edx, dword [esp + 0x84]
push edx
call fcn.00409a49
add esp, 4
mov al, bl
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00409129
add esp, 0x9c
ret 4