Function at 0x434fad
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x435215
lea eax, [ebp + 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x43507a
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x435051
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x43504f
push 0xda5
push 0x5190
push 0
push 0x69f7
push 0x41be
push 0x79b0
push 0x6ad8
call fcn.00435abb
add esp, 0x1c
jmp 0x435075
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x435075
push 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x435213
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x435103
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x4350d3
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
jg 0x4350fe
mov dword [ebp - 0x24], 0xfffffff7
push 0
push 0
push 0x3856
push 0x73d9
lea eax, [ebp - 0x24]
push eax
call fcn.004311c3
add esp, 0x14
jmp 0x4350c8
jmp 0x435213
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0x2061f665
mov eax, 0x2061f665
test eax, eax
jne 0x435195
mov eax, dword [ebp - 8]
mov eax, dword [eax]
sub eax, 0x4990069f
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx]
jl 0x43515f
mov dword [ebp - 0x14], 1
jmp 0x435163
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jne 0x435176
mov dword [ebp - 0x10], 1
jmp 0x43517a
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
imul eax, dword [ebp - 0x10]
test eax, eax
jne 0x435195
and dword [ebp - 0x18], 0
jmp 0x43519c
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jg 0x4351af
mov dword [ebp - 0x1c], 1
jmp 0x4351b3
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0
je 0x4351fd
mov dword [ebp - 0x84], 0x2278213
push 0
push 1
push 0
push 0x136d
call fcn.0043001b
add esp, 0x10
push 0x18d1
push dword [ebp - 0x7c]
push 0
push 0x387d
push 0
lea eax, [ebp - 0x84]
push eax
push 0xb83
call fcn.00436636
add esp, 0x1c
jmp 0x435213
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x435213
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x435255
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x8c], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
push dword [ebp - 0x8c]
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
push eax
push 0x6a07
push dword [ebp - 0x9c]
push 1
call fcn.00430e0f
add esp, 0x14
mov esp, ebp
pop ebp
ret