Function at 0x4114b0
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4553b1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x168
mov eax, dword [0x470074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.00436900
add esp, 0xc
lea eax, [ebp - 0x120]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x411526
xor al, al
jmp 0x41183e
push 3
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
mov dword [ebp - 0x13c], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x41151f
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x138], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411570
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.004016f0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x138]
cmp dword [ebp - 0x124], 0x10
mov edi, dword [ebp - 0x128]
cmovae edx, dword [ebp - 0x138]
test edi, edi
je 0x4115ce
or ecx, 0xffffffff
lea eax, [edi - 1]
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x4115ca
cmp ecx, edx
je 0x4115ce
dec ecx
cmp byte [ecx], 0x5c
jne 0x4115c0
sub ecx, edx
jmp 0x4115d1
or ecx, 0xffffffff
inc ecx
mov dword [ebp - 0x14c], 0
cmp edi, ecx
mov dword [ebp - 0x148], 0xf
lea eax, [ebp - 0x138]
mov byte [ebp - 0x15c], 0
cmovb ecx, edi
cmp dword [ebp - 0x124], 0x10
push ecx
cmovae eax, dword [ebp - 0x138]
lea ecx, [ebp - 0x15c]
push eax
call fcn.004016f0
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x138]
call fcn.00407760
mov edx, dword [ebp - 0x148]
cmp edx, 0x10
jb 0x41165f
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411655
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41185c
push edx
push ecx
call fcn.0041d9cd
add esp, 8
push str.zhcs.exe
lea ecx, [ebp - 0x138]
call fcn.004076f0
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x174]
call fcn.00411f60
add esp, 4
mov edi, eax
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
cmp ecx, edx
jae 0x4116ab
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4116a3
mov eax, dword [edi]
mov word [eax + ecx], 0x22
jmp 0x4116c2
push 0x22
mov byte [ebp - 0x141], 0
push dword [ebp - 0x141]
push ecx
mov ecx, edi
call fcn.00401d90
movups xmm0, xmmword [edi]
lea eax, [ebp - 0x15c]
push eax
movups xmmword [ebp - 0x15c], xmm0
lea ecx, [ebp - 0x138]
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
movq qword [ebp - 0x14c], xmm0
mov byte [edi], 0
call fcn.00407760
mov edx, dword [ebp - 0x148]
cmp edx, 0x10
jb 0x411736
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41172c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411861
push edx
push ecx
call fcn.0041d9cd
add esp, 8
mov edx, dword [ebp - 0x160]
cmp edx, 0x10
jb 0x411770
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411766
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411866
push edx
push ecx
call fcn.0041d9cd
add esp, 8
cmp dword [ebp - 0x124], 0x10
lea eax, [ebp - 0x138]
push 0
cmovae eax, dword [ebp - 0x138]
push 0
push 0
push 0
push 0
push eax
push 1
push 2
push 0x110
push 0xf01ff
push str.dyfw
push str.dyfw
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov edi, eax
test edi, edi
jne 0x4117c6
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call edi
mov byte [ebp - 0x13d], 0
jmp 0x4117e4
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov byte [ebp - 0x13d], 1
call edi
mov edx, dword [ebp - 0x124]
cmp edx, 0x10
jb 0x41181a
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411810
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41186b
push edx
push ecx
call fcn.0041d9cd
add esp, 8
push esi
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
call edi
mov al, byte [ebp - 0x13d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041d98c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00438969
call fcn.00438969
call fcn.00438969
call fcn.00438969
int3