Function at 0x4613a8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x40], 0x703d9b95
mov dword [ebp - 0x84], 0
mov dword [ebp - 0xb4], 0x70512a30
mov dword [ebp - 0x98], 0xd66c4a87
mov dword [ebp - 0xc4], 0
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x4613fb
push 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x40], eax
mov eax, 0x37c1d6b3
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x40], eax
jl 0x461438
mov dword [ebp - 0xa4], 1
jmp 0x46143f
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0xfffffffb
je 0x461451
mov dword [ebp - 0x60], 1
jmp 0x461455
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x60]
imul eax, eax, 0xffff
test eax, eax
jne 0x461472
mov dword [ebp - 0xac], 1
jmp 0x461479
and dword [ebp - 0xac], 0
imul eax, dword [ebp - 0xac], 0xba33
test eax, eax
je 0x461496
cmp dword [ebp - 0x40], 0
je 0x461496
mov dword [ebp - 0x68], 1
jmp 0x46149a
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xc4], eax
movzx eax, byte [ebp + 8]
test eax, eax
je 0x4615c8
mov dword [ebp - 0x34], 0
mov byte [ebp - 6], 0
movzx eax, byte [ebp - 6]
test eax, eax
je 0x4614f5
push 0x13d0
push 0
push 0xa20
push 0x15bd
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x34], 0
jmp 0x461505
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x4615b4
push 3
lea ecx, [ebp - 0x118]
call fcn.00415aed
mov dword [ebp - 0xc], 0xa0029bf3
mov dword [ebp - 0x24], 0
jmp 0x461533
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x46154c
push dword [ebp - 0x24]
lea ecx, [ebp - 0x118]
call fcn.00415bdb
or dword [eax], 0xffffffff
jmp 0x46152c
mov dword [ebp - 0xc], 0
jmp 0x46155c
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jg 0x4615a4
mov dword [ebp - 0xec], 0xfffffffc
push dword [ebp - 0xc]
lea ecx, [ebp - 0x118]
call fcn.00415bdb
mov dword [ebp - 0x74], eax
push dword [ebp - 0xc]
lea ecx, [ebp - 0x118]
call fcn.00415bdb
mov ecx, dword [ebp - 0x74]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
sub eax, dword [ebp - 0xc]
neg eax
mov dword [ebp - 0xec], eax
jmp 0x461555
lea ecx, [ebp - 0x118]
call fcn.00415bbf
jmp 0x4614fe
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowInfo]
jmp 0x461b56
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x88], 0xffffffff
mov dword [ebp - 0x2c], 5
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0x108], 1
mov dword [ebp - 0x104], 1
mov dword [ebp - 0x100], 1
mov dword [ebp - 0x1c], 0x6721f7d
mov dword [ebp - 0x54], 1
mov dword [ebp - 4], 0
jmp 0x461636
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x46164c
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xc0], 0x99cfe04
jmp 0x46162f
mov dword [ebp - 4], 0
jmp 0x46165c
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x461672
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xfc], 0xfffffffe
jmp 0x461655
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xc0]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x10c], 0
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x2c], eax
jle 0x4616c2
mov dword [ebp - 0xe4], 1
jmp 0x4616c9
and dword [ebp - 0xe4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xc0]
mov dword [ebp - 0x130], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xc0]
cmp dword [ebp - 0x2c], eax
jne 0x4616fa
mov dword [ebp - 0x94], 1
jmp 0x461701
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x94], eax
jge 0x461715
mov dword [ebp - 0x7c], 1
jmp 0x461719
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x54]
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0xc0]
lea eax, [eax + ecx + 0x1abdf11c]
cmp eax, 0xffff
jne 0x461746
mov dword [ebp - 0xa8], 1
jmp 0x46174d
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0x1f19
je 0x461765
mov dword [ebp - 0xa0], 1
jmp 0x46176c
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0xa0], eax
jge 0x461790
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x10c], 0
jne 0x461790
and dword [ebp - 0x8c], 0
jmp 0x46179a
mov dword [ebp - 0x8c], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xfc]
mov dword [ebp - 0xdc], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x8c]
sub ecx, dword [ebp + eax - 0xc0]
mov dword [ebp - 0xe8], ecx
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xfc]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0xfc], eax
mov eax, dword [ebp - 0xdc]
cmp eax, dword [ebp - 0xe8]
jne 0x4617f8
mov dword [ebp - 0xb0], 1
jmp 0x4617ff
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x88], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xc0], 0xfffc
jb 0x461829
mov dword [ebp - 0xe0], 1
jmp 0x461830
and dword [ebp - 0xe0], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xfc], 0
jne 0x46184b
or eax, 0xffffffff
jne 0x46184b
and dword [ebp - 0x6c], 0
jmp 0x461852
mov dword [ebp - 0x6c], 1
imul eax, dword [ebp - 0x6c], 0xfff8
cmp eax, 0xbc6c2db6
jb 0x461878
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xc0], 0
jne 0x461878
and dword [ebp - 0xf0], 0
jmp 0x461882
mov dword [ebp - 0xf0], 1
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xfc], 0xcf63547a
je 0x4618a1
push 0xfffffffffffffffe
pop eax
test eax, eax
jne 0x4618a1
and dword [ebp - 0x70], 0
jmp 0x4618a8
mov dword [ebp - 0x70], 1
cmp dword [ebp - 0x70], 1
je 0x4618b7
mov dword [ebp - 0x78], 1
jmp 0x4618bb
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0xfffe
je 0x4618cd
mov dword [ebp - 0x80], 1
jmp 0x4618d1
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x80]
sub eax, 0xffff
sub eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x88]
jl 0x4618f1
mov dword [ebp - 0x44], 1
jmp 0x4618f5
and dword [ebp - 0x44], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov dword [ebp + eax - 0x10c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x44], eax
jl 0x461919
mov dword [ebp - 0x90], 1
jmp 0x461920
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x3c], 0x11
jmp 0x461940
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffeb
je 0x4619fe
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x144], 7
mov dword [ebp - 0x140], 7
mov dword [ebp - 0x13c], 7
mov dword [ebp - 0x138], 7
mov dword [ebp - 0x38], 0
jmp 0x461989
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jle 0x4619f9
push 3
lea ecx, [ebp - 0x124]
call fcn.00415aed
mov dword [ebp - 0x30], 0
jmp 0x4619ac
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x4619c8
push dword [ebp - 0x30]
lea ecx, [ebp - 0x124]
call fcn.00415bdb
mov dword [eax], 7
jmp 0x4619a5
push 2
lea ecx, [ebp - 0x124]
call fcn.00415bdb
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x9c]
mov dword [ecx], eax
lea ecx, [ebp - 0x124]
call fcn.00415bbf
jmp 0x461982
jmp 0x461939
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x50], eax
push 1
lea ecx, [ebp - 0xd8]
call fcn.00415aed
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0x20], 0
jmp 0x461a2e
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x461a4a
push dword [ebp - 0x20]
lea ecx, [ebp - 0xd8]
call fcn.00415bdb
mov dword [eax], 0x5d6c05ba
jmp 0x461a27
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x461a64
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
lea ecx, [ebp - 0xd8]
call fcn.00415bdb
mov dword [eax], 0xfffffff2
jmp 0x461a94
push 0
lea ecx, [ebp - 0xd8]
call fcn.00415bdb
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0xd8]
call fcn.00415bdb
cmp dword [eax], 5
jge 0x461b32
mov dword [ebp - 0x28], 0xe0b4074d
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x28], 0
jmp 0x461ac8
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffee
je 0x461b19
mov dword [ebp - 0x18], 0xfffffffb
mov dword [ebp - 0x18], 0xffffffea
jmp 0x461ae5
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
je 0x461b17
cmp dword [ebp - 0xc8], 1
je 0x461b00
cmp dword [ebp - 0x18], 0
jne 0x461b00
and dword [ebp - 0x5c], 0
jmp 0x461b07
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x461b15
jmp 0x461ade
jmp 0x461ade
jmp 0x461ac1
mov byte [ebp - 5], 0
movzx eax, byte [ebp - 5]
test eax, eax
je 0x461b2d
push 0
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
jmp 0x461a79
lea ecx, [ebp - 0xd8]
call fcn.00415bbf
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0
jge 0x461b56
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
add eax, 0x100
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
jmp 0x461b3d
mov esp, ebp
pop ebp
ret