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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e9bc
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x43e040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov byte [ebp - 4], 4
mov eax, 0x43f9e8
cmp dword [0x43f9fc], 0xf
mov dword [ebp - 0x478], 0
cmova eax, dword [0x43f9e8]
push eax
lea eax, [ebp - 0x478]
push 0
push eax
call fcn.00421a16
add esp, 0xc
test eax, eax
jne 0x40635c
mov eax, dword [ebp - 0x478]
test eax, eax
je 0x40635c
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x414]
push 0x400
push eax
call fcn.0041fdb1
push dword [ebp - 0x478]
call fcn.00421886
mov byte [ebp - 0x480], 0
lea edx, [ebp - 0x414]
push dword [ebp - 0x480]
lea ecx, [ebp - 0x42c]
call fcn.0040fbb0
add esp, 0x18
lea eax, [ebp + 8]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x42c]
call fcn.0040a050
push eax
lea ecx, [ebp - 0x444]
call fcn.00407c20
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x418]
cmp ecx, 7
jbe 0x405c54
mov edx, dword [ebp - 0x42c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405c4a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406459
push ecx
push edx
call fcn.00418f23
add esp, 8
mov edx, dword [ebp + 0x48]
xor eax, eax
mov edi, dword [0x43fb48]
mov esi, 0x7ffffffe
mov word [ebp - 0x42c], ax
mov eax, esi
sub eax, edx
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 7
cmp eax, edi
jb 0x40645e
cmp dword [ebp + 0x4c], 7
lea ecx, [ebp + 0x38]
push edi
cmova ecx, dword [ebp + 0x38]
mov eax, 0x43fb38
cmp dword [0x43fb4c], 7
cmova eax, dword [0x43fb38]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x47c]
lea ecx, [ebp - 0x49c]
call fcn.0040c9e0
lea eax, [ebp - 0x49c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x444]
call fcn.0040a050
push eax
lea ecx, [ebp - 0x474]
call fcn.00407c20
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x488]
cmp ecx, 7
jbe 0x405d25
mov edx, dword [ebp - 0x49c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405d1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406463
push ecx
push edx
call fcn.00418f23
add esp, 8
xor eax, eax
mov dword [ebp - 0x48c], 0
sub esp, 0x18
mov word [ebp - 0x49c], ax
mov ecx, esp
mov dword [ebp - 0x488], 7
lea eax, [ebp - 0x474]
mov dword [ebp - 0x47c], ecx
push eax
call fcn.00407c20
call fcn.00417bf0
add esp, 0x18
test al, al
je 0x40611f
mov ecx, dword [ebp + 0x60]
sub esi, ecx
cmp esi, 1
jb 0x406468
cmp dword [ebp + 0x64], 7
lea eax, [ebp + 0x50]
push ecx
cmova eax, dword [ebp + 0x50]
push eax
push 1
push 0x438ac8
push ecx
push dword [ebp - 0x47c]
lea ecx, [ebp - 0x45c]
call fcn.0040c9e0
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x444]
cmp dword [ebp - 0x430], 7
cmova edx, dword [ebp - 0x444]
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405dc0
sub ecx, esi
sar ecx, 1
push ecx
push edx
push ecx
lea ecx, [ebp - 0x45c]
call fcn.0040c910
mov dword [ebp - 0x41c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x42c], xmm0
mov dword [ebp - 0x418], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x42c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x41c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x448]
cmp ecx, 7
jbe 0x405e65
mov edx, dword [ebp - 0x45c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405e5b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40646d
push ecx
push edx
call fcn.00418f23
add esp, 8
cmp dword [ebp - 0x418], 7
lea esi, [ebp - 0x42c]
lea eax, [ebp + 0x20]
cmova esi, dword [ebp - 0x42c]
cmp dword [ebp + 0x34], 7
push 2
cmova eax, dword [ebp + 0x20]
cmp dword [ebp + 0x4c], 7
mov dword [ebp - 0x480], eax
lea eax, [ebp + 0x38]
cmova eax, dword [ebp + 0x38]
push 0
push 0
mov dword [ebp - 0x47c], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x405eb1
xor esi, esi
jmp 0x405efa
push 0
push 0
push 0
push 0
push 0
push esi
push 1
push 2
push 0x10
push 0xf01ff
push dword [ebp - 0x480]
push dword [ebp - 0x47c]
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
test eax, eax
jne 0x405ee9
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor esi, esi
jmp 0x405efa
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push eax
call esi
push edi
call esi
mov esi, 1
mov ecx, dword [ebp - 0x418]
cmp ecx, 7
jbe 0x405f3a
mov edx, dword [ebp - 0x42c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405f30
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406472
push ecx
push edx
call fcn.00418f23
add esp, 8
mov ecx, dword [ebp - 0x460]
xor eax, eax
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 7
mov word [ebp - 0x42c], ax
cmp ecx, 7
jbe 0x405f97
mov edx, dword [ebp - 0x474]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405f8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406472
push ecx
push edx
call fcn.00418f23
add esp, 8
mov ecx, dword [ebp - 0x430]
cmp ecx, 7
jbe 0x405fd7
mov edx, dword [ebp - 0x444]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405fcd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406472
push ecx
push edx
call fcn.00418f23
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 7
mov word [ebp - 0x444], ax
cmp ecx, 7
jbe 0x40602e
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406024
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406472
push ecx
push edx
call fcn.00418f23
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 7
jbe 0x40607c
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406072
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406472
push ecx
push edx
call fcn.00418f23
add esp, 8
mov ecx, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
cmp ecx, 7
jbe 0x4060ca
mov edx, dword [ebp + 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4060c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406472
push ecx
push edx
call fcn.00418f23
add esp, 8
mov ecx, dword [ebp + 0x64]
xor eax, eax
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 7
mov word [ebp + 0x38], ax
cmp ecx, 7
jbe 0x406118
mov edx, dword [ebp + 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40610e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406472
push ecx
push edx
call fcn.00418f23
add esp, 8
mov eax, esi
jmp 0x40643d
mov ecx, dword [ebp - 0x460]
cmp ecx, 7
jbe 0x40615f
mov edx, dword [ebp - 0x474]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406155
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406477
push ecx
push edx
call fcn.00418f23
add esp, 8
mov ecx, dword [ebp - 0x430]
cmp ecx, 7
jbe 0x40619f
mov edx, dword [ebp - 0x444]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406195
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406477
push ecx
push edx
call fcn.00418f23
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x4061d9
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4061cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406477
push ecx
push edx
call fcn.00418f23
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 7
jbe 0x406227
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40621d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406477
push ecx
push edx
call fcn.00418f23
add esp, 8
mov ecx, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
cmp ecx, 7
jbe 0x406275
mov edx, dword [ebp + 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40626b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406477
push ecx
push edx
call fcn.00418f23
add esp, 8
mov ecx, dword [ebp + 0x64]
xor eax, eax
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 7
mov word [ebp + 0x38], ax
cmp ecx, 7
jbe 0x40643b
mov edx, dword [ebp + 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406431
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406477
jmp 0x406431
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x406396
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40638c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406477
push ecx
push edx
call fcn.00418f23
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 7
jbe 0x4063e4
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4063da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406477
push ecx
push edx
call fcn.00418f23
add esp, 8
mov ecx, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
cmp ecx, 7
jbe 0x406275
mov edx, dword [ebp + 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40626b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406477
jmp 0x40626b
push ecx
push edx
call fcn.00418f23
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00418ee0
mov esp, ebp
pop ebp
ret
call fcn.0041c92c
call fcn.00403e50
call fcn.0041c92c
call fcn.00403e50
call fcn.0041c92c
call fcn.0041c92c
call fcn.0041c92c
int3