Function at 0x1000a034
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1002607b
call fcn.100252dc
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x14
pop esi
mov dword [ebp - 0x30], ecx
call fcn.10002f60
push eax
lea ecx, [ebp - 0x1c]
call fcn.10001cd2
xor edi, edi
mov dword [ebp - 4], edi
call fcn.10002f60
push eax
lea ecx, [ebp - 0x18]
call fcn.10001cd2
mov ebx, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
cmp dword [ebx], edi
je 0x1000a0a6
mov eax, ebx
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edi
jne 0x1000a082
test ecx, ecx
jle 0x1000a0a6
mov eax, esi
cdq
idiv ecx
mov edi, eax
mov dword [ebp - 0x2c], edi
test edi, edi
jne 0x1000a0a4
mov eax, ecx
cdq
idiv esi
mov dword [ebp - 0x28], eax
xor edi, edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
push ecx
push ecx
movzx eax, al
shl eax, 8
or eax, 0x2001f
mov byte [ebp - 4], 3
push eax
push ecx
push ecx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x54]
call fcn.100046de
mov edi, 0x100364d0
test eax, eax
je 0x1000a0ec
push esi
push 7
push 2
mov ecx, edi
call fcn.10009398
push esi
push 0x1002ee6c
push 0x100364fc
call fcn.100097c4
push 0x10
call fcn.1000f2dd
add esp, 0x10
mov dword [ebp + 0xc], eax
push dword [ebp + 0x14]
mov ecx, eax
mov byte [ebp - 4], 4
push esi
push 0x1002cf6c
call fcn.100099ca
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.1000714f
mov byte [ebp - 4], 5
xor eax, eax
mov ecx, dword [ebp - 0x54]
mov esi, eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp + 0xc], eax
add esi, esi
mov edx, dword [ebx + esi*8]
test edx, edx
je 0x1000a326
test byte [ebx + esi*8 + 0xc], 8
je 0x1000a1dd
cmp ecx, dword [ebp - 0x54]
jne 0x1000a168
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
jmp 0x1000a173
lea ecx, [ebp - 0x48]
call fcn.10004e0a
mov edx, dword [ebx + esi*8]
push ecx
push ecx
push 0x2001f
push ecx
push ecx
push edx
push dword [ebp - 0x54]
lea ecx, [ebp - 0x48]
call fcn.100046de
test eax, eax
je 0x1000a19a
push dword [ebx + esi*8]
mov ecx, edi
push 7
push 2
call fcn.10009398
push dword [ebx + esi*8]
lea ecx, [ebp - 0x1c]
call fcn.10008331
push dword [ebx + esi*8]
push 0x1002ee6c
push 0x100364fc
call fcn.100097c4
push 0x10
call fcn.1000f2dd
add esp, 0x10
mov dword [ebp - 0x38], eax
push dword [ebp + 0x14]
mov byte [ebp - 4], 6
mov ecx, eax
push dword [ebx + esi*8]
push dword [ebp + 8]
call fcn.100099ca
jmp 0x1000a2d6
mov eax, dword [ebx + esi*8 + 0xc]
and eax, 7
sub eax, 1
je 0x1000a22c
sub eax, 1
jne 0x1000a257
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x34]
push dword [ebx + esi*8 + 4]
push dword [ebx + esi*8 + 0xc]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.10006791
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.10001cb7
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
push dword [ebx + esi*8]
call fcn.100047a6
jmp 0x1000a245
mov eax, dword [ebx + esi*8 + 8]
push 4
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 4
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1000a257
push dword [ebx + esi*8]
mov ecx, edi
push 8
push 3
call fcn.10009398
push dword [ebx + esi*8]
push str.CreateRegistryValue:__s
push 0x100364fc
call fcn.100097c4
push 0x10
call fcn.1000f2dd
add esp, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebx + esi*8]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 9
lea esi, [eax + 4]
mov dword [eax], 0x1002ef0c
call fcn.10002f60
push eax
mov ecx, esi
call fcn.10001cd2
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x24]
add eax, 8
mov dword [ebp - 0x20], eax
call fcn.10002f60
mov ecx, dword [ebp - 0x20]
push eax
call fcn.10001cd2
mov byte [ebp - 4], 0xb
mov ecx, esi
push dword [ebp - 0x1c]
call fcn.10008331
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
call fcn.10008331
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x14]
mov byte [eax + 0xc], cl
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.1000714f
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x1000a307
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1000a318
mov eax, esi
cdq
idiv ecx
test edx, edx
jne 0x1000a318
push 1
mov ecx, edi
call fcn.10009596
inc dword [ebp - 0x14]
jmp 0x1000a318
mov esi, dword [ebp - 0x2c]
mov ecx, edi
push esi
call fcn.10009596
add dword [ebp - 0x14], esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x48]
inc esi
mov dword [ebp + 0xc], esi
xor eax, eax
jmp 0x1000a140
test ecx, ecx
je 0x1000a342
cmp ecx, dword [ebp - 0x54]
jne 0x1000a33a
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
jmp 0x1000a342
lea ecx, [ebp - 0x48]
call fcn.10004e0a
lea ecx, [ebp - 0x54]
call fcn.10004e0a
mov ecx, dword [ebp - 0x14]
push 0x14
pop eax
cmp eax, ecx
jle 0x1000a358
sub eax, ecx
jmp 0x1000a35b
lea eax, [ecx - 0x14]
push eax
mov ecx, edi
call fcn.10009596
lea ecx, [ebp - 0x48]
call fcn.10004e0a
lea ecx, [ebp - 0x54]
call fcn.10004e0a
lea ecx, [ebp - 0x18]
call fcn.10001cb7
lea ecx, [ebp - 0x1c]
call fcn.10001cb7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10