Function at 0x10061818
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10061b7d
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x78], 0x77e8
mov dword [ebp - 0xec], 0x1000e770
cmp dword [ebp - 0x78], 0x7966
jle 0x100618f9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_Beep]
and dword [ebp - 0x3c], 0
jmp 0x10061874
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x1baf
jge 0x100618e9
and dword [ebp - 0x18], 0
jmp 0x1006188a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1e99
jge 0x100618e7
mov eax, dword [ebp - 0x3c]
cdq
idiv dword [ebp - 0x18]
mov eax, edx
cdq
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], edx
push dword [ebp - 0x114]
push dword [ebp - 0x118]
lea ecx, [ebp - 0x16c]
call fcn.1001098e
pop ecx
pop ecx
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
call fcn.100208b8
push eax
call fcn.1006abb3
pop ecx
lea ecx, [ebp - 0x16c]
call fcn.100208ae
jmp 0x10061883
jmp 0x1006186d
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_PeekMessageA]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0x78], 0x74a3
jge 0x10061917
push dword [ebp - 0xec]
call fcn.1006abb3
pop ecx
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xac], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x68], 0x1872
mov dword [ebp - 0x9c], 0x1000e7a4
cmp dword [ebp - 0x68], 0x197b
jle 0x100619ba
and dword [ebp - 0x54], 0
jmp 0x10061950
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x5cfb
jge 0x100619ba
and dword [ebp - 0x4c], 0
jmp 0x10061966
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x43bf
jge 0x100619b8
and dword [ebp - 0x20], 0
jmp 0x1006197c
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4476
jge 0x100619b6
mov eax, dword [ebp - 0x4c]
cdq
idiv dword [ebp - 0x20]
mov eax, dword [ebp - 0x54]
sub eax, edx
cdq
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], edx
push dword [ebp - 0x120]
push dword [ebp - 0x124]
mov ecx, 0x10085b58
call fcn.100208d8
jmp 0x10061975
jmp 0x1006195f
jmp 0x10061949
mov eax, dword [ebp + 8]
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x68], 0x175e
jge 0x100619dc
mov edx, dword [ebp - 0x9c]
mov ecx, 0x10085b58
call fcn.10023628
mov eax, dword [ebp - 0x11c]
movzx eax, byte [eax]
test eax, eax
je 0x10061af1
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x58]
cmp dword [eax], 0
je 0x10061ad1
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x10061a85
mov dword [ebp - 0x70], 1
jmp 0x10061a89
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
cmp dword [ebp - 0x70], eax
jl 0x10061a9c
mov dword [ebp - 0x5c], 1
jmp 0x10061aa0
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
cmp dword [ebp - 0x5c], eax
je 0x10061abe
mov dword [ebp - 0x80], 1
jmp 0x10061ac2
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x80]
inc eax
je 0x10061ad1
mov dword [ebp - 0x60], 1
jmp 0x10061ad5
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
mov eax, dword [ebp - 0xd4]
mov dword [eax], 0x4c3f4f88
jmp 0x10061b78
mov dword [ebp - 0xc], 0x68ec0ae9
mov dword [ebp - 0x110], 0
mov dword [ebp - 0xc], 0
jmp 0x10061b12
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x17
jne 0x10061b62
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0x128], 0xcd4431fa
push 0x151
push 1
push 0x3df3
lea eax, [ebp - 0x128]
push eax
push 1
push 0x481b
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.10047e7a
add esp, 0x24
jmp 0x10061b0b
push 0x731d
push 1
push 0
push 0x1a3a
call fcn.1004a0b9
add esp, 0x10
jmp 0x10061fed
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xb0], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x8c], 0x2787
mov dword [ebp - 0xf8], 0x1000e7e4
cmp dword [ebp - 0x8c], 0x289f
jle 0x10061c2d
and dword [ebp - 0x28], 0
jmp 0x10061bd7
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x151b
jge 0x10061c23
and dword [ebp - 0x40], 0
jmp 0x10061bed
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x115b
jge 0x10061c21
mov eax, dword [ebp - 0x28]
or eax, dword [ebp - 0x40]
cdq
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], edx
push dword [ebp - 0x12c]
push dword [ebp - 0x130]
mov ecx, 0x10085b58
call fcn.100208d8
jmp 0x10061be6
jmp 0x10061bd0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [ebp - 0xe4]
movzx eax, byte [eax]
test eax, eax
je 0x10061d46
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x10061d41
mov dword [ebp - 0x64], 0x49e8
mov dword [ebp - 0xa0], 0x1000e810
cmp dword [ebp - 0x64], 0x4c34
jle 0x10061d17
and dword [ebp - 0x48], 0
jmp 0x10061c92
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x2fa5
jge 0x10061d17
and dword [ebp - 0x38], 0
jmp 0x10061ca8
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x393a
jge 0x10061d12
and dword [ebp - 0x30], 0
jmp 0x10061cbe
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x4c90
jge 0x10061d10
and dword [ebp - 0x50], 0
jmp 0x10061cd4
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x7ec1
jge 0x10061d0e
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x50]
and eax, dword [ebp - 0x38]
xor eax, dword [ebp - 0x48]
cdq
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], edx
push dword [ebp - 0x13c]
push dword [ebp - 0x140]
mov ecx, 0x10085b58
call fcn.100208d8
jmp 0x10061ccd
jmp 0x10061cb7
jmp 0x10061ca1
jmp 0x10061c8b
push 1
push 1
push 0x1646
call fcn.100514cd
add esp, 0xc
cmp dword [ebp - 0x64], 0x4820
jge 0x10061d41
mov edx, dword [ebp - 0xa0]
mov ecx, 0x10085b58
call fcn.10023628
jmp 0x10061fd1
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x6c], 0x3cd8
mov dword [ebp - 0xb8], 0x1000e870
cmp dword [ebp - 0x6c], 0x409f
jle 0x10061e10
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
and dword [ebp - 0x34], 0
jmp 0x10061d8b
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x5834
jge 0x10061e10
and dword [ebp - 0x24], 0
jmp 0x10061da1
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6c00
jge 0x10061e0b
and dword [ebp - 0x2c], 0
jmp 0x10061db7
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x308e
jge 0x10061e09
and dword [ebp - 0x10], 0
jmp 0x10061dcd
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x18c1
jge 0x10061e07
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0x34]
or eax, dword [ebp - 0x10]
cdq
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], edx
push dword [ebp - 0x148]
push dword [ebp - 0x14c]
mov ecx, 0x10085b58
call fcn.100208d8
jmp 0x10061dc6
jmp 0x10061db0
jmp 0x10061d9a
jmp 0x10061d84
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0x6c], 0x3ad1
jge 0x10061e35
mov edx, dword [ebp - 0xb8]
mov ecx, 0x10085b58
call fcn.10023628
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0xfffffff3
jmp 0x10061e75
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xfffffffe
jge 0x10061fd1
mov dword [ebp - 0x74], 0x2138
mov dword [ebp - 0xe0], 0x1000e898
cmp dword [ebp - 0x74], 0x231d
jle 0x10061f14
and dword [ebp - 0x44], 0
jmp 0x10061ea8
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x4af4
jge 0x10061f14
and dword [ebp - 0x14], 0
jmp 0x10061ebe
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xd80
jge 0x10061f12
and dword [ebp - 0x1c], 0
jmp 0x10061ed4
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5c2f
jge 0x10061f10
mov eax, dword [ebp - 0x44]
cdq
idiv dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
shl edx, cl
mov eax, edx
cdq
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
push dword [ebp - 0x134]
push dword [ebp - 0x138]
mov ecx, 0x10085b58
call fcn.100208d8
jmp 0x10061ecd
jmp 0x10061eb7
jmp 0x10061ea1
mov dword [ebp - 0x150], 0xfffffffe
cmp dword [ebp - 0x74], 0x2041
jge 0x10061f37
mov edx, dword [ebp - 0xe0]
mov ecx, 0x10085b58
call fcn.10023628
mov dword [ebp - 0x154], 0xcc9105fa
mov dword [ebp - 0x7c], 0x87263b0a
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov dword [ebp - 0x7c], 0xfffffffc
mov eax, dword [ebp - 8]
mov eax, dword [eax]
imul eax, dword [ebp - 0x7c]
cmp eax, 1
jle 0x10061f73
mov dword [ebp - 0x84], 1
jmp 0x10061f7a
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx]
add eax, 0x62992195
mov ecx, dword [ebp - 0xe8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov dword [eax], 6
jmp 0x10061fad
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x10061fcc
mov dword [ebp - 0xf0], 0x6a5b5cf0
cmp dword [ebp - 0xf0], 0
je 0x10061fca
jmp 0x10061fcc
jmp 0x10061fa2
jmp 0x10061e6a
cmp dword [ebp - 0x8c], 0x2692
jge 0x10061fed
mov edx, dword [ebp - 0xf8]
mov ecx, 0x10085b58
call fcn.10023628
mov esp, ebp
pop ebp
ret