Function at 0x1002d431
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1002d50c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
movzx eax, byte [eax]
test eax, eax
je 0x1002d4ca
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x1002d4ab
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 1
jge 0x1002d4c8
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x74]
call fcn.1000c1d5
mov dword [eax], 0x3fcb50bf
jmp 0x1002d4a0
jmp 0x1002d507
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x8c]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1002d85b
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x94], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
movzx eax, byte [eax]
test eax, eax
je 0x1002d54e
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x1002d85b
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x80], 0x1b88
cmp dword [ebp - 0x80], 0xb8f
jge 0x1002d695
push 0x100080e8
push 0x100080ec
call fcn.10051873
pop ecx
pop ecx
mov dword [ebp - 0x4c], eax
push 0x100080f8
push 0x100080fc
call fcn.10051873
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
and dword [ebp - 0x10], 0
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x100077cc
push dword [ebp - 0x4c]
call fcn.1005151c
add esp, 0x10
and dword [ebp - 0x2c], 0
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jle 0x1002d600
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov byte [ebp - 5], 0x42
mov byte [ebp - 6], 0x47
jmp 0x1002d617
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov byte [ebp - 5], 0x47
mov byte [ebp - 6], 0x42
and dword [ebp - 0x28], 0
jmp 0x1002d624
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x2c]
jge 0x1002d648
movsx eax, byte [ebp - 6]
push eax
movsx eax, byte [ebp - 5]
push eax
push 0x10008108
push dword [ebp - 0x18]
call fcn.10051888
add esp, 0x10
jmp 0x1002d61d
and dword [ebp - 0x24], 0
jmp 0x1002d655
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
jge 0x1002d674
movsx eax, byte [ebp - 5]
push eax
push 0x10008110
push dword [ebp - 0x18]
call fcn.10051888
add esp, 0xc
jmp 0x1002d64e
push 0x10008114
push dword [ebp - 0x18]
call fcn.10051888
pop ecx
pop ecx
push dword [ebp - 0x4c]
call fcn.10051bcb
pop ecx
push dword [ebp - 0x18]
call fcn.10051bcb
pop ecx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x1002d7fc
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x1002d7fc
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jne 0x1002d6d9
mov dword [ebp - 0x30], 1
jmp 0x1002d6dd
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jl 0x1002d6f8
mov dword [ebp - 0x3c], 1
jmp 0x1002d6fc
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
add eax, 0x11b55e97
imul eax, eax, 0x74b6
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jl 0x1002d71f
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x1002d71f
and dword [ebp - 0x34], 0
jmp 0x1002d726
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
imul eax, dword [ecx]
mov ecx, dword [ebp - 4]
add eax, dword [ecx]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jg 0x1002d74a
mov dword [ebp - 0x44], 1
jmp 0x1002d74e
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x44]
jle 0x1002d769
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1002d769
mov dword [ebp - 0x54], 1
jmp 0x1002d76d
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0xfffffff8
je 0x1002d77f
mov dword [ebp - 0xa0], 1
jmp 0x1002d786
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jl 0x1002d7b5
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
je 0x1002d7b5
mov dword [ebp - 0x38], 1
jmp 0x1002d7b9
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
jl 0x1002d7d4
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
je 0x1002d7d4
mov dword [ebp - 0x40], 1
jmp 0x1002d7d8
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
jg 0x1002d7eb
mov dword [ebp - 0x50], 1
jmp 0x1002d7ef
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1002d823
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1002d823
mov dword [ebp - 0xa8], 1
jmp 0x1002d82a
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1002d84c
mov eax, 0x19ac4e69
test eax, eax
je 0x1002d84c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1002d84c
mov dword [ebp - 0x58], 1
jmp 0x1002d850
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x58]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret