Function at 0x443350
Capabilities:
Enumerate services
Query service configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5414e8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x58a710]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x28], 0
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x4433b5
push 0x80004005
call fcn.004049a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x30], esi
push 0
push 0
push 0x1009
push dword [ebx + 4]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_SendMessageA]
push Ordinal_2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
jne 0x4433f8
xor edi, edi
jmp 0x443845
mov edi, dword [sym.imp.ADVAPI32.dll_EnumServicesStatusExA]
lea eax, [ebp - 0x38]
push 0
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push 0
push 3
push 0xb
push 0
push ebx
call edi
push dword [ebp - 0x10]
call fcn.00524eb3
push dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
push 0
push eax
call fcn.0051d400
add esp, 0x10
lea eax, [ebp - 0x38]
push 0
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x34]
push 3
push 0xb
push 0
push ebx
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
je 0x443832
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0x44], 0
jbe 0x443832
mov eax, dword [ebp - 0x34]
add eax, 0xc
mov dword [ebp - 0x20], eax
push 1
push dword [eax - 0xc]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x443819
push 0x30
call fcn.00519368
add esp, 4
test eax, eax
je 0x4434ab
mov ecx, eax
call fcn.00441580
mov edi, eax
mov dword [ebp - 0x14], eax
jmp 0x4434b0
xor edi, edi
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp - 0x20]
lea ebx, [edi + 0x18]
mov dword [ebp - 0x3c], ebx
mov eax, dword [ecx - 4]
mov dword [edi + 4], eax
mov eax, dword [ecx]
mov dword [edi + 8], eax
mov edx, dword [ecx - 0xc]
test edx, edx
jne 0x4434cf
xor ecx, ecx
jmp 0x4434e0
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4434d4
sub ecx, edi
mov edi, dword [ebp - 0x14]
push ecx
push edx
mov ecx, ebx
call fcn.00405640
mov eax, dword [ebp - 0x20]
lea ebx, [edi + 0x1c]
mov edx, dword [eax - 8]
test edx, edx
jne 0x4434fa
xor ecx, ecx
jmp 0x44350c
mov ecx, edx
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x443500
sub ecx, edi
mov edi, dword [ebp - 0x14]
push ecx
push edx
mov ecx, ebx
call fcn.00405640
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp - 0x18]
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x443671
push eax
call fcn.00524eb3
push dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
push 0
push eax
call fcn.0051d400
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
je 0x443666
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 4]
mov dword [edi + 0xc], eax
add edi, 0x28
mov edx, dword [ebx + 0xc]
test edx, edx
jne 0x44357a
xor ecx, ecx
jmp 0x44358c
mov ecx, edx
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x443580
sub ecx, ebx
mov ebx, dword [ebp - 0x18]
push ecx
push edx
mov ecx, edi
call fcn.00405640
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x4435b0
mov eax, dword [ebp - 0x3c]
push dword [eax]
push str.__SystemRoot___system32drivers_s.sys
push edi
call fcn.00404f50
add esp, 0xc
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jl 0x4435df
push 0x550038
push eax
call fcn.0052697a
add esp, 8
test eax, eax
je 0x4435df
sub eax, dword [edi]
jne 0x4435df
push 0x54e2a5
push 0x550038
mov ecx, edi
call fcn.00443890
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jl 0x44360e
push str.SystemRoot
push eax
call fcn.0052697a
add esp, 8
test eax, eax
je 0x44360e
sub eax, dword [edi]
jne 0x44360e
push str._SystemRoot_
push str.SystemRoot
mov ecx, edi
call fcn.00443890
mov edx, dword [ebx + 0xc]
mov ebx, dword [ebp - 0x14]
test edx, edx
jne 0x44361c
xor ecx, ecx
jmp 0x44362a
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x443621
sub ecx, edi
push ecx
push edx
lea ecx, [ebx + 0x2c]
call fcn.00405640
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov edx, dword [eax + 0x10]
test edx, edx
jne 0x443645
xor ecx, ecx
jmp 0x443659
mov ecx, edx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x443650
sub ecx, edi
push ecx
push edx
lea ecx, [ebx + 0x24]
call fcn.00405640
mov ebx, dword [ebp - 0x2c]
push dword [ebp - 0x18]
call fcn.00524eae
add esp, 4
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp - 0x28]
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfig2A]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4436f2
push eax
call fcn.00524eb3
push dword [ebp - 0x10]
mov edi, eax
push 0
push edi
mov dword [ebp - 0x28], edi
call fcn.0051d400
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push edi
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfig2A]
test eax, eax
je 0x4436e9
mov edx, dword [edi]
mov ebx, dword [ebp - 0x14]
test edx, edx
jne 0x4436c5
xor ecx, ecx
jmp 0x4436dc
mov ecx, edx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4436d0
sub ecx, edi
mov edi, dword [ebp - 0x28]
push ecx
push edx
lea ecx, [ebx + 0x20]
call fcn.00405640
mov ebx, dword [ebp - 0x2c]
push edi
call fcn.00524eae
add esp, 4
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call edi
mov ecx, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x14]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
jne 0x443720
mov ecx, ebx
call fcn.00441740
push 0x30
push ebx
call fcn.005198af
add esp, 8
jmp 0x443816
push eax
lea eax, [ebx + 0x14]
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSet_services_s
push eax
call fcn.00404f50
mov dword [ebp - 0x10], 0x200
mov ecx, 1
mov eax, dword [esi - 8]
add esp, 0xc
sub ecx, dword [esi - 4]
sub eax, 0x200
or eax, ecx
jge 0x44375d
push 0x200
lea ecx, [ebp - 0x30]
call fcn.004053d0
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebx + 0x28]
call fcn.00442ea0
test eax, eax
je 0x4437a1
push dword [esi - 8]
push esi
call fcn.0052644e
add esp, 8
test eax, eax
js 0x443878
cmp eax, dword [esi - 8]
jg 0x443878
mov dword [esi - 0xc], eax
lea ecx, [ebx + 0x28]
mov byte [eax + esi], 0
lea eax, [ebp - 0x30]
push eax
call fcn.00414200
push dword [ebx + 0x28]
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberA]
test eax, eax
jns 0x4437c2
mov ecx, ebx
call fcn.00441740
push 0x30
push ebx
call fcn.005198af
add esp, 8
jmp 0x443810
push dword [ebx + 0x28]
call fcn.0044ef60
add esp, 4
test eax, eax
je 0x4437ae
push dword [ebx + 0x28]
mov ecx, 0x5944ac
call fcn.00502a30
mov edi, dword [ebp - 0x40]
push 0
push 0
push 0x1004
mov dword [ebx], eax
mov dword [ebx + 0x10], 0xffffffff
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 0xffffffffffffffff
push 0
push 0
push 0xffffffffffffffff
push eax
push 7
lea ecx, [edi + 4]
call fcn.00442370
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x20]
inc ecx
add eax, 0x2c
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x20], eax
cmp ecx, dword [ebp - 0x24]
jb 0x443478
push dword [ebp - 0x34]
call fcn.00524eae
add esp, 4
push ebx
call edi
mov edi, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x443864
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004049a0
int3