Function at 0x100475b7
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069b0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x9c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1004773a
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x34], 0x4396
mov dword [ebp - 0x50], 0x1000bb60
cmp dword [ebp - 0x34], 0x4764
jle 0x100476bf
and dword [ebp - 0x2c], 0
jmp 0x1004761c
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x7863
jge 0x100476bf
and dword [ebp - 0x28], 0
jmp 0x10047636
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x6a59
jge 0x100476ba
and dword [ebp - 0x24], 0
jmp 0x1004764c
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x5faa
jge 0x100476b5
and dword [ebp - 0x18], 0
jmp 0x10047662
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x788a
jge 0x100476b3
mov eax, dword [ebp - 0x2c]
cdq
idiv dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x18]
or eax, edx
cdq
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
push dword [ebp - 0x64]
push dword [ebp - 0x68]
lea ecx, [ebp - 0x94]
call fcn.1000d99a
pop ecx
pop ecx
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
call fcn.1001caba
push eax
call fcn.10053526
pop ecx
lea ecx, [ebp - 0x94]
call fcn.1001cab0
jmp 0x1004765b
jmp 0x10047645
jmp 0x1004762f
jmp 0x10047615
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x100476d3
push 0
call dword [sym.imp.USER32.dll_GetMenuItemCount]
jmp 0x100476f9
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
push 1
mov ecx, dword [ebp - 0x30]
call fcn.1001cda9
mov esi, eax
push 1
mov ecx, dword [ebp - 0x30]
call fcn.1001cda9
mov ecx, dword [esi]
mov dword [eax], ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0x42be
jge 0x1004770f
push dword [ebp - 0x50]
call fcn.10053526
pop ecx
jmp 0x1004772b
or dword [ebp - 4], 0xffffffff
jmp 0x10047735
jmp 0x1004787c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x10047872
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], 0x5276
mov dword [ebp - 0x54], 0x1000bba0
cmp dword [ebp - 0x38], 0x5596
jle 0x100477f8
and dword [ebp - 0x1c], 0
jmp 0x10047790
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5b8f
jge 0x100477f0
and dword [ebp - 0x20], 0
jmp 0x100477a6
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1214
jge 0x100477ee
mov eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
push dword [ebp - 0x70]
push dword [ebp - 0x74]
lea ecx, [ebp - 0xac]
call fcn.1000d99a
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
call fcn.1001caba
push eax
call fcn.10053526
pop ecx
lea ecx, [ebp - 0xac]
call fcn.1001cab0
jmp 0x1004779f
jmp 0x10047789
push 0
call dword [sym.imp.COMDLG32.dll_FindTextW]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x38], 0x4ffc
jge 0x10047817
push dword [ebp - 0x54]
call fcn.10053526
pop ecx
jmp 0x10047833
or dword [ebp - 4], 0xffffffff
jmp 0x1004783d
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10047853
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 3
jge 0x10047870
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x5c]
call fcn.1001cda9
mov dword [eax], 0x7102d149
jmp 0x10047848
jmp 0x1004787c
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret