Function at 0x10004c3c
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005acba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10004cec
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x10004ccc
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
jmp 0x10004cad
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 3
jge 0x10004cca
mov eax, dword [ebp - 0x20]
push dword [eax]
mov ecx, dword [ebp - 0x48]
call fcn.1000f3dc
mov dword [eax], 0xd7c1543f
jmp 0x10004ca2
jmp 0x10004ce7
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10004ce7
push 0
push 0x119b
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x10004e6b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x4c], 0x1f5b
cmp dword [ebp - 0x4c], 0x45c
jge 0x10004e53
lea eax, [ebp - 0x28]
push eax
push 0x100639fc
call fcn.10043a7b
pop ecx
pop ecx
and dword [ebp - 0x50], 0
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
lea ecx, [ebp - 0x68]
call fcn.1000f402
and dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], 2
jmp 0x10004d52
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x28]
jg 0x10004def
push dword [ebp - 0x14]
lea ecx, [ebp - 0x68]
call fcn.1000f3dc
cmp dword [eax], 0
je 0x10004d74
jmp 0x10004d4b
push dword [ebp - 0x14]
lea ecx, [ebp - 0x68]
call fcn.1000f3dc
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shl eax, 1
mov dword [ebp - 0x18], eax
jmp 0x10004d9e
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
jg 0x10004dea
push dword [ebp - 0x18]
lea ecx, [ebp - 0x68]
call fcn.1000f3dc
cmp dword [eax], 0
je 0x10004dc8
push dword [ebp - 0x18]
lea ecx, [ebp - 0x68]
call fcn.1000f3dc
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
jmp 0x10004dd8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x68]
call fcn.1000f3dc
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x68]
call fcn.1000f3dc
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
jmp 0x10004d95
jmp 0x10004d4b
mov dword [ebp - 0x24], 2
jmp 0x10004dff
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x28]
jg 0x10004e47
push dword [ebp - 0x24]
lea ecx, [ebp - 0x68]
call fcn.1000f3dc
cmp dword [eax], 0
je 0x10004e29
push dword [ebp - 0x24]
lea ecx, [ebp - 0x68]
call fcn.1000f3dc
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
jmp 0x10004e36
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x30]
push str._ld
call fcn.10043d63
pop ecx
pop ecx
jmp 0x10004df8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.1000f3c0
push dword [ebp - 0x54]
push 0x16d8
push 0
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
call fcn.10003e53
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret