Function at 0x100382fe
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a3e4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x80
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100383c6
lea eax, [ebp + 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x100383a1
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x1003839f
push 0x3a65
push 0
push 0x568
push 0x6a09
push 1
push 0x3510
push 0x336d
push 0x67e9
push 0x117e
push 0x2ad4
push 0x74b4
push 0xdd3
call fcn.10034801
add esp, 0x30
jmp 0x100383c1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x100383c1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x1003855e
lea eax, [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x100384f2
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x24], 0x5e8e
mov dword [ebp - 0x58], 0x10008714
cmp dword [ebp - 0x24], 0x60a4
jle 0x10038496
push 0x20cc
push 0x138
push 0xad6
call dword [sym.imp.GDI32.dll_GetPixel]
and dword [ebp - 0x14], 0
jmp 0x10038435
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x6fe3
jge 0x10038496
and dword [ebp - 0x18], 0
jmp 0x1003844b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1f12
jge 0x10038494
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
push dword [ebp - 0x74]
push dword [ebp - 0x78]
lea ecx, [ebp - 0x90]
call fcn.1000a20e
pop ecx
pop ecx
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
call fcn.1001622c
push eax
call fcn.10050d73
pop ecx
lea ecx, [ebp - 0x90]
call fcn.10016222
jmp 0x10038444
jmp 0x1003842e
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x100384b4
push 0
push 0x3f4
push 0x66ea
call fcn.10033865
add esp, 0xc
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x5c7f
jge 0x100384ca
push dword [ebp - 0x58]
call fcn.10050d73
pop ecx
jmp 0x100384e6
or dword [ebp - 4], 0xffffffff
jmp 0x100384f0
jmp 0x1003855e
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0xfffffffb
jmp 0x10038520
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0xfffffff4
jl 0x1003855e
mov dword [ebp - 0x6c], 2
mov dword [ebp - 0x70], 0xa3691f6f
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
jmp 0x1003854c
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], 0x19
jle 0x1003855c
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
jmp 0x10038541
jmp 0x10038515
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret