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

Disassembly:
sub esp, 0x110
push ebx
push ebp
push esi
push edi
mov ecx, 0x39
xor eax, eax
lea edi, [esp + 0x3c]
xor ebp, ebp
push 0x3e8
push ebp
rep stosd dword es:[edi], eax
call fcn.0045ca00
add esp, 8
cmp eax, ebp
mov dword [esp + 0x3c], eax
je 0x42aac1
push ebp
call fcn.00462440
add esp, 4
cmp eax, ebp
mov dword [esp + 0x40], eax
je 0x42aac1
call fcn.0046ea40
cmp eax, ebp
mov dword [esp + 0x44], eax
je 0x42aac1
push ebp
call fcn.00462440
add esp, 4
cmp eax, ebp
mov dword [esp + 0x48], eax
je 0x42aac1
call fcn.0046ea40
cmp eax, ebp
mov dword [esp + 0x4c], eax
je 0x42aac1
call fcn.0046ea40
cmp eax, ebp
mov dword [esp + 0x54], eax
je 0x42aac1
push 0x3e8
push ebp
call fcn.0045ca00
add esp, 8
cmp eax, ebp
mov dword [esp + 0xf4], eax
jne 0x42aadb
lea eax, [esp + 0x3c]
push eax
call fcn.0042b3d0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
mov esi, dword [esp + 0x130]
mov eax, dword [esp + 0x128]
cmp esi, ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], 0x4f17fc
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xec], ebp
mov dword [esp + 0xf0], ebp
mov dword [esp + 0xf8], ebp
mov dword [esp + 0xfc], ebp
mov dword [esp + 0x100], ebp
mov dword [esp + 0x108], ebp
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x110], ebp
mov dword [esp + 0x114], ebp
je 0x42aba8
mov ecx, dword [esi]
test ch, 1
je 0x42aba8
mov edx, dword [esp + 0x124]
mov dword [esp + 0x11c], str.utf_8
jmp 0x42abd3
mov edx, dword [esp + 0x124]
cmp word [edx], 0x143
jne 0x42abcc
mov ecx, dword [edx + 4]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x124], edx
jmp 0x42abd3
mov dword [esp + 0x11c], ebp
mov ecx, dword [esp + 0x12c]
cmp ecx, ebp
je 0x42ac3d
mov eax, dword [ecx + 0xc8]
mov edx, dword [ecx + 0xd0]
mov dword [esp + 0x104], eax
mov eax, dword [ecx + 0xd8]
cmp edx, ebp
mov dword [esp + 0x114], eax
jne 0x42ac0b
mov edx, dword [eax + 8]
cmp dword [edx + 0x1c], 1
jne 0x42ac16
mov dword [esp + 0x10c], 1
mov edx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xe0]
and edx, 0x2000
cmp ecx, ebp
mov dword [esp + 0x6c], edx
je 0x42ad8b
mov dword [esp + 0x11c], ecx
jmp 0x42ad8b
push eax
push edx
mov dword [esp + 0x10c], ebp
call fcn.004866c0
add esp, 8
cmp eax, ebp
mov dword [esp + 0x118], eax
jne 0x42ac73
lea eax, [esp + 0x3c]
push eax
call fcn.0042b3d0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
cmp esi, ebp
je 0x42ac8a
mov ecx, dword [eax + 8]
mov edx, dword [esi]
or ecx, edx
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x118]
mov dword [esi], ecx
mov edi, dword [esp + 0xdc]
push 0x28
mov ebx, eax
call fcn.00481cb0
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x42ad49
push ebp
mov dword [esi], 1
mov dword [esi + 4], ebp
mov dword [esi + 0xc], ebp
call fcn.00462440
add esp, 4
cmp eax, ebp
mov dword [esi + 0x10], eax
je 0x42ad40
call fcn.0046ea40
cmp eax, ebp
mov dword [esi + 0xc], eax
je 0x42ad40
mov eax, dword [esp + 0x124]
mov dword [esi + 8], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebx
mov dword [esi + 4], edi
mov ecx, dword [eax + 8]
movsx edx, word [eax]
push ecx
push edx
push str.global
push esi
call fcn.00436ce0
mov eax, dword [esi + 0x1c]
add esp, 0x10
cmp eax, ebp
jg 0x42ad1d
mov eax, dword [esp + 0x124]
push eax
push esi
call fcn.00436ec0
mov eax, dword [esi + 0x1c]
add esp, 8
cmp eax, ebp
jle 0x42ad4b
call fcn.0043f110
test eax, eax
jne 0x42ad3a
mov ecx, dword [0x52d204]
push str.lost_exception
push ecx
call fcn.0043f0c0
add esp, 8
mov dword [esi + 0x24], ebp
mov dword [esi + 4], ebp
push esi
call fcn.004366a0
add esp, 4
xor esi, esi
cmp esi, ebp
mov dword [esp + 0x114], esi
jne 0x42ad70
lea edx, [esp + 0x3c]
push edx
call fcn.0042b3d0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
mov dword [esi + 0x18], 1
mov eax, dword [esp + 0x114]
mov dword [eax], 2
mov eax, dword [esp + 0x114]
mov ebx, dword [eax + 8]
lea esi, [eax + 8]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x38], ebp
push ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebp
call fcn.004360e0
add esp, 4
test eax, eax
jl 0x42b121
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov edx, dword [esi]
xor esi, esi
mov edi, dword [edx + 0x14]
mov eax, dword [edi + 8]
cmp eax, ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x68], eax
jle 0x42ae32
push esi
call fcn.004527d0
add esp, 4
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x42b0f5
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + esi*4]
push ecx
push edx
call fcn.0046eea0
add esp, 0xc
test eax, eax
jl 0x42b121
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
dec edx
mov dword [eax], edx
mov eax, dword [esp + 0x10]
cmp dword [eax], ebp
jne 0x42ae29
mov ecx, dword [eax + 4]
push eax
call dword [ecx + 0x18]
add esp, 4
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jl 0x42addc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], ebp
push edx
mov edx, dword [ebx + 0xc]
lea ecx, [esp + 0x20]
push eax
push ecx
push edx
call fcn.0046f2f0
add esp, 0x10
test eax, eax
je 0x42b0a1
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 8]
test bh, 1
je 0x42ae73
and ebx, 0xfffffd7f
test ebx, 0x280
je 0x42ae93
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
push ebx
lea eax, [esp + 0x44]
push edx
push eax
call fcn.00436150
add esp, 0x10
test bl, 0x10
je 0x42aeb0
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
dec ecx
or al, 4
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
jmp 0x42b07a
test bl, 0x20
je 0x42aecd
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
dec ecx
or al, 8
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
jmp 0x42b07a
test bl, 0x40
je 0x42aedb
dec dword [esp + 0x68]
jmp 0x42b07a
test bl, 1
je 0x42af0d
test bl, 4
jne 0x42b0fe
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
push 0x517ac8
push ecx
push edx
call fcn.0046eea0
add esp, 0xc
test eax, eax
jl 0x42b121
jmp 0x42b07a
test bh, 1
je 0x42af2c
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
inc ebx
push 0x51877c
push eax
mov dword [esp + 0x38], ebx
push ecx
jmp 0x42aef8
test bl, 2
je 0x42afad
test bl, 4
jne 0x42afad
mov eax, dword [esp + 0x24]
mov ecx, eax
inc eax
push ecx
mov dword [esp + 0x28], eax
call fcn.004527d0
add esp, 4
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x42b0f5
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x58]
push edx
push eax
call fcn.0046eea0
add esp, 0xc
test eax, eax
jl 0x42b121
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
dec edx
mov dword [eax], edx
mov eax, dword [esp + 0x10]
cmp dword [eax], ebp
jne 0x42af8c
mov ecx, dword [eax + 4]
push eax
call dword [ecx + 0x18]
add esp, 4
cmp dword [esi + 0x1c], 2
je 0x42b07a
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x58]
push edx
push eax
call fcn.004627d0
add esp, 8
jmp 0x42af00
test bl, 0x88
je 0x42afb7
test bl, 7
je 0x42afc0
test bh, 2
je 0x42b07a
cmp dword [esi + 0x28], ebp
je 0x42b002
mov eax, dword [esp + 0x2c]
mov ecx, eax
inc eax
push ecx
mov dword [esp + 0x30], eax
call fcn.004527d0
add esp, 4
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x42b0f5
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x5c]
push eax
push ecx
push edx
call fcn.0046eea0
add esp, 0xc
test eax, eax
jl 0x42b121
jmp 0x42b05f
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x50]
inc edx
push 0x51877c
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x18]
push edx
push eax
call fcn.0046eea0
add esp, 0xc
test eax, eax
jl 0x42b121
cmp dword [edi + 0x18], 1
je 0x42b07a
push ebx
call fcn.004527d0
add esp, 4
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x42b0f5
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x14]
push eax
push ecx
push edx
call fcn.0046eea0
add esp, 0xc
test eax, eax
jne 0x42b121
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
dec edx
mov dword [eax], edx
mov eax, dword [esp + 0x10]
cmp dword [eax], ebp
jne 0x42b07a
mov ecx, dword [eax + 4]
push eax
call dword [ecx + 0x18]
add esp, 4
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x20]
push eax
push ecx
push edx
call fcn.0046f2f0
add esp, 0x10
test eax, eax
jne 0x42ae61
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x28], 1
jle 0x42b0c8
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x68]
push eax
push ecx
lea eax, [esp + 0x68]
push edx
push eax
call fcn.00436210
add esp, 0x10
test eax, eax
jl 0x42b0f5
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x5c]
push ecx
push edx
call fcn.00436470
add esp, 8
test eax, eax
jl 0x42b0f5
lea eax, [esp + 0x24]
lea ecx, [esp + 0x3c]
push eax
push ebx
push ecx
call fcn.00436520
add esp, 0xc
cmp eax, ebp
jge 0x42b14e
inc dword [esp + 0x74]
jmp 0x42b389
mov eax, dword [esp + 0x14]
mov ecx, dword [0x52d230]
add eax, 0x14
push eax
push str.name__.400s_is_a_function_parameter_and_declared_global
push ecx
call fcn.0043f8b0
push ebp
push edi
call fcn.00436670
add esp, 0x14
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x42b0f5
mov edx, dword [eax]
dec edx
mov dword [eax], edx
mov eax, dword [esp + 0x10]
cmp dword [eax], ebp
jne 0x42b0f5
mov edx, dword [eax + 4]
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 0x78]
add esp, 4
inc eax
mov dword [esp + 0x74], eax
jmp 0x42b389
mov edx, dword [esp + 0x124]
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.0042b540
mov eax, dword [esp + 0x44]
add esp, 8
cmp eax, ebp
je 0x42b17d
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x3c]
push ecx
push edx
call fcn.00460f30
add esp, 8
cmp dword [esp + 0xf4], ebp
je 0x42b19e
mov eax, dword [esp + 0x100]
lea ecx, [esp + 0xf4]
push eax
push ecx
call fcn.00460f30
add esp, 8
cmp dword [esp + 0x74], ebp
jne 0x42b36d
mov edx, dword [esp + 0x40]
push edx
call fcn.00464780
mov ebx, eax
mov eax, dword [esp + 0x4c]
push eax
call fcn.00464780
mov ecx, dword [esp + 0x60]
mov ebp, eax
push ecx
call fcn.00464780
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x24], eax
push edi
mov dword [esp + 0x30], 0
call fcn.00470240
push eax
call fcn.00479e10
mov esi, eax
add esp, 0x14
test esi, esi
je 0x42b23f
lea edx, [esp + 0x34]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
push edi
call fcn.0046f2f0
add esp, 0x10
test eax, eax
je 0x42b23f
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + 8]
mov edx, dword [ecx]
inc edx
mov dword [ecx], edx
mov ecx, dword [esp + 0x10]
mov dword [esi + eax*4 + 0xc], ecx
lea edx, [esp + 0x34]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
push edi
call fcn.0046f2f0
add esp, 0x10
test eax, eax
jne 0x42b20b
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x5c]
push edx
push eax
call fcn.00435ed0
mov ecx, dword [esp + 0xe4]
mov edi, eax
push ecx
call fcn.004623a0
mov edx, dword [esp + 0xec]
mov dword [esp + 0x28], eax
push edx
call fcn.004623a0
add esp, 0x10
mov dword [esp + 0x14], eax
call fcn.0043f110
test eax, eax
jne 0x42b2ce
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x7c]
push esi
push edi
push ecx
mov ecx, dword [esp + 0x108]
push ebp
push ebx
push edx
mov edx, dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x94]
push ecx
push edx
push eax
call fcn.0042a280
add esp, 0x38
mov dword [esp + 0x38], eax
test ebx, ebx
je 0x42b2e3
mov eax, dword [ebx]
dec eax
mov dword [ebx], eax
jne 0x42b2e3
mov ecx, dword [ebx + 4]
push ebx
call dword [ecx + 0x18]
add esp, 4
test ebp, ebp
je 0x42b2fa
mov eax, dword [ebp]
dec eax
mov dword [ebp], eax
jne 0x42b2fa
mov edx, dword [ebp + 4]
push ebp
call dword [edx + 0x18]
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42b313
mov ecx, dword [eax]
dec ecx
mov dword [eax], ecx
jne 0x42b313
mov ecx, dword [eax + 4]
push eax
call dword [ecx + 0x18]
add esp, 4
test edi, edi
je 0x42b328
mov eax, dword [edi]
dec eax
mov dword [edi], eax
jne 0x42b328
mov edx, dword [edi + 4]
push edi
call dword [edx + 0x18]
add esp, 4
mov eax, dword [esi]
dec eax
mov dword [esi], eax
jne 0x42b339
mov eax, dword [esi + 4]
push esi
call dword [eax + 0x18]
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x42b352
mov ecx, dword [eax]
dec ecx
mov dword [eax], ecx
jne 0x42b352
mov ecx, dword [eax + 4]
push eax
call dword [ecx + 0x18]
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42b389
mov ecx, dword [eax]
dec ecx
mov dword [eax], ecx
jne 0x42b389
mov edx, dword [eax + 4]
push eax
call dword [edx + 0x18]
add esp, 4
jmp 0x42b389
call fcn.0043f110
test eax, eax
jne 0x42b389
mov eax, dword [0x52d204]
push str.lost_syntax_error
push eax
call fcn.0043f0c0
add esp, 8
mov eax, dword [esp + 0x12c]
test eax, eax
jne 0x42b3af
mov ecx, dword [esp + 0x114]
push ecx
call fcn.004366a0
add esp, 4
mov dword [esp + 0x114], 0
lea edx, [esp + 0x3c]
push edx
call fcn.0042b3d0
mov eax, dword [esp + 0x3c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret