Function at 0x1000a071
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006054a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xc4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1000a1c5
lea eax, [ebp + 0x24]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x1000a1a6
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x1000a135
mov dword [ebp - 0x88], 1
jmp 0x1000a13c
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0xaef6
jne 0x1000a15b
mov dword [ebp - 0x3c], 1
jmp 0x1000a15f
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jle 0x1000a172
mov dword [ebp - 0x34], 1
jmp 0x1000a176
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0
jg 0x1000a185
mov dword [ebp - 0x2c], 1
jmp 0x1000a189
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 1
jne 0x1000a198
mov dword [ebp - 0x30], 1
jmp 0x1000a19c
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
jmp 0x1000a1c0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
jmp 0x1000a3c8
lea eax, [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x1000a3a1
mov dword [ebp - 0xbc], 0
push 2
lea ecx, [ebp - 0xb8]
call fcn.1000e06f
and dword [ebp - 4], 0
push 2
lea ecx, [ebp - 0x9c]
call fcn.1000e06f
mov byte [ebp - 4], 1
mov dword [ebp - 0xac], 0x362
lea eax, [ebp - 0xb8]
push eax
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.1000ba64
add esp, 0xc
push 0x7453
lea eax, [ebp - 0x9c]
push eax
push 0
push 0x472b
push 0xc18
push 0x6a32
push 0x3321
push 0x7e3
lea eax, [ebp - 0x54]
push eax
call fcn.1000b4e7
add esp, 0x24
push 0x2fc1
push 1
push 0x66f1
push 1
push 0
lea eax, [ebp - 0x9c]
push eax
call fcn.10004848
add esp, 0x18
mov dword [ebp - 0x40], 0x2378
mov dword [ebp - 0x64], str.ksfpb_xjmno_ddxrsgr_noruvrni_dlul_eqhrwbocf
cmp dword [ebp - 0x40], 0x270c
jle 0x1000a32e
and dword [ebp - 0x24], 0
jmp 0x1000a29e
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2f94
jge 0x1000a32e
and dword [ebp - 0x18], 0
jmp 0x1000a2b8
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2bd1
jge 0x1000a329
and dword [ebp - 0x1c], 0
jmp 0x1000a2ce
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6c41
jge 0x1000a327
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
and eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
lea ecx, [ebp - 0xd4]
call fcn.10001a9f
pop ecx
pop ecx
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
call fcn.1000dd60
push eax
call fcn.10047a23
pop ecx
lea ecx, [ebp - 0xd4]
call fcn.1000dd56
jmp 0x1000a2c7
jmp 0x1000a2b1
jmp 0x1000a297
mov byte [ebp - 4], 2
cmp dword [ebp - 0x40], 0x1fc7
jge 0x1000a344
push dword [ebp - 0x64]
call fcn.10047a23
pop ecx
jmp 0x1000a360
mov dword [ebp - 4], 1
jmp 0x1000a370
push 1
push 0
push 0x29b5
call fcn.1000ae61
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.1000e145
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.1000e145
jmp 0x1000a3c8
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1000a3c8
push 0x1389
push 0
push 0x2092
push 0x126d
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret