Function at 0x456820
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 0x4568f0
push 2
call fcn.0048a2cb
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 0x456928
push 2
call fcn.0048a2cb
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 0x45693f
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, 0x4c2258
xor ecx, ecx
nop dword [eax]
inc ecx
cmp word [ecx*2 + 0x4c2048], 0
jne 0x456950
test edx, edx
jne 0x456965
mov dword [ebp - 0x54], esi
jmp 0x45697a
xor eax, eax
cmp word [edx], ax
je 0x456978
mov dword [ebp - 0x54], esi
nop
inc eax
cmp word [edx + eax*2], 0
jne 0x456970
add ecx, eax
xor eax, eax
nop dword [eax]
lea eax, [eax + 1]
cmp word [eax*2 + 0x4c2258], 0
jne 0x456980
lea edx, [ecx + eax]
mov ecx, dword [ebp - 0x58]
test ecx, ecx
jne 0x45699d
mov dword [ebp - 0x54], esi
jmp 0x4569b1
xor eax, eax
cmp word [ecx], ax
je 0x4569af
mov dword [ebp - 0x54], esi
inc eax
cmp word [ecx + eax*2], 0
jne 0x4569a7
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.0048a2cb
mov esi, 0x4c2048
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 0x4569e1
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0x54]
test eax, eax
je 0x456a17
movzx eax, word [eax]
mov edx, eax
test ax, ax
je 0x456a17
mov word [ecx], ax
lea ebx, [ebx + 2]
movzx eax, word [ebx]
add ecx, 2
test ax, ax
jne 0x456a06
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 0x456a20
mov edi, dword [ebp - 0x58]
test edi, edi
je 0x456a53
movzx eax, word [edi]
mov edx, eax
test ax, ax
je 0x456a53
mov word [ecx], ax
lea esi, [esi + 2]
movzx eax, word [esi]
add ecx, 2
test ax, ax
jne 0x456a42
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 0x456a87
mov ecx, dword [ebx + 0x170]
test ecx, ecx
je 0x456a87
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.0041a6c0
mov ecx, dword [ebx + 0x16c]
mov esi, eax
test ecx, ecx
je 0x456aae
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 0x456b60
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 0x456b01
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 0x456b60
mov ecx, dword [ebx + 0x168]
push 0
push 0
push 0
push 0x4c2e10
call fcn.0041a920
test al, al
jne 0x456b40
mov esi, 0xfffffffe
jmp 0x456b63
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 0x456b63
or esi, 0xffffffff
push dword [ebp - 0x5c]
call fcn.00489f13
add esp, 4
test edi, edi
je 0x456b7b
push edi
call fcn.00489f13
add esp, 4
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x456b8b
push eax
call fcn.00489f13
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.00489f05
mov esp, ebp
pop ebp
ret 8