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

Disassembly:
sub esp, 0x64
mov eax, dword [esp + 0x70]
push ebx
mov ebx, dword [eax]
mov dword [esp + 0x20], ebx
mov ebx, dword [eax + 4]
mov dword [esp + 0x24], ebx
mov ebx, dword [eax + 8]
mov dword [esp + 0x28], ebx
mov ebx, dword [eax + 0xc]
push ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x30], ebx
mov ebx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push esi
mov esi, dword [ebp + 0x30]
push edi
mov edi, dword [esp + 0x78]
mov ecx, dword [edi]
xor edx, edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
cmp eax, edx
jne 0x45e11c
cmp dword [esi + 0x38], edx
jne 0x45e118
mov ebx, dword [edi + 8]
cmp ebx, edx
jne 0x45da74
cmp dword [edi + 0x78], edx
jne 0x45da69
test byte [ecx + 0x44], 8
jne 0x45da69
mov byte [edi + 0x17], 1
push edi
call fcn.00438450
add esp, 4
mov ebx, eax
cmp byte [esp + 0x2c], 0xc
jne 0x45da98
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [esp + 0x30]
push 0
push edx
push eax
push 0x6e
push ebx
call fcn.00432e70
add esp, 0x14
mov byte [esp + 0x2c], 0xe
mov eax, dword [ebp + 8]
test eax, 0x400
je 0x45dabb
lea ecx, [esp + 0x2c]
push ecx
push edi
mov eax, ebp
call fcn.0045d970
add esp, 8
mov dword [esp + 0x10], eax
jmp 0x45e16e
test eax, 0x2000
je 0x45dad6
lea edx, [esp + 0x2c]
push edx
push ebp
push edi
call fcn.0045d520
add esp, 0xc
jmp 0x45dff8
cmp dword [ebp + 0x2c], 0
je 0x45daf6
mov eax, dword [esp + 0x80]
push eax
push ebp
push edi
call fcn.004548f0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
cmp dword [esi + 0x30], 0
jne 0x45db19
push str.COMPOUND_QUERY
push 1
push edi
call fcn.0043fd70
push str.LEFT_MOST_SUBQUERY
push 1
push edi
call fcn.0043fd70
add esp, 0x18
movzx eax, byte [ebp + 4]
sub eax, 0x74
je 0x45de23
sub eax, 1
je 0x45dd0f
sub eax, 1
je 0x45de23
mov eax, dword [edi + 0x28]
push 0
push 0
push eax
lea ecx, [eax + 2]
push 0x6e
push ebx
mov dword [esp + 0x90], eax
mov dword [edi + 0x28], ecx
call fcn.00432e70
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x34]
add esp, 0x14
mov eax, ebp
test ecx, ecx
je 0x45db6d
mov eax, ecx
mov ecx, dword [eax + 0x34]
test ecx, ecx
jne 0x45db64
or dword [eax + 8], 0x20
mov edx, dword [esp + 0x7c]
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x44]
push eax
push esi
push edi
mov byte [esp + 0x50], 1
mov dword [esp + 0x54], edx
call fcn.00479a10
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x45e16e
push eax
push eax
mov eax, dword [esp + 0x84]
inc eax
push eax
push 0x6e
push ebx
mov dword [esp + 0x34], eax
call fcn.00432e70
mov ecx, dword [ebp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [ebp + 0x18], eax
xor eax, eax
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x38], eax
movzx eax, byte [ebp + 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x5c], edx
call fcn.00427660
push eax
push str._s_USING_TEMP_B_TREE
push 1
push edi
call fcn.0043fd70
lea eax, [esp + 0x68]
push eax
push ebp
push edi
call fcn.00479a10
mov ecx, dword [ebp + 0x30]
mov dword [esp + 0x40], eax
mov dword [ebp + 0x30], esi
movzx eax, word [esi + 6]
add esp, 0x30
cmp word [ebp + 6], ax
mov dword [esp + 0x18], ecx
jle 0x45dc1a
mov word [ebp + 6], ax
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x38]
push edx
call fcn.0042f440
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x38], eax
mov eax, ebx
call fcn.004330b0
mov esi, eax
mov eax, ebx
mov dword [esp + 0x24], esi
call fcn.004330b0
push esi
push ebp
mov esi, edi
mov dword [esp + 0x28], eax
call fcn.00439ab0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x88]
push 0
push ecx
push edx
push 0x25
push ebx
call fcn.00432e70
mov eax, edi
call fcn.00425d10
mov esi, eax
mov eax, dword [esp + 0x9c]
push 0
push esi
push eax
push 0x7c
push ebx
mov dword [esp + 0x58], esi
call fcn.00432e70
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xb0]
inc eax
push 0
push eax
mov eax, esi
push 0x1d
mov esi, ebx
call fcn.00433040
mov esi, dword [esp + 0x64]
add esp, 0x40
mov eax, edi
call fcn.00425d30
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x7c]
push ecx
push edx
lea eax, [esp + 0x34]
push eax
push 0
push 0
push esi
push ebp
push edi
call fcn.0045cac0
mov edx, dword [esp + 0x3c]
mov ecx, ebx
call fcn.00422da0
mov ecx, dword [esp + 0x48]
push 0
push ecx
push esi
push 7
push ebx
call fcn.00432e70
mov edx, dword [esp + 0x54]
mov ecx, ebx
call fcn.00422da0
push 0
push 0
lea eax, [esi + 1]
push eax
push 0x72
push ebx
call fcn.00432e70
add esp, 0x48
jmp 0x45dfdb
mov edx, dword [ebp + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [ebp + 0x10]
lea edx, [esp + 0x2c]
push edx
mov dword [esi + 0x10], eax
mov ecx, dword [ebp + 0x38]
push esi
push edi
mov dword [esp + 0x2c], 0
mov dword [esi + 0x38], ecx
call fcn.00479a10
add esp, 0xc
mov dword [esp + 0x10], eax
mov dword [ebp + 0x38], 0
test eax, eax
jne 0x45e16e
mov dword [ebp + 0x30], eax
mov eax, dword [esi + 0xc]
mov dword [ebp + 0xc], eax
mov ecx, dword [esi + 0x10]
mov dword [ebp + 0x10], ecx
test eax, eax
je 0x45dd8e
push 0
push 0
push eax
push 0x16
push ebx
call fcn.00432e70
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x10]
add esp, 0x14
test eax, eax
je 0x45dd8e
mov edx, dword [ebp + 0xc]
push eax
inc eax
push eax
push edx
push 0x95
push ebx
call fcn.00432e70
add esp, 0x14
push 0x4bb750
push 1
push edi
call fcn.0043fd70
lea eax, [esp + 0x38]
push eax
push ebp
push edi
call fcn.00479a10
mov ecx, dword [ebp + 0x30]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], ecx
mov cx, word [ebp + 6]
mov dword [ebp + 0x30], esi
mov ax, word [esi + 6]
add esp, 0x18
call fcn.0041e2b0
mov word [ebp + 6], ax
mov esi, dword [esi + 0x38]
mov word [esp + 0x7c], ax
test esi, esi
je 0x45de08
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x28]
push edx
push eax
call fcn.004255d0
add esp, 8
test eax, eax
je 0x45de08
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x45de08
cdq
push edx
push eax
call fcn.0041e300
add esp, 8
cmp word [esp + 0x7c], ax
jle 0x45de08
mov word [ebp + 6], ax
cmp dword [esp + 0x20], 0
je 0x45dfeb
mov eax, dword [esp + 0x20]
mov edx, ebx
call fcn.0042db20
jmp 0x45dfeb
cmp byte [esp + 0x2c], 1
jne 0x45de34
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x7c], ecx
jmp 0x45de6d
mov eax, dword [edi + 0x28]
push 0
push 0
push eax
lea edx, [eax + 1]
push 0x6e
push ebx
mov dword [esp + 0x90], eax
mov dword [edi + 0x28], edx
call fcn.00432e70
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x34]
add esp, 0x14
mov eax, ebp
test ecx, ecx
je 0x45de69
mov eax, ecx
mov ecx, dword [eax + 0x34]
test ecx, ecx
jne 0x45de60
or dword [eax + 8], 0x20
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x64], eax
xor eax, eax
push esi
push edi
mov byte [esp + 0x68], 1
mov dword [esp + 0x78], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
call fcn.00479a10
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x45e16e
mov cl, byte [ebp + 4]
mov edx, dword [ebp + 0x38]
cmp cl, 0x76
sete al
inc al
mov byte [esp + 0x5c], al
movzx eax, cl
mov dword [ebp + 0x30], 0
mov dword [esp + 0x28], edx
mov dword [ebp + 0x38], 0
call fcn.00427660
push eax
push str._s_USING_TEMP_B_TREE
push 1
push edi
call fcn.0043fd70
lea eax, [esp + 0x6c]
push eax
push ebp
push edi
call fcn.00479a10
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x2c]
push ecx
call fcn.0042f680
mov edx, dword [ebp + 0x30]
add esp, 0x20
cmp byte [ebp + 4], 0x74
mov dword [esp + 0x18], edx
mov dword [ebp + 0x30], esi
mov dword [ebp + 0x2c], 0
jne 0x45df25
mov ax, word [esi + 6]
mov cx, word [ebp + 6]
call fcn.0041e2b0
mov word [ebp + 6], ax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebp + 0x38]
call fcn.0042f440
mov ecx, dword [esp + 0x2c]
xor eax, eax
add esp, 4
cmp byte [esp + 0x2c], 1
mov dword [ebp + 0x38], ecx
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
je 0x45dfeb
mov eax, ebx
call fcn.004330b0
mov esi, eax
mov eax, ebx
mov dword [esp + 0x20], esi
call fcn.004330b0
push esi
push ebp
mov esi, edi
mov dword [esp + 0x24], eax
call fcn.00439ab0
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x84]
push 0
push edx
push esi
push 0x25
push ebx
call fcn.00432e70
mov eax, dword [ebx + 0x88]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x50]
push eax
push 0
push 0
push esi
push ebp
push edi
call fcn.0045cac0
mov edx, dword [esp + 0x58]
mov ecx, ebx
call fcn.00422da0
mov ecx, dword [esp + 0xb8]
push 0
push ecx
push esi
push 7
push ebx
call fcn.00432e70
mov edx, dword [esp + 0x70]
add esp, 0x50
mov ecx, ebx
call fcn.00422da0
push 0
push 0
push esi
push 0x72
push ebx
call fcn.00432e70
add esp, 0x14
cmp dword [ebp + 0x34], 0
jne 0x45dff8
mov edx, edi
call fcn.0042da40
test byte [ebp + 8], 0x20
je 0x45e16e
mov edx, dword [ebp]
mov eax, dword [edx]
mov edi, dword [esp + 0x14]
push 1
push eax
mov dword [esp + 0x28], eax
call fcn.004308b0
mov edi, eax
add esp, 8
test edi, edi
jne 0x45e02d
mov dword [esp + 0x10], 7
jmp 0x45e16e
xor esi, esi
cmp dword [esp + 0x20], esi
lea eax, [edi + 0x14]
mov dword [esp + 0x7c], eax
jle 0x45e071
lea esp, [esp]
mov ecx, dword [esp + 0x78]
push esi
push ebp
push ecx
call fcn.00454750
mov edx, dword [esp + 0x88]
add esp, 0xc
mov dword [edx], eax
test eax, eax
jne 0x45e065
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov dword [edx], ecx
add dword [esp + 0x7c], 4
inc esi
cmp esi, dword [esp + 0x20]
jl 0x45e040
mov dword [esp + 0x78], ebp
mov esi, dword [esp + 0x78]
xor ebp, ebp
add esi, 0x14
mov edi, edi
mov eax, dword [esi]
test eax, eax
jl 0x45e0f4
mov ecx, dword [ebx]
cmp byte [ecx + 0x49], 0
je 0x45e095
mov ecx, 0x4d3a28
jmp 0x45e09e
mov ecx, dword [ebx + 0x58]
lea edx, [eax + eax*4]
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x20]
mov dword [ecx + 8], edx
inc dword [edi]
mov ecx, dword [ebx]
cmp byte [ecx + 0x49], 0
je 0x45e0bd
push 0xfffffffffffffff7
mov eax, edi
call fcn.0042db50
add esp, 4
jmp 0x45e0e5
mov ecx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea ecx, [ecx + eax*4]
je 0x45e0de
push edi
push ebx
mov eax, 0xfffffff7
call fcn.0042dcb0
add esp, 8
jmp 0x45e0e5
mov dword [ecx + 0x10], edi
mov byte [ecx + 1], 0xf7
mov dword [esi], 0xffffffff
inc ebp
add esi, 4
cmp ebp, 2
jl 0x45e080
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0x30]
mov dword [esp + 0x78], eax
test eax, eax
jne 0x45e075
add dword [edi], 0xffffffff
jne 0x45e16e
mov ecx, dword [edi + 0xc]
mov eax, edi
call fcn.0041d190
jmp 0x45e16e
cmp eax, edx
je 0x45e123
mov ecx, str.ORDER_BY
jmp 0x45e128
mov ecx, str.LIMIT
movzx eax, byte [ebp + 4]
sub eax, 0x75
je 0x45e150
sub eax, 1
je 0x45e149
sub eax, 1
je 0x45e142
mov eax, str.UNION
jmp 0x45e155
mov eax, str.INTERSECT
jmp 0x45e155
mov eax, str.EXCEPT
jmp 0x45e155
mov eax, 0x4bb750
push eax
push ecx
push str._s_clause_should_come_after__s_not_before
mov esi, edi
call fcn.0043e2f0
add esp, 0xc
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x45e19b
push 1
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.00427340
add esp, 0xc
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret