Function at 0x45c9fc
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x45cb52
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x45ca47
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 1
push dword [ebp - 0x1c]
call fcn.0045cc17
pop ecx
pop ecx
jmp 0x45cb4d
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x45cb36
mov dword [ebp - 8], 0xf6af1124
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x34], 1
mov dword [ebp - 8], 0
jmp 0x45ca86
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xfffffffa
je 0x45cb34
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x38], 2
mov dword [ebp - 0xc], 0
jmp 0x45caae
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jge 0x45cac1
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x70], 0xfffffff7
jmp 0x45caa7
lea eax, [ebp - 8]
push eax
push 1
push 1
push 0x457c
push 1
lea eax, [ebp - 0x2c]
push eax
push 0x774e
push 1
lea eax, [ebp - 0x30]
push eax
push 0xc5c
lea eax, [ebp - 0x34]
push eax
call fcn.00454d08
add esp, 0x2c
push 0x25c4
push 0x104c
push 0
push 0x36ca
push 0
push 0x3755
push 0xe11
lea eax, [ebp - 0x38]
push eax
push 0x1b64
push 0x1361
push 1
push 0x5905
push 0x513f
call fcn.0045ab01
add esp, 0x34
jmp 0x45ca7f
jmp 0x45cb4d
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x45cc13
lea eax, [ebp + 0xc]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x45cbd3
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x45cb97
mov byte [ebp - 1], 0
push 0
lea eax, [ebp - 1]
push eax
call fcn.0045ecd6
pop ecx
pop ecx
jmp 0x45cbd1
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x45cbd1
push 0x627c
push 0
push 0x43f1
push 0
push 0x118f
push 1
push 0x4235
push 0
push 0x4454
push 0x7ed9
call fcn.00453190
add esp, 0x28
jmp 0x45cc13
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x45cbf5
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x45cc13
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x45cc13
push 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esp, ebp
pop ebp
ret