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

Disassembly:
sub esp, 0x40
push ebx
push ebp
mov ebp, dword [esp + 0x4c]
xor eax, eax
push esi
push edi
mov dword [esp + 0x54], 0
mov esi, dword [ebp + 8]
mov ecx, dword [ebp]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
test esi, esi
jne 0x4b38a9
cmp dword [ebp + 0x74], eax
jne 0x4b389a
test byte [ecx + 0x50], 8
jne 0x4b389a
mov byte [ebp + 0x17], 1
push ebp
call fcn.005137c0
add esp, 4
mov dword [esp + 0x14], eax
mov esi, eax
cmp dword [esp + 0x70], 0
jge 0x4b3909
mov eax, dword [esp + 0x64]
mov edi, dword [esi + 0x74]
mov dword [esp + 0x18], edi
movzx edx, byte [eax + 0x18]
cmp dword [esi + 0x78], edi
jg 0x4b38da
push 0
push 0
push edx
push 0x30
push esi
call fcn.004c7840
add esp, 0x14
mov dword [esp + 0x18], eax
jmp 0x4b3909
lea eax, [edi + 1]
mov dword [esi + 0x74], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x30
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
mov edi, dword [esp + 0x64]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
cmp dword [edi + 0x14], ebx
jle 0x4b3a30
lea esp, [esp]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4b3931
mov eax, dword [eax + 4]
movzx eax, word [eax + ebx*2]
jmp 0x4b3934
or eax, 0xffffffff
push eax
push dword [esp + 0x70]
push dword [esp + 0x64]
push ebp
call fcn.004b17c0
mov dword [esp + 0x34], eax
add esp, 0x10
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4b3958
movzx eax, word [eax + ebx*4]
jmp 0x4b395c
movzx eax, word [edi + 0x24]
movsx ecx, ax
mov eax, dword [edi]
add ecx, ecx
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4b3975
xor esi, esi
jmp 0x4b398f
mov esi, eax
lea ecx, [esi + 1]
lea ebx, [ebx]
mov al, byte [esi]
inc esi
test al, al
jne 0x4b3980
sub esi, ecx
and esi, 0x3fffffff
lea ebx, [esi + 1]
lea eax, [ebx + 0x34]
push 0
push eax
push dword [esp + 0x18]
call fcn.004e9850
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4b39f7
push 0x34
push 0
push edi
call sub.MSVCRT.dll_memset
or eax, 0xffffffff
mov byte [edi], 0x3b
add esp, 0xc
mov word [edi + 0x22], ax
test ebx, ebx
jne 0x4b39d1
or dword [edi + 4], 0x20800400
mov dword [edi + 8], ebx
jmp 0x4b39f0
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
test esi, esi
je 0x4b39e9
push esi
push dword [esp + 0x24]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [edi + 8]
mov byte [esi + eax], 0
mov dword [edi + 0x18], 1
push edi
push dword [esp + 0x28]
push 0x35
push ebp
call fcn.005016d0
push eax
push dword [esp + 0x68]
push ebp
call fcn.004ec450
mov ebx, dword [esp + 0x38]
add esp, 0x1c
mov edi, dword [esp + 0x64]
inc ebx
mov esi, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x54], esi
cmp ebx, dword [edi + 0x14]
jl 0x4b3920
jmp 0x4b3a32
xor esi, esi
mov eax, dword [esp + 0x5c]
cmp eax, dword [edi]
jne 0x4b3c7a
cmp dword [esp + 0x70], 0
jle 0x4b3c7a
mov edi, eax
test byte [edi + 0x1c], 0x80
jne 0x4b3ae5
push 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push eax
push 0xb0
push dword [ebp]
mov dword [esp + 0x3c], 0
call fcn.004ec290
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4b3a8d
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x1c], eax
mov byte [esi + 1], 0x44
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x28]
push 0
push eax
push 0xa7
push dword [esp + 0x1c]
mov edi, dword [edi + 0x34]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.004ec290
add esp, 0x10
test eax, eax
je 0x4b3ad1
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x2c], ecx
or ecx, 0xffffffff
mov dword [eax + 0x1c], edi
mov word [eax + 0x20], cx
push eax
push esi
push 0x34
push ebp
call fcn.005016d0
add esp, 0x10
mov esi, eax
jmp 0x4b3c62
mov eax, dword [esp + 0x60]
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x1c], ebx
xor ecx, ecx
mov dword [esp + 0x20], edx
cmp cx, word [eax + 0x32]
jae 0x4b3bec
mov eax, dword [eax + 4]
movzx esi, word [eax + edx*2]
push esi
push dword [esp + 0x70]
push edi
push ebp
call fcn.004b17c0
mov ecx, dword [edi + 4]
add esp, 0x10
movsx edx, si
add edx, edx
mov dword [esp + 0x28], eax
mov eax, dword [ecx + edx*8]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4b3b32
xor esi, esi
jmp 0x4b3b46
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4b3b37
sub esi, ecx
and esi, 0x3fffffff
lea ebx, [esi + 1]
lea eax, [ebx + 0x34]
push 0
push eax
push dword [esp + 0x18]
call fcn.004e9850
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4b3bae
push 0x34
push 0
push edi
call sub.MSVCRT.dll_memset
or eax, 0xffffffff
mov byte [edi], 0x3b
add esp, 0xc
mov word [edi + 0x22], ax
test ebx, ebx
jne 0x4b3b88
or dword [edi + 4], 0x20800400
mov dword [edi + 8], ebx
jmp 0x4b3ba7
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
test esi, esi
je 0x4b3ba0
push esi
push dword [esp + 0x28]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [edi + 8]
mov byte [esi + eax], 0
mov dword [edi + 0x18], 1
push edi
push dword [esp + 0x2c]
push 0x2d
push ebp
call fcn.005016d0
push eax
push dword [esp + 0x30]
push ebp
call fcn.004ec450
mov edx, dword [esp + 0x3c]
mov ebx, eax
mov eax, dword [esp + 0x7c]
inc edx
mov edi, dword [esp + 0x78]
add esp, 0x1c
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edx
movzx ecx, word [eax + 0x32]
cmp edx, ecx
jl 0x4b3b01
push 0
push 0x34
push dword [ebp]
call fcn.004e9850
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4b3c52
push 0x34
push 0
push esi
call sub.MSVCRT.dll_memset
or eax, 0xffffffff
mov byte [esi], 0x13
add esp, 0xc
mov word [esi + 0x22], ax
test ebx, ebx
je 0x4b3c2a
mov dword [esi + 0xc], ebx
mov eax, dword [ebx + 4]
and eax, 0x200104
or dword [esi + 4], eax
push esi
call fcn.004b16b0
mov eax, dword [ebp]
add esp, 4
mov eax, dword [eax + 0x84]
cmp dword [esi + 0x18], eax
jle 0x4b3c62
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ebp
call fcn.004ebb90
add esp, 0xc
jmp 0x4b3c62
test ebx, ebx
je 0x4b3c62
push ebx
push dword [ebp]
call fcn.004ef5e0
add esp, 8
push esi
push dword [esp + 0x58]
push ebp
call fcn.004ec450
mov edi, dword [esp + 0x70]
mov esi, eax
add esp, 0xc
mov dword [esp + 0x54], esi
mov ebx, dword [esp + 0x58]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x30]
push esi
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebp
call fcn.00508a60
add esp, 8
cmp dword [ebp + 0x24], 0
jne 0x4b3d6c
push 0
push 0
push 0
push 0
push 0
push esi
push ebx
push ebp
call fcn.005215c0
mov ebx, dword [esp + 0x34]
add esp, 0x20
movzx edx, byte [edi + 0x18]
mov esi, eax
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x4b3cfe
push 0
push dword [esp + 0x74]
push edx
push 0x9d
push ebx
call fcn.004c7840
add esp, 0x14
jmp 0x4b3d2d
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x70]
mov dword [eax + ecx*4], 0x9d
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test esi, esi
je 0x4b3d3a
push esi
call fcn.00524170
add esp, 4
mov esi, dword [esp + 0x54]
test esi, esi
je 0x4b3d4f
push esi
push dword [esp + 0x14]
call fcn.004ef5e0
add esp, 8
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4b3d9d
mov edx, dword [ebx + 0x74]
lea eax, [edx - 1]
cmp ecx, eax
jne 0x4b3d72
pop edi
pop esi
pop ebp
mov dword [ebx + 0x74], eax
pop ebx
add esp, 0x40
ret
mov ebx, dword [esp + 0x14]
jmp 0x4b3d3e
test ecx, ecx
jns 0x4b3d78
mov ecx, eax
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x4b3d90
pop edi
mov eax, 0x610b1c
pop esi
pop ebp
pop ebx
mov dword [eax + 8], edx
add esp, 0x40
ret
mov eax, dword [ebx + 0x70]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret