Function at 0x10039116
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058da2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x154
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10039767
mov eax, dword [ebp + 8]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x98], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x74], 0x7074
mov dword [ebp - 0xd0], str.zvglu_mnbbmxh_rfgcl_diejkwv_fgbjopke_hdlvrf_azoprmt_cxaip_zwrtzpmsf_rayklkz_ctn_gsozvhgo_dzghlkpx_zezlr
cmp dword [ebp - 0x74], 0x7324
jle 0x10039249
and dword [ebp - 0x3c], 0
jmp 0x10039193
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x50c4
jge 0x10039249
and dword [ebp - 0x44], 0
jmp 0x100391ad
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x13e3
jge 0x10039244
and dword [ebp - 0x24], 0
jmp 0x100391c7
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2a23
jge 0x1003923f
and dword [ebp - 0x4c], 0
jmp 0x100391dd
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x2677
jge 0x1003923d
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
and eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x4c]
cdq
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], edx
push dword [ebp - 0xe4]
push dword [ebp - 0xe8]
lea ecx, [ebp - 0x14c]
call fcn.10002548
pop ecx
pop ecx
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
call fcn.1000aa46
push eax
call fcn.10040f4c
pop ecx
lea ecx, [ebp - 0x14c]
call fcn.1000aa3c
jmp 0x100391d6
jmp 0x100391c0
jmp 0x100391a6
jmp 0x1003918c
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa8], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x74], 0x6dc9
jge 0x1003926b
push dword [ebp - 0xd0]
call fcn.10040f4c
pop ecx
jmp 0x10039287
or dword [ebp - 4], 0xffffffff
jmp 0x10039291
mov dword [ebp - 0x6c], 0x53d8
mov dword [ebp - 0xd8], str.srksluad_mvtwfwl_lzjofc_wjdqfolp_qybixbzx
cmp dword [ebp - 0x6c], 0x5649
jle 0x10039387
push 0
push 0x2589
push 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
and dword [ebp - 0x38], 0
jmp 0x100392cb
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x6e66
jge 0x10039387
and dword [ebp - 0x48], 0
jmp 0x100392e5
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x3a83
jge 0x10039382
and dword [ebp - 0x30], 0
jmp 0x100392ff
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x64bb
jge 0x1003937d
and dword [ebp - 0x40], 0
jmp 0x10039315
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x2419
jge 0x10039378
mov ecx, dword [ebp - 0x48]
imul ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
shl eax, cl
cdq
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], edx
push dword [ebp - 0xf0]
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x11c]
call fcn.10002548
pop ecx
pop ecx
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
call fcn.1000aa46
push eax
call fcn.10040f4c
pop ecx
lea ecx, [ebp - 0x11c]
call fcn.1000aa3c
jmp 0x1003930e
jmp 0x100392f8
jmp 0x100392de
jmp 0x100392c4
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x6c], 0x525d
jge 0x100393ac
push dword [ebp - 0xd8]
call fcn.10040f4c
pop ecx
jmp 0x100393c8
or dword [ebp - 4], 0xffffffff
jmp 0x100393d2
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x10039731
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x64], 0x4d61
mov dword [ebp - 0xec], str.uxj_vnygdh_qutzcqfr_elsw_bjz
cmp dword [ebp - 0x64], 0x4d6b
jle 0x100394fb
and dword [ebp - 0x18], 0
jmp 0x10039444
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4e10
jge 0x100394fb
and dword [ebp - 0x28], 0
jmp 0x1003945e
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x501a
jge 0x100394f6
and dword [ebp - 0x2c], 0
jmp 0x10039478
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x60b8
jge 0x100394f1
and dword [ebp - 0x34], 0
jmp 0x1003948e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x6a5b
jge 0x100394ef
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x34]
or eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], edx
push dword [ebp - 0xfc]
push dword [ebp - 0x100]
lea ecx, [ebp - 0x134]
call fcn.10002548
pop ecx
pop ecx
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
call fcn.1000aa46
push eax
call fcn.10040f4c
pop ecx
lea ecx, [ebp - 0x134]
call fcn.1000aa3c
jmp 0x10039487
jmp 0x10039471
jmp 0x10039457
jmp 0x1003943d
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x64], 0x4d29
jge 0x10039523
push dword [ebp - 0xec]
call fcn.10040f4c
pop ecx
jmp 0x1003953f
or dword [ebp - 4], 0xffffffff
jmp 0x10039549
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x78], 0x6f94
mov dword [ebp - 0x9c], str.wbo_bfnxagxl_lydy_vjdabawt_rkoqyegyf
cmp dword [ebp - 0x78], 0x6fde
jle 0x10039620
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
and dword [ebp - 0x1c], 0
jmp 0x100395b4
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1fe6
jge 0x10039620
and dword [ebp - 0x20], 0
jmp 0x100395ca
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4b05
jge 0x1003961e
mov eax, dword [ebp - 0x1c]
and eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], edx
push dword [ebp - 0xdc]
push dword [ebp - 0xe0]
lea ecx, [ebp - 0x164]
call fcn.10002548
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
call fcn.1000aa46
push eax
call fcn.10040f4c
pop ecx
lea ecx, [ebp - 0x164]
call fcn.1000aa3c
jmp 0x100395c3
jmp 0x100395ad
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x10039640
mov dword [ebp - 0x58], 1
jmp 0x10039644
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x58], eax
jge 0x10039657
mov dword [ebp - 0x50], 1
jmp 0x1003965b
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
cmp dword [ebp - 0x50], 2
jne 0x10039675
mov dword [ebp - 0x5c], 1
jmp 0x10039679
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
imul ecx, dword [ebp - 0x5c], 0xfffffff7
sub eax, ecx
mov ecx, dword [ebp - 0x60]
mov dword [ecx], eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x1003969e
mov dword [ebp - 0x54], 1
jmp 0x100396a2
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
imul eax, dword [ebp - 0x54]
neg eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx], eax
jge 0x100396c8
mov dword [ebp - 0x68], 1
jmp 0x100396cc
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0x5f8d
je 0x100396de
mov dword [ebp - 0x70], 1
jmp 0x100396e2
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x70]
mov dword [eax], ecx
mov dword [ebp - 4], 6
cmp dword [ebp - 0x78], 0x6c2f
jge 0x10039709
push dword [ebp - 0x9c]
call fcn.10040f4c
pop ecx
jmp 0x10039725
or dword [ebp - 4], 0xffffffff
jmp 0x1003972f
jmp 0x10039765
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
movzx eax, byte [eax]
test eax, eax
je 0x10039765
push 0
push 0x2589
push 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
jmp 0x1003977f
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xbc], eax
push 0
push dword [ebp - 0xbc]
call fcn.10033f48
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret