Function at 0x456be0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49eb3d
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4d7200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x24], 1
mov dword [ebp - 4], 0
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x30], 1
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x14], 1
push dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00401e50
push dword [ebp + 0xc]
lea ecx, [ebp - 0x38]
call fcn.00401e50
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x58], ebx
test ebx, ebx
jne 0x456cb0
push 2
call fcn.0048a28e
mov ebx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], eax
mov word [ebx], ax
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 0x30], 1
mov dword [ebp - 0x60], edx
test edx, edx
jne 0x456ce8
push 2
call fcn.0048a28e
mov edx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x60], edx
mov esi, ebx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
mov word [edx], ax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x14], al
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x54], esi
jmp 0x456cff
mov dword [ebp - 0x1c], 0
mov esi, ebx
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov ebx, edx
mov byte [ebp - 0x24], 1
mov edi, 0x4c2238
xor ecx, ecx
nop dword [eax]
inc ecx
cmp word [ecx*2 + 0x4c2028], 0
jne 0x456d10
test edx, edx
jne 0x456d25
mov dword [ebp - 0x54], esi
jmp 0x456d3a
xor eax, eax
cmp word [edx], ax
je 0x456d38
mov dword [ebp - 0x54], esi
nop
inc eax
cmp word [edx + eax*2], 0
jne 0x456d30
add ecx, eax
xor eax, eax
nop dword [eax]
lea eax, [eax + 1]
cmp word [eax*2 + 0x4c2238], 0
jne 0x456d40
lea edx, [ecx + eax]
mov ecx, dword [ebp - 0x58]
test ecx, ecx
jne 0x456d5d
mov dword [ebp - 0x54], esi
jmp 0x456d71
xor eax, eax
cmp word [ecx], ax
je 0x456d6f
mov dword [ebp - 0x54], esi
inc eax
cmp word [ecx + eax*2], 0
jne 0x456d67
add edx, eax
mov dword [ebp - 0x3c], edx
lea eax, [edx + 1]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048a28e
mov esi, 0x4c2028
mov dword [ebp - 0x5c], eax
add esp, 4
mov ecx, eax
mov edx, 0x53
sub esi, eax
mov word [ecx], dx
add ecx, 2
movzx eax, word [esi + ecx]
mov edx, eax
test ax, ax
jne 0x456da1
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0x54]
test eax, eax
je 0x456dd7
movzx eax, word [eax]
mov edx, eax
test ax, ax
je 0x456dd7
mov word [ecx], ax
lea ebx, [ebx + 2]
movzx eax, word [ebx]
add ecx, 2
test ax, ax
jne 0x456dc6
mov eax, 0x20
nop dword [eax]
mov word [ecx], ax
lea edi, [edi + 2]
movzx eax, word [edi]
add ecx, 2
test ax, ax
jne 0x456de0
mov edi, dword [ebp - 0x58]
test edi, edi
je 0x456e13
movzx eax, word [edi]
mov edx, eax
test ax, ax
je 0x456e13
mov word [ecx], ax
lea esi, [esi + 2]
movzx eax, word [esi]
add ecx, 2
test ax, ax
jne 0x456e02
mov ebx, dword [ebp - 0x20]
xor eax, eax
mov edx, dword [ebp - 0x5c]
mov word [ecx], ax
mov eax, dword [ebp - 0x3c]
cmp byte [ebx + 0x188], 0
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 1
jne 0x456e47
mov ecx, dword [ebx + 0x170]
test ecx, ecx
je 0x456e47
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x5c]
mov dword [ebx + 0x170], 0
mov ecx, dword [ebx + 0x168]
call fcn.0041a750
mov ecx, dword [ebx + 0x16c]
mov esi, eax
test ecx, ecx
je 0x456e6e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test esi, esi
mov dword [ebx + 0x16c], esi
mov byte [ebx + 0x188], 0
setne al
mov byte [ebx + 0x198], al
test esi, esi
je 0x456f20
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
push ecx
push 1
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x20], 0
call dword [eax + 0x10]
mov ecx, dword [ebx + 0x170]
mov esi, dword [ebp - 0x3c]
test ecx, ecx
je 0x456ec1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test esi, esi
mov dword [ebx + 0x170], esi
mov edx, esi
mov byte [ebx + 0x188], 0
setne al
mov byte [ebx + 0x198], al
test edx, edx
je 0x456f20
mov ecx, dword [ebx + 0x168]
push 0
push 0
push 0
push 0x4c2df0
call fcn.0041a9b0
test al, al
jne 0x456f00
mov esi, 0xfffffffe
jmp 0x456f23
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x50]
push eax
call esi
lea eax, [ebp - 0x50]
push eax
call esi
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor esi, esi
jmp 0x456f23
or esi, 0xffffffff
push dword [ebp - 0x5c]
call fcn.00489ed3
add esp, 4
test edi, edi
je 0x456f3b
push edi
call fcn.00489ed3
add esp, 4
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x456f4b
push eax
call fcn.00489ed3
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489ec5
mov esp, ebp
pop ebp
ret 8