Function at 0x441ce0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e3bc
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4d7200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x58], eax
mov esi, dword [ebp + 8]
lea edi, [eax + 0x130]
sub esp, 8
mov dword [ebp - 0x88], esi
mov ecx, edi
call fcn.0041b0e0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x18], 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
push dword [esi + 8]
call fcn.00401e50
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov byte [ebp - 0x18], 0
test eax, eax
jne 0x441d83
xor eax, eax
test esi, esi
je 0x441d80
cmp word [esi], ax
je 0x441d80
inc eax
cmp word [esi + eax*2], 0
jne 0x441d78
mov dword [ebp - 0x1c], eax
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp word [ecx*2 + str.SELECT__FROM_MSFT_Disk_WHERE_Number_], 0
jne 0x441d90
add eax, ecx
mov edx, 2
mov dword [ebp - 0x24], eax
xor ecx, ecx
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048a02b
mov edx, esi
mov dword [ebp - 0x84], eax
mov esi, str.SELECT__FROM_MSFT_Disk_WHERE_Number_
add esp, 4
mov ecx, eax
mov ebx, 0x53
sub esi, eax
mov word [ecx], bx
add ecx, 2
movzx eax, word [esi + ecx]
mov ebx, eax
test ax, ax
jne 0x441dd1
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x441e04
movzx eax, word [esi]
mov ebx, eax
test ax, ax
je 0x441e04
mov word [ecx], ax
lea edx, [edx + 2]
movzx eax, word [edx]
add ecx, 2
test ax, ax
jne 0x441df3
xor eax, eax
mov word [ecx], ax
test esi, esi
je 0x441e16
push esi
call fcn.00489c73
add esp, 4
cmp byte [edi + 0x20], 0
mov edx, dword [ebp - 0x84]
mov eax, edx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 1
jne 0x441e47
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x441e47
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x84]
mov dword [edi + 8], 0
mov ecx, dword [edi]
call fcn.0041a750
mov ecx, dword [edi + 4]
mov esi, eax
test ecx, ecx
je 0x441e64
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test esi, esi
mov dword [edi + 4], esi
mov byte [edi + 0x20], 0
setne al
mov byte [edi + 0x30], al
test esi, esi
je 0x442749
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push ecx
push 1
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x24], 0
call dword [eax + 0x10]
mov ecx, dword [edi + 8]
mov esi, dword [ebp - 0x2c]
test ecx, ecx
je 0x441eab
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test esi, esi
mov dword [edi + 8], esi
mov byte [edi + 0x20], 0
setne al
cmp dword [edi + 8], 0
mov byte [edi + 0x30], al
je 0x442749
mov eax, dword [ebp - 0x58]
cmp dword [eax], 0
je 0x441ed4
or edi, 0xffffffff
jmp 0x44274b
xorps xmm0, xmm0
mov dword [ebp - 0x24], 3
push 0x64
movlpd qword [ebp - 0x54], xmm0
call fcn.0048a02b
add esp, 4
mov dword [ebp - 0x5c], eax
push 0x43a370
push 0x445d00
push 3
lea ebx, [eax + 4]
mov byte [ebp - 4], 1
push 0x20
push ebx
mov dword [eax], 3
mov dword [ebp - 0x80], ebx
call fcn.0048a060
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], 3
mov dword [ebp - 0x28], 0
mov ebx, dword [ebp - 0x88]
mov byte [ebp - 4], 3
cmp dword [ebx + 0xc], 0
jne 0x441f4a
push 2
call fcn.0048a02b
add esp, 4
mov dword [ebx + 0xc], eax
xor ecx, ecx
mov word [eax], cx
mov dword [ebx + 0x10], ecx
mov ecx, dword [ebx + 0xc]
mov esi, 0x4c439c
mov byte [ebx + 0x14], 1
mov edi, ecx
mov dword [ebp - 0x1c], 0
mov edx, ecx
mov byte [ebp - 0x18], 0
xor ebx, ebx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], ecx
inc ebx
cmp word [ebx*2 + 0x4c43a4], 0
jne 0x441f71
test ecx, ecx
jne 0x441f86
mov dword [ebp - 0x2c], ecx
jmp 0x441f9a
xor eax, eax
cmp word [ecx], ax
je 0x441f98
mov dword [ebp - 0x2c], ecx
inc eax
cmp word [edx + eax*2], 0
jne 0x441f90
add ebx, eax
xor eax, eax
nop dword [eax]
inc eax
cmp word [eax*2 + 0x4c439c], 0
jne 0x441fa0
add ebx, eax
xor ecx, ecx
mov edx, 2
mov dword [ebp - 0x5c], ebx
lea eax, [ebx + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048a02b
mov ebx, 0x4c43a4
mov dword [ebp - 0x24], eax
add esp, 4
mov ecx, eax
mov edx, 0x45
sub ebx, eax
nop
mov word [ecx], dx
add ecx, 2
movzx eax, word [ebx + ecx]
mov edx, eax
test ax, ax
jne 0x441fe0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x5c]
test eax, eax
je 0x442016
movzx eax, word [eax]
mov edx, eax
test ax, ax
je 0x442016
mov word [ecx], ax
lea edi, [edi + 2]
movzx eax, word [edi]
add ecx, 2
test ax, ax
jne 0x442005
mov eax, 0x2e
nop dword [eax + eax]
mov word [ecx], ax
lea esi, [esi + 2]
movzx eax, word [esi]
lea ecx, [ecx + 2]
test ax, ax
jne 0x442020
mov esi, dword [ebp - 0x24]
xor eax, eax
push dword [ebp - 0x84]
mov word [ecx], ax
mov eax, esi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
call fcn.00489c73
mov ecx, dword [ebp - 0x58]
add esp, 4
mov byte [ebp - 0x18], 1
push esi
push 0xffffffffffffffff
lea ecx, [ecx + 0x5b0]
call fcn.0041a070
mov dword [ebp - 0x7c], 0
xor eax, eax
mov byte [ebp - 0x74], 0
inc eax
cmp word [eax*2 + 0x4c2ce8], 0
jne 0x442074
mov dword [ebp - 0x78], eax
xor ecx, ecx
inc eax
mov ebx, 2
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048a02b
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x78]
xor ecx, ecx
mov dword [ebp - 0x7c], edx
test eax, eax
jle 0x4420c7
nop dword [eax + eax]
mov ax, word [ecx*2 + 0x4c2ce8]
mov word [edx + ecx*2], ax
inc ecx
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
cmp ecx, eax
jl 0x4420b0
xor ecx, ecx
mov word [edx + eax*2], cx
mov byte [ebp - 0x74], 1
or eax, 0xffffffff
mov word [ebp - 0x6c], bx
mov word [ebp - 0x64], ax
mov esi, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00401560
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
lea ecx, [ebp - 0x6c]
lea eax, [esi + 0x10]
push ecx
push eax
call edi
test eax, eax
js 0x44277b
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 3
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push eax
call ebx
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x442126
push eax
call fcn.00489c73
add esp, 4
mov dword [ebp - 0x7c], 0
xor eax, eax
mov byte [ebp - 0x74], 0
inc eax
cmp word [eax*2 + 0x4c2d00], 0
jne 0x442133
mov dword [ebp - 0x78], eax
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048a02b
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x78]
xor ecx, ecx
mov dword [ebp - 0x7c], edx
test eax, eax
jle 0x442187
nop word [eax + eax]
mov ax, word [ecx*2 + 0x4c2d00]
mov word [edx + ecx*2], ax
inc ecx
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
cmp ecx, eax
jl 0x442170
xor ecx, ecx
mov word [edx + eax*2], cx
mov byte [ebp - 0x74], 1
mov eax, 2
mov word [ebp - 0x6c], ax
or eax, 0xffffffff
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 7
push eax
lea ecx, [esi + 0x20]
call fcn.00401560
lea ecx, [ebp - 0x6c]
lea eax, [esi + 0x30]
push ecx
push eax
call edi
test eax, eax
js 0x442781
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 3
push eax
call ebx
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x4421dd
push eax
call fcn.00489c73
add esp, 4
mov dword [ebp - 0x7c], 0
xor eax, eax
mov byte [ebp - 0x74], 0
nop word [eax + eax]
inc eax
cmp word [eax*2 + 0x4c2d14], 0
jne 0x4421f0
mov dword [ebp - 0x78], eax
xor ecx, ecx
inc eax
mov esi, 2
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048a02b
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x78]
xor ecx, ecx
mov dword [ebp - 0x7c], edx
test eax, eax
jle 0x442247
nop word [eax + eax]
mov ax, word [ecx*2 + 0x4c2d14]
mov word [edx + ecx*2], ax
inc ecx
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
cmp ecx, eax
jl 0x442230
xor ecx, ecx
mov word [edx + eax*2], cx
mov byte [ebp - 0x74], 1
mov edi, dword [ebp - 0x88]
mov word [ebp - 0x6c], si
mov eax, dword [edi + 4]
neg eax
sbb eax, eax
movzx eax, ax
mov word [ebp - 0x64], ax
mov esi, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push eax
mov byte [ebp - 4], 9
lea ecx, [esi + 0x40]
call fcn.00401560
lea ecx, [ebp - 0x6c]
lea eax, [esi + 0x50]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x442787
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 3
push eax
call ebx
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x4422ac
push eax
call fcn.00489c73
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x58]
push 3
push dword [ebp - 0x80]
mov edx, dword [eax + 0x138]
mov ecx, dword [eax + 0x130]
push 0x4c2d38
call fcn.0041a9b0
test al, al
je 0x442344
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
test esi, esi
je 0x442396
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push 0
push 0
push ecx
push 0
push 0x4c04c0
push esi
call dword [eax + 0x10]
shr eax, 0x1f
xor al, 1
je 0x442396
cmp word [ebp - 0x3c], 8
jne 0x44232b
push dword [ebp - 0x34]
call fcn.0048ddfc
add esp, 4
mov esi, eax
jmp 0x44232e
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
push eax
call ebx
test esi, esi
je 0x4423a0
cmp esi, 0xa028
je 0x4423a0
mov edi, 0xfffffff5
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x44235a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x80]
mov byte [ebp - 4], 0
test eax, eax
je 0x44274b
push 0x43a370
lea esi, [eax - 4]
mov byte [ebp - 4], 0x15
push dword [esi]
push 0x20
push eax
call fcn.00489f08
mov eax, dword [esi]
shl eax, 5
add eax, 4
push eax
push esi
call fcn.00489c78
add esp, 8
jmp 0x44274b
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
push eax
call ebx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4423ad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [ebp - 0x58]
lea eax, [ebp - 0x28]
push eax
push 0
push 0
mov edx, dword [ebx + 0x138]
mov ecx, dword [ebx + 0x130]
push 0x4c2018
mov dword [ebp - 0x28], 0
call fcn.0041a9b0
push ecx
push 0x4c43c0
lea ecx, [ebx + 0x5b0]
call fcn.00419f00
mov eax, dword [edi + 0x18]
test eax, eax
je 0x44273f
cmp word [eax], 0
je 0x44273f
cmp dword [ebx], 0
je 0x442408
or edi, 0xffffffff
jmp 0x442349
cmp dword [edi + 0xc], 0
jne 0x442423
push 2
call fcn.0048a02b
add esp, 4
mov dword [edi + 0xc], eax
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 0x10], ecx
mov ecx, dword [edi + 0xc]
xor ebx, ebx
mov byte [edi + 0x14], 1
mov esi, ecx
mov dword [ebp - 0x1c], 0
mov edi, 0x4c439c
mov byte [ebp - 0x18], 0
mov edx, ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], ecx
nop word [eax + eax]
inc ebx
cmp word [ebx*2 + 0x4c4408], 0
jne 0x442450
test ecx, ecx
jne 0x442465
mov dword [ebp - 0x2c], ecx
jmp 0x44247a
xor eax, eax
cmp word [ecx], ax
je 0x442478
mov dword [ebp - 0x2c], ecx
nop
inc eax
cmp word [edx + eax*2], 0
jne 0x442470
add ebx, eax
xor eax, eax
nop dword [eax]
inc eax
cmp word [eax*2 + 0x4c439c], 0
jne 0x442480
add ebx, eax
xor ecx, ecx
mov edx, 2
mov dword [ebp - 0x84], ebx
lea eax, [ebx + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048a02b
mov ebx, 0x4c4408
mov dword [ebp - 0x5c], eax
add esp, 4
mov ecx, eax
mov edx, 0x49
sub ebx, eax
mov word [ecx], dx
add ecx, 2
movzx eax, word [ecx + ebx]
mov edx, eax
test ax, ax
jne 0x4424c1
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x84]
test eax, eax
je 0x442501
movzx eax, word [eax]
mov edx, eax
test ax, ax
je 0x442501
nop dword [eax]
mov word [ecx], ax
lea esi, [esi + 2]
movzx eax, word [esi]
add ecx, 2
test ax, ax
jne 0x4424f0
mov eax, 0x2e
mov word [ecx], ax
lea edi, [edi + 2]
movzx eax, word [edi]
lea ecx, [ecx + 2]
test ax, ax
jne 0x442506
push dword [ebp - 0x24]
mov esi, dword [ebp - 0x5c]
xor eax, eax
mov word [ecx], ax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ebx
call fcn.00489c73
mov ecx, dword [ebp - 0x58]
add esp, 4
mov byte [ebp - 0x18], 1
push esi
push 0xffffffffffffffff
lea ecx, [ecx + 0x5b0]
call fcn.0041a070
mov dword [ebp - 0x7c], 0
xor eax, eax
mov byte [ebp - 0x74], 0
inc eax
cmp word [eax*2 + 0x4c1f08], 0
jne 0x442552
mov dword [ebp - 0x78], eax
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048a02b
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x78]
xor ecx, ecx
mov dword [ebp - 0x7c], edx
test eax, eax
jle 0x4425a7
nop dword [eax]
mov ax, word [ecx*2 + 0x4c1f08]
mov word [edx + ecx*2], ax
inc ecx
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
cmp ecx, eax
jl 0x442590
xor ecx, ecx
mov word [edx + eax*2], cx
mov byte [ebp - 0x74], 1
mov esi, dword [ebp - 0x88]
mov byte [ebp - 4], 0xf
cmp dword [esi + 0x18], ecx
jne 0x4425d5
push 2
call fcn.0048a02b
add esp, 4
mov dword [esi + 0x18], eax
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 0x1c], ecx
mov byte [esi + 0x20], 1
mov eax, 8
mov esi, dword [esi + 0x18]
push esi
mov word [ebp - 0x6c], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x64], eax
test eax, eax
jne 0x4425fb
test esi, esi
jne 0x44278d
mov ebx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x10
call fcn.00401560
lea ecx, [ebp - 0x6c]
lea eax, [ebx + 0x10]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x442797
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 3
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push eax
call edi
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x442643
push eax
call fcn.00489c73
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x442650
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
mov eax, dword [ebp - 0x58]
push 1
push ebx
push 0x4c2dd8
mov edx, dword [eax + 0x138]
mov ecx, dword [eax + 0x130]
call fcn.0041a9b0
test al, al
jne 0x442685
mov edi, 0xfffffff4
jmp 0x442349
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x4c]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
push eax
call ebx
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x12
push eax
call ebx
test esi, esi
je 0x4426ef
mov eax, dword [esi]
lea ecx, [ebp - 0x4c]
push 0
push 0
push ecx
push 0
push 0x4c04c0
push esi
call dword [eax + 0x10]
shr eax, 0x1f
xor al, 1
je 0x4426ef
cmp word [ebp - 0x4c], 8
jne 0x4426d4
push dword [ebp - 0x44]
call fcn.0048ddfc
add esp, 4
mov esi, eax
jmp 0x4426d7
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
push eax
call edi
test esi, esi
je 0x4426f9
mov edi, 0xfffffff4
jmp 0x442349
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
push eax
call edi
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x442706
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [ebp - 0x58]
lea eax, [ebp - 0x28]
push eax
push 0
push 0
mov edx, dword [ebx + 0x138]
mov ecx, dword [ebx + 0x130]
push 0x4c2018
mov dword [ebp - 0x28], 0
call fcn.0041a9b0
push ecx
push 0x4c2e10
lea ecx, [ebx + 0x5b0]
call fcn.00419f00
mov edi, 1
jmp 0x442349
xor edi, edi
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x44275b
push eax
call fcn.00489c73
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00489c65
mov esp, ebp
pop ebp
ret 4
push eax
call fcn.00489900
push eax
call fcn.00489900
push eax
call fcn.00489900
push 0x8007000e
call fcn.00489900
push eax
call fcn.00489900
int3