Function at 0x1002a923
Capabilities:
Delete directory
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov dword [ebp - 0xc], 0xb743d837
mov dword [ebp - 0xa8], 0xffffffff
mov dword [ebp - 4], 0
jmp 0x1002a94d
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x1002a963
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xdc], 0x82062403
jmp 0x1002a946
mov dword [ebp - 4], 0
jmp 0x1002a973
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x1002a989
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xa4], 0x142b9193
jmp 0x1002a96c
mov dword [ebp - 4], 0
jmp 0x1002a999
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x1002a9af
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x134], 0xffff
jmp 0x1002a992
mov dword [ebp - 0xc], 0
jmp 0x1002a9bf
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jg 0x1002ab20
mov dword [ebp - 0x40], 8
mov dword [ebp - 0x100], 0xfffffffc
mov dword [ebp - 0xfc], 0xfffffffc
mov dword [ebp - 0xf8], 0xfffffffc
mov dword [ebp - 0xf4], 0xfffffffc
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x54]
mov dword [ebp + eax - 0xa4], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xdc]
cmp dword [ebp - 0x54], eax
jle 0x1002aa4e
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xdc], 0
jne 0x1002aa4e
and dword [ebp - 0x80], 0
jmp 0x1002aa55
mov dword [ebp - 0x80], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0xdc]
cmp eax, dword [ebp - 0x80]
jge 0x1002aa6d
mov dword [ebp - 0x38], 1
jmp 0x1002aa71
and dword [ebp - 0x38], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x38]
mov dword [ebp + eax - 0x100], ecx
imul eax, dword [ebp - 0x38], 0x8cf
mov ecx, dword [ebp - 0xc]
lea eax, [eax + ecx - 0x181290e8]
cmp eax, 1
jne 0x1002aaa3
mov dword [ebp - 0xb0], 1
jmp 0x1002aaaa
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x110], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xdc]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x8573
jl 0x1002aad8
mov dword [ebp - 0x7c], 1
jmp 0x1002aadc
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0xdc]
imul eax, dword [ebp - 0x7c]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0xdc]
test eax, eax
jne 0x1002ab0b
mov eax, 0xb969b42c
test eax, eax
jne 0x1002ab0b
and dword [ebp - 0x64], 0
jmp 0x1002ab12
mov dword [ebp - 0x64], 1
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xa8], eax
jmp 0x1002a9b8
mov dword [ebp - 0xc], 0
jmp 0x1002ab30
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 9
jge 0x1002ac35
mov dword [ebp - 0x20], 0xf18
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x134], 0
je 0x1002ab63
mov eax, 0xf0a6
test eax, eax
je 0x1002ab63
mov dword [ebp - 0x6c], 1
jmp 0x1002ab67
and dword [ebp - 0x6c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xa4]
cmp dword [ebp - 0x20], eax
je 0x1002ab85
mov dword [ebp - 0x90], 1
jmp 0x1002ab8c
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x90], eax
je 0x1002aba3
mov dword [ebp - 0xb4], 1
jmp 0x1002abaa
and dword [ebp - 0xb4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xa4]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x20]
neg eax
mov ecx, dword [ebp - 0x6c]
sub ecx, eax
je 0x1002abd2
mov eax, 0x1ce0
test eax, eax
jne 0x1002abe4
mov eax, 0xfff7
test eax, eax
jne 0x1002abe4
and dword [ebp - 0x88], 0
jmp 0x1002abee
mov dword [ebp - 0x88], 1
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x20]
jge 0x1002ac06
mov dword [ebp - 0x74], 1
jmp 0x1002ac0a
and dword [ebp - 0x74], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x74]
mov dword [ebp + eax - 0xa4], ecx
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1002ac30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x1002ab29
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002ae17
mov dword [ebp - 0x1c], 4
mov byte [ebp - 0x13], 0
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x1002ac6f
push 0x2009
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_Polyline]
mov dword [ebp - 0x1c], 0
jmp 0x1002ac7f
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x13
jge 0x1002ac8f
cmp dword [ebp - 0x1c], 0
je 0x1002ac8d
jmp 0x1002ac8f
jmp 0x1002ac78
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x48], 0x6d4f2887
mov dword [ebp - 0x2c], 0x664dc9ed
mov dword [ebp - 0x18], 0x85faafe3
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0xbc], 0x12afd77c
mov dword [ebp - 0xcc], 0xffffffff
mov dword [ebp - 0x34], 0
jmp 0x1002acdd
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x1002acf3
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0xf0], 0x87a5eafb
jmp 0x1002acd6
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x3c], 0
jae 0x1002ad29
mov dword [ebp - 0x98], 1
jmp 0x1002ad30
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x48], eax
jle 0x1002ad53
cmp dword [ebp - 0x44], 0
je 0x1002ad53
mov dword [ebp - 0xc8], 1
jmp 0x1002ad5a
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x120], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xf0]
mov dword [ebp - 0x10c], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x44]
cmp dword [ebp + eax - 0xf0], ecx
jl 0x1002ada3
mov dword [ebp - 0x50], 1
jmp 0x1002ada7
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x18]
jge 0x1002adbc
mov dword [ebp - 0x58], 1
jmp 0x1002adc0
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0xbc]
imul eax, dword [ebp - 0x58]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x18], 0
jmp 0x1002ade0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jg 0x1002adfc
mov byte [ebp - 0x14], 0
movzx eax, byte [ebp - 0x14]
test eax, eax
je 0x1002adfa
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1002add9
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp 0x1002b06f
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x28], 0xb0cadfb1
mov dword [ebp - 8], 0
jmp 0x1002ae35
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x1002ae48
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x10], 8
jmp 0x1002ae2e
mov dword [ebp - 8], 0
jmp 0x1002ae58
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x1002ae6e
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xc4], 0xfffffff6
jmp 0x1002ae51
mov dword [ebp - 8], 0
jmp 0x1002ae7e
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x1002ae94
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xe8], 0x90f9986e
jmp 0x1002ae77
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x10], 0
jmp 0x1002aeb9
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x10], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10], 0x1d
je 0x1002aedc
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x1002aeda
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1002aea4
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x24]
cmp dword [ebp + eax - 0x10], ecx
jle 0x1002aef4
mov dword [ebp - 0x60], 1
jmp 0x1002aef8
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x60], eax
jg 0x1002af09
mov dword [ebp - 0x68], 1
jmp 0x1002af0d
and dword [ebp - 0x68], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xc4]
imul eax, dword [ebp - 0x68]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0xc4]
je 0x1002af36
mov dword [ebp - 0x78], 1
jmp 0x1002af3a
and dword [ebp - 0x78], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xe8]
inc eax
mov dword [ebp - 0x70], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x70]
mov dword [ebp + eax - 0xe8], ecx
mov eax, dword [ebp - 0x70]
imul eax, dword [ebp - 0x78]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x10]
sub ecx, eax
mov dword [ebp - 0x28], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp eax, dword [ebp - 0x28]
jl 0x1002af9c
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xe8], 0
je 0x1002af9c
mov dword [ebp - 0x84], 1
jmp 0x1002afa3
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x84], eax
jge 0x1002afba
mov dword [ebp - 0x8c], 1
jmp 0x1002afc1
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0x6baf
jl 0x1002afd9
mov dword [ebp - 0x94], 1
jmp 0x1002afe0
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x24]
jne 0x1002aff7
mov dword [ebp - 0xac], 1
jmp 0x1002affe
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x28], eax
jne 0x1002b018
mov dword [ebp - 0x4c], 1
jmp 0x1002b01c
and dword [ebp - 0x4c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x4c]
mov dword [ebp + eax - 0xc4], ecx
cmp dword [ebp - 0x4c], 0
jne 0x1002b04b
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xe8], 0
jne 0x1002b04b
and dword [ebp - 0x9c], 0
jmp 0x1002b055
mov dword [ebp - 0x9c], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x9c]
mov dword [ebp + eax - 0x10], ecx
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov esp, ebp
pop ebp
ret