Function at 0x100063b0
Capabilities:
Enumerate services
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa64
push ebx
push esi
push edi
mov dword [ebp - 0xa64], ecx
push eax
xor eax, eax
xor eax, eax
je 0x100063d0
push ebp
adc byte [ecx], 0x58
pop eax
mov ecx, dword [ebp - 0xa64]
call fcn.10005d60
push 0xe00f003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10006406
mov eax, dword [ebp - 0xa64]
mov dword [eax + 4], 0x1b5a
jmp 0x100065e9
mov dword [ebp - 0xc], 0
mov dword [ebp - 0xa4c], 0
mov dword [ebp - 0x10], 0
push 0xffff
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0xa54], eax
mov ecx, dword [ebp - 0xa54]
mov dword [ebp - 8], ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0xfffe
mov edx, dword [ebp - 8]
push edx
push 3
push 0x30
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
jne 0x10006498
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xa58], ecx
mov edx, dword [ebp - 0xa58]
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0xa64]
mov dword [ecx + 4], 0x1b5a
jmp 0x100065e9
mov ecx, dword [ebp - 0xa64]
call fcn.10007010
mov dword [ebp - 0xa48], eax
cmp dword [ebp - 0xa48], 0xffffffff
jne 0x100064dc
mov edx, dword [ebp - 8]
mov dword [ebp - 0xa5c], edx
mov eax, dword [ebp - 0xa5c]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0xa64]
mov dword [ecx + 4], 0x1b69
jmp 0x100065e9
mov dword [ebp - 0xa44], 0
mov ecx, 0x28a
xor eax, eax
lea edi, [ebp - 0xa40]
rep stosd dword es:[edi], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], 0
jmp 0x1000650d
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0xa4c]
jae 0x100065ba
mov ecx, 0x28b
xor eax, eax
lea edi, [ebp - 0xa44]
rep stosd dword es:[edi], eax
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x24
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx]
push ecx
lea edx, [ebp - 0xa34]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x24
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 4]
push edx
lea eax, [ebp - 0x930]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x24
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 0xc]
mov dword [ebp - 0x82c], eax
lea ecx, [ebp - 0xa44]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0xa64]
call fcn.100065f0
mov dword [ebp - 0xa50], 0
push 0
lea eax, [ebp - 0xa50]
push eax
push 0xa2c
lea ecx, [ebp - 0xa44]
push ecx
mov edx, dword [ebp - 0xa48]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x10006504
mov eax, dword [ebp - 0xa48]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xa60], ecx
mov edx, dword [ebp - 0xa60]
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret