Function at 0x41a7d7
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.00438977
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.00438977
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.00438977
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.0043bba0
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 0x41a8e4
push 6
call fcn.0043896b
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41b918
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0043a400
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 0x41a959
push 6
call fcn.0043896b
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41a969
push ebx
call fcn.00438983
add esp, 4
mov dword [ebp - 0x3c], esp
push dword [ebp - 8]
push 0x40
xor eax, eax
call dword [0xa319ec]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x41a990
push 6
call fcn.0043896b
add esp, 4
mov dword [ebp - 0x14], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0043a400
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 0x41a9f7
push 6
call fcn.0043896b
add esp, 4
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41aa0a
push ebx
call fcn.00438983
add esp, 4
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41b8d4
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0xc]
cmp eax, 0
jge 0x41aa36
push 0xa
call fcn.0043896b
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.00438977
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 0x41ab1d
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41aa8e
push ebx
call fcn.00438983
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41aaa2
push ebx
call fcn.00438983
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41aab6
push ebx
call fcn.00438983
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41aaca
push ebx
call fcn.00438983
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41aade
push ebx
call fcn.00438983
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41aaf2
push ebx
call fcn.00438983
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41ab06
push ebx
call fcn.00438983
add esp, 4
pop ebx
call fcn.00438983
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x41aa79
pop edx
pop edi
test edx, edx
je 0x41ab4f
mov ebx, edi
push edx
push ebx
push 0x20
call fcn.00438977
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 0x41ab27
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00438983
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 [0x46c3e3]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402f03
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 0x41b8d1
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [0x779cee]
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.00402f03
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x910
call fcn.0043bc50
add esp, 0x1c
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41abfb
push ebx
call fcn.00438983
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 0x41ac11
add eax, 8
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0x2c
call fcn.00438977
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 [0xa319f0]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x41acbe
push 6
call fcn.0043896b
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.00438983
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 [0x46c3e3]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402f03
dec eax
jns 0x41ad82
push 4
call fcn.0043896b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41ad95
push 1
call fcn.0043896b
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.0043bca0
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 0x41addc
push ebx
call fcn.00438983
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 [0x46c3e3]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402f03
dec eax
jns 0x41ae18
push 4
call fcn.0043896b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41ae2b
push 1
call fcn.0043896b
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.0043bca0
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 0x41ae78
push ebx
call fcn.00438983
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 [0x46c3e3]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402f03
dec eax
jns 0x41aeb4
push 4
call fcn.0043896b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41aec7
push 1
call fcn.0043896b
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.0043bca0
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 0x41af3b
push 6
call fcn.0043896b
add esp, 4
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x41af4e
push ebx
call fcn.00438983
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 0x41af84
push 6
call fcn.0043896b
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x2c]
push 0x40
xor eax, eax
call dword [0xa319ec]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x41afae
push 6
call fcn.0043896b
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 0x41afdd
push 6
call fcn.0043896b
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41b8a6
mov dword [ebp - 0x3c], esp
push 0x24
push dword [ebp - 0x30]
push dword [ebp - 0x34]
xor eax, eax
call dword [0xa319f4]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x41b014
push 6
call fcn.0043896b
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 [0x46c3e3]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402f03
dec eax
jns 0x41b04a
push 4
call fcn.0043896b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41b05d
push 1
call fcn.0043896b
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.0043bca0
add esp, 0x10
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041b970
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x41b0ad
push ebx
call fcn.00438983
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41b0c3
push ebx
call fcn.00438983
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 [0x46c3e3]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402f03
dec eax
jns 0x41b0ff
push 4
call fcn.0043896b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41b112
push 1
call fcn.0043896b
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.0041bc2e
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 0x41b14e
push ebx
call fcn.00438983
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 [0x46c3e3]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402f03
dec eax
jns 0x41b18a
push 4
call fcn.0043896b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41b19d
push 1
call fcn.0043896b
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.0043bca0
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 0x41b1ea
push ebx
call fcn.00438983
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 0x41b221
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 0x41b221
mov eax, 1
jmp 0x41b226
mov eax, 0
test eax, eax
je 0x41b2a7
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 [0x46c3e3]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402f03
dec eax
jns 0x41b264
push 4
call fcn.0043896b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41b277
push 1
call fcn.0043896b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x4c], ebx
mov eax, 0x779cf6
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41b29c
push ebx
call fcn.00438983
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x41b475
mov ebx, dword [ebp - 0x34]
add ebx, 4
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
cmp dword [ebx], 2
jne 0x41b2d8
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 0x41b2d8
mov eax, 1
jmp 0x41b2dd
mov eax, 0
test eax, eax
je 0x41b35e
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 [0x46c3e3]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402f03
dec eax
jns 0x41b31b
push 4
call fcn.0043896b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41b32e
push 1
call fcn.0043896b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x4c], ebx
mov eax, 0x779cfb
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41b353
push ebx
call fcn.00438983
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x41b475
mov ebx, dword [ebp - 0x34]
add ebx, 4
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
cmp dword [ebx], 3
jne 0x41b3ec
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 [0x46c3e3]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402f03
dec eax
jns 0x41b3a9
push 4
call fcn.0043896b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41b3bc
push 1
call fcn.0043896b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x4c], ebx
mov eax, 0x779d0a
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41b3e1
push ebx
call fcn.00438983
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x41b475
mov ebx, dword [ebp - 0x34]
add ebx, 4
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
cmp dword [ebx], 4
jne 0x41b475
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 [0x46c3e3]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402f03
dec eax
jns 0x41b437
push 4
call fcn.0043896b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41b44a
push 1
call fcn.0043896b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x4c], ebx
mov eax, 0x779d0f
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41b46f
push ebx
call fcn.00438983
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.0043bca0
add esp, 0x10
mov dword [ebp - 0x40], eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x41b4b2
mov eax, 0x46c304
push eax
push 1
mov ebx, 0x150
call fcn.0043bcf0
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x41b4d8
push ebx
call fcn.00438983
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x41b4ec
push ebx
call fcn.00438983
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.0043bcf0
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 0x41b536
mov eax, 0x46c304
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x41b54a
mov eax, 0x46c304
push eax
push 4
mov ebx, 0x148
call fcn.0043ab80
add esp, 0x34
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41b570
push ebx
call fcn.00438983
add esp, 4
cmp dword [ebp - 0x40], 0xffffffff
je 0x41b5f3
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 [0x46c3e3]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402f03
dec eax
jns 0x41b5b0
push 4
call fcn.0043896b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41b5c3
push 1
call fcn.0043896b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x4c], ebx
mov eax, 0x779d21
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41b5e8
push ebx
call fcn.00438983
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x41b884
push reloc.WSOCK32.dll_connect
push 0
push str.NetworkService
push 1
mov ebx, 0x150
call fcn.0043bcf0
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 0x41b639
mov eax, 0x46c304
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x41b64d
mov eax, 0x46c304
push eax
push 4
mov ebx, 0x148
call fcn.0043ab80
add esp, 0x34
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x41b673
push ebx
call fcn.00438983
add esp, 4
cmp dword [ebp - 0x54], 0xffffffff
je 0x41b6f6
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 [0x46c3e3]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402f03
dec eax
jns 0x41b6b3
push 4
call fcn.0043896b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41b6c6
push 1
call fcn.0043896b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x4c], ebx
mov eax, 0x779d39
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41b6eb
push ebx
call fcn.00438983
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x41b884
push reloc.WSOCK32.dll_connect
push 0
push str.LocalSystem
push 1
mov ebx, 0x150
call fcn.0043bcf0
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 0x41b73c
mov eax, 0x46c304
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x41b750
mov eax, 0x46c304
push eax
push 4
mov ebx, 0x148
call fcn.0043ab80
add esp, 0x34
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x41b776
push ebx
call fcn.00438983
add esp, 4
cmp dword [ebp - 0x54], 0xffffffff
je 0x41b7f9
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 [0x46c3e3]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402f03
dec eax
jns 0x41b7b6
push 4
call fcn.0043896b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41b7c9
push 1
call fcn.0043896b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x4c], ebx
mov eax, 0x779d4e
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41b7ee
push ebx
call fcn.00438983
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x41b884
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 [0x46c3e3]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402f03
dec eax
jns 0x41b82f
push 4
call fcn.0043896b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41b842
push 1
call fcn.0043896b
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 0x41b86b
push eax
mov ebx, eax
call fcn.00401000
inc eax
push eax
call fcn.00438977
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 0x41b87e
push ebx
call fcn.00438983
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 0x41b8a6
push 6
call fcn.0043896b
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 0x41b8c8
push 6
call fcn.0043896b
add esp, 4
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x41ab88
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 0x41b8f6
push 6
call fcn.0043896b
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 0x41b918
push 6
call fcn.0043896b
add esp, 4
mov eax, dword [ebp - 0xc]
jmp 0x41b920
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b931
push ebx
call fcn.00438983
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00438983
add esp, 4
pop ebx
call fcn.00438983
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
call fcn.00438983
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x41b969
push ebx
call fcn.00438983
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8