Function at 0x40da08
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffce8
push ebx
push esi
push edi
mov dword [ebp - 0x1ac], eax
mov eax, 0x7cce8c
call fcn.007b7c14
mov word [ebp - 0x198], 0xc
mov esi, 0x7cc084
lea edi, [ebp - 0x26c]
mov ecx, 0x2a
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov word [ebp - 0x198], 0xc
mov dl, 1
mov eax, dword [0x473f5c]
call fcn.00475ff0
mov dword [ebp - 0x1b4], eax
mov word [ebp - 0x198], 0x24
mov edx, reloc.WSOCK32.DLL_bind
mov eax, dword [ebp - 0x1b4]
call fcn.004760d8
mov word [ebp - 0x198], 0x30
mov edx, str.MSSQLServer
lea eax, [ebp - 0xc]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x18c]
inc dword [ebp - 0x18c]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
call fcn.00402e20
inc dword [ebp - 0x18c]
lea ecx, [ebp - 8]
inc dword [ebp - 0x18c]
mov edx, dword [ebp - 0x1ac]
add edx, 0x28
mov eax, 0x7cc1cf
call fcn.0040b3a4
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x10]
call fcn.00402e20
inc dword [ebp - 0x18c]
lea ecx, [ebp - 0x10]
inc dword [ebp - 0x18c]
pop eax
pop edx
call fcn.00402e50
xor ecx, ecx
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x14]
call fcn.0044987c
lea ecx, [ebp - 0x14]
inc dword [ebp - 0x18c]
mov edx, dword [ecx]
mov cl, 1
mov eax, dword [ebp - 0x1b4]
call fcn.00476220
push eax
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.007c633c
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 8]
mov edx, 2
call fcn.00402554
pop ecx
test cl, cl
je 0x40df11
mov word [ebp - 0x198], 0x3c
mov edx, str.AuditLevel
lea eax, [ebp - 0x18]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [ebp - 0x1b4]
call fcn.00476e04
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.007c633c
mov edx, str.guest
lea eax, [ebp - 0x20]
call fcn.007c61ac
inc dword [ebp - 0x18c]
push dword [eax]
mov word [ebp - 0x198], 0x48
mov edx, str.DefaultLogin
lea eax, [ebp - 0x1c]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b4]
pop ecx
call fcn.00476b34
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.007c633c
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.007c633c
push 0x11
push str.SSMSSH70
push 7
push 0
push str.ListenOn
mov ecx, dword [ebp - 0x1b4]
push dword [ecx + 4]
call sub.ADVAPI32.DLL_RegSetValueExA
mov word [ebp - 0x198], 0x54
mov edx, str.LoginMode
lea eax, [ebp - 0x24]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [ebp - 0x1b4]
call fcn.00476e04
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.007c633c
mov edx, 0x7cc24e
lea eax, [ebp - 0x2c]
call fcn.007c61ac
inc dword [ebp - 0x18c]
push dword [eax]
mov word [ebp - 0x198], 0x60
mov edx, str.Map
lea eax, [ebp - 0x28]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b4]
pop ecx
call fcn.00476b34
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.007c633c
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.007c633c
mov edx, 0x7cc255
lea eax, [ebp - 0x34]
call fcn.007c61ac
inc dword [ebp - 0x18c]
push dword [eax]
mov word [ebp - 0x198], 0x6c
mov edx, 0x7cc250
lea eax, [ebp - 0x30]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b4]
pop ecx
call fcn.00476b34
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.007c633c
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.007c633c
mov edx, 0x7cc25b
lea eax, [ebp - 0x3c]
call fcn.007c61ac
inc dword [ebp - 0x18c]
push dword [eax]
mov word [ebp - 0x198], 0x78
mov edx, str.Map_
lea eax, [ebp - 0x38]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b4]
pop ecx
call fcn.00476b34
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.007c633c
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.007c633c
mov edx, str.766F4147_67D0_4FC5_8D28_A43BE7829D53
lea eax, [ebp - 0x44]
call fcn.007c61ac
inc dword [ebp - 0x18c]
push dword [eax]
mov word [ebp - 0x198], 0x84
mov edx, str.ResourceMgrID
lea eax, [ebp - 0x40]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b4]
pop ecx
call fcn.00476b34
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.007c633c
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.007c633c
mov word [ebp - 0x198], 0x90
mov edx, str.SetHostName
lea eax, [ebp - 0x48]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [ebp - 0x1b4]
call fcn.00476e04
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.007c633c
mov word [ebp - 0x198], 0x9c
mov edx, str.Tapeloadwaittime
lea eax, [ebp - 0x4c]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
or ecx, 0xffffffff
mov eax, dword [ebp - 0x1b4]
call fcn.00476e04
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.007c633c
mov word [ebp - 0x198], 0xa8
mov edx, str.uptime_pid
lea eax, [ebp - 0x50]
call fcn.007c61ac
inc dword [ebp - 0x18c]
push dword [eax]
call sub.KERNEL32.DLL_GetCurrentProcessId
mov ecx, eax
mov eax, dword [ebp - 0x1b4]
pop edx
call fcn.00476e04
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.007c633c
add esp, 0xfffffff8
call fcn.004a64d8
fstp qword [esp]
mov word [ebp - 0x198], 0xb4
mov edx, str.uptime_time_utc
lea eax, [ebp - 0x54]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b4]
call fcn.00476efc
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.007c633c
mov eax, dword [ebp - 0x1b4]
call fcn.004760a8
mov word [ebp - 0x198], 0xc0
mov edx, str.MSSQLServerCurrentVersion
lea eax, [ebp - 0x5c]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x18c]
inc dword [ebp - 0x18c]
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x58]
call fcn.00402e20
inc dword [ebp - 0x18c]
lea ecx, [ebp - 0x58]
inc dword [ebp - 0x18c]
mov edx, dword [ebp - 0x1ac]
add edx, 0x28
mov eax, 0x7cc2ca
call fcn.0040b3a4
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x60]
call fcn.00402e20
inc dword [ebp - 0x18c]
lea ecx, [ebp - 0x60]
inc dword [ebp - 0x18c]
pop eax
pop edx
call fcn.00402e50
xor ecx, ecx
mov dword [ebp - 0x64], ecx
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x64]
call fcn.0044987c
lea ecx, [ebp - 0x64]
inc dword [ebp - 0x18c]
mov edx, dword [ecx]
mov cl, 1
mov eax, dword [ebp - 0x1b4]
call fcn.00476220
push eax
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.007c633c
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.00402554
pop ecx
test cl, cl
je 0x40e290
xor eax, eax
mov dword [ebp - 0x1b0], eax
mov edx, dword [ebp - 0x1b0]
mov cl, byte [ebp + edx - 0x26c]
mov ebx, dword [ebp - 0x1b0]
mov byte [ebp + ebx - 0x318], cl
inc dword [ebp - 0x1b0]
cmp dword [ebp - 0x1b0], 0xab
jl 0x40e00e
push 0xab
mov word [ebp - 0x198], 0xcc
mov edx, str.checksum
lea eax, [ebp - 0x68]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
lea ecx, [ebp - 0x318]
mov eax, dword [ebp - 0x1b4]
call fcn.00476f94
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.007c633c
mov edx, str.8.00.2039
lea eax, [ebp - 0x70]
call fcn.007c61ac
inc dword [ebp - 0x18c]
push dword [eax]
mov word [ebp - 0x198], 0xd8
mov edx, str.CSDVersion
lea eax, [ebp - 0x6c]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b4]
pop ecx
call fcn.00476b34
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.007c633c
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.007c633c
mov word [ebp - 0x198], 0xe4
mov edx, str.CSDVersionNumber
lea eax, [ebp - 0x74]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov ecx, 0x400
mov eax, dword [ebp - 0x1b4]
call fcn.00476e04
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.007c633c
mov edx, str.8.00.194
lea eax, [ebp - 0x7c]
call fcn.007c61ac
inc dword [ebp - 0x18c]
push dword [eax]
mov word [ebp - 0x198], 0xf0
mov edx, str.CurrentVersion
lea eax, [ebp - 0x78]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b4]
pop ecx
call fcn.00476b34
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.007c633c
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.007c633c
mov word [ebp - 0x198], 0xfc
mov edx, str.Language
lea eax, [ebp - 0x80]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov ecx, 0x7e9
mov eax, dword [ebp - 0x1b4]
call fcn.00476e04
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.007c633c
mov edx, str.TRACKS
lea eax, [ebp - 0x88]
call fcn.007c61ac
inc dword [ebp - 0x18c]
push dword [eax]
mov word [ebp - 0x198], 0x108
mov edx, str.RegisteredOwner
lea eax, [ebp - 0x84]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b4]
pop ecx
call fcn.00476b34
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x88]
mov edx, 2
call fcn.007c633c
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.007c633c
mov word [ebp - 0x198], 0x114
mov edx, str.SerialNumber
lea eax, [ebp - 0x8c]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov ecx, 0x81910040
mov eax, dword [ebp - 0x1b4]
call fcn.00476e04
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.007c633c
mov eax, dword [ebp - 0x1b4]
call fcn.004760a8
mov word [ebp - 0x198], 0x120
mov edx, str.MSSQLServerParameters
lea eax, [ebp - 0x94]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x18c]
inc dword [ebp - 0x18c]
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x90]
call fcn.00402e20
inc dword [ebp - 0x18c]
lea ecx, [ebp - 0x90]
inc dword [ebp - 0x18c]
mov edx, dword [ebp - 0x1ac]
add edx, 0x28
mov eax, 0x7cc384
call fcn.0040b3a4
lea edx, [ebp - 0x90]
push edx
lea eax, [ebp - 0x98]
call fcn.00402e20
inc dword [ebp - 0x18c]
lea ecx, [ebp - 0x98]
inc dword [ebp - 0x18c]
pop eax
pop edx
call fcn.00402e50
xor ecx, ecx
mov dword [ebp - 0x9c], ecx
lea edx, [ebp - 0x98]
lea eax, [ebp - 0x9c]
call fcn.0044987c
lea ecx, [ebp - 0x9c]
inc dword [ebp - 0x18c]
mov edx, dword [ecx]
mov cl, 1
mov eax, dword [ebp - 0x1b4]
call fcn.00476220
push eax
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x9c]
mov edx, 2
call fcn.007c633c
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0x98]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0x90]
mov edx, 2
call fcn.00402554
pop ecx
test cl, cl
je 0x40e612
lea eax, [ebp - 0xa4]
call fcn.00402e20
inc dword [ebp - 0x18c]
lea ecx, [ebp - 0xa4]
inc dword [ebp - 0x18c]
mov edx, dword [ebp - 0x1ac]
add edx, 0xc
mov eax, 0x7cc3ce
call fcn.0040b3a4
xor edx, edx
mov dword [ebp - 0xa8], edx
lea edx, [ebp - 0xa4]
lea eax, [ebp - 0xa8]
call fcn.0044987c
lea ecx, [ebp - 0xa8]
inc dword [ebp - 0x18c]
push dword [ecx]
mov word [ebp - 0x198], 0x12c
mov edx, str.SQLArg0
lea eax, [ebp - 0xa0]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b4]
pop ecx
call fcn.00476b34
dec dword [ebp - 0x18c]
lea eax, [ebp - 0xa8]
mov edx, 2
call fcn.007c633c
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0xa4]
mov edx, 2
call fcn.00402554
dec dword [ebp - 0x18c]
lea eax, [ebp - 0xa0]
mov edx, 2
call fcn.007c633c
lea eax, [ebp - 0xb0]
call fcn.00402e20
inc dword [ebp - 0x18c]
lea ecx, [ebp - 0xb0]
inc dword [ebp - 0x18c]
mov edx, dword [ebp - 0x1ac]
add edx, 0x10
mov eax, 0x7cc3d9
call fcn.0040b3a4
xor edx, edx
mov dword [ebp - 0xb4], edx
lea edx, [ebp - 0xb0]
lea eax, [ebp - 0xb4]
call fcn.0044987c
lea ecx, [ebp - 0xb4]
inc dword [ebp - 0x18c]
push dword [ecx]
mov word [ebp - 0x198], 0x138
mov edx, str.SQLArg1
lea eax, [ebp - 0xac]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b4]
pop ecx
call fcn.00476b34
dec dword [ebp - 0x18c]
lea eax, [ebp - 0xb4]
mov edx, 2
call fcn.007c633c
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0xb0]
mov edx, 2
call fcn.00402554
dec dword [ebp - 0x18c]
lea eax, [ebp - 0xac]
mov edx, 2
call fcn.007c633c
lea eax, [ebp - 0xbc]
call fcn.00402e20
inc dword [ebp - 0x18c]
lea ecx, [ebp - 0xbc]
inc dword [ebp - 0x18c]
mov edx, dword [ebp - 0x1ac]
add edx, 8
mov eax, 0x7cc3e4
call fcn.0040b3a4
xor edx, edx
mov dword [ebp - 0xc0], edx
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0xc0]
call fcn.0044987c
lea ecx, [ebp - 0xc0]
inc dword [ebp - 0x18c]
push dword [ecx]
mov word [ebp - 0x198], 0x144
mov edx, str.SQLArg2
lea eax, [ebp - 0xb8]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b4]
pop ecx
call fcn.00476b34
dec dword [ebp - 0x18c]
lea eax, [ebp - 0xc0]
mov edx, 2
call fcn.007c633c
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0xbc]
mov edx, 2
call fcn.00402554
dec dword [ebp - 0x18c]
lea eax, [ebp - 0xb8]
mov edx, 2
call fcn.007c633c
mov eax, dword [ebp - 0x1b4]
call fcn.004760a8
mov word [ebp - 0x198], 0x150
mov edx, str.MSSQLServerSuperSocketNetLib
lea eax, [ebp - 0xc8]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x18c]
inc dword [ebp - 0x18c]
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0xc4]
call fcn.00402e20
inc dword [ebp - 0x18c]
lea ecx, [ebp - 0xc4]
inc dword [ebp - 0x18c]
mov edx, dword [ebp - 0x1ac]
add edx, 0x28
mov eax, 0x7cc3e7
call fcn.0040b3a4
lea edx, [ebp - 0xc4]
push edx
lea eax, [ebp - 0xcc]
call fcn.00402e20
inc dword [ebp - 0x18c]
lea ecx, [ebp - 0xcc]
inc dword [ebp - 0x18c]
pop eax
pop edx
call fcn.00402e50
xor ecx, ecx
mov dword [ebp - 0xd0], ecx
lea edx, [ebp - 0xcc]
lea eax, [ebp - 0xd0]
call fcn.0044987c
lea ecx, [ebp - 0xd0]
inc dword [ebp - 0x18c]
mov edx, dword [ecx]
mov cl, 1
mov eax, dword [ebp - 0x1b4]
call fcn.00476220
push eax
dec dword [ebp - 0x18c]
lea eax, [ebp - 0xd0]
mov edx, 2
call fcn.007c633c
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0xcc]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0xc8]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0xc4]
mov edx, 2
call fcn.00402554
pop ecx
test cl, cl
je 0x40edd9
mov word [ebp - 0x198], 0x15c
mov edx, str.Encrypt
lea eax, [ebp - 0xd4]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [ebp - 0x1b4]
call fcn.00476e04
dec dword [ebp - 0x18c]
lea eax, [ebp - 0xd4]
mov edx, 2
call fcn.007c633c
push 6
push 0x7cc445
push 7
push 0
push str.ProtocolList
mov ecx, dword [ebp - 0x1b4]
push dword [ecx + 4]
call sub.ADVAPI32.DLL_RegSetValueExA
mov word [ebp - 0x198], 0x168
mov edx, str.MSSQLServerSuperSocketNetLibLpc
lea eax, [ebp - 0xdc]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x18c]
inc dword [ebp - 0x18c]
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xd8]
call fcn.00402e20
inc dword [ebp - 0x18c]
lea ecx, [ebp - 0xd8]
inc dword [ebp - 0x18c]
mov edx, dword [ebp - 0x1ac]
add edx, 0x28
mov eax, 0x7cc44c
call fcn.0040b3a4
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0xe0]
call fcn.00402e20
inc dword [ebp - 0x18c]
lea ecx, [ebp - 0xe0]
inc dword [ebp - 0x18c]
pop eax
pop edx
call fcn.00402e50
xor ecx, ecx
mov dword [ebp - 0xe4], ecx
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0xe4]
call fcn.0044987c
lea ecx, [ebp - 0xe4]
inc dword [ebp - 0x18c]
mov edx, dword [ecx]
mov cl, 1
mov eax, dword [ebp - 0x1b4]
call fcn.00476220
push eax
dec dword [ebp - 0x18c]
lea eax, [ebp - 0xe4]
mov edx, 2
call fcn.007c633c
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0xe0]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0xdc]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0xd8]
mov edx, 2
call fcn.00402554
pop ecx
test cl, cl
je 0x40e8fb
mov word [ebp - 0x198], 0x174
mov edx, str.LPCVersion
lea eax, [ebp - 0xe8]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov ecx, 0x80007f7
mov eax, dword [ebp - 0x1b4]
call fcn.00476e04
dec dword [ebp - 0x18c]
lea eax, [ebp - 0xe8]
mov edx, 2
call fcn.007c633c
mov word [ebp - 0x198], 0x180
mov edx, str.MSSQLServerSuperSocketNetLibNp
lea eax, [ebp - 0xf0]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x18c]
inc dword [ebp - 0x18c]
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xec]
call fcn.00402e20
inc dword [ebp - 0x18c]
lea ecx, [ebp - 0xec]
inc dword [ebp - 0x18c]
mov edx, dword [ebp - 0x1ac]
add edx, 0x28
mov eax, 0x7cc4a4
call fcn.0040b3a4
lea edx, [ebp - 0xec]
push edx
lea eax, [ebp - 0xf4]
call fcn.00402e20
inc dword [ebp - 0x18c]
lea ecx, [ebp - 0xf4]
inc dword [ebp - 0x18c]
pop eax
pop edx
call fcn.00402e50
xor ecx, ecx
mov dword [ebp - 0xf8], ecx
lea edx, [ebp - 0xf4]
lea eax, [ebp - 0xf8]
call fcn.0044987c
lea ecx, [ebp - 0xf8]
inc dword [ebp - 0x18c]
mov edx, dword [ecx]
mov cl, 1
mov eax, dword [ebp - 0x1b4]
call fcn.00476220
push eax
dec dword [ebp - 0x18c]
lea eax, [ebp - 0xf8]
mov edx, 2
call fcn.007c633c
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0xf4]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0xf0]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0xec]
mov edx, 2
call fcn.00402554
pop ecx
test cl, cl
je 0x40eb62
mov edx, str._sqlquery
lea eax, [ebp - 0x104]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x18c]
inc dword [ebp - 0x18c]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x100]
call fcn.00402e20
inc dword [ebp - 0x18c]
lea ecx, [ebp - 0x100]
inc dword [ebp - 0x18c]
mov edx, dword [ebp - 0x1ac]
add edx, 0x28
mov eax, str..pipeMSSQL_
call fcn.0040b3a4
lea edx, [ebp - 0x100]
push edx
lea eax, [ebp - 0x108]
call fcn.00402e20
inc dword [ebp - 0x18c]
lea ecx, [ebp - 0x108]
inc dword [ebp - 0x18c]
pop eax
pop edx
call fcn.00402e50
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x10c]
call fcn.0044987c
lea ecx, [ebp - 0x10c]
inc dword [ebp - 0x18c]
push dword [ecx]
mov word [ebp - 0x198], 0x18c
mov edx, str.PipeName
lea eax, [ebp - 0xfc]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b4]
pop ecx
call fcn.00476b34
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.007c633c
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0x108]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0x104]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0x100]
mov edx, 2
call fcn.00402554
dec dword [ebp - 0x18c]
lea eax, [ebp - 0xfc]
mov edx, 2
call fcn.007c633c
mov word [ebp - 0x198], 0x198
mov edx, str.MSSQLServerSuperSocketNetLibTcp
lea eax, [ebp - 0x114]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x18c]
inc dword [ebp - 0x18c]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x110]
call fcn.00402e20
inc dword [ebp - 0x18c]
lea ecx, [ebp - 0x110]
inc dword [ebp - 0x18c]
mov edx, dword [ebp - 0x1ac]
add edx, 0x28
mov eax, 0x7cc514
call fcn.0040b3a4
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x118]
call fcn.00402e20
inc dword [ebp - 0x18c]
lea ecx, [ebp - 0x118]
inc dword [ebp - 0x18c]
pop eax
pop edx
call fcn.00402e50
xor ecx, ecx
mov dword [ebp - 0x11c], ecx
lea edx, [ebp - 0x118]
lea eax, [ebp - 0x11c]
call fcn.0044987c
lea ecx, [ebp - 0x11c]
inc dword [ebp - 0x18c]
mov edx, dword [ecx]
mov cl, 1
mov eax, dword [ebp - 0x1b4]
call fcn.00476220
push eax
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x11c]
mov edx, 2
call fcn.007c633c
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0x118]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0x114]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0x110]
mov edx, 2
call fcn.00402554
pop ecx
test cl, cl
je 0x40edce
xor eax, eax
mov dword [ebp - 0x124], eax
lea edx, [ebp - 0x124]
inc dword [ebp - 0x18c]
mov ecx, dword [ebp - 0x1ac]
mov eax, dword [ecx + 0x24]
call fcn.004a352c
lea edx, [ebp - 0x124]
push dword [edx]
mov word [ebp - 0x198], 0x1a4
mov edx, str.TcpDynamicPorts
lea eax, [ebp - 0x120]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b4]
pop ecx
call fcn.00476b34
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x124]
mov edx, 2
call fcn.007c633c
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x120]
mov edx, 2
call fcn.007c633c
mov word [ebp - 0x198], 0x1b0
mov edx, str.TcpHideFlag
lea eax, [ebp - 0x128]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [ebp - 0x1b4]
call fcn.00476e04
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x128]
mov edx, 2
call fcn.007c633c
xor ecx, ecx
mov dword [ebp - 0x130], ecx
lea edx, [ebp - 0x130]
inc dword [ebp - 0x18c]
mov eax, dword [ebp - 0x1ac]
mov eax, dword [eax + 0x24]
call fcn.004a352c
lea edx, [ebp - 0x130]
push dword [edx]
mov word [ebp - 0x198], 0x1bc
mov edx, str.TcpPort
lea eax, [ebp - 0x12c]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b4]
pop ecx
call fcn.00476b34
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x130]
mov edx, 2
call fcn.007c633c
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x12c]
mov edx, 2
call fcn.007c633c
mov eax, dword [ebp - 0x1b4]
call fcn.004760a8
mov word [ebp - 0x198], 0x1c8
mov edx, str.Setup
lea eax, [ebp - 0x138]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x18c]
inc dword [ebp - 0x18c]
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0x134]
call fcn.00402e20
inc dword [ebp - 0x18c]
lea ecx, [ebp - 0x134]
inc dword [ebp - 0x18c]
mov edx, dword [ebp - 0x1ac]
add edx, 0x28
mov eax, str.SOFTWAREMicrosoftMicrosoft_SQL_Server_
call fcn.0040b3a4
lea edx, [ebp - 0x134]
push edx
lea eax, [ebp - 0x13c]
call fcn.00402e20
inc dword [ebp - 0x18c]
lea ecx, [ebp - 0x13c]
inc dword [ebp - 0x18c]
pop eax
pop edx
call fcn.00402e50
xor ecx, ecx
mov dword [ebp - 0x140], ecx
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0x140]
call fcn.0044987c
lea ecx, [ebp - 0x140]
inc dword [ebp - 0x18c]
mov edx, dword [ecx]
mov cl, 1
mov eax, dword [ebp - 0x1b4]
call fcn.00476220
push eax
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x140]
mov edx, 2
call fcn.007c633c
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0x13c]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0x138]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x18c], 2
lea eax, [ebp - 0x134]
mov edx, 2
call fcn.00402554
pop ecx
test cl, cl
je 0x40f221
mov edx, str.Enterprise_Edition
lea eax, [ebp - 0x148]
call fcn.007c61ac
inc dword [ebp - 0x18c]
push dword [eax]
mov word [ebp - 0x198], 0x1d4
mov edx, str.Edition
lea eax, [ebp - 0x144]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b4]
pop ecx
call fcn.00476b34
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x148]
mov edx, 2
call fcn.007c633c
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x144]
mov edx, 2
call fcn.007c633c
mov edx, str.SqlRun
lea eax, [ebp - 0x150]
call fcn.007c61ac
inc dword [ebp - 0x18c]
push dword [eax]
mov word [ebp - 0x198], 0x1e0
mov edx, str.FeatureName
lea eax, [ebp - 0x14c]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b4]
pop ecx
call fcn.00476b34
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x150]
mov edx, 2
call fcn.007c633c
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x14c]
mov edx, 2
call fcn.007c633c
mov word [ebp - 0x198], 0x1ec
mov edx, str.FirstStart
lea eax, [ebp - 0x154]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [ebp - 0x1b4]
call fcn.00476e04
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x154]
mov edx, 2
call fcn.007c633c
mov edx, str.8.4.2039
lea eax, [ebp - 0x15c]
call fcn.007c61ac
inc dword [ebp - 0x18c]
push dword [eax]
mov word [ebp - 0x198], 0x1f8
mov edx, str.PatchLevel
lea eax, [ebp - 0x158]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b4]
pop ecx
call fcn.00476b34
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x15c]
mov edx, 2
call fcn.007c633c
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x158]
mov edx, 2
call fcn.007c633c
mov edx, str.E09B48B5_E141_427A_AB0C_D3605127224A
lea eax, [ebp - 0x164]
call fcn.007c61ac
inc dword [ebp - 0x18c]
push dword [eax]
mov word [ebp - 0x198], 0x204
mov edx, str.ProductCode
lea eax, [ebp - 0x160]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b4]
pop ecx
call fcn.00476b34
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x164]
mov edx, 2
call fcn.007c633c
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x160]
mov edx, 2
call fcn.007c633c
mov ecx, dword [ebp - 0x1ac]
add ecx, 4
mov dword [ebp - 0x1b8], ecx
xor eax, eax
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x16c]
mov edx, dword [ebp - 0x1b8]
call fcn.0044987c
lea ecx, [ebp - 0x16c]
inc dword [ebp - 0x18c]
push dword [ecx]
mov word [ebp - 0x198], 0x210
mov edx, str.SQLDataRoot
lea eax, [ebp - 0x168]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b4]
pop ecx
call fcn.00476b34
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x16c]
mov edx, 2
call fcn.007c633c
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x168]
mov edx, 2
call fcn.007c633c
mov ecx, dword [ebp - 0x1ac]
add ecx, 4
mov dword [ebp - 0x1bc], ecx
xor eax, eax
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x174]
mov edx, dword [ebp - 0x1bc]
call fcn.0044987c
lea ecx, [ebp - 0x174]
inc dword [ebp - 0x18c]
push dword [ecx]
mov word [ebp - 0x198], 0x21c
mov edx, str.SQLPath
lea eax, [ebp - 0x170]
call fcn.007c61ac
inc dword [ebp - 0x18c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1b4]
pop ecx
call fcn.00476b34
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x174]
mov edx, 2
call fcn.007c633c
dec dword [ebp - 0x18c]
lea eax, [ebp - 0x170]
mov edx, 2
call fcn.007c633c
mov word [ebp - 0x198], 0xc
mov word [ebp - 0x198], 0xc
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x17c], ecx
cmp dword [ebp - 0x17c], 0
je 0x40f278
mov eax, dword [ebp - 0x17c]
mov edx, dword [eax]
mov dword [ebp - 0x178], edx
mov word [ebp - 0x198], 0x240
mov edx, 3
mov eax, dword [ebp - 0x17c]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x198], 0x228
cmp word [ebp - 0x196], 0
je 0x40f283
ret
mov word [ebp - 0x198], 0
jmp 0x40f33f
mov eax, dword [ebp - 0x1a8]
mov dword fs:[0], eax
mov edi, dword [ebp - 0x324]
mov esi, dword [ebp - 0x320]
mov ebx, dword [ebp - 0x31c]
mov esp, ebp
pop ebp
ret