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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x64]
mov dword [esp + 0x2c], eax
mov ebp, dword [eax + 0x1c]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x48], eax
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x34], edx
test edx, edx
je 0x5246e0
mov edx, dword [eax + 0x68]
test edx, edx
je 0x524ace
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x30], edx
inc dword [edx]
mov eax, dword [esp + 0x34]
lea esi, [edx + eax*4 + 8]
shl eax, 3
mov dword [esp + 0x44], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.00532164
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x2c]
mov dword [edx + 0x28], eax
mov ecx, dword [esp + 0x34]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x78]
sub ecx, edx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0xc]
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x5246ec
mov esi, dword [esp + 0x30]
test esi, esi
je 0x5247be
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
add ecx, dword [esp + 0x44]
sub ecx, ebx
and ecx, 0xfffffff8
xor eax, eax
mov edi, ebx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x64]
mov dword [esp + 0x30], eax
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x2c], eax
inc eax
mov dword [esp + 0x3c], eax
shl eax, 2
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
call fcn.00532164
mov edi, eax
mov edx, dword [esp + 0x30]
test byte [edx + 4], 2
je 0x524978
mov dword [esp + 4], 0xffffffff
mov dword [esp], str.lambdaExpr
call fcn.004eb494
mov dword [edi], eax
inc dword [eax]
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x30]
lea esi, [eax + ebx*4 + 8]
mov edx, dword [esp + 0x2c]
test edx, edx
jle 0x524aeb
mov ebp, 1
mov dword [esp + 0x34], edi
jmp 0x5246c2
call fcn.0050d3e4
mov ebx, eax
ret
mov dword [eax], 0
mov eax, dword [0x5ef7cc]
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x5248b8
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x627075
mov dword [esp + 8], eax
mov dword [esp + 4], 0x627075
mov dword [esp], ebx
call fcn.004ec1f0
mov eax, dword [esp + 0x34]
mov dword [eax + ebp*4], ebx
inc ebp
add esi, 8
cmp dword [esp + 0x2c], ebp
jl 0x5248c8
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x30]
mov edi, dword [eax + ebp*4 + 4]
mov eax, dword [esi + 4]
test eax, eax
jne 0x524654
test dword [esi], 0x400
jne 0x524a4c
inc dword [edi]
mov ebx, edi
jmp 0x5246a6
xor eax, eax
xor esi, esi
jmp 0x524562
mov edx, dword [esp + 0x78]
lea eax, [eax + edx*4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x3c]
dec ecx
mov dword [esp + 0x40], ecx
mov edi, dword [esp + 0x30]
cmp edi, ecx
jg 0x5248a8
test edi, edi
jle 0x524ac3
mov edx, dword [esp + 0x4c]
lea ebx, [edx + edi*4]
mov eax, dword [esp + 0x38]
nop
mov ecx, dword [edx]
mov dword [eax], 0
mov dword [eax + 4], ecx
inc dword [ecx]
add eax, 8
add edx, 4
cmp edx, ebx
jne 0x524720
lea eax, [edi*8]
mov ebx, dword [esp + 0x38]
add ebx, eax
add esi, eax
cmp dword [esp + 0x40], edi
jle 0x524781
mov eax, dword [esi + 4]
test eax, eax
je 0x5245c6
mov edx, dword [esp + 0x40]
jmp 0x52476b
mov eax, dword [esi + 4]
test eax, eax
je 0x5245c6
mov dword [ebx], 0
mov dword [ebx + 4], eax
inc dword [eax]
inc edi
add ebx, 8
add esi, 8
cmp edx, edi
jne 0x524760
mov dword [ebx], 0
test dword [esi], 0x400
jne 0x524a28
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x3c], ecx
je 0x524ab2
jle 0x5245c6
mov eax, dword [esi + 4]
test eax, eax
je 0x5245c6
mov dword [ebx + 4], eax
inc dword [eax]
add ebx, 8
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x34], ecx
jle 0x5247f3
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov ebx, dword [eax + 0xf0]
test ebx, ebx
je 0x5249fc
mov edx, dword [esp + 0x48]
add edx, 0x14
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x70]
call fcn.005227dc
inc dword [ebp + 4]
mov ecx, dword [esp + 0x70]
inc dword [ecx + 0x58]
mov dword [esp], ecx
call fcn.004e63f8
dec eax
jne 0x5249ac
mov eax, 1
mov ecx, dword [esp + 0x70]
dec dword [ecx + 0x58]
mov edx, dword [ebp + 4]
dec edx
mov dword [ebp + 4], edx
test edx, edx
jle 0x524a9d
cmp eax, 2
je 0x524a8c
jle 0x5249ec
cmp eax, 4
jg 0x524935
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov dword [esp + 0x28], eax
call fcn.004e1660
mov eax, dword [esp + 0x28]
cmp eax, 3
je 0x524ae1
mov eax, 0x627061
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.__outside_of_a_loop
mov dword [esp + 8], eax
mov dword [esp + 4], str.invoked__
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
call fcn.004e1460
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call dword [esp + 0x7c]
mov eax, 1
jmp 0x524935
mov edi, ecx
test edi, edi
jg 0x524714
jmp 0x524ac3
mov dword [esp], edi
call fcn.004dda84
jmp 0x524682
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004e1660
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
call fcn.004ee5d0
xor ebx, ebx
mov esi, dword [esp + 0x2c]
jmp 0x524905
inc ebx
cmp ebx, esi
jg 0x524920
mov eax, dword [edi + ebx*4]
mov edx, dword [eax]
dec edx
mov dword [eax], edx
test edx, edx
jg 0x524900
mov dword [esp], eax
call fcn.004dd854
inc ebx
cmp ebx, esi
jle 0x524905
nop
mov dword [esp + 4], edi
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.005320c8
mov eax, 1
mov edx, dword [esp + 0x70]
mov ebx, dword [edx + 0x60]
mov dword [esp], edx
mov dword [esp + 0x28], eax
call fcn.0052c030
mov edx, dword [ebx + 0x28]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
call fcn.005320c8
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call fcn.005320c8
mov eax, dword [esp + 0x28]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 1
sub eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
add dword [ecx + 0x27c], eax
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0xc]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x78]
mov dword [esp], edx
call fcn.004dfaf4
mov dword [edi], eax
jmp 0x52462f
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 0x10]
inc dword [ebx + 0x10]
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call fcn.0053299c
mov edx, dword [ebx + 0x10]
dec edx
mov dword [ebx + 0x10], edx
test edx, edx
jg 0x524811
mov dword [esp], ebx
mov dword [esp + 0x28], eax
call fcn.0051d760
mov eax, dword [esp + 0x28]
jmp 0x524811
cmp eax, 1
jne 0x524935
jmp 0x524889
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx + 0xf8]
test ecx, ecx
jne 0x5247dc
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x3c]
shl ecx, 3
xor eax, eax
mov edi, dword [esp + 0x38]
rep stosb byte es:[edi], al
jmp 0x5247f3
mov edx, dword [esp + 0x4c]
lea eax, [edx + edi*4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
sub eax, edi
mov dword [esp], eax
call fcn.004dfaf4
mov dword [ebx + 4], eax
inc dword [eax]
jmp 0x5247b7
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
dec ebx
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004e1660
mov dword [esp + 0xc], 0x626cc0
mov dword [esp + 8], edi
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
call fcn.004ee5d0
mov dword [esp + 0x2c], ebx
jmp 0x5248f8
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.005244b4
jmp 0x524935
mov dword [esp], ebp
mov dword [esp + 0x28], eax
call fcn.005242dc
mov eax, dword [esp + 0x28]
jmp 0x524827
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + edi*4]
mov dword [ebx + 4], eax
inc dword [eax]
jmp 0x5247b7
mov ebx, dword [esp + 0x38]
xor edi, edi
jmp 0x524746
mov eax, ebp
call fcn.005226e4
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 0x68]
jmp 0x524551
mov eax, 0x62705b
jmp 0x524861
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
call fcn.004e1660
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
call fcn.004ee5d0
mov eax, dword [esp + 0x2c]
test eax, eax
js 0x524920
jmp 0x5248f8