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

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x38]
push ebx
mov ebx, dword [esp + 0x34]
push ebp
mov ebp, dword [eax + 0x34]
mov dword [esp + 0x18], ebp
mov edx, dword [ebx]
mov dword [esp + 0x24], edx
push esi
push edi
mov edi, dword [ebx + 8]
mov dword [esp + 0x28], edi
test ebp, ebp
je 0x52b427
cmp dword [ebp], edx
je 0x52b423
mov ebp, dword [ebp + 0x18]
test ebp, ebp
jne 0x52b417
mov dword [esp + 0x20], ebp
movsx eax, word [eax + 0x22]
mov ecx, dword [ebx + 0x28]
add eax, 2
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x34], 0
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 0x34]
mov dword [esp + 0x14], eax
lea eax, [ecx + 1]
mov dword [ebx + 0x28], eax
mov esi, dword [edi + 0x74]
mov dword [esp + 0x24], esi
cmp dword [edi + 0x78], esi
jg 0x52b47a
push 0
push dword [esp + 0x1c]
push ecx
push 0x74
push edi
call fcn.004c7840
mov edx, dword [esp + 0x40]
add esp, 0x14
mov dword [esp + 0x24], eax
jmp 0x52b4ad
lea eax, [esi + 1]
mov dword [edi + 0x74], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x70]
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x44]
lea esi, [eax + 1]
add eax, dword [esp + 0x18]
mov dword [ebx + 0x2c], eax
cmp dword [ecx], 1
mov dword [esp + 0x10], esi
jle 0x52b683
mov eax, dword [esp + 0x48]
xor esi, esi
mov dword [esp + 0x30], esi
test byte [eax + 0x1c], 0x80
jne 0x52b546
mov eax, dword [esp + 0x50]
push esi
test eax, eax
je 0x52b4f4
push esi
push eax
push edx
call fcn.004b0720
add esp, 0x10
jmp 0x52b5a6
push 0x34
push dword [ebx]
call fcn.004e9850
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x52b5a8
push 0x34
push 0
push ebp
call sub.MSVCRT.dll_memset
or eax, 0xffffffff
mov byte [ebp], 0x4b
push ebp
mov word [ebp + 0x22], ax
call fcn.004b16b0
mov eax, dword [ebx]
add esp, 0x10
mov eax, dword [eax + 0x84]
cmp dword [ebp + 0x18], eax
jle 0x52b5a8
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ebx
call fcn.004ebb90
add esp, 0xc
jmp 0x52b5a8
mov esi, dword [eax + 8]
mov dword [esp + 0x30], esi
test esi, esi
je 0x52b565
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
je 0x52b561
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x52b551
mov dword [esp + 0x30], esi
mov eax, dword [esi + 4]
movzx eax, word [eax]
movsx ecx, ax
mov eax, dword [esp + 0x54]
mov eax, dword [eax + ecx*4]
test eax, eax
js 0x52b59c
mov ecx, dword [esp + 0x4c]
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*4 + 8]
test eax, eax
je 0x52b598
push 0
push 0
push eax
push edx
call fcn.004b0720
add esp, 0x10
jmp 0x52b5a6
xor ebp, ebp
jmp 0x52b5a8
push ecx
push ebx
call fcn.004b1520
add esp, 8
mov ebp, eax
push ebp
push dword [ebx]
call fcn.004f05a0
mov ecx, eax
xor edx, edx
mov eax, dword [esp + 0x50]
add esp, 8
xor ebp, ebp
mov dword [esp + 0x14], ecx
cmp dx, word [eax + 0x22]
jge 0x52b640
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x54]
nop
mov eax, dword [esi + ebp*4]
test eax, eax
js 0x52b60f
mov edx, dword [esp + 0x4c]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 8]
test eax, eax
je 0x52b5fa
push 0
push 0
push eax
push edi
call fcn.004b0720
mov ecx, dword [esp + 0x24]
add esp, 0x10
jmp 0x52b5fc
xor eax, eax
push eax
push ecx
push ebx
call fcn.004f0490
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x14], ecx
jmp 0x52b62b
push ebp
push ebx
call fcn.004b1520
push eax
mov eax, dword [esp + 0x20]
push eax
push ebx
call fcn.004f0490
add esp, 0x14
mov dword [esp + 0x14], eax
mov ecx, eax
mov eax, dword [esp + 0x48]
inc ebp
movsx eax, word [eax + 0x22]
cmp ebp, eax
jl 0x52b5d0
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x44]
push 0
push 0
push dword [esp + 0x60]
push eax
push ecx
push esi
mov esi, dword [esp + 0x34]
push esi
push ebx
call fcn.0052af20
mov eax, dword [esp + 0x34]
add esp, 0x20
test eax, eax
je 0x52b672
push eax
push dword [esp + 0x30]
call fcn.004b0f30
add esp, 8
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x28], 0
jmp 0x52bac4
push 0
push 4
push 0
push 0
push 0
push dword [esp + 0x6c]
inc eax
mov dword [esp + 0x44], eax
inc eax
push ecx
push ebx
mov dword [esp + 0x50], eax
mov dword [ebx + 0x2c], eax
call fcn.005215c0
add esp, 0x20
mov dword [esp + 0x34], eax
test eax, eax
je 0x52bd42
mov eax, dword [esp + 0x48]
xor ecx, ecx
cmp cx, word [eax + 0x22]
jge 0x52b75d
mov edx, dword [esp + 0x54]
mov ebp, 0xfffffffe
add esi, 2
mov dword [esp + 0x28], edx
sub ebp, dword [esp + 0x10]
jmp 0x52b6e0
mov eax, dword [edx]
test eax, eax
js 0x52b791
cmp dword [ebx + 8], 0
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + eax*4 + 8]
mov dword [esp + 0x38], eax
je 0x52b73a
push esi
push eax
push ebx
call fcn.004edf60
mov edx, eax
add esp, 0xc
cmp edx, esi
je 0x52b736
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x52b723
test dword [ecx + 4], 0x200000
mov al, 0x4f
jne 0x52b725
mov al, 0x50
push esi
push edx
movzx eax, al
push eax
push dword [ebx + 8]
call fcn.00512d40
add esp, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
inc esi
add edx, 4
mov dword [esp + 0x28], edx
movsx eax, word [eax + 0x22]
lea ecx, [esi + ebp]
cmp ecx, eax
jl 0x52b6e0
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
test byte [eax + 0x1c], 0x80
jne 0x52b867
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x52b809
push 0
push esi
push dword [esp + 0x1c]
push 0x86
push edi
call fcn.004c7840
mov edx, dword [esp + 0x28]
add esp, 0x14
jmp 0x52b838
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x52b7b6
push esi
lea eax, [esi + ebp]
push eax
push dword [esp + 0x1c]
push 0xae
push edi
call fcn.004c7840
mov edx, dword [esp + 0x3c]
add esp, 0x14
jmp 0x52b7e5
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0xae
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
lea eax, [esi + ebp]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x74]
test eax, eax
jle 0x52b73a
lea ecx, [eax + eax*4]
mov ebx, 1
mov eax, dword [edi + 0x70]
mov word [eax + ecx*4 - 0x12], bx
mov ebx, dword [esp + 0x40]
jmp 0x52b73a
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x86
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x50]
lea eax, [esi + 1]
push eax
test ecx, ecx
je 0x52b853
push ecx
push ebx
call fcn.004ec870
add esp, 0xc
jmp 0x52b931
push edx
push 0x86
push edi
call fcn.00512d40
add esp, 0x10
jmp 0x52b931
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x52b880
mov edi, edi
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x52b880
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x52b870
mov eax, dword [ecx + 4]
mov ecx, dword [edi + 0x74]
movzx eax, word [eax]
movsx esi, ax
cmp dword [edi + 0x78], ecx
jg 0x52b8aa
push dword [esp + 0x10]
push esi
push dword [esp + 0x1c]
push 0xae
push edi
call fcn.004c7840
add esp, 0x14
jmp 0x52b8d9
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0xae
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
add esi, 2
mov ecx, dword [edi + 0x74]
add esi, eax
lea edx, [eax + 1]
cmp dword [edi + 0x78], ecx
jg 0x52b8fe
push 0
push edx
push esi
push 0x50
push edi
call fcn.004c7840
add esp, 0x14
jmp 0x52b92d
mov ebp, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + 0x32]
mov dword [esp + 0x28], eax
test eax, eax
je 0x52b9d0
mov edx, dword [edi]
cmp byte [edx + 0x57], 0
jne 0x52b978
mov eax, dword [esp + 0x24]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
push dword [eax + ecx*4 + 0x10]
lea esi, [eax + ecx*4]
movsx eax, byte [esi + 1]
push eax
push edx
call fcn.004b4610
add esp, 0xc
mov word [esi], 0xb6
mov dword [esi + 0x10], 0
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x52b998
push 0
push 0
push dword [esp + 0x1c]
push 0x79
push edi
call fcn.004c7840
add esp, 0x14
jmp 0x52bb95
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x79
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x52bb95
mov eax, dword [ebx + 0x74]
test eax, eax
jne 0x52b9d9
mov eax, ebx
mov byte [eax + 0x14], 1
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x52b9fb
push dword [esp + 0x2c]
push dword [esp + 0x1c]
push esi
push 0x60
push edi
call fcn.004c7840
add esp, 0x14
jmp 0x52ba2a
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x74]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
cmp dword [edi + 0x78], ecx
jg 0x52ba4f
push 0
push edx
push esi
push 0x7e
push edi
call fcn.004c7840
mov edx, dword [esp + 0x44]
add esp, 0x14
jmp 0x52ba7a
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x7e
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x52ba95
push edx
push dword [esp + 0x30]
push esi
push 0x7f
push edi
call fcn.004c7840
add esp, 0x14
jmp 0x52bac4
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x44]
cmp dword [eax], 1
jne 0x52bad9
push dword [esp + 0x34]
call fcn.00524170
add esp, 4
mov edx, dword [edi + 0x74]
mov dword [esp + 0x24], edx
cmp dword [edi + 0x78], edx
jg 0x52bafb
push 0
push 0
push esi
push 0x26
push edi
call fcn.004c7840
add esp, 0x14
mov dword [esp + 0x24], eax
jmp 0x52bb2a
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x26
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
xor esi, esi
cmp dword [esp + 0x18], esi
jle 0x52bb95
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
lea ebx, [ebx]
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x52bb5b
lea eax, [esi + ebx]
push eax
push esi
push ebp
push 0x5d
push edi
call fcn.004c7840
add esp, 0x14
jmp 0x52bb86
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], esi
lea ecx, [eax + ecx*4]
lea eax, [esi + ebx]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0xc], eax
inc esi
cmp esi, dword [esp + 0x18]
jl 0x52bb40
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x20]
push dword [esp + 0x48]
push ebx
call fcn.0051fb70
mov edx, dword [edi + 0x74]
add esp, 8
cmp dword [edi + 0x78], edx
jg 0x52bbc3
push dword [esp + 0x10]
push dword [esp + 0x1c]
push 0
push 0xa
push edi
call fcn.004c7840
add esp, 0x14
mov edx, eax
jmp 0x52bbf6
mov esi, dword [esp + 0x18]
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x52bc33
test edx, edx
jns 0x52bc06
mov edx, dword [edi + 0x74]
dec edx
mov eax, dword [edi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x52bc25
push 0xfffffffffffffff4
push ebp
push eax
push edi
call fcn.0052c640
add esp, 0x10
jmp 0x52bc33
test ebp, ebp
je 0x52bc33
mov dword [eax + 0x10], ebp
mov byte [eax + 1], 0xf4
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x5c]
cmp edx, 0xb
jne 0x52bc41
mov edx, 2
mov eax, dword [edi + 0x74]
test eax, eax
jle 0x52bc53
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebx + 0x74]
test eax, eax
jne 0x52bc5c
mov eax, ebx
cmp dword [esp + 0x28], 0
mov byte [eax + 0x15], 1
jne 0x52bd36
mov ebx, dword [esp + 0x24]
mov ecx, dword [edi + 0x74]
mov ebp, dword [esp + 0x1c]
lea edx, [ebx + 1]
cmp dword [edi + 0x78], ecx
jg 0x52bc8f
push 0
push edx
push ebp
push 5
push edi
call fcn.004c7840
add esp, 0x14
jmp 0x52bcba
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 0x74]
test ebx, ebx
jns 0x52bcc4
lea ebx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x52bcd3
mov eax, 0x610b1c
jmp 0x52bcdc
mov eax, dword [edi + 0x70]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x52bcff
push 0
push 0
push ebp
push 0x79
push edi
call fcn.004c7840
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
pop edi
pop esi
mov dword [eax + ecx*4 + 4], ebp
pop ebp
mov dword [eax + ecx*4], 0x79
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
pop ebx
add esp, 0x2c
ret
push dword [esp + 0x34]
call fcn.00524170
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret