Function at 0x418961
Capabilities:
Enumerate services
Query service configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 0xc
call fcn.00438bd6
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
add ebx, 8
push ebx
push 0x24
call fcn.00438bd6
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 9
rep stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
push 0x24
call fcn.00438bd6
add esp, 4
mov dword [ebp - 0x34], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 9
rep stosd dword es:[edi], eax
mov dword [ebp - 0x38], 0
push 0x41018d11
push 0
push dword [ebp + 0xc]
push 1
mov ebx, 0x8c4
call fcn.0043c150
add esp, 0x10
mov dword [ebp - 0x3c], esp
push SysReAllocString
push 0
push 0
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x418a6e
push 6
call fcn.00438bca
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x419aa2
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0043a680
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], esp
push dword [ebp - 0x3c]
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push dword [ebp + 8]
push 0x30
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusExA]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x418ae3
push 6
call fcn.00438bca
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x418af3
push ebx
call fcn.00438be2
add esp, 4
mov dword [ebp - 0x3c], esp
push dword [ebp - 8]
push 0x40
xor eax, eax
call dword [0xa7d2c3]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x418b1a
push 6
call fcn.00438bca
add esp, 4
mov dword [ebp - 0x14], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0043a680
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], esp
push dword [ebp - 0x3c]
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0x14]
push dword [ebp + 8]
push 0x30
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusExA]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x418b81
push 6
call fcn.00438bca
add esp, 4
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x418b94
push ebx
call fcn.00438be2
add esp, 4
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x419a5e
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0xc]
cmp eax, 0
jge 0x418bc0
push 0xa
call fcn.00438bca
add esp, 4
mov dword [ebp - 0x3c], eax
lea ebx, [ebp - 0x40]
call fcn.004010c7
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.00438bd6
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x3c]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.004010c7
pop edx
test ecx, ecx
je 0x418ca7
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x418c18
push ebx
call fcn.00438be2
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x418c2c
push ebx
call fcn.00438be2
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x418c40
push ebx
call fcn.00438be2
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x418c54
push ebx
call fcn.00438be2
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x418c68
push ebx
call fcn.00438be2
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x418c7c
push ebx
call fcn.00438be2
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x418c90
push ebx
call fcn.00438be2
add esp, 4
pop ebx
call fcn.00438be2
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x418c03
pop edx
pop edi
test edx, edx
je 0x418cd9
mov ebx, edi
push edx
push ebx
push 0x20
call fcn.00438bd6
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
pop ebx
pop edx
add ebx, 4
dec edx
jne 0x418cb1
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00438be2
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fsub qword [0x46c3e1]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ed7
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x419a5b
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [0x7aab95]
fstp qword [ebp - 0x48]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fadd qword [ebp - 0x48]
fstp qword [ebp - 0x58]
push 0x80000301
push 0
push 0x2c
fld qword [ebp - 0x58]
call fcn.00402ed7
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x910
call fcn.0043c200
add esp, 0x1c
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x418d85
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], esp
push 0x2c
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x418d9b
add eax, 8
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0x2c
call fcn.00438bd6
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
xor eax, eax
call dword [0xa7d2c7]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x418e48
push 6
call fcn.00438bca
add esp, 4
push eax
mov ebx, dword [ebp - 0x40]
push ebx
mov edi, dword [ebp - 0x44]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 0x24
pop edi
add edi, 4
call fcn.00438be2
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.004010c7
push ebx
push ecx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x46c3e1]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ed7
dec eax
jns 0x418f0c
push 4
call fcn.00438bca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x418f1f
push 1
call fcn.00438bca
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x50], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x50]
push dword [ebx]
push 1
mov ebx, 0x90c
call fcn.0043c250
add esp, 0x10
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x418f66
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.004010c7
push ebx
push ecx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x46c3e1]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ed7
dec eax
jns 0x418fa2
push 4
call fcn.00438bca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x418fb5
push 1
call fcn.00438bca
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x24]
add ebx, 4
mov dword [ebp - 0x50], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x50]
push dword [ebx]
push 1
mov ebx, 0x90c
call fcn.0043c250
add esp, 0x10
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x419002
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.004010c7
push ebx
push ecx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x46c3e1]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ed7
dec eax
jns 0x41903e
push 4
call fcn.00438bca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x419051
push 1
call fcn.00438bca
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx + 8]
add ebx, 0x1c
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
push 1
mov ebx, 0x90c
call fcn.0043c250
add esp, 0x10
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esp
push 0xf01ff
push dword [ebp - 0x40]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
nop
nop
cmp dword [ebp - 0x44], esp
je 0x4190c5
push 6
call fcn.00438bca
add esp, 4
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4190d8
push ebx
call fcn.00438be2
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x3c], esp
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push dword [ebp - 0x28]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x41910e
push 6
call fcn.00438bca
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x2c]
push 0x40
xor eax, eax
call dword [0xa7d2c3]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x419138
push 6
call fcn.00438bca
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], esp
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x28]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x419167
push 6
call fcn.00438bca
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x419a30
mov dword [ebp - 0x3c], esp
push 0x24
push dword [ebp - 0x30]
push dword [ebp - 0x34]
xor eax, eax
call dword [0xa7d2cb]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x41919e
push 6
call fcn.00438bca
add esp, 4
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.004010c7
push ebx
push ecx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x46c3e1]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ed7
dec eax
jns 0x4191d4
push 4
call fcn.00438bca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4191e7
push 1
call fcn.00438bca
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x50], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x50]
push dword [ebx]
push 1
mov ebx, 0x90c
call fcn.0043c250
add esp, 0x10
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.00419afa
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x419237
push ebx
call fcn.00438be2
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41924d
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.004010c7
push ebx
push ecx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x46c3e1]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ed7
dec eax
jns 0x419289
push 4
call fcn.00438bca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41929c
push 1
call fcn.00438bca
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx + 8]
add ebx, 4
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
push dword [ebx]
call fcn.00419db8
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4192d8
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.004010c7
push ebx
push ecx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x46c3e1]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ed7
dec eax
jns 0x419314
push 4
call fcn.00438bca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x419327
push 1
call fcn.00438bca
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x34]
add ebx, 0xc
mov dword [ebp - 0x50], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x50]
push dword [ebx]
push 1
mov ebx, 0x90c
call fcn.0043c250
add esp, 0x10
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x419374
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x34]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
cmp dword [ebx], 2
jne 0x4193ab
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx + 8]
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x44]
cmp dword [ebx], 0x20
jne 0x4193ab
mov eax, 1
jmp 0x4193b0
mov eax, 0
test eax, eax
je 0x419431
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.004010c7
push ebx
push ecx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x46c3e1]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ed7
dec eax
jns 0x4193ee
push 4
call fcn.00438bca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x419401
push 1
call fcn.00438bca
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x4c], ebx
mov eax, 0x7aab9d
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x419426
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x4195ff
mov ebx, dword [ebp - 0x34]
add ebx, 4
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
cmp dword [ebx], 2
jne 0x419462
mov ebx, dword [ebp - 0x24]
mov ebx, dword [ebx + 8]
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
cmp dword [ebx], 0x10
jne 0x419462
mov eax, 1
jmp 0x419467
mov eax, 0
test eax, eax
je 0x4194e8
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.004010c7
push ebx
push ecx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x46c3e1]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ed7
dec eax
jns 0x4194a5
push 4
call fcn.00438bca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4194b8
push 1
call fcn.00438bca
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x4c], ebx
mov eax, 0x7aaba2
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4194dd
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x4195ff
mov ebx, dword [ebp - 0x34]
add ebx, 4
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
cmp dword [ebx], 3
jne 0x419576
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.004010c7
push ebx
push ecx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x46c3e1]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ed7
dec eax
jns 0x419533
push 4
call fcn.00438bca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x419546
push 1
call fcn.00438bca
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x4c], ebx
mov eax, 0x7aabb1
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41956b
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x4195ff
mov ebx, dword [ebp - 0x34]
add ebx, 4
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
cmp dword [ebx], 4
jne 0x4195ff
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.004010c7
push ebx
push ecx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x46c3e1]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ed7
dec eax
jns 0x4195c1
push 4
call fcn.00438bca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4195d4
push 1
call fcn.00438bca
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x4c], ebx
mov eax, 0x7aabb6
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4195f9
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x34]
add ebx, 0x1c
mov dword [ebp - 0x3c], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
push 1
mov ebx, 0x90c
call fcn.0043c250
add esp, 0x10
mov dword [ebp - 0x40], eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x41963c
mov eax, 0x46c300
push eax
push 1
mov ebx, 0x150
call fcn.0043c2a0
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x419662
push ebx
call fcn.00438be2
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x419676
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
push reloc.WSOCK32.dll_connect
push 0
push str.LocalService
push 1
mov ebx, 0x150
call fcn.0043c2a0
add esp, 0x10
mov dword [ebp - 0x3c], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x4196c0
mov eax, 0x46c300
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x4196d4
mov eax, 0x46c300
push eax
push 4
mov ebx, 0x148
call fcn.0043ab70
add esp, 0x34
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4196fa
push ebx
call fcn.00438be2
add esp, 4
cmp dword [ebp - 0x40], 0xffffffff
je 0x41977d
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.004010c7
push ebx
push ecx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x46c3e1]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ed7
dec eax
jns 0x41973a
push 4
call fcn.00438bca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41974d
push 1
call fcn.00438bca
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x4c], ebx
mov eax, 0x7aabc8
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x419772
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x419a0e
push reloc.WSOCK32.dll_connect
push 0
push str.NetworkService
push 1
mov ebx, 0x150
call fcn.0043c2a0
add esp, 0x10
mov dword [ebp - 0x50], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x4197c3
mov eax, 0x46c300
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x4197d7
mov eax, 0x46c300
push eax
push 4
mov ebx, 0x148
call fcn.0043ab70
add esp, 0x34
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4197fd
push ebx
call fcn.00438be2
add esp, 4
cmp dword [ebp - 0x54], 0xffffffff
je 0x419880
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.004010c7
push ebx
push ecx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x46c3e1]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ed7
dec eax
jns 0x41983d
push 4
call fcn.00438bca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x419850
push 1
call fcn.00438bca
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x4c], ebx
mov eax, 0x7aabe0
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x419875
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x419a0e
push reloc.WSOCK32.dll_connect
push 0
push str.LocalSystem
push 1
mov ebx, 0x150
call fcn.0043c2a0
add esp, 0x10
mov dword [ebp - 0x50], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x4198c6
mov eax, 0x46c300
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x4198da
mov eax, 0x46c300
push eax
push 4
mov ebx, 0x148
call fcn.0043ab70
add esp, 0x34
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x419900
push ebx
call fcn.00438be2
add esp, 4
cmp dword [ebp - 0x54], 0xffffffff
je 0x419983
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.004010c7
push ebx
push ecx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x46c3e1]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ed7
dec eax
jns 0x419940
push 4
call fcn.00438bca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x419953
push 1
call fcn.00438bca
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x4c], ebx
mov eax, 0x7aabf5
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x419978
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x419a0e
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.004010c7
push ebx
push ecx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x46c3e1]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ed7
dec eax
jns 0x4199b9
push 4
call fcn.00438bca
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4199cc
push 1
call fcn.00438bca
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x4c], ebx
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4199f5
push eax
mov ebx, eax
call fcn.00401000
inc eax
push eax
call fcn.00438bd6
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x419a08
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x30]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x419a30
push 6
call fcn.00438bca
add esp, 4
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x28]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x419a52
push 6
call fcn.00438bca
add esp, 4
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x418d12
add esp, 0xc
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x419a80
push 6
call fcn.00438bca
add esp, 4
mov dword [ebp - 0x3c], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x419aa2
push 6
call fcn.00438bca
add esp, 4
mov eax, dword [ebp - 0xc]
jmp 0x419aaa
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x419abb
push ebx
call fcn.00438be2
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00438be2
add esp, 4
pop ebx
call fcn.00438be2
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
call fcn.00438be2
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x419af3
push ebx
call fcn.00438be2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8