Function at 0x1003f978
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064348
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x70
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1003f9f9
lea eax, [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1003f9cd
push 0x19d9
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
jmp 0x1003f9f4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, word [eax]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.10004dc6
jmp 0x1003fb55
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x1003fa29
push 0
push 0x2680
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x1003fb55
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x24], 0x6eb
mov dword [ebp - 0x60], str.ngglipw_pizowt_mgcwwzne_drhb
cmp dword [ebp - 0x24], 0x7f5
jle 0x1003fada
and dword [ebp - 0x18], 0
jmp 0x1003fa5d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3b9c
jge 0x1003fada
and dword [ebp - 0x1c], 0
jmp 0x1003fa73
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5f27
jge 0x1003fad5
and dword [ebp - 0x20], 0
jmp 0x1003fa89
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2dd2
jge 0x1003fad3
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sar edx, cl
mov eax, edx
cdq
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
push dword [ebp - 0x64]
push dword [ebp - 0x68]
lea ecx, [ebp - 0x80]
call fcn.10001a65
pop ecx
pop ecx
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
call fcn.10004c2e
push eax
call fcn.1004a373
pop ecx
lea ecx, [ebp - 0x80]
call fcn.10004c24
jmp 0x1003fa82
jmp 0x1003fa6c
jmp 0x1003fa56
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1003fafc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x1003fb19
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x5c]
call fcn.10004f7e
mov dword [eax], 9
jmp 0x1003faf1
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x535
jge 0x1003fb2f
push dword [ebp - 0x60]
call fcn.1004a373
pop ecx
jmp 0x1003fb4b
or dword [ebp - 4], 0xffffffff
jmp 0x1003fb55
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret