Function at 0x4680b6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cdfd5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x15c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x34]
test eax, eax
je 0x46844d
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf8], eax
lea eax, [ebp + 0x44]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x88], eax
lea eax, [ebp + 0x4c]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x40]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xb8]
movzx eax, byte [eax]
test eax, eax
je 0x4681c9
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x46819a
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x468198
push 0
push 0
push 0xa16
push 0x659
push 0
call dword [sym.imp.USER32.dll_InsertMenuW]
jmp 0x4681c4
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
movzx eax, byte [eax]
test eax, eax
je 0x4681c4
push 0x1509
call dword [sym.imp.USER32.dll_SetCapture]
jmp 0x468448
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x128]
movzx eax, byte [eax]
test eax, eax
je 0x4682aa
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x60], eax
push 1
push 0x303f
push 0x6ef5
push 0x3fc8
push dword [ebp - 0x60]
push 1
push 1
push 0xa43
push 0x4eff
push 0x252f
push 1
mov eax, dword [ebp - 0x108]
push dword [eax]
call fcn.00436a79
add esp, 0x30
jmp 0x468448
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x46832b
mov dword [ebp - 0x34], 1
jmp 0x46832f
and dword [ebp - 0x34], 0
push 0
mov ecx, dword [ebp - 0x30]
call fcn.0040bec0
mov dword [ebp - 0x58], eax
push 0
mov ecx, dword [ebp - 0x30]
call fcn.0040bec0
mov ecx, dword [ebp - 0x58]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x58]
cmp dword [eax], 0xd621
jg 0x468361
mov dword [ebp - 0x50], 1
jmp 0x468365
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
neg eax
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
je 0x468389
mov eax, 0xb81e
test eax, eax
je 0x468389
mov dword [ebp - 0x48], 1
jmp 0x46838d
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp dword [ebp - 0x48], eax
jl 0x4683a5
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
jne 0x4683a5
and dword [ebp - 0x3c], 0
jmp 0x4683ac
mov dword [ebp - 0x3c], 1
push 1
mov ecx, dword [ebp - 0x84]
call fcn.0040bec0
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
imul eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x3c]
jl 0x4683df
mov dword [ebp - 0x40], 1
jmp 0x4683e3
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
jne 0x4683f6
mov dword [ebp - 0x44], 1
jmp 0x4683fa
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp dword [ebp - 0x44], eax
jle 0x468419
push 0
mov ecx, dword [ebp - 0x30]
call fcn.0040bec0
cmp dword [eax], 0
jne 0x468419
and dword [ebp - 0x4c], 0
jmp 0x468420
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp dword [ebp - 0x4c], eax
jg 0x468433
mov dword [ebp - 0x54], 1
jmp 0x468437
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
imul eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x8c]
mov dword [ecx], eax
jmp 0x4686df
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x134], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0xa4], eax
lea eax, [ebp + 0x3c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x46869c
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xc4]
movzx eax, byte [eax]
test eax, eax
je 0x46865a
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x5c], 0x1379
mov dword [ebp - 0xec], str.uvwrvtr_ridy_rin_rjvxnz_iroy_jtvsbvd_mvqgzh_xlnitdku_lugdfvt_nwqgekr
cmp dword [ebp - 0x5c], 0x15b6
jle 0x4685d7
and dword [ebp - 0x24], 0
jmp 0x46853f
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x63e0
jge 0x4685c5
and dword [ebp - 0x28], 0
jmp 0x468555
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x916
jge 0x4685c0
and dword [ebp - 0x2c], 0
jmp 0x46856b
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x73e3
jge 0x4685be
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x28]
and eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], edx
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
lea ecx, [ebp - 0x16c]
call fcn.004019d8
pop ecx
pop ecx
mov ecx, eax
call fcn.0040bba0
push eax
call fcn.004b7f67
pop ecx
lea ecx, [ebp - 0x16c]
call fcn.0040bb96
jmp 0x468564
jmp 0x46854e
jmp 0x468538
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xf4], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x5c], 0x12d1
jge 0x4685fc
push dword [ebp - 0xec]
call fcn.004b7f67
pop ecx
jmp 0x468618
or dword [ebp - 4], 0xffffffff
jmp 0x468622
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x468638
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 2
jge 0x468658
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0xf4]
call fcn.0040bec0
mov dword [eax], 8
jmp 0x46862d
jmp 0x46869a
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x124]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x4686df
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x144], eax
push dword [ebp - 0x13c]
push 1
push 1
push 0x50f0
push 0x6aca
push 0x3ad8
push 0
push dword [ebp - 0x144]
push 0
call fcn.00424186
add esp, 0x24
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret