Function at 0x1000affa
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060477
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x210
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1000bbbc
lea eax, [ebp + 8]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x150], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x128], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x128]
movzx eax, byte [eax]
test eax, eax
je 0x1000b0fa
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x130]
mov eax, dword [eax]
mov dword [ebp - 0x138], eax
push dword [ebp - 0xfc]
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x104]
call fcn.10011bdd
mov ecx, eax
call fcn.100116b7
jmp 0x1000bbba
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0xf8], eax
push 1
lea ecx, [ebp - 0x188]
call fcn.100022ea
and dword [ebp - 4], 0
mov dword [ebp - 0xa4], 0x53d8da8e
push 0xf2b
lea eax, [ebp - 0x198]
push eax
push 0x1176
push 0
lea eax, [ebp - 0x188]
push eax
call fcn.1000c9e8
add esp, 0x14
push 0xef6
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0xa4]
push eax
push 0
push 0x5e66
push 0x53ad
push 0x672f
call fcn.1000c37e
add esp, 0x1c
lea eax, [ebp - 0x188]
push eax
push 0
lea eax, [ebp - 0xa4]
push eax
push 0x26c2
push 0x41b5
push 0x5164
call fcn.10007a59
add esp, 0x18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x188]
call fcn.10002347
lea ecx, [ebp - 0x1e8]
call fcn.10011776
mov dword [ebp - 4], 1
mov dword [ebp - 0x12c], 0x7ad95e17
mov dword [ebp - 0x134], 0xf390197f
mov dword [ebp - 0xa0], 0x43e9
mov dword [ebp - 0x6c], 0x4929
mov dword [ebp - 0x11c], str.upsshopk_mck_arknm_neevbovdp_xwcnz_ibikpw_tkaesbr_psb_pnizwai_khzppkga
cmp dword [ebp - 0x6c], 0x4ab8
jle 0x1000b2fa
push 0x1471
push 0
push 0x1754
push 0xb4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
and dword [ebp - 0x4c], 0
jmp 0x1000b23f
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x42f6
jge 0x1000b2fa
and dword [ebp - 0x54], 0
jmp 0x1000b259
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x250d
jge 0x1000b2f5
and dword [ebp - 0x5c], 0
jmp 0x1000b273
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x34f5
jge 0x1000b2f0
and dword [ebp - 0x2c], 0
jmp 0x1000b289
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x2a63
jge 0x1000b2eb
mov ecx, dword [ebp - 0x54]
sub ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x4c]
shl eax, cl
cdq
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], edx
push dword [ebp - 0x158]
push dword [ebp - 0x15c]
lea ecx, [ebp - 0x208]
call fcn.10004d43
pop ecx
pop ecx
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
call fcn.10002db1
push eax
call fcn.10047823
pop ecx
lea ecx, [ebp - 0x208]
call fcn.10002da7
jmp 0x1000b282
jmp 0x1000b26c
jmp 0x1000b252
jmp 0x1000b238
mov byte [ebp - 4], 2
cmp dword [ebp - 0x6c], 0x480c
jge 0x1000b313
push dword [ebp - 0x11c]
call fcn.10047823
pop ecx
jmp 0x1000b32f
mov dword [ebp - 4], 1
jmp 0x1000b33f
push 3
lea ecx, [ebp - 0x194]
call fcn.100022ea
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], 0
jmp 0x1000b360
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1000b376
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x14c], 0x4e2db58
jmp 0x1000b359
mov dword [ebp - 0x14], 0
jmp 0x1000b386
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1000b39c
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1b4], 0xe4438bea
jmp 0x1000b37f
mov dword [ebp - 0x14], 0
jmp 0x1000b3ac
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1000b3c2
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x154], 0xc42206dd
jmp 0x1000b3a5
mov dword [ebp - 0x14], 0
jmp 0x1000b3d2
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1000b3eb
push dword [ebp - 0x14]
lea ecx, [ebp - 0x194]
call fcn.10002363
and dword [eax], 0
jmp 0x1000b3cb
push 0
push 0x7515
push 0x3b13
lea eax, [ebp - 0x194]
push eax
push 1
call fcn.10007eb9
add esp, 0x14
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x14c]
push 1
lea ecx, [ebp - 0x194]
call fcn.10002363
mov eax, dword [eax]
sub eax, 0x2ac30bca
cmp eax, esi
jge 0x1000b439
mov dword [ebp - 0x124], 1
jmp 0x1000b440
and dword [ebp - 0x124], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1b4], 0
jne 0x1000b459
mov dword [ebp - 0x78], 1
jmp 0x1000b45d
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0xa0]
mov dword [ebp - 0x16c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x16c]
mov dword [ebp + eax - 0x1b4], ecx
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x12c]
sub ecx, dword [ebp + eax - 0x154]
cmp ecx, dword [ebp - 0xa0]
jge 0x1000b4a3
mov dword [ebp - 0x80], 1
jmp 0x1000b4a7
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 0x78029323
je 0x1000b4bc
mov dword [ebp - 0xc4], 1
jmp 0x1000b4c3
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x194]
call fcn.10002347
push 0x54d9
push 0x1e51
lea eax, [ebp - 0x1e8]
push eax
push 0
push dword [ebp - 0x88]
call fcn.1000fe20
add esp, 0x14
and dword [ebp - 0x1c], 0
jmp 0x1000b50c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax]
jae 0x1000b71f
push 2
lea ecx, [ebp - 0x1c4]
call fcn.100022ea
mov byte [ebp - 4], 5
mov dword [ebp - 0x160], 0x3532fe22
mov dword [ebp - 0xac], 0x1f4c
mov dword [ebp - 0x13c], str.xewye_dqdbfyop_oozuts_ghl_achbvh_flxrir_jjm
cmp dword [ebp - 0xac], 0x2045
jle 0x1000b62d
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
and dword [ebp - 0x34], 0
jmp 0x1000b575
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x5a1b
jge 0x1000b611
and dword [ebp - 0x58], 0
jmp 0x1000b58f
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x2608
jge 0x1000b60c
and dword [ebp - 0x3c], 0
jmp 0x1000b5a5
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x1a3
jge 0x1000b607
mov eax, dword [ebp - 0x34]
cdq
idiv dword [ebp - 0x58]
mov ecx, dword [ebp - 0x3c]
shl edx, cl
mov eax, edx
cdq
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], edx
push dword [ebp - 0x164]
push dword [ebp - 0x168]
lea ecx, [ebp - 0x220]
call fcn.10004d43
pop ecx
pop ecx
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
call fcn.10002db1
push eax
call fcn.10047823
pop ecx
lea ecx, [ebp - 0x220]
call fcn.10002da7
jmp 0x1000b59e
jmp 0x1000b588
jmp 0x1000b56e
push 0x1891
push 0x177a
push 0x2d
push 0x1b78
push 0x80f
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
mov byte [ebp - 4], 6
cmp dword [ebp - 0xac], 0x1f0b
jge 0x1000b649
push dword [ebp - 0x13c]
call fcn.10047823
pop ecx
jmp 0x1000b665
mov dword [ebp - 4], 5
jmp 0x1000b675
push 0x13eb
lea eax, [ebp - 0x1c4]
push eax
push 0x3d8a
push 0
lea eax, [ebp - 0x1b8]
push eax
push 0x409
push 0x223
push 0x888
push 0x1d28
push 0
call fcn.1000cd27
add esp, 0x28
push 0x86a
lea eax, [ebp - 0x160]
push eax
push 0
call fcn.1000bd9e
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c4]
call fcn.10002347
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
add eax, dword [ebp - 0x1c]
xor edx, edx
div dword [0x1007c9b0]
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 4]
movzx edx, byte [eax + edx]
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [ecx]
movzx ecx, byte [ecx + eax]
call fcn.10001180
push eax
lea ecx, [ebp - 0x1e8]
call fcn.100117af
jmp 0x1000b505
mov dword [ebp - 0x38], 0xfffffffa
mov dword [ebp - 0x1f0], 0x6e85fcb4
mov dword [ebp - 0x40], 0xbbbc254e
mov dword [ebp - 0x64], 0xcf59f89f
mov dword [ebp - 0x68], 0x305aba9a
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0xf0], 0xfc24489b
mov dword [ebp - 0x30], 0x2dd8607f
mov dword [ebp - 0x48], 0x48792891
mov dword [ebp - 0x60], 1
mov dword [ebp - 0xe0], 0xfffffffe
mov dword [ebp - 0x98], 0x756
mov dword [ebp - 0x144], str.vgeubh_wawev_rmxvlab_zhoc_gone_eljixg_wjhs_qiwivgbjf_osjdeqcw_owmzwimeq_rlm_ipt_bxcdfxwx
cmp dword [ebp - 0x98], 0xa80
jle 0x1000b82e
and dword [ebp - 0x24], 0
jmp 0x1000b7a6
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x268f
jge 0x1000b82e
and dword [ebp - 0x28], 0
jmp 0x1000b7bc
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x357e
jge 0x1000b829
and dword [ebp - 0x20], 0
jmp 0x1000b7d2
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x5ea0
jge 0x1000b827
and dword [ebp - 0x44], 0
jmp 0x1000b7e8
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x3658
jge 0x1000b825
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x24]
imul ecx, dword [ebp - 0x28]
xor eax, ecx
cdq
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], edx
push dword [ebp - 0x170]
push dword [ebp - 0x174]
mov ecx, 0x1007fc58
call fcn.10002dd1
jmp 0x1000b7e1
jmp 0x1000b7cb
jmp 0x1000b7b5
jmp 0x1000b79f
mov dword [ebp - 0x18], 0
jmp 0x1000b83e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x1000b854
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xd8], 0x2ff40fc0
jmp 0x1000b837
mov byte [ebp - 4], 8
cmp dword [ebp - 0x98], 0x61b
jge 0x1000b874
mov edx, dword [ebp - 0x144]
mov ecx, 0x1007fc58
call fcn.10004788
jmp 0x1000b890
mov dword [ebp - 4], 1
jmp 0x1000b8a0
mov dword [ebp - 0x18], 0
jmp 0x1000b8b0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1000b8c6
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xb4], 1
jmp 0x1000b8a9
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0xd8], 0
je 0x1000bb05
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
imul eax, dword [ebp - 0x38], 0x8be7
mov ecx, dword [ebp - 0x30]
imul ecx, eax
mov eax, dword [ebp - 0x60]
add eax, ecx
mov dword [ebp - 0x30], eax
je 0x1000b90a
cmp dword [ebp - 0x30], 0
je 0x1000b90a
mov dword [ebp - 0x110], 1
jmp 0x1000b911
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c8], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb4]
mov dword [ebp - 0x70], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x70]
mov dword [ebp + eax - 0xb4], ecx
cmp dword [ebp - 0x70], 0x1302
jge 0x1000b94c
mov dword [ebp - 0x74], 1
jmp 0x1000b950
and dword [ebp - 0x74], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xd8]
sub eax, dword [ebp - 0x74]
cmp eax, 0xfffffff7
jle 0x1000b96e
mov dword [ebp - 0x7c], 1
jmp 0x1000b972
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x7c], eax
jge 0x1000b986
mov dword [ebp - 0x84], 1
jmp 0x1000b98d
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x84], eax
jg 0x1000b9a4
mov dword [ebp - 0x8c], 1
jmp 0x1000b9ab
and dword [ebp - 0x8c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xd8]
cmp eax, dword [ebp - 0x8c]
jge 0x1000b9cb
mov dword [ebp - 0x94], 1
jmp 0x1000b9d2
and dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 0
ja 0x1000b9e7
mov dword [ebp - 0x118], 1
jmp 0x1000b9ee
and dword [ebp - 0x118], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xd8]
mov dword [ebp - 0x19c], eax
mov eax, 0x6d70
sub eax, dword [ebp - 0x50]
cmp eax, 0xcefc
jle 0x1000ba1c
mov dword [ebp - 0x9c], 1
jmp 0x1000ba23
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x50]
sub eax, 0x5ad7a4a1
jne 0x1000ba6a
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0xd8], 0
je 0x1000ba7f
cmp dword [ebp - 0xe0], 0
je 0x1000ba7f
mov dword [ebp - 0xe8], 1
jmp 0x1000ba86
and dword [ebp - 0xe8], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xd8]
mov dword [ebp - 0x1a8], eax
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp + eax - 0xd8]
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x40], 0xc86e89be
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x68], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x68]
sub ecx, dword [ebp + eax - 0xd8]
cmp ecx, 0xa718
je 0x1000bae6
mov dword [ebp - 0xa8], 1
jmp 0x1000baed
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0x9ce
jne 0x1000bb05
mov dword [ebp - 0xb0], 1
jmp 0x1000bb0c
and dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0xb88c8eca
jne 0x1000bb24
mov dword [ebp - 0xb8], 1
jmp 0x1000bb2b
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
neg eax
cmp eax, dword [ebp - 0xf0]
jge 0x1000bb50
mov eax, 0xd727
test eax, eax
je 0x1000bb50
mov dword [ebp - 0xc0], 1
jmp 0x1000bb57
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x1000bb78
cmp dword [ebp - 0x48], 0
je 0x1000bb78
mov dword [ebp - 0xc8], 1
jmp 0x1000bb7f
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x1e8]
push eax
mov ecx, dword [ebp - 0xf8]
call fcn.10011791
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e8]
call fcn.10011787
jmp 0x1000bbe9
jmp 0x1000bbe9
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x100], eax
push dword [ebp - 0x100]
push dword [ebp - 0x108]
push 0
push 0x1fd4
call fcn.10007ad8
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret