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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [esi]
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], edi
jne 0x46d6dd
cmp dword [esi + 0x78], edi
jne 0x46d6d4
test byte [ecx + 0x50], 8
jne 0x46d6d4
mov byte [esi + 0x17], 1
mov ebx, esi
call fcn.0043c140
xor edi, edi
cmp dword [ebp + 0x20], edi
mov dword [esp + 0x18], eax
jge 0x46d703
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax + 0x18]
mov ecx, dword [esp + 0x18]
push edi
push edi
push eax
push 0x31
push ecx
call fcn.0043c3f0
add esp, 0x14
mov dword [esp + 0x20], eax
mov edx, dword [ebp + 0x14]
cmp dword [edx + 0x14], edi
mov dword [esp + 0xc], edi
jle 0x46d82a
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x46d727
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xc]
movzx eax, word [eax + ecx*2]
jmp 0x46d72a
or eax, 0xffffffff
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0xc]
push edx
push eax
push esi
call fcn.0046d5a0
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x18]
add esp, 0x10
test eax, eax
je 0x46d751
mov ecx, dword [esp + 0xc]
movzx eax, word [eax + ecx*4]
jmp 0x46d758
mov edx, dword [ebp + 0x14]
movzx eax, word [edx + 0x24]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [edx + 4]
movsx eax, ax
shl eax, 4
mov eax, dword [eax + ecx]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x46d775
xor ebx, ebx
jmp 0x46d78a
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46d778
sub eax, edx
and eax, 0x3fffffff
mov ebx, eax
mov ecx, dword [esp + 0x1c]
lea edx, [ebx + 0x35]
push 0
push edx
call fcn.00419650
mov edi, eax
add esp, 8
test edi, edi
je 0x46d7f2
push 0x34
push 0
push edi
call sub.ntdll.dll_memset
lea eax, [ebx + 1]
add esp, 0xc
test eax, eax
mov byte [edi], 0x3b
mov word [edi + 0x22], 0xffff
jne 0x46d7cb
or dword [edi + 4], 0x20800800
mov dword [edi + 8], eax
jmp 0x46d7eb
test ebx, ebx
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
je 0x46d7e4
mov ecx, dword [esp + 0x14]
push ebx
push ecx
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
mov edx, dword [edi + 8]
mov byte [ebx + edx], 0
mov dword [edi + 0x18], 1
mov ecx, dword [esp + 0x24]
push 0x35
push esi
mov eax, edi
call fcn.00452690
mov ecx, dword [esp + 0x18]
push eax
mov eax, esi
call fcn.00452860
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
add eax, 1
add esp, 0xc
cmp eax, dword [ecx + 0x14]
mov dword [esp + 0xc], eax
jl 0x46d713
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
cmp eax, dword [edx]
jne 0x46d9ff
xor ecx, ecx
cmp dword [ebp + 0x20], ecx
jle 0x46d9ff
test byte [eax + 0x1c], 0x80
jne 0x46d89c
mov eax, dword [esi]
push ecx
push eax
lea edi, [esp + 0x30]
mov ebx, 0xb0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
call fcn.004524e0
mov edi, eax
add esp, 8
test edi, edi
je 0x46d876
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x1c], eax
mov byte [edi + 1], 0x44
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
mov eax, dword [ebp + 0xc]
push edx
push eax
mov eax, dword [esp + 0x24]
call fcn.0046d650
push 0x34
push esi
mov ecx, edi
call fcn.00452690
add esp, 0x10
jmp 0x46d9ec
mov edx, dword [ebp + 0x10]
cmp word [edx + 0x32], cx
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], ecx
jbe 0x46d9a5
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xc]
movzx edi, word [ecx + edx*2]
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0xc]
push edi
push eax
push ebx
push esi
call fcn.0046d5a0
mov edx, dword [ebx + 4]
movsx ecx, di
shl ecx, 4
mov dword [esp + 0x38], eax
mov eax, dword [ecx + edx]
add esp, 0x10
test eax, eax
mov dword [esp + 0x24], eax
jne 0x46d8ed
xor ebx, ebx
jmp 0x46d902
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46d8f0
sub eax, edx
and eax, 0x3fffffff
mov ebx, eax
mov ecx, dword [esp + 0x1c]
lea eax, [ebx + 0x35]
push 0
push eax
call fcn.00419650
mov edi, eax
add esp, 8
test edi, edi
je 0x46d96a
push 0x34
push 0
push edi
call sub.ntdll.dll_memset
lea eax, [ebx + 1]
add esp, 0xc
test eax, eax
mov byte [edi], 0x3b
mov word [edi + 0x22], 0xffff
jne 0x46d943
or dword [edi + 4], 0x20800800
mov dword [edi + 8], eax
jmp 0x46d963
test ebx, ebx
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
je 0x46d95c
mov ecx, dword [esp + 0x24]
push ebx
push ecx
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
mov edx, dword [edi + 8]
mov byte [ebx + edx], 0
mov dword [edi + 0x18], 1
mov ecx, dword [esp + 0x28]
push 0x2d
push esi
mov eax, edi
call fcn.00452690
mov ecx, dword [esp + 0x1c]
push eax
mov eax, esi
call fcn.00452860
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx + 0x32]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
add eax, 1
add esp, 0xc
cmp eax, edx
mov dword [esp + 0xc], eax
jl 0x46d8b1
mov eax, dword [esi]
cmp word [eax + 0x134], 0x34
jae 0x46da91
cmp dword [eax + 0x130], 0
jne 0x46d9ca
add dword [eax + 0x144], 1
jmp 0x46db04
cmp byte [eax + 0x57], 0
je 0x46db04
xor edi, edi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x46d9ea
push eax
mov eax, dword [esi]
push eax
call fcn.00452b80
add esp, 8
mov eax, edi
mov ecx, dword [esp + 0x10]
push eax
mov eax, esi
call fcn.00452860
add esp, 4
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 8]
mov ebx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
push ebx
lea edi, [esp + 0x34]
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
mov dword [esp + 0x50], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], esi
call fcn.00451260
add esp, 4
cmp dword [esi + 0x24], 0
jne 0x46dbba
mov edx, dword [ebp + 8]
xor edi, edi
push edi
push edi
push edi
push edi
push edi
push ebx
push edx
push esi
call fcn.0049ae80
mov esi, dword [esp + 0x38]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax + 0x18]
mov eax, dword [esi + 0x6c]
add esp, 0x20
cmp dword [esi + 0x70], eax
jg 0x46db7e
mov edx, dword [ebp + 0x20]
push edi
push edx
push ecx
push 0x9e
mov eax, esi
call fcn.0043c3b0
add esp, 0x10
jmp 0x46dba7
mov edi, dword [eax + 0x158]
test edi, edi
je 0x46daac
mov ecx, dword [edi]
add dword [eax + 0x140], 1
mov dword [eax + 0x158], ecx
jmp 0x46db13
mov edi, dword [eax + 0x154]
test edi, edi
je 0x46dac7
mov edx, dword [edi]
add dword [eax + 0x140], 1
mov dword [eax + 0x154], edx
jmp 0x46db13
mov edi, dword [eax + 0x150]
test edi, edi
je 0x46dae2
mov ecx, dword [edi]
add dword [eax + 0x140], 1
mov dword [eax + 0x150], ecx
jmp 0x46db13
mov edi, dword [eax + 0x14c]
test edi, edi
je 0x46dafd
mov edx, dword [edi]
add dword [eax + 0x140], 1
mov dword [eax + 0x14c], edx
jmp 0x46db13
add dword [eax + 0x148], 1
push 0
push 0x34
push eax
call fcn.004195c0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x46d9d6
push 0x34
push 0
push edi
call sub.ntdll.dll_memset
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
mov byte [edi], 0x13
mov word [edi + 0x22], 0xffff
mov dword [edi + 0x18], 1
je 0x46db5d
mov dword [edi + 0xc], eax
mov ecx, dword [eax + 4]
and ecx, 0x400208
or dword [edi + 4], ecx
mov eax, dword [eax + 0x18]
cmp eax, 1
jl 0x46db5d
add eax, 1
mov dword [edi + 0x18], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x84]
cmp dword [edi + 0x18], eax
jle 0x46d9ea
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
call fcn.0041cbf0
jmp 0x46d9e7
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x20]
mov byte [eax], 0x9e
mov word [eax + 2], di
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x46dbbe
push eax
call fcn.0049ba00
add esp, 4
jmp 0x46dbbe
mov esi, dword [esp + 0x18]
test ebx, ebx
je 0x46dbd0
mov edx, dword [esp + 0x1c]
push ebx
push edx
call fcn.00452b80
add esp, 8
mov eax, dword [esp + 0x20]
test eax, eax
je 0x46dc0f
mov edx, dword [esi + 0x6c]
lea ecx, [edx - 1]
cmp eax, ecx
jne 0x46dbec
mov dword [esi + 0x6c], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x46dc03
mov eax, 0x4d6798
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret