Function at 0x1001a3b0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b3f7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov dword [ebp - 0x10], ecx
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1c]
push ecx
lea ecx, [ebp - 0x34]
call fcn.10006c70
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x20], 0
je 0x1001a40d
mov byte [ebp - 0x13], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10006cb0
mov al, byte [ebp - 0x13]
jmp 0x1001a64e
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.10001ebc
movzx eax, al
test eax, eax
je 0x1001a597
call fcn.1001a160
push 0
lea ecx, [ebp - 0x4c]
push ecx
call fcn.10018d80
add esp, 8
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
call fcn.10001eab
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10017bbe
add esp, 8
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x80
call fcn.10005fe0
lea ecx, [ebp - 0x7c]
call fcn.10001e80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.10001e80
push str.dlpath
mov ecx, dword [ebp - 0x10]
add ecx, 0x80
call fcn.10001eab
push eax
push 0x80000002
lea edx, [ebp - 0x64]
push edx
call fcn.10019450
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.10005fe0
lea ecx, [ebp - 0x64]
call fcn.10001e80
push 0x10023244
mov ecx, dword [ebp - 0x10]
add ecx, 0x80
call fcn.10001eab
push eax
push 0x80000002
lea ecx, [ebp - 0x94]
push ecx
call fcn.10019450
add esp, 0x10
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
call fcn.10005fe0
lea ecx, [ebp - 0x94]
call fcn.10001e80
push 0x1002324c
mov ecx, dword [ebp - 0x10]
add ecx, 0x80
call fcn.10001eab
push eax
push 0x80000002
call fcn.100196f0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x98], eax
mov ecx, dword [ebp - 0x10]
call fcn.100181d5
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x98], 0
je 0x1001a56a
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x98], 0x708
jae 0x1001a56a
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x98], 0x708
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.10001ebc
movzx edx, al
test edx, edx
je 0x1001a597
mov byte [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10006cb0
mov al, byte [ebp - 0x14]
jmp 0x1001a64e
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x9c], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xa0], eax
push 0
push 4
mov edx, dword [ebp - 0x10]
push edx
push 0x1001a0e0
push 0x100000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x20], 0
je 0x1001a638
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x44], 0
mov eax, dword [ebp - 0x10]
add eax, 0x2c
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x48]
push edx
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10006cb0
mov al, byte [ebp - 0x11]
jmp 0x1001a64e
mov byte [ebp - 0x12], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10006cb0
mov al, byte [ebp - 0x12]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8