Function at 0x1003b27d
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066122
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x110
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1003b4de
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x6c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xd0]
movzx eax, byte [eax]
test eax, eax
je 0x1003b457
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x5c], 0x47c5
mov dword [ebp - 0x84], 0x1000b2ac
cmp dword [ebp - 0x5c], 0x48ad
jle 0x1003b3d6
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
and dword [ebp - 0x20], 0
jmp 0x1003b35e
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x5335
jge 0x1003b3c7
and dword [ebp - 0x1c], 0
jmp 0x1003b374
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2ae4
jge 0x1003b3c5
and dword [ebp - 0x2c], 0
jmp 0x1003b38a
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x4a91
jge 0x1003b3c3
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
shl eax, cl
xor eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], edx
push dword [ebp - 0xe8]
push dword [ebp - 0xec]
mov ecx, 0x1060f618
call fcn.1001d301
jmp 0x1003b383
jmp 0x1003b36d
jmp 0x1003b357
push 0
push 0x1d0
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xe0], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x5c], 0x472a
jge 0x1003b3ff
mov edx, dword [ebp - 0x84]
mov ecx, 0x1060f618
call fcn.1001f80c
jmp 0x1003b41b
or dword [ebp - 4], 0xffffffff
jmp 0x1003b425
mov eax, dword [ebp - 0x64]
push dword [eax]
mov eax, dword [ebp - 0x8c]
push dword [eax]
push 0x6924
push 0x3dc4
push 1
mov eax, dword [ebp - 0xe0]
push dword [eax]
push 1
push 1
call fcn.10021309
add esp, 0x20
jmp 0x1003b4d9
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xac], eax
push 0x3e42
push 1
push 0x18ce
push 0x6e6f
push 0x59c5
push dword [ebp - 0xac]
push 0x3b06
push 1
mov eax, dword [ebp - 0xc4]
push dword [eax]
push 0x3811
mov eax, dword [ebp - 0x68]
push dword [eax]
call fcn.1002ad67
add esp, 0x2c
jmp 0x1003b7c3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x1003b55c
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1003b537
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 1
jge 0x1003b557
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x98]
call fcn.1001d5d0
mov dword [eax], 0x97eede0b
jmp 0x1003b52c
jmp 0x1003b7c3
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x24], 0x88a97331
mov dword [ebp - 0xa0], 0xffffffff
push 2
lea ecx, [ebp - 0xdc]
call fcn.1001d532
mov dword [ebp - 4], 2
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x100], 0x7778e10a
mov dword [ebp - 0xfc], 0x7778e10a
mov dword [ebp - 0xf8], 0x7778e10a
mov dword [ebp - 0xf4], 0x7778e10a
lea ecx, [ebp - 0x35]
call fcn.1001d5df
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x120]
call fcn.1001d5e2
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x10c]
call fcn.1001d58e
mov byte [ebp - 4], 3
mov dword [ebp - 0xb0], 0xffffffff
mov dword [ebp - 0x58], 0xfffa
mov dword [ebp - 0xb8], 0xeb256cd2
mov dword [ebp - 0x28], 0
jmp 0x1003b61f
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jge 0x1003b63b
push dword [ebp - 0x28]
lea ecx, [ebp - 0xdc]
call fcn.1001d5d0
mov dword [eax], 0x9e62b560
jmp 0x1003b618
cmp dword [ebp - 0x14], 0
je 0x1003b6f5
cmp dword [ebp - 0x14], 0
jne 0x1003b6ca
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x30]
jge 0x1003b65c
mov dword [ebp - 0x54], 1
jmp 0x1003b660
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x54], eax
jge 0x1003b671
mov dword [ebp - 0x4c], 1
jmp 0x1003b675
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x4c], eax
jne 0x1003b686
mov dword [ebp - 0x40], 1
jmp 0x1003b68a
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x24]
imul eax, eax, 0
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
push 0
lea ecx, [ebp - 0xdc]
call fcn.1001d5d0
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
imul eax, dword [ebp - 0x44], 0x49fc
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x1003b6ca
and dword [ebp - 0x34], 0
jmp 0x1003b6d1
mov dword [ebp - 0x34], 1
push 2
lea ecx, [ebp - 0x10c]
call fcn.1001d5d0
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
cmp dword [ebp - 0x34], 0
je 0x1003b6f5
mov dword [ebp - 0xa8], 1
jmp 0x1003b6fc
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x14]
jle 0x1003b716
mov dword [ebp - 0x48], 1
jmp 0x1003b71a
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
add eax, 0x3c0bf90a
neg eax
cmp eax, dword [ebp - 0x24]
jl 0x1003b738
cmp dword [ebp - 0xb0], 0
jne 0x1003b738
and dword [ebp - 0x50], 0
jmp 0x1003b73f
mov dword [ebp - 0x50], 1
cmp dword [ebp - 0x50], 1
jle 0x1003b752
push 2
lea ecx, [ebp - 0x10c]
call fcn.1001d5d0
push 1
lea ecx, [ebp - 0xdc]
call fcn.1001d5d0
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x118], eax
push 0
lea ecx, [ebp - 0xdc]
call fcn.1001d5d0
imul eax, dword [ebp - 0x3c], 0xf3b
cmp eax, 0xfffffff6
jge 0x1003b798
mov dword [ebp - 0x60], 1
jmp 0x1003b79c
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10c]
call fcn.1001d5b4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.1001d5b4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret