Function at 0x1003436f
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push esi
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1003441f
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x100343f4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x100343d5
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], 2
jge 0x100343f2
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.100114b6
mov dword [eax], 0x976f
jmp 0x100343ca
jmp 0x1003441a
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
test eax, eax
je 0x1003441a
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x100345e0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x100345c9
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x88], eax
push 3
mov ecx, dword [ebp - 4]
call fcn.100114b6
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
push 3
mov ecx, dword [ebp - 4]
call fcn.100114b6
sub esi, dword [eax]
je 0x100344f1
push 0
mov ecx, dword [ebp - 4]
call fcn.100114b6
push 3
mov ecx, dword [ebp - 4]
call fcn.100114b6
cmp dword [eax], 0
je 0x100344f1
mov dword [ebp - 0x10], 1
jmp 0x100344f5
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
push 2
mov ecx, dword [ebp - 4]
call fcn.100114b6
mov esi, dword [ebp - 0x10]
sub esi, dword [eax]
push 3
mov ecx, dword [ebp - 4]
call fcn.100114b6
imul esi, dword [eax]
push 3
mov ecx, dword [ebp - 4]
call fcn.100114b6
cmp esi, dword [eax]
je 0x10034530
mov dword [ebp - 0x1c], 1
jmp 0x10034534
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0xe3bc
jne 0x10034546
mov dword [ebp - 0x24], 1
jmp 0x1003454a
and dword [ebp - 0x24], 0
push 3
mov ecx, dword [ebp - 4]
call fcn.100114b6
mov eax, dword [eax]
neg eax
cmp eax, dword [ebp - 0x24]
jle 0x10034566
mov dword [ebp - 0x18], 1
jmp 0x1003456a
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
push 1
mov ecx, dword [ebp - 4]
call fcn.100114b6
push 3
mov ecx, dword [ebp - 4]
call fcn.100114b6
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x1003459b
mov dword [ebp - 0x20], 1
jmp 0x1003459f
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0xa4a9
jne 0x100345b1
mov dword [ebp - 0x28], 1
jmp 0x100345b5
and dword [ebp - 0x28], 0
push 3
mov ecx, dword [ebp - 0x90]
call fcn.100114b6
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
jmp 0x100345e0
mov byte [ebp - 5], 0
movzx eax, byte [ebp - 5]
test eax, eax
je 0x100345e0
push 0x1b8
call dword [sym.imp.GDI32.dll_GetStockObject]
pop esi
mov esp, ebp
pop ebp
ret