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

Disassembly:
sub esp, 0x50
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx]
mov dword [esp + 0x20], edx
mov edx, dword [ecx + 4]
push ebx
push ebp
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x2c], edx
mov edx, dword [ecx + 8]
push esi
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x34], edx
mov edx, dword [ecx + 0xc]
push edi
mov edi, dword [esp + 0x64]
mov eax, dword [edi]
mov dword [esp + 0x3c], edx
cmp dword [esi + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], esi
je 0x43bcf0
movzx eax, byte [ebp + 4]
sub eax, 0x70
je 0x43bcd1
sub eax, 1
je 0x43bcca
sub eax, 1
je 0x43bcc3
mov eax, str.UNION
jmp 0x43bcd6
mov eax, str.INTERSECT
jmp 0x43bcd6
mov eax, str.EXCEPT
jmp 0x43bcd6
mov eax, str.UNION_ALL
push eax
push str.ORDER_BY_clause_should_come_after__s_not_before
mov esi, edi
call fcn.0040f9e0
mov dword [esp + 0x70], 1
jmp 0x43c343
cmp dword [esi + 0x28], 0
je 0x43bd3d
movzx eax, byte [ebp + 4]
sub eax, 0x70
je 0x43bd1e
sub eax, 1
je 0x43bd17
sub eax, 1
je 0x43bd10
mov eax, str.UNION
jmp 0x43bd23
mov eax, str.INTERSECT
jmp 0x43bd23
mov eax, str.EXCEPT
jmp 0x43bd23
mov eax, str.UNION_ALL
push eax
push str.LIMIT_clause_should_come_after__s_not_before
mov esi, edi
call fcn.0040f9e0
mov dword [esp + 0x70], 1
jmp 0x43c343
mov ebx, dword [edi + 0xc]
test ebx, ebx
jne 0x43bd63
call fcn.00429be0
mov ebx, eax
test ebx, ebx
mov dword [edi + 0xc], eax
je 0x43bd5f
push 0x84
call fcn.00429e10
add esp, 4
mov ecx, dword [esp + 0x6c]
cmp byte [esp + 0x30], 9
jne 0x43bd8a
mov eax, dword [ebp]
mov ecx, dword [eax]
mov edx, dword [esp + 0x34]
push ecx
push edx
push 0x28
mov eax, ebx
call fcn.00429ec0
mov ecx, dword [esp + 0x78]
add esp, 0xc
mov byte [esp + 0x30], 8
mov edx, dword [ebp]
mov eax, dword [esi]
mov edx, dword [edx]
cmp edx, dword [eax]
je 0x43bddc
movzx eax, byte [ebp + 4]
sub eax, 0x70
je 0x43bdbd
sub eax, 1
je 0x43bdb6
sub eax, 1
je 0x43bdaf
mov eax, str.UNION
jmp 0x43bdc2
mov eax, str.INTERSECT
jmp 0x43bdc2
mov eax, str.EXCEPT
jmp 0x43bdc2
mov eax, str.UNION_ALL
push eax
push str.SELECTs_to_the_left_and_right_of__s_do_not_have_the_same_number_of_result_columns
mov esi, edi
call fcn.0040f9e0
mov dword [esp + 0x70], 1
jmp 0x43c343
xor edx, edx
cmp dword [ebp + 0x18], edx
je 0x43bdf6
push ecx
push ebp
push edi
call fcn.0043c810
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
movzx eax, byte [ebp + 4]
sub eax, 0x6f
je 0x43c087
sub eax, 1
je 0x43bfeb
sub eax, 1
je 0x43c087
mov esi, dword [edi + 0x44]
push 0
lea eax, [esi + 2]
mov dword [edi + 0x44], eax
push esi
push 0x28
mov eax, ebx
mov dword [esp + 0x34], esi
call fcn.00429ec0
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov dword [ebp + 0x38], eax
mov eax, dword [ebp + 0x24]
or word [eax + 6], 8
lea ecx, [esp + 0x40]
push ecx
xor eax, eax
push edx
push edi
mov byte [esp + 0x4c], 1
mov dword [esp + 0x50], esi
mov byte [esp + 0x4d], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
call fcn.0043ffe0
add esp, 0xc
test eax, eax
mov dword [esp + 0x68], eax
jne 0x43c346
push eax
lea eax, [esi + 1]
push eax
push 0x28
mov eax, ebx
call fcn.00429ec0
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x2c]
mov dword [ebp + 0x3c], eax
xor eax, eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], eax
lea eax, [esi + 1]
add esp, 0xc
mov dword [esp + 0x44], eax
lea eax, [esp + 0x40]
push eax
push ebp
push edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], edx
call fcn.0043ffe0
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x28]
add esp, 0xc
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov dword [ebp + 0x1c], edx
call fcn.004470d0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
add esp, 8
cmp byte [esp + 0x30], 5
mov dword [ebp + 0x28], edx
mov dword [ebp + 0x2c], eax
jne 0x43bf0e
mov eax, dword [ebp + 0x1c]
test eax, eax
mov ecx, ebp
je 0x43bf00
mov ecx, eax
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x43bef7
mov ecx, dword [ecx]
push ecx
push 0
push edi
call fcn.0043b380
add esp, 0xc
push ebx
call fcn.00429f50
add esp, 4
push ebx
mov dword [esp + 0x1c], eax
call fcn.00429f50
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
mov dword [esp + 0x24], eax
push ebp
mov eax, edi
call fcn.0043bad0
mov eax, dword [esp + 0x20]
push eax
push esi
push 0x40
mov eax, ebx
call fcn.00429ec0
add esp, 0x14
mov eax, edi
call fcn.0044aed0
push eax
mov dword [esp + 0x28], eax
push esi
push 0x3a
mov eax, ebx
call fcn.00429ec0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add esp, 0xc
push ecx
push edx
add esi, 1
mov dword [esp + 0x34], eax
push esi
push 0x30
mov eax, ebx
call fcn.00429db0
mov esi, dword [esp + 0x34]
mov edx, edi
call fcn.0044aef0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov eax, dword [ebp]
mov esi, dword [esp + 0x38]
push ecx
push edx
mov edx, dword [eax]
lea ecx, [esp + 0x48]
push ecx
push 0xffffffffffffffff
push 0
push edx
push esi
push eax
push ebp
push edi
call fcn.0043a5a0
mov edx, dword [esp + 0x58]
mov ecx, ebx
call fcn.00429fd0
mov eax, dword [esp + 0x64]
push eax
push esi
push 0x42
mov eax, ebx
call fcn.00429ec0
mov edx, dword [esp + 0x5c]
add esp, 0x44
mov ecx, ebx
call fcn.00429fd0
push 0
lea eax, [esi + 1]
push eax
push 0x2a
mov eax, ebx
call fcn.00429ec0
add esp, 0xc
jmp 0x43c23f
mov ecx, dword [ebp + 0x28]
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x28], edx
mov dword [esi + 0x28], ecx
mov edx, dword [ebp + 0x2c]
push esi
push edi
mov dword [esi + 0x2c], edx
call fcn.0043ffe0
xor ecx, ecx
add esp, 0xc
cmp eax, ecx
mov dword [esp + 0x68], eax
mov dword [ebp + 0x28], ecx
mov dword [ebp + 0x2c], ecx
jne 0x43c346
mov dword [ebp + 0x1c], ecx
mov edx, dword [esi + 0x30]
mov dword [ebp + 0x30], edx
mov eax, dword [esi + 0x34]
mov dword [ebp + 0x34], eax
mov eax, edx
cmp eax, ecx
je 0x43c044
push eax
push 0x72
mov eax, ebx
call fcn.00429e60
add esp, 8
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x30]
push ecx
push ebp
push edi
call fcn.0043ffe0
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x30]
add esp, 0xc
test eax, eax
mov dword [esp + 0x1c], edx
mov dword [ebp + 0x1c], esi
je 0x43c24e
mov ecx, dword [ebx + 0xc]
cmp ecx, eax
jle 0x43c24e
mov edx, dword [ebx + 0x14]
lea eax, [eax + eax*4]
mov dword [edx + eax*4 + 8], ecx
jmp 0x43c24e
cmp byte [esp + 0x30], 1
jne 0x43c0a2
cmp dword [ebp + 0x28], edx
jne 0x43c0a2
cmp dword [ebp + 0x2c], edx
jne 0x43c0a2
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], eax
jmp 0x43c0ca
mov eax, dword [edi + 0x44]
push edx
push eax
lea ecx, [eax + 1]
mov dword [esp + 0x20], eax
push 0x28
mov eax, ebx
mov dword [edi + 0x44], ecx
call fcn.00429ec0
mov dword [ebp + 0x38], eax
mov eax, dword [ebp + 0x24]
or word [eax + 6], 8
add esp, 0xc
xor edx, edx
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x50]
push ecx
push esi
push edi
mov byte [esp + 0x5c], 1
mov dword [esp + 0x60], eax
mov byte [esp + 0x5d], 0
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edx
call fcn.0043ffe0
add esp, 0xc
test eax, eax
mov dword [esp + 0x68], eax
jne 0x43c346
cmp byte [ebp + 4], 0x71
mov edx, dword [ebp + 0x28]
sete al
add al, 1
mov byte [esp + 0x50], al
lea eax, [esp + 0x50]
push eax
xor ecx, ecx
mov dword [esp + 0x30], edx
mov edx, dword [ebp + 0x2c]
push ebp
push edi
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x34], edx
mov dword [ebp + 0x2c], ecx
call fcn.0043ffe0
mov ecx, dword [ebp + 0x18]
mov esi, dword [esp + 0x20]
add esp, 0xc
push ecx
mov dword [esp + 0x6c], eax
call fcn.00447b80
mov edx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x28]
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
push ecx
xor esi, esi
push edx
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x18], esi
call fcn.004470d0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [ebp + 0x28], eax
mov al, byte [esp + 0x38]
add esp, 8
cmp al, 1
mov dword [ebp + 0x2c], ecx
mov dword [ebp + 0x30], esi
mov dword [ebp + 0x34], esi
je 0x43c24e
cmp al, 5
jne 0x43c1b7
mov eax, dword [ebp + 0x1c]
test eax, eax
mov ecx, ebp
je 0x43c1a9
lea esp, [esp]
mov ecx, eax
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x43c1a0
mov edx, dword [ecx]
push edx
push 0
push edi
call fcn.0043b380
add esp, 0xc
push ebx
call fcn.00429f50
add esp, 4
mov esi, eax
push ebx
mov dword [esp + 0x24], esi
call fcn.00429f50
add esp, 4
mov dword [esp + 0x24], eax
push esi
push ebp
mov eax, edi
call fcn.0043bad0
push esi
mov esi, dword [esp + 0x24]
push esi
push 0x40
mov eax, ebx
call fcn.00429ec0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [ebx + 0xc]
add esp, 0x14
push ecx
push edx
lea ecx, [esp + 0x38]
push ecx
push 0xffffffffffffffff
mov dword [esp + 0x3c], eax
mov eax, dword [ebp]
mov edx, dword [eax]
push 0
push edx
push esi
push eax
push ebp
push edi
call fcn.0043a5a0
mov edx, dword [esp + 0x4c]
mov ecx, ebx
call fcn.00429fd0
mov eax, dword [esp + 0x54]
push eax
push esi
push 0x42
mov eax, ebx
call fcn.00429ec0
mov edx, dword [esp + 0x54]
add esp, 0x34
mov ecx, ebx
call fcn.00429fd0
push 0
push esi
push 0x2a
mov eax, ebx
call fcn.00429ec0
add esp, 0xc
test byte [ebp + 6], 8
je 0x43c346
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov dword [esp + 0x20], eax
lea edi, [eax + eax*4 + 0x10]
mov eax, dword [esp + 0x14]
call fcn.0040f630
mov esi, eax
test esi, esi
mov dword [esp + 0x2c], esi
jne 0x43c285
mov dword [esp + 0x68], 7
jmp 0x43c346
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0xc]
mov dl, byte [ecx + 0x49]
mov eax, dword [esp + 0x20]
xor edi, edi
test eax, eax
lea ecx, [esi + 0xc]
mov byte [esi + 4], dl
mov word [esi + 6], ax
mov dword [esp + 0x24], ecx
jle 0x43c2e2
lea ebx, [ebx]
mov edx, dword [esp + 0x64]
push edi
push ebp
push edx
call fcn.0043bc10
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
mov dword [ecx], eax
jne 0x43c2d2
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x2c]
mov dword [ecx], edx
add edi, 1
add ecx, 4
cmp edi, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
jl 0x43c2b0
mov dword [esp + 0x64], ebp
mov edi, dword [esp + 0x64]
xor ebp, ebp
add edi, 0x38
mov eax, dword [edi]
test eax, eax
jl 0x43c329
cmp dword [ebx + 0xc], eax
jle 0x43c30c
mov esi, dword [esp + 0x20]
mov edx, dword [ebx + 0x14]
lea ecx, [eax + eax*4]
mov dword [edx + ecx*4 + 8], esi
mov esi, dword [esp + 0x2c]
push 0xfffffffffffffffa
push esi
push ebx
call fcn.0042a3a0
mov dword [edi], 0xffffffff
add ebp, 1
add esp, 0xc
add edi, 4
cmp ebp, 2
jl 0x43c2ef
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x1c]
test eax, eax
mov dword [esp + 0x64], eax
jne 0x43c2e6
mov ecx, dword [esp + 0x14]
push esi
push ecx
call fcn.0040f470
add esp, 8
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x1c]
test edi, edi
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
je 0x43c3ab
mov esi, dword [esp + 0x14]
mov eax, edi
mov ecx, esi
call fcn.00439a20
test esi, esi
je 0x43c3a2
cmp edi, dword [esi + 0xf0]
jb 0x43c3a2
cmp edi, dword [esi + 0xf4]
jae 0x43c3a2
mov edx, dword [esi + 0xec]
mov eax, dword [esp + 0x68]
mov dword [edi], edx
add dword [esi + 0xe4], 0xffffffff
mov dword [esi + 0xec], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
push edi
call fcn.0040f3f0
add esp, 4
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret