Function at 0x100194b8
Capabilities:
Modify service
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
xor edx, edx
mov dword [ebp - 0x10], 0x7e2799ac
push esi
push edi
mov dword [ebp - 0x28], edx
xor edi, edi
mov dword [ebp - 0x24], 0xfffffffe
mov bl, cl
mov dword [ebp - 4], edx
inc edi
jmp 0x100194ef
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x2c], 0x92657cf7
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x100194e1
mov dword [ebp - 4], edx
jmp 0x10019507
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x30], 0xfff9
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x100194f9
push 6
pop eax
push 2
mov dword [ebp - 0x10], edx
pop esi
jmp 0x1001965d
mov dword [ebp - 8], 0xfd4914d2
mov dword [ebp - 0x18], 0xfff8
mov dword [ebp - 4], edx
jmp 0x1001953e
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xcc], 0x71fda660
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jl 0x1001952d
mov dword [ebp - 4], edx
jmp 0x1001955a
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x90], 0x8c4b0538
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x10019549
cmp dword [ebp - 8], edx
jne 0x10019666
cmp dword [ebp - 8], 0x9ac196a1
jne 0x100195b1
mov dword [ebp - 4], 0xcf04b064
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
cmp ecx, eax
setge dl
mov dword [ebp - 0x2c], edx
jmp 0x10019654
mov dword [ebp - 8], edx
jmp 0x100195c7
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x98], 0xfffffff8
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jl 0x100195b6
mov eax, dword [ebp - 0x24]
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
add ecx, eax
neg ecx
push 6
sbb ecx, ecx
inc ecx
pop eax
cmp eax, ecx
mov eax, 0x7dbc1554
sbb ecx, ecx
inc ecx
sub eax, ecx
jne 0x100195f5
cmp dword [ebp - 0x28], edx
je 0x100195f7
mov edx, edi
mov eax, dword [ebp - 0x90]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x18]
setle cl
imul eax, ecx
test eax, eax
jne 0x10019617
cmp dword [ebp - 0x2c], eax
jne 0x10019617
xor ecx, ecx
jmp 0x10019619
mov ecx, edi
mov dword [ebp - 8], 0
xor edx, edx
mov eax, dword [ebp - 0x2c]
cmp ecx, eax
mov eax, dword [ebp - 0x98]
sete dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 8]
setle cl
imul eax, ecx
test eax, eax
jne 0x10019649
cmp dword [ebp - 0x94], eax
je 0x1001964b
mov eax, edi
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x10]
inc dword [ebp - 0x10]
push 6
pop eax
push 0
pop edx
cmp dword [ebp - 0x10], eax
jge 0x1001951a
test bl, bl
je 0x100198b9
mov dword [ebp - 0x18], 0x1d925b0e
mov dword [ebp - 4], 0x37d45db3
mov dword [ebp - 0x10], 0xebbfad0d
push 3
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], edx
pop esi
jmp 0x1001969c
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x5c], 0x2887cf2e
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jl 0x1001968e
mov dword [ebp - 0x18], 0x8261f9c2
mov eax, dword [ebp - 0x18]
push 2
mov dword [ebp - 4], eax
pop ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], edx
jl 0x1001977b
mov dword [ebp - 0x24], 0x8cf4c59c
xor ecx, ecx
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 4]
mov edx, dword [ebp + eax*4 - 0x5c]
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x5c]
cmp edx, eax
setg cl
cmp ecx, edi
jl 0x100196e7
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x5c]
mov eax, dword [ebp - 4]
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x5c]
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x5c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x5c]
cmp eax, edi
sete cl
sub ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, edi
setl dl
xor ecx, ecx
cmp eax, edx
mov eax, dword [ebp - 0x18]
setge cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 4]
setle dl
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x5c]
cmp eax, edx
mov eax, dword [ebp - 0x10]
setl cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x18]
setle dl
xor ecx, ecx
cmp edx, eax
setle cl
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
sub edx, eax
neg edx
sbb edx, edx
inc edx
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setg cl
mov dword [ebp - 0x14], ecx
dec dword [ebp - 4]
jns 0x100196bd
xor edx, edx
mov byte [ebp - 9], dl
mov eax, 0xa5d6c05b
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 8], 0x7eede0b4
mov dword [ebp - 0x14], 0xfffffffa
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x14], 0xa061fa4
mov dword [ebp - 8], esi
cmp dword [ebp - 8], edx
jl 0x1001987a
mov eax, 0xd3c891c5
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], esi
jg 0x10019871
mov dword [ebp - 0x18], 0x12530a9b
mov dword [ebp - 0x14], 0x914a
mov dword [ebp - 0x10], edx
jmp 0x100197f4
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xa8], 0xbb9a2f72
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ebx
jl 0x100197e3
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x14], edx
jne 0x1001980a
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x3c]
xor edx, edx
mov eax, dword [ebp + eax*4 - 0x70]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x64]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
imul ecx, dword [ebp - 0x14], 3
mov eax, dword [ebp - 0x68]
cmp ecx, eax
setne dl
imul eax, edx, 0x2024
add eax, 0x6811209a
mov dword [ebp - 0xa4], eax
je 0x10019859
mov eax, dword [ebp - 0x3c]
xor edx, edx
cmp dword [ebp + eax*4 - 0x70], edx
je 0x1001985b
mov eax, edi
jmp 0x1001985d
xor edx, edx
mov eax, edx
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], esi
jle 0x100197d0
mov eax, 0xd3c891c5
dec dword [ebp - 8]
jns 0x100197b8
mov byte [ebp - 0x19], dl
cmp byte [ebp - 0x19], 0
je 0x100198a2
push edx
push edx
push edx
push edx
push edx
push edx
push edx
push 0x239c
push 0x7cd
push 0x2641
push edx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
xor edx, edx
cmp byte [ebp - 9], 0
je 0x10019c23
push edx
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
jmp 0x10019c23
mov dword [ebp - 4], edi
mov eax, dword [ebp - 4]
mov dword [ebp - 8], edx
jmp 0x100198d2
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x20], 0xa0029bf3
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x100198c4
mov dword [ebp - 4], edx
jmp 0x10019900
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x20]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x20], ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], edx
jle 0x100198dc
mov byte [ebp - 9], dl
cmp byte [ebp - 9], 0
je 0x10019923
push 0x674
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
xor edx, edx
mov byte [ebp - 9], dl
cmp byte [ebp - 9], 0
je 0x10019945
push 0x748
push 0x85
push edx
push 0xfdf
push edx
call dword [sym.imp.USER32.dll_GetMenuStringW]
xor edx, edx
mov dword [ebp - 0x10], 0xfffffff8
mov dword [ebp - 8], edx
jmp 0x1001995f
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x78], 0xfffffffa
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jl 0x10019951
mov dword [ebp - 0x10], edi
push 0xffffffffffffffff
pop ebx
cmp dword [ebp - 0x10], edx
jl 0x100199ed
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], 7
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x18], edx
jl 0x100199d2
mov dword [ebp - 8], 0x90a23371
mov dword [ebp - 8], 7
mov eax, dword [ebp - 8]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 8], eax
mov dword [ebp - 8], edi
cmp dword [ebp - 8], edx
jl 0x100199cd
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x78], edx
jne 0x100199cd
mov byte [ebp - 9], dl
cmp byte [ebp - 9], 0
je 0x100199c8
push 0x1142
push 0x1f35
push edx
call dword [sym.imp.GDI32.dll_CreatePolygonRgn]
xor edx, edx
dec dword [ebp - 8]
jns 0x100199a3
dec dword [ebp - 0x18]
jns 0x10019981
mov dword [ebp - 8], edi
cmp dword [ebp - 8], edx
jl 0x100199e8
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x78], edx
jne 0x100199e8
dec dword [ebp - 8]
jns 0x100199da
dec dword [ebp - 0x10]
jns 0x1001996f
mov byte [ebp - 9], dl
cmp byte [ebp - 9], 0
je 0x10019ae4
mov dword [ebp - 8], 0xea5d6c05
mov dword [ebp - 0x14], 0x2cf415d7
mov dword [ebp - 0x14], 0xd210ec32
mov dword [ebp - 0x14], 0x31d14cd4
push 3
mov dword [ebp - 0x14], 0xa9b27fa
mov dword [ebp - 8], edx
pop esi
jmp 0x10019a32
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xbc], ebx
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jl 0x10019a25
push 2
mov dword [ebp - 8], 0xffffffec
pop esi
cmp dword [ebp - 8], 0x1d
jne 0x10019ad6
mov dword [ebp - 0x14], 0x6e6f7fbf
mov dword [ebp - 0x14], 0xfffffff7
mov dword [ebp - 0x14], 0x2717f403
mov dword [ebp - 4], edx
jmp 0x10019a76
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xb0], 0xde0b4074
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x10019a65
mov dword [ebp - 4], edx
jmp 0x10019a8a
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x50], edi
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x10019a80
mov dword [ebp - 0x50], edx
jmp 0x10019ac9
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x14], 0xb1943c6f
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x14], 0x530a9bca
mov dword [ebp - 0x14], ebx
dec dword [ebp - 0x88]
inc dword [ebp - 0x14]
inc dword [ebp - 0x50]
cmp dword [ebp - 0x50], edi
jle 0x10019a94
inc dword [ebp - 8]
jmp 0x10019a41
push edx
push edx
push edx
push edx
push edx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
mov dword [ebp - 4], 0x490c4d8e
mov dword [ebp - 4], edx
jmp 0x10019afa
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x38], edi
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x10019af0
mov dword [ebp - 4], edx
jmp 0x10019b12
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x60], 0xed66e5dc
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x10019b04
mov dword [ebp - 4], edx
jmp 0x10019b2d
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xa0], 0x71d69170
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x10019b1c
mov dword [ebp - 4], edx
jmp 0x10019c1a
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], 0xfffffff8
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x10], edx
jl 0x10019c17
mov dword [ebp - 0x14], 0x7bf19931
mov byte [ebp - 9], dl
cmp byte [ebp - 9], 0
je 0x10019b6c
push edx
push edx
push edx
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
xor edx, edx
cmp dword [ebp - 0x10], edx
je 0x10019b74
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp ecx, eax
mov eax, dword [ebp - 4]
sbb ecx, ecx
neg ecx
inc eax
cmp ecx, eax
jne 0x10019b8e
mov eax, edx
cmp dword [ebp - 0x34], edx
je 0x10019b90
mov eax, edi
mov dword [ebp - 0x14], eax
xor edx, edx
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
cmp eax, ecx
mov eax, dword [ebp - 0x34]
setl dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [ebp - 4]
push 0
setg bl
xor ecx, ecx
cmp eax, ebx
mov eax, dword [ebp - 4]
setl cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 4]
setl dl
sub edx, dword [ebp + eax*4 - 0x38]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x38]
cmp eax, edx
mov eax, dword [ebp - 0x34]
setl cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x10]
setl dl
xor ecx, ecx
cmp edx, eax
pop edx
setl cl
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x10]
neg eax
sbb eax, eax
inc eax
sub eax, dword [ebp - 0x10]
sub eax, 0x2281f883
mov dword [ebp - 0xa0], eax
dec dword [ebp - 0x10]
jns 0x10019b50
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jle 0x10019b3a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret