Function at 0x4160d1
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.004327e2
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.004327e2
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.004327e2
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.00435990
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 0x4161de
push 6
call fcn.004327d6
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x417212
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00434270
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 0x416253
push 6
call fcn.004327d6
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x416263
push ebx
call fcn.004327ee
add esp, 4
mov dword [ebp - 0x3c], esp
push dword [ebp - 8]
push 0x40
xor eax, eax
call dword [0x9cd787]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x41628a
push 6
call fcn.004327d6
add esp, 4
mov dword [ebp - 0x14], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00434270
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 0x4162f1
push 6
call fcn.004327d6
add esp, 4
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x416304
push ebx
call fcn.004327ee
add esp, 4
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4171ce
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0xc]
cmp eax, 0
jge 0x416330
push 0xa
call fcn.004327d6
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.004327e2
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 0x416417
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x416388
push ebx
call fcn.004327ee
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41639c
push ebx
call fcn.004327ee
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4163b0
push ebx
call fcn.004327ee
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4163c4
push ebx
call fcn.004327ee
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4163d8
push ebx
call fcn.004327ee
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4163ec
push ebx
call fcn.004327ee
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x416400
push ebx
call fcn.004327ee
add esp, 4
pop ebx
call fcn.004327ee
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x416373
pop edx
pop edi
test edx, edx
je 0x416449
mov ebx, edi
push edx
push ebx
push 0x20
call fcn.004327e2
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 0x416421
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.004327ee
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 [0x4663d9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ea1
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 0x4171cb
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [0x7730ce]
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.00402ea1
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x910
call fcn.00435a40
add esp, 0x1c
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4164f5
push ebx
call fcn.004327ee
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 0x41650b
add eax, 8
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0x2c
call fcn.004327e2
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 [0x9cd78b]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x4165b8
push 6
call fcn.004327d6
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.004327ee
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 [0x4663d9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ea1
dec eax
jns 0x41667c
push 4
call fcn.004327d6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41668f
push 1
call fcn.004327d6
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.00435a90
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 0x4166d6
push ebx
call fcn.004327ee
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 [0x4663d9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ea1
dec eax
jns 0x416712
push 4
call fcn.004327d6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x416725
push 1
call fcn.004327d6
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.00435a90
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 0x416772
push ebx
call fcn.004327ee
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 [0x4663d9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ea1
dec eax
jns 0x4167ae
push 4
call fcn.004327d6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4167c1
push 1
call fcn.004327d6
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.00435a90
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 0x416835
push 6
call fcn.004327d6
add esp, 4
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x416848
push ebx
call fcn.004327ee
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 0x41687e
push 6
call fcn.004327d6
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x2c]
push 0x40
xor eax, eax
call dword [0x9cd787]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x4168a8
push 6
call fcn.004327d6
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 0x4168d7
push 6
call fcn.004327d6
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4171a0
mov dword [ebp - 0x3c], esp
push 0x24
push dword [ebp - 0x30]
push dword [ebp - 0x34]
xor eax, eax
call dword [0x9cd78f]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x41690e
push 6
call fcn.004327d6
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 [0x4663d9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ea1
dec eax
jns 0x416944
push 4
call fcn.004327d6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x416957
push 1
call fcn.004327d6
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.00435a90
add esp, 0x10
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041726a
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4169a7
push ebx
call fcn.004327ee
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4169bd
push ebx
call fcn.004327ee
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 [0x4663d9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ea1
dec eax
jns 0x4169f9
push 4
call fcn.004327d6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x416a0c
push 1
call fcn.004327d6
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.00417528
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 0x416a48
push ebx
call fcn.004327ee
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 [0x4663d9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ea1
dec eax
jns 0x416a84
push 4
call fcn.004327d6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x416a97
push 1
call fcn.004327d6
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.00435a90
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 0x416ae4
push ebx
call fcn.004327ee
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 0x416b1b
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 0x416b1b
mov eax, 1
jmp 0x416b20
mov eax, 0
test eax, eax
je 0x416ba1
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 [0x4663d9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ea1
dec eax
jns 0x416b5e
push 4
call fcn.004327d6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x416b71
push 1
call fcn.004327d6
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x4c], ebx
mov eax, 0x7730d6
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x416b96
push ebx
call fcn.004327ee
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x416d6f
mov ebx, dword [ebp - 0x34]
add ebx, 4
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
cmp dword [ebx], 2
jne 0x416bd2
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 0x416bd2
mov eax, 1
jmp 0x416bd7
mov eax, 0
test eax, eax
je 0x416c58
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 [0x4663d9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ea1
dec eax
jns 0x416c15
push 4
call fcn.004327d6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x416c28
push 1
call fcn.004327d6
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x4c], ebx
mov eax, 0x7730db
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x416c4d
push ebx
call fcn.004327ee
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x416d6f
mov ebx, dword [ebp - 0x34]
add ebx, 4
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
cmp dword [ebx], 3
jne 0x416ce6
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 [0x4663d9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ea1
dec eax
jns 0x416ca3
push 4
call fcn.004327d6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x416cb6
push 1
call fcn.004327d6
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x4c], ebx
mov eax, 0x7730ea
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x416cdb
push ebx
call fcn.004327ee
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x416d6f
mov ebx, dword [ebp - 0x34]
add ebx, 4
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
cmp dword [ebx], 4
jne 0x416d6f
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 [0x4663d9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ea1
dec eax
jns 0x416d31
push 4
call fcn.004327d6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x416d44
push 1
call fcn.004327d6
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x4c], ebx
mov eax, 0x7730ef
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x416d69
push ebx
call fcn.004327ee
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.00435a90
add esp, 0x10
mov dword [ebp - 0x40], eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x416dac
mov eax, 0x466304
push eax
push 1
mov ebx, 0x150
call fcn.00435ae0
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x416dd2
push ebx
call fcn.004327ee
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x416de6
push ebx
call fcn.004327ee
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
push reloc.WSOCK32.dll_connect
push 0
push 0x7730f4
push 1
mov ebx, 0x150
call fcn.00435ae0
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 0x416e30
mov eax, 0x466304
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x416e44
mov eax, 0x466304
push eax
push 4
mov ebx, 0x148
call fcn.00434760
add esp, 0x34
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x416e6a
push ebx
call fcn.004327ee
add esp, 4
cmp dword [ebp - 0x40], 0xffffffff
je 0x416eed
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 [0x4663d9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ea1
dec eax
jns 0x416eaa
push 4
call fcn.004327d6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x416ebd
push 1
call fcn.004327d6
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x4c], ebx
mov eax, 0x773101
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x416ee2
push ebx
call fcn.004327ee
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x41717e
push reloc.WSOCK32.dll_connect
push 0
push 0x77310a
push 1
mov ebx, 0x150
call fcn.00435ae0
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 0x416f33
mov eax, 0x466304
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x416f47
mov eax, 0x466304
push eax
push 4
mov ebx, 0x148
call fcn.00434760
add esp, 0x34
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x416f6d
push ebx
call fcn.004327ee
add esp, 4
cmp dword [ebp - 0x54], 0xffffffff
je 0x416ff0
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 [0x4663d9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ea1
dec eax
jns 0x416fad
push 4
call fcn.004327d6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x416fc0
push 1
call fcn.004327d6
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x4c], ebx
mov eax, 0x773119
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x416fe5
push ebx
call fcn.004327ee
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x41717e
push reloc.WSOCK32.dll_connect
push 0
push 0x773122
push 1
mov ebx, 0x150
call fcn.00435ae0
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 0x417036
mov eax, 0x466304
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x41704a
mov eax, 0x466304
push eax
push 4
mov ebx, 0x148
call fcn.00434760
add esp, 0x34
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x417070
push ebx
call fcn.004327ee
add esp, 4
cmp dword [ebp - 0x54], 0xffffffff
je 0x4170f3
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 [0x4663d9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ea1
dec eax
jns 0x4170b0
push 4
call fcn.004327d6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4170c3
push 1
call fcn.004327d6
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x4c], ebx
mov eax, 0x77312e
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4170e8
push ebx
call fcn.004327ee
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x41717e
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 [0x4663d9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402ea1
dec eax
jns 0x417129
push 4
call fcn.004327d6
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x41713c
push 1
call fcn.004327d6
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 0x417165
push eax
mov ebx, eax
call fcn.00401000
inc eax
push eax
call fcn.004327e2
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 0x417178
push ebx
call fcn.004327ee
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 0x4171a0
push 6
call fcn.004327d6
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 0x4171c2
push 6
call fcn.004327d6
add esp, 4
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x416482
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 0x4171f0
push 6
call fcn.004327d6
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 0x417212
push 6
call fcn.004327d6
add esp, 4
mov eax, dword [ebp - 0xc]
jmp 0x41721a
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41722b
push ebx
call fcn.004327ee
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.004327ee
add esp, 4
pop ebx
call fcn.004327ee
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
call fcn.004327ee
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x417263
push ebx
call fcn.004327ee
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8