Function at 0x1000ab10
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10018490
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001f220]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 2
xor ebx, ebx
xor esi, esi
call fcn.10008b30
cmp byte [esp + 0x88], bl
mov byte [esp + 0x28], 3
je 0x1000ab63
mov esi, 1
mov ebp, 0x10
cmp dword [esp + 0x4c], ebp
jb 0x1000ab78
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
jmp 0x1000ab80
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push ebx
call fcn.10008e90
push eax
mov eax, dword [esp + 0x2c]
push esi
push ebx
push ebx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
cmp esi, ebx
jne 0x1000ace2
cmp dword [esp + 0x64], ebx
mov edx, dword [esp + 0x80]
jne 0x1000ac25
cmp edx, ebx
jne 0x1000ac25
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.10008b50
cmp dword [esp + 0x4c], ebp
jb 0x1000abd8
mov ecx, dword [esp + 0x38]
push ecx
call fcn.1000cb22
add esp, 4
cmp dword [esp + 0x68], ebp
mov edi, 0xf
mov byte [esp + 0x38], bl
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edi
jb 0x1000abfc
mov edx, dword [esp + 0x54]
push edx
call fcn.1000cb22
add esp, 4
cmp dword [esp + 0x84], ebp
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x1000ac1e
mov eax, dword [esp + 0x70]
push eax
call fcn.1000cb22
add esp, 4
xor eax, eax
jmp 0x1000ad69
cmp dword [esp + 0x84], ebp
mov ecx, dword [esp + 0x70]
jae 0x1000ac36
lea ecx, [esp + 0x70]
cmp dword [esp + 0x68], ebp
mov eax, dword [esp + 0x54]
jae 0x1000ac44
lea eax, [esp + 0x54]
push edx
push ecx
mov ecx, dword [esp + 0x20]
push 1
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x18]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x1000abb7
push str.Error_setting_registry_key_value.
lea eax, [esp + 0x18]
push esi
push eax
call fcn.10008d30
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.10008b50
cmp dword [esp + 0x4c], ebp
jb 0x1000ac9e
mov ecx, dword [esp + 0x38]
push ecx
call fcn.1000cb22
add esp, 4
cmp dword [esp + 0x68], ebp
mov edi, 0xf
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
jb 0x1000acc2
mov edx, dword [esp + 0x54]
push edx
call fcn.1000cb22
add esp, 4
cmp dword [esp + 0x84], ebp
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x1000ad67
mov eax, dword [esp + 0x70]
push eax
jmp 0x1000ad5f
push str.Error_creating_registry_key.
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.10008d30
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.10008b50
cmp dword [esp + 0x4c], ebp
jb 0x1000ad21
mov eax, dword [esp + 0x38]
push eax
call fcn.1000cb22
add esp, 4
cmp dword [esp + 0x68], ebp
mov edi, 0xf
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
jb 0x1000ad45
mov ecx, dword [esp + 0x54]
push ecx
call fcn.1000cb22
add esp, 4
cmp dword [esp + 0x84], ebp
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x1000ad67
mov edx, dword [esp + 0x70]
push edx
call fcn.1000cb22
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x5c