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

Disassembly:
sub esp, 0x40
push ebx
mov ebx, dword [esp + 0x48]
xor eax, eax
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], eax
mov esi, dword [ebx + 8]
mov ecx, dword [ebx]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x10], esi
test esi, esi
jne 0x461645
cmp dword [ebx + 0x74], eax
jne 0x461636
test byte [ecx + 0x4c], 8
jne 0x461636
mov byte [ebx + 0x17], 1
push ebx
call fcn.004b9430
add esp, 4
mov dword [esp + 0x10], eax
mov esi, eax
push ebp
cmp dword [esp + 0x70], edi
jge 0x46169f
mov eax, dword [esp + 0x64]
mov ebp, dword [esi + 0x6c]
mov dword [esp + 0x18], ebp
movzx edx, byte [eax + 0x18]
cmp dword [esi + 0x70], ebp
jg 0x461676
push 0
push 0
push edx
push 0x2f
push esi
call fcn.004752f0
add esp, 0x14
mov dword [esp + 0x18], eax
jmp 0x46169f
lea eax, [ebp + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebp*4]
mov eax, dword [esi + 0x68]
add ecx, ebp
mov dword [eax + ecx*4], 0x2f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], edi
mov esi, dword [esp + 0x64]
xor ebp, ebp
mov dword [esp + 0x1c], ebp
cmp dword [esi + 0x14], edi
jle 0x461843
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4616c3
mov eax, dword [eax + 4]
movzx eax, word [eax + ebp*2]
jmp 0x4616c6
or eax, 0xffffffff
push eax
push dword [esp + 0x70]
push dword [esp + 0x64]
push ebx
call fcn.0045f960
mov dword [esp + 0x34], eax
add esp, 0x10
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4616ea
movzx eax, word [eax + ebp*4]
jmp 0x4616ee
movzx eax, word [esi + 0x24]
cwde
lea ecx, [eax + eax*4]
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x461706
xor esi, esi
jmp 0x46171f
mov esi, eax
lea ecx, [esi + 1]
jmp 0x461710
mov al, byte [esi]
inc esi
test al, al
jne 0x461710
sub esi, ecx
and esi, 0x3fffffff
lea ebp, [esi + 1]
lea eax, [ebp + 0x34]
push 0
push eax
push dword [esp + 0x18]
call fcn.00491d60
mov edi, eax
add esp, 0xc
test edi, edi
je 0x461787
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 ebp, ebp
jne 0x461761
or dword [edi + 4], 0x20800400
mov dword [edi + 8], ebp
jmp 0x461780
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
test esi, esi
je 0x461779
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 ebx
call fcn.004a8800
mov ecx, dword [esp + 0x64]
add esp, 0x10
mov edi, dword [ebx]
mov esi, eax
test ecx, ecx
jne 0x4617ae
mov edi, esi
mov dword [esp + 0x54], edi
jmp 0x46182d
test esi, esi
je 0x461829
mov eax, dword [ecx + 4]
and eax, 0x20000001
cmp eax, 0x20000000
je 0x4617d0
mov eax, dword [esi + 4]
and eax, 0x20000001
cmp eax, 0x20000000
jne 0x461814
cmp byte [ebx + 0xc8], 2
jae 0x461814
push ecx
push edi
call fcn.00497330
push esi
push edi
call fcn.00497330
push 0
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0x4f02d0
push eax
push 0x98
push edi
mov dword [esp + 0x4c], 1
call fcn.00494250
mov edi, eax
add esp, 0x20
mov dword [esp + 0x54], edi
jmp 0x46182d
push esi
push ecx
push 0x2c
push ebx
call fcn.004a8800
mov edi, eax
add esp, 0x10
mov dword [esp + 0x54], edi
jmp 0x46182d
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x64]
inc ebp
mov dword [esp + 0x1c], ebp
cmp ebp, dword [esi + 0x14]
jl 0x4616b2
mov eax, dword [esp + 0x5c]
cmp eax, dword [esi]
jne 0x461a7d
cmp dword [esp + 0x70], 0
jle 0x461a7d
mov edi, eax
test byte [edi + 0x24], 0x80
jne 0x4618f5
push 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push eax
push 0xad
push dword [ebx]
mov dword [esp + 0x3c], 0
call fcn.00494250
mov esi, eax
add esp, 0x10
test esi, esi
je 0x46189d
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 0xa4
push dword [esp + 0x1c]
mov edi, dword [edi + 0x34]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.00494250
add esp, 0x10
test eax, eax
je 0x4618e1
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 ebx
call fcn.004a8800
add esp, 0x10
mov esi, eax
jmp 0x461a6d
mov eax, dword [esp + 0x60]
xor ebp, ebp
xor edx, edx
mov dword [esp + 0x1c], ebp
xor ecx, ecx
mov dword [esp + 0x20], edx
cmp cx, word [eax + 0x32]
jae 0x4619fd
mov eax, dword [eax + 4]
movzx esi, word [eax + edx*2]
push esi
push dword [esp + 0x70]
push edi
push ebx
call fcn.0045f960
movsx ecx, si
add esp, 0x10
mov dword [esp + 0x28], eax
lea edx, [ecx + ecx*4]
mov ecx, dword [edi + 4]
mov eax, dword [ecx + edx*4]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x461943
xor esi, esi
jmp 0x461957
mov esi, eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x461948
sub esi, ecx
and esi, 0x3fffffff
lea ebp, [esi + 1]
lea eax, [ebp + 0x34]
push 0
push eax
push dword [esp + 0x18]
call fcn.00491d60
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4619bf
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 ebp, ebp
jne 0x461999
or dword [edi + 4], 0x20800400
mov dword [edi + 8], ebp
jmp 0x4619b8
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
test esi, esi
je 0x4619b1
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 ebx
call fcn.004a8800
push eax
push dword [esp + 0x30]
push ebx
call fcn.00494410
mov edx, dword [esp + 0x3c]
mov ebp, eax
mov eax, dword [esp + 0x7c]
inc edx
mov edi, dword [esp + 0x78]
add esp, 0x1c
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edx
movzx ecx, word [eax + 0x32]
cmp edx, ecx
jl 0x461911
push 0
push 0x34
push dword [ebx]
call fcn.00491d60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x461a5e
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 ebp, ebp
je 0x461a3a
mov dword [esi + 0xc], ebp
mov eax, dword [ebp + 4]
and eax, 0x200104
or dword [esi + 4], eax
push esi
call fcn.0045f7c0
mov eax, dword [ebx]
add esp, 4
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x461a6d
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ebx
call fcn.00493e20
add esp, 0xc
jmp 0x461a6d
test ebp, ebp
je 0x461a6d
push ebp
push dword [ebx]
call fcn.00497330
add esp, 8
push esi
push dword [esp + 0x58]
push ebx
call fcn.00494410
add esp, 0xc
mov edi, eax
mov ebp, 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 edi
push eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
call fcn.004aefc0
add esp, 8
cmp dword [ebx + 0x24], 0
jne 0x461b44
push 0
push 0
push 0
push 0
push edi
push ebp
push ebx
call fcn.004c6710
mov ebx, dword [esp + 0x30]
mov esi, eax
mov eax, dword [esp + 0x80]
add esp, 0x1c
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [eax + 0x18]
cmp dword [ebx + 0x70], ecx
jg 0x461b06
push 0
push dword [esp + 0x74]
push edx
push 0x95
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x461b35
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x70]
mov dword [eax + ecx*4], 0x95
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 0x461b48
push esi
call fcn.004c9130
add esp, 4
jmp 0x461b48
mov ebx, dword [esp + 0x14]
pop ebp
test edi, edi
je 0x461b5a
push edi
push dword [esp + 0x10]
call fcn.00497330
add esp, 8
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x461b8e
mov edx, dword [ebx + 0x6c]
jns 0x461b6a
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x461b81
mov eax, 0x50e22c
pop edi
pop esi
pop ebx
mov dword [eax + 8], edx
add esp, 0x40
ret
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebx
add esp, 0x40
ret