Function at 0x441c40
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e65c
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.0041b050
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 0x441ce3
xor eax, eax
test esi, esi
je 0x441ce0
cmp word [esi], ax
je 0x441ce0
inc eax
cmp word [esi + eax*2], 0
jne 0x441cd8
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 0x441cf0
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.0048a2cb
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 0x441d31
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x441d64
movzx eax, word [esi]
mov ebx, eax
test ax, ax
je 0x441d64
mov word [ecx], ax
lea edx, [edx + 2]
movzx eax, word [edx]
add ecx, 2
test ax, ax
jne 0x441d53
xor eax, eax
mov word [ecx], ax
test esi, esi
je 0x441d76
push esi
call fcn.00489f13
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 0x441da7
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x441da7
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.0041a6c0
mov ecx, dword [edi + 4]
mov esi, eax
test ecx, ecx
je 0x441dc4
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 0x4426a9
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 0x441e0b
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 0x4426a9
mov eax, dword [ebp - 0x58]
cmp dword [eax], 0
je 0x441e34
or edi, 0xffffffff
jmp 0x4426ab
xorps xmm0, xmm0
mov dword [ebp - 0x24], 3
push 0x64
movlpd qword [ebp - 0x54], xmm0
call fcn.0048a2cb
add esp, 4
mov dword [ebp - 0x5c], eax
push 0x43a2f0
push 0x445bd0
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.0048a300
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 0x441eaa
push 2
call fcn.0048a2cb
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, 0x4c43a4
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 + 0x4c43ac], 0
jne 0x441ed1
test ecx, ecx
jne 0x441ee6
mov dword [ebp - 0x2c], ecx
jmp 0x441efa
xor eax, eax
cmp word [ecx], ax
je 0x441ef8
mov dword [ebp - 0x2c], ecx
inc eax
cmp word [edx + eax*2], 0
jne 0x441ef0
add ebx, eax
xor eax, eax
nop dword [eax]
inc eax
cmp word [eax*2 + 0x4c43a4], 0
jne 0x441f00
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.0048a2cb
mov ebx, 0x4c43ac
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 0x441f40
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x5c]
test eax, eax
je 0x441f76
movzx eax, word [eax]
mov edx, eax
test ax, ax
je 0x441f76
mov word [ecx], ax
lea edi, [edi + 2]
movzx eax, word [edi]
add ecx, 2
test ax, ax
jne 0x441f65
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 0x441f80
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.00489f13
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 + 0x4c2d08], 0
jne 0x441fd4
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.0048a2cb
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x78]
xor ecx, ecx
mov dword [ebp - 0x7c], edx
test eax, eax
jle 0x442027
nop dword [eax + eax]
mov ax, word [ecx*2 + 0x4c2d08]
mov word [edx + ecx*2], ax
inc ecx
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
cmp ecx, eax
jl 0x442010
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 0x4426db
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 0x442086
push eax
call fcn.00489f13
add esp, 4
mov dword [ebp - 0x7c], 0
xor eax, eax
mov byte [ebp - 0x74], 0
inc eax
cmp word [eax*2 + 0x4c2d20], 0
jne 0x442093
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.0048a2cb
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x78]
xor ecx, ecx
mov dword [ebp - 0x7c], edx
test eax, eax
jle 0x4420e7
nop word [eax + eax]
mov ax, word [ecx*2 + 0x4c2d20]
mov word [edx + ecx*2], ax
inc ecx
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
cmp ecx, eax
jl 0x4420d0
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 0x4426e1
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 3
push eax
call ebx
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x44213d
push eax
call fcn.00489f13
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 + 0x4c2d34], 0
jne 0x442150
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.0048a2cb
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x78]
xor ecx, ecx
mov dword [ebp - 0x7c], edx
test eax, eax
jle 0x4421a7
nop word [eax + eax]
mov ax, word [ecx*2 + 0x4c2d34]
mov word [edx + ecx*2], ax
inc ecx
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
cmp ecx, eax
jl 0x442190
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 0x4426e7
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 3
push eax
call ebx
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x44220c
push eax
call fcn.00489f13
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 0x4c2d58
call fcn.0041a920
test al, al
je 0x4422a4
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 0x4422f6
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 0x4422f6
cmp word [ebp - 0x3c], 8
jne 0x44228b
push dword [ebp - 0x34]
call fcn.0048e09c
add esp, 4
mov esi, eax
jmp 0x44228e
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
push eax
call ebx
test esi, esi
je 0x442300
cmp esi, 0xa028
je 0x442300
mov edi, 0xfffffff5
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4422ba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x80]
mov byte [ebp - 4], 0
test eax, eax
je 0x4426ab
push 0x43a2f0
lea esi, [eax - 4]
mov byte [ebp - 4], 0x15
push dword [esi]
push 0x20
push eax
call fcn.0048a1a8
mov eax, dword [esi]
shl eax, 5
add eax, 4
push eax
push esi
call fcn.00489f18
add esp, 8
jmp 0x4426ab
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
push eax
call ebx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x44230d
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 0x4c2038
mov dword [ebp - 0x28], 0
call fcn.0041a920
push ecx
push 0x4c43c8
lea ecx, [ebx + 0x5b0]
call fcn.00419f00
mov eax, dword [edi + 0x18]
test eax, eax
je 0x44269f
cmp word [eax], 0
je 0x44269f
cmp dword [ebx], 0
je 0x442368
or edi, 0xffffffff
jmp 0x4422a9
cmp dword [edi + 0xc], 0
jne 0x442383
push 2
call fcn.0048a2cb
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, 0x4c43a4
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 + 0x4c4410], 0
jne 0x4423b0
test ecx, ecx
jne 0x4423c5
mov dword [ebp - 0x2c], ecx
jmp 0x4423da
xor eax, eax
cmp word [ecx], ax
je 0x4423d8
mov dword [ebp - 0x2c], ecx
nop
inc eax
cmp word [edx + eax*2], 0
jne 0x4423d0
add ebx, eax
xor eax, eax
nop dword [eax]
inc eax
cmp word [eax*2 + 0x4c43a4], 0
jne 0x4423e0
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.0048a2cb
mov ebx, 0x4c4410
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 0x442421
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x84]
test eax, eax
je 0x442461
movzx eax, word [eax]
mov edx, eax
test ax, ax
je 0x442461
nop dword [eax]
mov word [ecx], ax
lea esi, [esi + 2]
movzx eax, word [esi]
add ecx, 2
test ax, ax
jne 0x442450
mov eax, 0x2e
mov word [ecx], ax
lea edi, [edi + 2]
movzx eax, word [edi]
lea ecx, [ecx + 2]
test ax, ax
jne 0x442466
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.00489f13
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 + 0x4c1f28], 0
jne 0x4424b2
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.0048a2cb
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x78]
xor ecx, ecx
mov dword [ebp - 0x7c], edx
test eax, eax
jle 0x442507
nop dword [eax]
mov ax, word [ecx*2 + 0x4c1f28]
mov word [edx + ecx*2], ax
inc ecx
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
cmp ecx, eax
jl 0x4424f0
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 0x442535
push 2
call fcn.0048a2cb
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 0x44255b
test esi, esi
jne 0x4426ed
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 0x4426f7
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 0x4425a3
push eax
call fcn.00489f13
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4425b0
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 0x4c2df8
mov edx, dword [eax + 0x138]
mov ecx, dword [eax + 0x130]
call fcn.0041a920
test al, al
jne 0x4425e5
mov edi, 0xfffffff4
jmp 0x4422a9
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 0x44264f
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 0x44264f
cmp word [ebp - 0x4c], 8
jne 0x442634
push dword [ebp - 0x44]
call fcn.0048e09c
add esp, 4
mov esi, eax
jmp 0x442637
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
push eax
call edi
test esi, esi
je 0x442659
mov edi, 0xfffffff4
jmp 0x4422a9
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
push eax
call edi
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x442666
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 0x4c2038
mov dword [ebp - 0x28], 0
call fcn.0041a920
push ecx
push 0x4c2e30
lea ecx, [ebx + 0x5b0]
call fcn.00419f00
mov edi, 1
jmp 0x4422a9
xor edi, edi
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x4426bb
push eax
call fcn.00489f13
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.00489f05
mov esp, ebp
pop ebp
ret 4
push eax
call fcn.00489ba0
push eax
call fcn.00489ba0
push eax
call fcn.00489ba0
push 0x8007000e
call fcn.00489ba0
push eax
call fcn.00489ba0
int3