Function at 0x45d2b0
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 0x45d9dc
cmp dword [esi + 0x38], edx
jne 0x45d9d8
mov ebx, dword [edi + 8]
cmp ebx, edx
jne 0x45d334
cmp dword [edi + 0x78], edx
jne 0x45d329
test byte [ecx + 0x44], 8
jne 0x45d329
mov byte [edi + 0x17], 1
push edi
call fcn.00437d10
add esp, 4
mov ebx, eax
cmp byte [esp + 0x2c], 0xc
jne 0x45d358
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.00432730
add esp, 0x14
mov byte [esp + 0x2c], 0xe
mov eax, dword [ebp + 8]
test eax, 0x400
je 0x45d37b
lea ecx, [esp + 0x2c]
push ecx
push edi
mov eax, ebp
call fcn.0045d230
add esp, 8
mov dword [esp + 0x10], eax
jmp 0x45da2e
test eax, 0x2000
je 0x45d396
lea edx, [esp + 0x2c]
push edx
push ebp
push edi
call fcn.0045cde0
add esp, 0xc
jmp 0x45d8b8
cmp dword [ebp + 0x2c], 0
je 0x45d3b6
mov eax, dword [esp + 0x80]
push eax
push ebp
push edi
call fcn.004541b0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
cmp dword [esi + 0x30], 0
jne 0x45d3d9
push str.COMPOUND_QUERY
push 1
push edi
call fcn.0043f630
push str.LEFT_MOST_SUBQUERY
push 1
push edi
call fcn.0043f630
add esp, 0x18
movzx eax, byte [ebp + 4]
sub eax, 0x74
je 0x45d6e3
sub eax, 1
je 0x45d5cf
sub eax, 1
je 0x45d6e3
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.00432730
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x34]
add esp, 0x14
mov eax, ebp
test ecx, ecx
je 0x45d42d
mov eax, ecx
mov ecx, dword [eax + 0x34]
test ecx, ecx
jne 0x45d424
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.004792d0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x45da2e
push eax
push eax
mov eax, dword [esp + 0x84]
inc eax
push eax
push 0x6e
push ebx
mov dword [esp + 0x34], eax
call fcn.00432730
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.00426f10
push eax
push str._s_USING_TEMP_B_TREE
push 1
push edi
call fcn.0043f630
lea eax, [esp + 0x68]
push eax
push ebp
push edi
call fcn.004792d0
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 0x45d4da
mov word [ebp + 6], ax
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x38]
push edx
call fcn.0042ecf0
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x38], eax
mov eax, ebx
call fcn.00432970
mov esi, eax
mov eax, ebx
mov dword [esp + 0x24], esi
call fcn.00432970
push esi
push ebp
mov esi, edi
mov dword [esp + 0x28], eax
call fcn.00439370
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x88]
push 0
push ecx
push edx
push 0x25
push ebx
call fcn.00432730
mov eax, edi
call fcn.004255c0
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.00432730
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.00432900
mov esi, dword [esp + 0x64]
add esp, 0x40
mov eax, edi
call fcn.004255e0
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.0045c380
mov edx, dword [esp + 0x3c]
mov ecx, ebx
call fcn.00422650
mov ecx, dword [esp + 0x48]
push 0
push ecx
push esi
push 7
push ebx
call fcn.00432730
mov edx, dword [esp + 0x54]
mov ecx, ebx
call fcn.00422650
push 0
push 0
lea eax, [esi + 1]
push eax
push 0x72
push ebx
call fcn.00432730
add esp, 0x48
jmp 0x45d89b
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.004792d0
add esp, 0xc
mov dword [esp + 0x10], eax
mov dword [ebp + 0x38], 0
test eax, eax
jne 0x45da2e
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 0x45d64e
push 0
push 0
push eax
push 0x16
push ebx
call fcn.00432730
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x10]
add esp, 0x14
test eax, eax
je 0x45d64e
mov edx, dword [ebp + 0xc]
push eax
inc eax
push eax
push edx
push 0x95
push ebx
call fcn.00432730
add esp, 0x14
push 0x4bb668
push 1
push edi
call fcn.0043f630
lea eax, [esp + 0x38]
push eax
push ebp
push edi
call fcn.004792d0
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.0041db40
mov word [ebp + 6], ax
mov esi, dword [esi + 0x38]
mov word [esp + 0x7c], ax
test esi, esi
je 0x45d6c8
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x28]
push edx
push eax
call fcn.00424e80
add esp, 8
test eax, eax
je 0x45d6c8
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x45d6c8
cdq
push edx
push eax
call fcn.0041db90
add esp, 8
cmp word [esp + 0x7c], ax
jle 0x45d6c8
mov word [ebp + 6], ax
cmp dword [esp + 0x20], 0
je 0x45d8ab
mov eax, dword [esp + 0x20]
mov edx, ebx
call fcn.0042d3d0
jmp 0x45d8ab
cmp byte [esp + 0x2c], 1
jne 0x45d6f4
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x7c], ecx
jmp 0x45d72d
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.00432730
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x34]
add esp, 0x14
mov eax, ebp
test ecx, ecx
je 0x45d729
mov eax, ecx
mov ecx, dword [eax + 0x34]
test ecx, ecx
jne 0x45d720
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.004792d0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x45da2e
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.00426f10
push eax
push str._s_USING_TEMP_B_TREE
push 1
push edi
call fcn.0043f630
lea eax, [esp + 0x6c]
push eax
push ebp
push edi
call fcn.004792d0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x2c]
push ecx
call fcn.0042ef30
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 0x45d7e5
mov ax, word [esi + 6]
mov cx, word [ebp + 6]
call fcn.0041db40
mov word [ebp + 6], ax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebp + 0x38]
call fcn.0042ecf0
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 0x45d8ab
mov eax, ebx
call fcn.00432970
mov esi, eax
mov eax, ebx
mov dword [esp + 0x20], esi
call fcn.00432970
push esi
push ebp
mov esi, edi
mov dword [esp + 0x24], eax
call fcn.00439370
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x84]
push 0
push edx
push esi
push 0x25
push ebx
call fcn.00432730
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.0045c380
mov edx, dword [esp + 0x58]
mov ecx, ebx
call fcn.00422650
mov ecx, dword [esp + 0xb8]
push 0
push ecx
push esi
push 7
push ebx
call fcn.00432730
mov edx, dword [esp + 0x70]
add esp, 0x50
mov ecx, ebx
call fcn.00422650
push 0
push 0
push esi
push 0x72
push ebx
call fcn.00432730
add esp, 0x14
cmp dword [ebp + 0x34], 0
jne 0x45d8b8
mov edx, edi
call fcn.0042d2f0
test byte [ebp + 8], 0x20
je 0x45da2e
mov edx, dword [ebp]
mov eax, dword [edx]
mov edi, dword [esp + 0x14]
push 1
push eax
mov dword [esp + 0x28], eax
call fcn.00430170
mov edi, eax
add esp, 8
test edi, edi
jne 0x45d8ed
mov dword [esp + 0x10], 7
jmp 0x45da2e
xor esi, esi
cmp dword [esp + 0x20], esi
lea eax, [edi + 0x14]
mov dword [esp + 0x7c], eax
jle 0x45d931
lea esp, [esp]
mov ecx, dword [esp + 0x78]
push esi
push ebp
push ecx
call fcn.00454010
mov edx, dword [esp + 0x88]
add esp, 0xc
mov dword [edx], eax
test eax, eax
jne 0x45d925
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 0x45d900
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 0x45d9b4
mov ecx, dword [ebx]
cmp byte [ecx + 0x49], 0
je 0x45d955
mov ecx, 0x4d39f8
jmp 0x45d95e
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 0x45d97d
push 0xfffffffffffffff7
mov eax, edi
call fcn.0042d400
add esp, 4
jmp 0x45d9a5
mov ecx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea ecx, [ecx + eax*4]
je 0x45d99e
push edi
push ebx
mov eax, 0xfffffff7
call fcn.0042d560
add esp, 8
jmp 0x45d9a5
mov dword [ecx + 0x10], edi
mov byte [ecx + 1], 0xf7
mov dword [esi], 0xffffffff
inc ebp
add esi, 4
cmp ebp, 2
jl 0x45d940
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0x30]
mov dword [esp + 0x78], eax
test eax, eax
jne 0x45d935
add dword [edi], 0xffffffff
jne 0x45da2e
mov ecx, dword [edi + 0xc]
mov eax, edi
call fcn.0041ca20
jmp 0x45da2e
cmp eax, edx
je 0x45d9e3
mov ecx, str.ORDER_BY
jmp 0x45d9e8
mov ecx, str.LIMIT
movzx eax, byte [ebp + 4]
sub eax, 0x75
je 0x45da10
sub eax, 1
je 0x45da09
sub eax, 1
je 0x45da02
mov eax, str.UNION
jmp 0x45da15
mov eax, str.INTERSECT
jmp 0x45da15
mov eax, str.EXCEPT
jmp 0x45da15
mov eax, 0x4bb668
push eax
push ecx
push str._s_clause_should_come_after__s_not_before
mov esi, edi
call fcn.0043dbb0
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 0x45da5b
push 1
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.00426bf0
add esp, 0xc
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret