Function at 0x1002da90
Capabilities:
Check if file exists
Stop service

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008df1e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x360
mov eax, dword [0x100ab080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10068810
add esp, 0xc
call fcn.10047190
mov esi, eax
lea ecx, [ebp - 0x354]
push esi
call fcn.10047770
lea eax, [esi + 0x88]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x2b0]
call fcn.1001cea0
lea ecx, [ebp - 0x354]
call fcn.100476c0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x2a0], 0
je 0x1002db55
cmp dword [ebp - 0x29c], 7
lea eax, [ebp - 0x2b0]
push 0x104
cmova eax, dword [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
call fcn.10028f00
lea ecx, [ebp - 0x280]
lea edx, [eax + 0x13c]
call fcn.1001bc10
mov byte [ebp - 4], 2
lea eax, [ebp - 0x280]
cmp dword [ebp - 0x26c], 7
cmova eax, dword [ebp - 0x280]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x1002e21d
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002e21d
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x224], 0
movups xmmword [ebp - 0x238], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002dbd5
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.10003c90
mov byte [ebp - 4], 3
lea eax, [ebp - 0x238]
cmp dword [ebp - 0x224], 7
xorps xmm0, xmm0
mov edi, dword [ebp - 0x238]
mov esi, dword [ebp - 0x228]
cmova eax, edi
seta byte [ebp - 0x349]
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x350], eax
movups xmmword [ebp - 0x268], xmm0
cmp esi, 0x7ffffffe
ja 0x1002e2d4
cmp esi, 7
ja 0x1002dc6f
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], 7
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x268], xmm0
jmp 0x1002dcd4
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x1002dc82
mov eax, 0x7ffffffe
jmp 0x1002dc8c
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x358], eax
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.10003d30
mov ecx, dword [ebp - 0x358]
mov dword [ebp - 0x254], ecx
lea ecx, [esi*2 + 2]
push ecx
push dword [ebp - 0x350]
mov dword [ebp - 0x268], eax
push eax
mov dword [ebp - 0x258], esi
call fcn.10068280
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x250]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x240], 0
push str.jixian123
movups xmmword [ebp - 0x250], xmm0
mov dword [ebp - 0x23c], 0
call fcn.10003200
cmp byte [ebp - 0x349], 0
mov byte [ebp - 4], 6
je 0x1002dd4a
mov ecx, dword [ebp - 0x224]
mov eax, edi
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x1002dd40
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e2d9
push ecx
push edi
call fcn.100666c9
add esp, 8
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x268]
call fcn.1002c700
mov byte [ebp - 4], 7
cmp dword [ebp - 0x288], 0
je 0x1002e116
mov dword [ebp - 0x364], 0
mov dword [ebp - 0x360], 0
mov dword [ebp - 0x35c], 0
mov dword [ebp - 0x370], 0
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x368], 0
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], 9
call fcn.10008bd0
and dword [ebp - 0x230], 0xfffffe00
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
push ecx
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x348]
call fcn.10008d00
test al, al
jne 0x1002de77
mov byte [ebp - 4], 0xa
movsx eax, byte [ebp - 0x230]
sub eax, 4
je 0x1002de49
sub eax, 2
je 0x1002de1c
sub eax, 1
jne 0x1002de63
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x1002de63
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.10012bc0
push 0x30
push dword [esi]
call fcn.100666c9
push 8
push esi
call fcn.100666c9
add esp, 0x10
jmp 0x1002de63
test dword [ebp - 0x230], 0x100
je 0x1002de63
push dword [ebp - 0x238]
call fcn.100709bf
add esp, 4
mov esi, dword [ebp - 0x22c]
test esi, esi
je 0x1002df17
mov byte [ebp - 4], 0xd
jmp 0x1002def0
mov al, byte [ebp - 0x230]
cmp al, 7
je 0x1002df32
movsx eax, al
mov byte [ebp - 4], 0xa
sub eax, 4
je 0x1002dec8
sub eax, 2
je 0x1002de9b
sub eax, 1
jne 0x1002dee2
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x1002dee2
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.10012bc0
push 0x30
push dword [esi]
call fcn.100666c9
push 8
push esi
call fcn.100666c9
add esp, 0x10
jmp 0x1002dee2
test dword [ebp - 0x230], 0x100
je 0x1002dee2
push dword [ebp - 0x238]
call fcn.100709bf
add esp, 4
mov esi, dword [ebp - 0x22c]
test esi, esi
je 0x1002df17
mov byte [ebp - 4], 0xe
push 0x1000c6a0
push dword [esi - 4]
push 4
push esi
call fcn.100669f7
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
lea eax, [eax*4 + 4]
push eax
push ecx
call fcn.10066909
add esp, 8
xorps xmm0, xmm0
lea ecx, [ebp - 0x348]
movlpd qword [ebp - 0x238], xmm0
call fcn.10017960
jmp 0x1002e100
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.1002e830
lea eax, [ebp - 0x370]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.1002eab0
movsx eax, byte [ebp - 0x230]
sub eax, 4
je 0x1002df9b
sub eax, 2
je 0x1002df6e
sub eax, 1
jne 0x1002dfb5
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x1002dfb5
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.10012bc0
push 0x30
push dword [esi]
call fcn.100666c9
push 8
push esi
call fcn.100666c9
add esp, 0x10
jmp 0x1002dfb5
test dword [ebp - 0x230], 0x100
je 0x1002dfb5
push dword [ebp - 0x238]
call fcn.100709bf
add esp, 4
mov esi, dword [ebp - 0x22c]
test esi, esi
je 0x1002dfea
push 0x1000c6a0
mov byte [ebp - 4], 0xf
push dword [esi - 4]
push 4
push esi
call fcn.100669f7
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
lea eax, [eax*4 + 4]
push eax
push ecx
call fcn.10066909
add esp, 8
xorps xmm0, xmm0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x348]
movlpd qword [ebp - 0x238], xmm0
call fcn.10017960
mov esi, dword [ebp - 0x364]
cmp esi, dword [ebp - 0x360]
je 0x1002e0f5
push ecx
mov edx, esi
lea ecx, [ebp - 0x238]
call fcn.1002cb10
add esp, 4
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x1002e0a6
cmp dword [ebp - 0x224], 7
lea ecx, [ebp - 0x238]
push 0xf01ff
cmova ecx, dword [ebp - 0x238]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x350], eax
test eax, eax
je 0x1002e09f
lea ecx, [ebp - 0x2cc]
mov dword [ebp - 0x2b4], 0
push ecx
xorps xmm0, xmm0
push 1
push eax
movups xmmword [ebp - 0x2cc], xmm0
movq qword [ebp - 0x2bc], xmm0
call dword [sym.imp.ADVAPI32.dll_ControlService]
push dword [ebp - 0x350]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x224]
cmp ecx, 7
jbe 0x1002e0e6
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e0dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e2d9
push ecx
push edx
call fcn.100666c9
add esp, 8
add esi, 0x18
cmp esi, dword [ebp - 0x360]
jne 0x1002e016
lea ecx, [ebp - 0x370]
call fcn.1002e2e0
lea ecx, [ebp - 0x370]
call fcn.10011630
lea ecx, [ebp - 0x364]
call fcn.10011630
mov ecx, dword [ebp - 0x284]
cmp ecx, 0xf
jbe 0x1002e150
mov edx, dword [ebp - 0x298]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e146
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e2d9
push ecx
push edx
call fcn.100666c9
add esp, 8
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0xf
mov byte [ebp - 0x298], 0
cmp ecx, 0xf
jbe 0x1002e1a5
mov edx, dword [ebp - 0x250]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e19b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e2d9
push ecx
push edx
call fcn.100666c9
add esp, 8
mov ecx, dword [ebp - 0x254]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
cmp ecx, 7
jbe 0x1002e200
mov edx, dword [ebp - 0x268]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e1f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e2d9
push ecx
push edx
call fcn.100666c9
add esp, 8
xor eax, eax
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
mov ecx, dword [ebp - 0x26c]
cmp ecx, 7
jbe 0x1002e25d
mov edx, dword [ebp - 0x280]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e253
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e2d9
push ecx
push edx
call fcn.100666c9
add esp, 8
mov ecx, dword [ebp - 0x29c]
xor eax, eax
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
cmp ecx, 7
jbe 0x1002e2b6
mov edx, dword [ebp - 0x2b0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e2ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e2d9
push ecx
push edx
call fcn.100666c9
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006636c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10002b90
call fcn.10070c0f
int3