Function at 0x10034f76
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100580f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x114
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x10035491
lea eax, [ebp + 0x14]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x74], 0x58d6
mov dword [ebp - 0xbc], str.bpzo_qktbag_jjfnvtc_mhtoskl_dtp_vnth_flc_bsrl_lhytixzl_jjayozb_lncqqzxia_srhpcm_ibzdb
cmp dword [ebp - 0x74], 0x5b89
jle 0x10035082
and dword [ebp - 0x2c], 0
jmp 0x10034ff3
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x436d
jge 0x1003507a
and dword [ebp - 0x34], 0
jmp 0x10035009
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x52ad
jge 0x10035075
and dword [ebp - 0x24], 0
jmp 0x1003501f
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1a36
jge 0x10035073
and dword [ebp - 0x1c], 0
jmp 0x10035035
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x7eae
jge 0x10035071
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
shl eax, cl
cdq
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], edx
push dword [ebp - 0xd8]
push dword [ebp - 0xdc]
mov ecx, 0x10071338
call fcn.100060aa
jmp 0x1003502e
jmp 0x10035018
jmp 0x10035002
jmp 0x10034fec
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov eax, dword [ebp - 0xcc]
movzx eax, byte [eax]
test eax, eax
je 0x1003510e
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x9c]
cmp dword [eax], 0
je 0x100350fa
push 1
mov ecx, dword [ebp - 0xb8]
call fcn.10006458
cmp dword [eax], 0
je 0x100350fa
mov dword [ebp - 0x70], 1
jmp 0x100350fe
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x70]
mov dword [eax], ecx
jmp 0x10035446
mov dword [ebp - 0x6c], 0x64e2
mov dword [ebp - 0xd4], str.xaknh_dvxkxojbj_ecwb
cmp dword [ebp - 0x6c], 0x68b0
jle 0x100351dd
and dword [ebp - 0x30], 0
jmp 0x10035139
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x7e68
jge 0x100351cd
and dword [ebp - 0x20], 0
jmp 0x10035153
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x26ed
jge 0x100351c8
and dword [ebp - 0x28], 0
jmp 0x10035169
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x62e2
jge 0x100351c6
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
or eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], edx
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
lea ecx, [ebp - 0x124]
call fcn.10001a99
pop ecx
pop ecx
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
call fcn.10005da8
push eax
call fcn.1004027d
pop ecx
lea ecx, [ebp - 0x124]
call fcn.10005d9e
jmp 0x10035162
jmp 0x1003514c
jmp 0x10035132
push 0x17d0
push 0xf0c
call dword [sym.imp.GDI32.dll_RestoreDC]
mov dword [ebp - 0x7c], 0xfffffffe
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x44], 0xedd1edb6
push 4
lea ecx, [ebp - 0xe8]
call fcn.100063b9
and dword [ebp - 4], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xac], 0xfa9dfeee
mov dword [ebp - 0x14], 0
jmp 0x10035227
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1003523a
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x3c], 0xffffffff
jmp 0x10035220
lea eax, [ebp - 0x14]
push eax
push 1
push 0x6d9a
push 1
push 0
lea eax, [ebp - 0xe8]
push eax
call fcn.10033304
add esp, 0x18
mov dword [ebp - 0x7c], 3
cmp dword [ebp - 0x7c], 0x68aa
jge 0x10035274
mov dword [ebp - 0xc8], 1
jmp 0x1003527b
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xf0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
mov dword [ebp - 0xf4], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp + eax - 0x3c]
test ecx, ecx
jg 0x100352ae
mov dword [ebp - 0x48], 1
jmp 0x100352b2
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 5
jl 0x100352cd
cmp dword [ebp - 0x18], 0
jne 0x100352cd
mov eax, 0x42573927
test eax, eax
jne 0x100352cd
and dword [ebp - 0x40], 0
jmp 0x100352d4
mov dword [ebp - 0x40], 1
cmp dword [ebp - 0x40], 0x1078
jne 0x100352e6
mov dword [ebp - 0x50], 1
jmp 0x100352ea
and dword [ebp - 0x50], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
cmp eax, dword [ebp - 0x50]
jne 0x10035302
mov dword [ebp - 0x68], 1
jmp 0x10035306
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x18]
je 0x10035324
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x3c], 0
je 0x10035324
mov dword [ebp - 0x58], 1
jmp 0x10035328
and dword [ebp - 0x58], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
cmp dword [ebp - 0x58], eax
je 0x10035340
mov dword [ebp - 0x78], 1
jmp 0x10035344
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0xe467b47e
jb 0x10035356
mov dword [ebp - 0x60], 1
jmp 0x1003535a
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x18]
je 0x10035371
mov dword [ebp - 0x4c], 1
jmp 0x10035375
and dword [ebp - 0x4c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
cmp eax, dword [ebp - 0x4c]
je 0x1003538d
mov dword [ebp - 0x54], 1
jmp 0x10035391
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0x47825498
jle 0x100353a3
mov dword [ebp - 0x5c], 1
jmp 0x100353a7
and dword [ebp - 0x5c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
cmp dword [ebp - 0x5c], eax
je 0x100353bf
mov dword [ebp - 0x64], 1
jmp 0x100353c3
and dword [ebp - 0x64], 0
push 4
pop eax
shl eax, 0
mov esi, dword [ebp + eax - 0x3c]
imul esi, dword [ebp - 0x64]
push 3
lea ecx, [ebp - 0xe8]
call fcn.10006458
mov dword [eax], esi
push 0
push 0
push 1
lea eax, [ebp - 0xac]
push eax
call fcn.10035544
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.1000643c
mov dword [ebp - 4], 1
cmp dword [ebp - 0x6c], 0x62d1
jge 0x10035420
push dword [ebp - 0xd4]
call fcn.1004027d
pop ecx
jmp 0x1003543c
or dword [ebp - 4], 0xffffffff
jmp 0x10035446
mov dword [ebp - 4], 3
cmp dword [ebp - 0x74], 0x566a
jge 0x10035466
mov edx, dword [ebp - 0xbc]
mov ecx, 0x10071338
call fcn.1000aac1
jmp 0x10035482
or dword [ebp - 4], 0xffffffff
jmp 0x1003548c
jmp 0x1003551a
lea eax, [ebp + 0xc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x90], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x100354c5
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x1003551a
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x10c]
push eax
call fcn.1002e804
pop ecx
mov esi, eax
lea edi, [ebp - 0x100]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax]
call fcn.100301d7
shl eax, 1
mov ecx, dword [ebp - 0xf8]
mov eax, dword [ecx + eax*4]
sub eax, 0x12c
mov ecx, dword [ebp - 0xa0]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret