Function at 0x431e00
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x24c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.LocalReAlloc
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.LocalAlloc
push str.kernel32.dll
mov dword [esp + 0x40], eax
call esi
push eax
call edi
mov ebx, eax
push str.lstrcatA
push str.KERNEL32.dll
mov dword [esp + 0x54], ebx
call esi
push eax
call edi
mov dword [esp + 0x1c], eax
mov al, 0x41
mov byte [esp + 0x20], al
mov byte [esp + 0x23], al
mov al, 0x6c
push str.OpenSCManagerA
mov byte [esp + 0x2e], al
mov byte [esp + 0x2f], al
lea eax, [esp + 0x24]
mov byte [esp + 0x25], 0x44
push eax
mov byte [esp + 0x2a], 0x56
mov byte [esp + 0x2c], 0x50
mov byte [esp + 0x2d], 0x49
mov byte [esp + 0x2e], 0x33
mov byte [esp + 0x2f], 0x32
mov byte [esp + 0x30], 0x2e
mov byte [esp + 0x31], 0x64
mov byte [esp + 0x34], 0
call esi
push eax
call edi
lea ecx, [esp + 0x20]
push str.CloseServiceHandle
push ecx
mov dword [esp + 0x3c], eax
call esi
push eax
call edi
lea edx, [esp + 0x20]
push str.OpenServiceA
push edx
mov dword [esp + 0x50], eax
call esi
push eax
call edi
mov dword [esp + 0x54], eax
lea eax, [esp + 0x20]
push str.QueryServiceConfigA
push eax
call esi
push eax
call edi
lea ecx, [esp + 0x20]
push str.EnumServicesStatusA
push ecx
mov dword [esp + 0x4c], eax
call esi
push eax
call edi
push str.lstrlenA
push str.KERNEL32.dll
mov dword [esp + 0x38], eax
call esi
push eax
call edi
mov ebp, eax
xor edx, edx
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x15d]
mov byte [esp + 0x15c], dl
mov byte [esp + 0x5c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x5d]
push 0xf003f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
push edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x4c], edx
stosb byte es:[edi], al
call dword [esp + 0x40]
mov edi, eax
push 0x10000
push 0x40
mov dword [esp + 0x3c], edi
call ebx
lea edx, [esp + 0x40]
lea ecx, [esp + 0x3c]
push edx
lea edx, [esp + 0x54]
push ecx
push edx
push 0x10000
push eax
push 3
push 0x30
push edi
mov dword [esp + 0x34], eax
call dword [esp + 0x50]
push 0x104
push 0x40
call ebx
mov ebx, eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], 0
mov byte [ebx], 0x7f
mov eax, dword [esp + 0x3c]
test eax, eax
jbe 0x432232
mov ebx, dword [esp + 0x14]
jmp 0x431fb4
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [esp + 0x34]
mov eax, dword [ebx]
push 0xf01ff
push eax
push edi
mov dword [esp + 0x64], 0
call dword [esp + 0x60]
push 0x1000
push 0x40
mov edi, eax
call dword [esp + 0x54]
lea ecx, [esp + 0x58]
mov dword [esp + 0x14], eax
push ecx
push 0x1000
push eax
push edi
call dword [esp + 0x54]
mov eax, dword [ebx + 0xc]
mov ecx, 0x40
cmp eax, 1
je 0x432011
xor eax, eax
lea edi, [esp + 0x15c]
lea edx, [esp + 0x15c]
push 0x488730
rep stosd dword es:[edi], eax
push edx
jmp 0x432029
xor eax, eax
lea edi, [esp + 0x15c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x15c]
push 0x488728
push eax
call dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 4], 2
jne 0x432052
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x5c]
lea edx, [esp + 0x5c]
push 0x488720
push edx
rep stosd dword es:[edi], eax
call dword [esp + 0x24]
mov eax, dword [esp + 0x14]
cmp dword [eax + 4], 3
jne 0x432077
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x5c]
push 0x488718
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x60]
push ecx
call dword [esp + 0x24]
mov edx, dword [esp + 0x14]
cmp dword [edx + 4], 4
jne 0x43209c
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x5c]
push 0x488710
rep stosd dword es:[edi], eax
lea eax, [esp + 0x60]
push eax
call dword [esp + 0x24]
mov ecx, dword [ebx + 4]
push ecx
call ebp
lea edx, [esp + 0x5c]
mov edi, eax
push edx
call ebp
add edi, eax
lea eax, [esp + 0x15c]
push eax
call ebp
mov ecx, dword [ebx]
add edi, eax
push ecx
call ebp
mov edx, dword [esp + 0x14]
add edi, eax
mov eax, dword [edx + 0xc]
push eax
call ebp
push str.LocalSize
push str.KERNEL32.dll
lea edi, [edi + eax + 6]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x10]
lea esi, [ecx + edi]
mov edi, dword [esp + 0x18]
push edi
call eax
cmp eax, esi
jae 0x4320ff
push 0x42
push esi
push edi
call dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov edx, dword [ebx + 4]
push edx
call ebp
mov edx, dword [esp + 0x18]
mov esi, dword [ebx + 4]
mov ecx, eax
mov eax, dword [esp + 0x10]
inc ecx
lea edi, [eax + edx]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
push ecx
call ebp
mov edx, dword [esp + 0x10]
lea edi, [edx + eax + 1]
mov eax, dword [ebx]
push eax
mov dword [esp + 0x14], edi
call ebp
mov edx, dword [esp + 0x18]
mov esi, dword [ebx]
mov ecx, eax
add edi, edx
inc ecx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
push ecx
call ebp
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
lea edi, [edx + eax + 1]
mov eax, dword [esi + 0xc]
push eax
mov dword [esp + 0x14], edi
call ebp
mov edx, dword [esp + 0x18]
mov esi, dword [esi + 0xc]
mov ecx, eax
add edi, edx
inc ecx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0xc]
push edx
call ebp
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x15c]
push edx
lea edi, [ecx + eax + 1]
mov dword [esp + 0x14], edi
call ebp
mov ecx, eax
mov eax, dword [esp + 0x18]
inc ecx
lea esi, [esp + 0x15c]
mov edx, ecx
add edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x15c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x5c]
lea edi, [ecx + eax + 1]
push edx
mov dword [esp + 0x14], edi
call ebp
mov ecx, eax
mov eax, dword [esp + 0x18]
inc ecx
lea esi, [esp + 0x5c]
mov edx, ecx
add edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x5c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
mov ecx, dword [esp + 0x10]
add ebx, 0x24
lea edx, [ecx + eax + 1]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], eax
jb 0x431faa
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x18]
push edi
call dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
push 0x42
push eax
push ebx
call dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24c
ret