Function at 0x1002da70
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 0x1008af9e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x360
mov eax, dword [0x100a70c0]
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.10065890
add esp, 0xc
call fcn.10043f40
mov esi, eax
lea ecx, [ebp - 0x350]
push esi
call fcn.10044530
lea eax, [esi + 0x88]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x2b0]
call fcn.1001cca0
lea ecx, [ebp - 0x350]
call fcn.10044480
mov dword [ebp - 4], 1
cmp dword [ebp - 0x2a0], 0
je 0x1002db35
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.10028d30
lea ecx, [ebp - 0x280]
lea edx, [eax + 0x13c]
call fcn.1001ba00
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 0x1002e1f7
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002e1f7
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 0x1002dbb5
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.10003c00
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
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x34c], eax
movups xmmword [ebp - 0x268], xmm0
cmp esi, 0x7ffffffe
ja 0x1002e2ae
cmp esi, 7
ja 0x1002dc48
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], 7
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x268], xmm0
jmp 0x1002dcad
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x1002dc5b
mov eax, 0x7ffffffe
jmp 0x1002dc65
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x354], eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.10003ca0
mov ecx, dword [ebp - 0x354]
mov dword [ebp - 0x254], ecx
lea ecx, [esi*2 + 2]
push ecx
push dword [ebp - 0x34c]
mov dword [ebp - 0x268], eax
push eax
mov dword [ebp - 0x258], esi
call fcn.10065240
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.10003170
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x224]
cmp eax, 7
jbe 0x1002dd1f
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x1002dd15
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e2b3
push ecx
push edi
call fcn.100635d4
add esp, 8
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x268]
call fcn.1002c6d0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x288], 0
je 0x1002e0f0
mov dword [ebp - 0x360], 0
mov dword [ebp - 0x35c], 0
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x368], 0
mov dword [ebp - 0x364], 0
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], 9
call fcn.10008b30
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.10008c60
test al, al
jne 0x1002de4c
mov byte [ebp - 4], 0xa
movsx eax, byte [ebp - 0x230]
sub eax, 4
je 0x1002de1e
sub eax, 2
je 0x1002ddf1
sub eax, 1
jne 0x1002de38
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x1002de38
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.100128b0
push 0x30
push dword [esi]
call fcn.100635d4
push 8
push esi
call fcn.100635d4
add esp, 0x10
jmp 0x1002de38
test dword [ebp - 0x230], 0x100
je 0x1002de38
push dword [ebp - 0x238]
call fcn.1006da4f
add esp, 4
mov esi, dword [ebp - 0x22c]
test esi, esi
je 0x1002deec
mov byte [ebp - 4], 0xd
jmp 0x1002dec5
mov al, byte [ebp - 0x230]
cmp al, 7
je 0x1002df07
movsx eax, al
mov byte [ebp - 4], 0xa
sub eax, 4
je 0x1002de9d
sub eax, 2
je 0x1002de70
sub eax, 1
jne 0x1002deb7
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x1002deb7
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.100128b0
push 0x30
push dword [esi]
call fcn.100635d4
push 8
push esi
call fcn.100635d4
add esp, 0x10
jmp 0x1002deb7
test dword [ebp - 0x230], 0x100
je 0x1002deb7
push dword [ebp - 0x238]
call fcn.1006da4f
add esp, 4
mov esi, dword [ebp - 0x22c]
test esi, esi
je 0x1002deec
mov byte [ebp - 4], 0xe
push 0x1000c570
push dword [esi - 4]
push 4
push esi
call fcn.10063905
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
lea eax, [eax*4 + 4]
push eax
push ecx
call fcn.10063817
add esp, 8
xorps xmm0, xmm0
lea ecx, [ebp - 0x348]
movlpd qword [ebp - 0x238], xmm0
call fcn.10017890
jmp 0x1002e0da
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.1002e810
lea eax, [ebp - 0x36c]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.1002ea90
movsx eax, byte [ebp - 0x230]
sub eax, 4
je 0x1002df70
sub eax, 2
je 0x1002df43
sub eax, 1
jne 0x1002df8a
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x1002df8a
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.100128b0
push 0x30
push dword [esi]
call fcn.100635d4
push 8
push esi
call fcn.100635d4
add esp, 0x10
jmp 0x1002df8a
test dword [ebp - 0x230], 0x100
je 0x1002df8a
push dword [ebp - 0x238]
call fcn.1006da4f
add esp, 4
mov esi, dword [ebp - 0x22c]
test esi, esi
je 0x1002dfbf
push 0x1000c570
mov byte [ebp - 4], 0xf
push dword [esi - 4]
push 4
push esi
call fcn.10063905
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
lea eax, [eax*4 + 4]
push eax
push ecx
call fcn.10063817
add esp, 8
xorps xmm0, xmm0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x348]
movlpd qword [ebp - 0x238], xmm0
call fcn.10017890
mov esi, dword [ebp - 0x360]
cmp esi, dword [ebp - 0x35c]
je 0x1002e0cf
nop dword [eax + eax]
push ecx
mov edx, esi
lea ecx, [ebp - 0x238]
call fcn.1002cae0
add esp, 4
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x1002e080
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 - 0x34c], eax
test eax, eax
je 0x1002e079
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 - 0x34c]
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 0x1002e0c0
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e0b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e2b3
push ecx
push edx
call fcn.100635d4
add esp, 8
add esi, 0x18
cmp esi, dword [ebp - 0x35c]
jne 0x1002dff0
lea ecx, [ebp - 0x36c]
call fcn.1002e2c0
lea ecx, [ebp - 0x36c]
call fcn.10011580
lea ecx, [ebp - 0x360]
call fcn.10011580
mov ecx, dword [ebp - 0x284]
cmp ecx, 0xf
jbe 0x1002e12a
mov edx, dword [ebp - 0x298]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e120
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e2b3
push ecx
push edx
call fcn.100635d4
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 0x1002e17f
mov edx, dword [ebp - 0x250]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e175
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e2b3
push ecx
push edx
call fcn.100635d4
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 0x1002e1da
mov edx, dword [ebp - 0x268]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e1d0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e2b3
push ecx
push edx
call fcn.100635d4
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 0x1002e237
mov edx, dword [ebp - 0x280]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e22d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e2b3
push ecx
push edx
call fcn.100635d4
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 0x1002e290
mov edx, dword [ebp - 0x2b0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e286
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e2b3
push ecx
push edx
call fcn.100635d4
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.10063277
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10002b20
call fcn.1006dc9f
int3