Function at 0x4163fd
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.00434233
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.00434233
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.00434233
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.004373d0
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 0x41650a
push 6
call fcn.00434227
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41753e
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00435cb0
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 0x41657f
push 6
call fcn.00434227
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41658f
push ebx
call fcn.0043423f
add esp, 4
mov dword [ebp - 0x3c], esp
push dword [ebp - 8]
push 0x40
xor eax, eax
call dword [0xa2cd4e]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x4165b6
push 6
call fcn.00434227
add esp, 4
mov dword [ebp - 0x14], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00435cb0
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 0x41661d
push 6
call fcn.00434227
add esp, 4
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x416630
push ebx
call fcn.0043423f
add esp, 4
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4174fa
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0xc]
cmp eax, 0
jge 0x41665c
push 0xa
call fcn.00434227
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.00434233
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 0x416743
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4166b4
push ebx
call fcn.0043423f
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4166c8
push ebx
call fcn.0043423f
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4166dc
push ebx
call fcn.0043423f
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4166f0
push ebx
call fcn.0043423f
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x416704
push ebx
call fcn.0043423f
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x416718
push ebx
call fcn.0043423f
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41672c
push ebx
call fcn.0043423f
add esp, 4
pop ebx
call fcn.0043423f
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x41669f
pop edx
pop edi
test edx, edx
je 0x416775
mov ebx, edi
push edx
push ebx
push 0x20
call fcn.00434233
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 0x41674d
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.0043423f
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 [0x4683e9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402e79
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 0x4174f7
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [0x7750bf]
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.00402e79
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x910
call fcn.00437480
add esp, 0x1c
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x416821
push ebx
call fcn.0043423f
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 0x416837
add eax, 8
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0x2c
call fcn.00434233
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 [0xa2cd52]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x4168e4
push 6
call fcn.00434227
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.0043423f
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 [0x4683e9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402e79
dec eax
jns 0x4169a8
push 4
call fcn.00434227
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4169bb
push 1
call fcn.00434227
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.004374d0
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 0x416a02
push ebx
call fcn.0043423f
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 [0x4683e9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402e79
dec eax
jns 0x416a3e
push 4
call fcn.00434227
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x416a51
push 1
call fcn.00434227
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.004374d0
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 0x416a9e
push ebx
call fcn.0043423f
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 [0x4683e9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402e79
dec eax
jns 0x416ada
push 4
call fcn.00434227
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x416aed
push 1
call fcn.00434227
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.004374d0
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 0x416b61
push 6
call fcn.00434227
add esp, 4
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x416b74
push ebx
call fcn.0043423f
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 0x416baa
push 6
call fcn.00434227
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x3c], esp
push dword [ebp - 0x2c]
push 0x40
xor eax, eax
call dword [0xa2cd4e]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x416bd4
push 6
call fcn.00434227
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 0x416c03
push 6
call fcn.00434227
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4174cc
mov dword [ebp - 0x3c], esp
push 0x24
push dword [ebp - 0x30]
push dword [ebp - 0x34]
xor eax, eax
call dword [0xa2cd56]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x416c3a
push 6
call fcn.00434227
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 [0x4683e9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402e79
dec eax
jns 0x416c70
push 4
call fcn.00434227
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x416c83
push 1
call fcn.00434227
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.004374d0
add esp, 0x10
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.00417596
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x416cd3
push ebx
call fcn.0043423f
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x416ce9
push ebx
call fcn.0043423f
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 [0x4683e9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402e79
dec eax
jns 0x416d25
push 4
call fcn.00434227
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x416d38
push 1
call fcn.00434227
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.00417854
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 0x416d74
push ebx
call fcn.0043423f
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 [0x4683e9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402e79
dec eax
jns 0x416db0
push 4
call fcn.00434227
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x416dc3
push 1
call fcn.00434227
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.004374d0
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 0x416e10
push ebx
call fcn.0043423f
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 0x416e47
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 0x416e47
mov eax, 1
jmp 0x416e4c
mov eax, 0
test eax, eax
je 0x416ecd
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 [0x4683e9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402e79
dec eax
jns 0x416e8a
push 4
call fcn.00434227
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x416e9d
push 1
call fcn.00434227
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x4c], ebx
mov eax, 0x7750c7
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x416ec2
push ebx
call fcn.0043423f
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x41709b
mov ebx, dword [ebp - 0x34]
add ebx, 4
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
cmp dword [ebx], 2
jne 0x416efe
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 0x416efe
mov eax, 1
jmp 0x416f03
mov eax, 0
test eax, eax
je 0x416f84
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 [0x4683e9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402e79
dec eax
jns 0x416f41
push 4
call fcn.00434227
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x416f54
push 1
call fcn.00434227
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x4c], ebx
mov eax, 0x7750cc
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x416f79
push ebx
call fcn.0043423f
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x41709b
mov ebx, dword [ebp - 0x34]
add ebx, 4
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
cmp dword [ebx], 3
jne 0x417012
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 [0x4683e9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402e79
dec eax
jns 0x416fcf
push 4
call fcn.00434227
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x416fe2
push 1
call fcn.00434227
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x4c], ebx
mov eax, 0x7750db
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x417007
push ebx
call fcn.0043423f
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x41709b
mov ebx, dword [ebp - 0x34]
add ebx, 4
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
cmp dword [ebx], 4
jne 0x41709b
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 [0x4683e9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402e79
dec eax
jns 0x41705d
push 4
call fcn.00434227
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x417070
push 1
call fcn.00434227
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x4c], ebx
mov eax, 0x7750e0
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x417095
push ebx
call fcn.0043423f
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.004374d0
add esp, 0x10
mov dword [ebp - 0x40], eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x4170d8
mov eax, 0x468304
push eax
push 1
mov ebx, 0x150
call fcn.00437520
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4170fe
push ebx
call fcn.0043423f
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x417112
push ebx
call fcn.0043423f
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
push reloc.WSOCK32.dll_connect
push 0
push 0x7750e5
push 1
mov ebx, 0x150
call fcn.00437520
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 0x41715c
mov eax, 0x468304
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x417170
mov eax, 0x468304
push eax
push 4
mov ebx, 0x148
call fcn.004361a0
add esp, 0x34
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x417196
push ebx
call fcn.0043423f
add esp, 4
cmp dword [ebp - 0x40], 0xffffffff
je 0x417219
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 [0x4683e9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402e79
dec eax
jns 0x4171d6
push 4
call fcn.00434227
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4171e9
push 1
call fcn.00434227
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x4c], ebx
mov eax, 0x7750f2
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41720e
push ebx
call fcn.0043423f
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x4174aa
push reloc.WSOCK32.dll_connect
push 0
push 0x7750fb
push 1
mov ebx, 0x150
call fcn.00437520
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 0x41725f
mov eax, 0x468304
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x417273
mov eax, 0x468304
push eax
push 4
mov ebx, 0x148
call fcn.004361a0
add esp, 0x34
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x417299
push ebx
call fcn.0043423f
add esp, 4
cmp dword [ebp - 0x54], 0xffffffff
je 0x41731c
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 [0x4683e9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402e79
dec eax
jns 0x4172d9
push 4
call fcn.00434227
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4172ec
push 1
call fcn.00434227
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x4c], ebx
mov eax, 0x77510a
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x417311
push ebx
call fcn.0043423f
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x4174aa
push reloc.WSOCK32.dll_connect
push 0
push 0x775113
push 1
mov ebx, 0x150
call fcn.00437520
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 0x417362
mov eax, 0x468304
push eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x417376
mov eax, 0x468304
push eax
push 4
mov ebx, 0x148
call fcn.004361a0
add esp, 0x34
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x41739c
push ebx
call fcn.0043423f
add esp, 4
cmp dword [ebp - 0x54], 0xffffffff
je 0x41741f
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 [0x4683e9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402e79
dec eax
jns 0x4173dc
push 4
call fcn.00434227
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4173ef
push 1
call fcn.00434227
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x4c], ebx
mov eax, 0x77511f
push eax
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x417414
push ebx
call fcn.0043423f
add esp, 4
pop eax
mov ebx, dword [ebp - 0x4c]
mov dword [ebx], eax
jmp 0x4174aa
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 [0x4683e9]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00402e79
dec eax
jns 0x417455
push 4
call fcn.00434227
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x417468
push 1
call fcn.00434227
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 0x417491
push eax
mov ebx, eax
call fcn.00401000
inc eax
push eax
call fcn.00434233
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 0x4174a4
push ebx
call fcn.0043423f
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 0x4174cc
push 6
call fcn.00434227
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 0x4174ee
push 6
call fcn.00434227
add esp, 4
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x4167ae
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 0x41751c
push 6
call fcn.00434227
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 0x41753e
push 6
call fcn.00434227
add esp, 4
mov eax, dword [ebp - 0xc]
jmp 0x417546
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x417557
push ebx
call fcn.0043423f
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0043423f
add esp, 4
pop ebx
call fcn.0043423f
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
call fcn.0043423f
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x41758f
push ebx
call fcn.0043423f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8