Function at 0x401800
Capabilities:
Set registry value

Disassembly:
push 0x20
mov eax, 0x41951c
call fcn.0040a9ad
xor ebx, ebx
push ebx
lea eax, [ebp - 0x20]
push 0x41bce8
push eax
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0xd], 1
call fcn.004076ba
add esp, 0xc
mov dword [ebp - 4], ebx
mov eax, dword [0x4205ac]
mov ecx, 0x4205ac
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
sub eax, 0x10
call fcn.004022ac
add eax, 0x10
mov dword [ebp - 0x1c], eax
push ebx
lea eax, [ebp - 0x24]
push str.S3dbG95an1EX3d3f3R9RFtwand1fURdYGx9dmtxd3ZrRD1r
push eax
mov byte [ebp - 4], 2
call fcn.004076ba
add esp, 0xc
mov byte [ebp - 4], 3
mov eax, dword [eax]
push dword [esi]
push eax
lea eax, [ebp - 0x18]
call fcn.004026dd
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00401087
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x14]
push eax
push 0x20219
push ebx
push dword [ebp - 0x18]
mov esi, 0x80000001
push esi
call edi
test eax, eax
je 0x401a5c
lea eax, [ebp - 0x14]
push eax
push 0x20119
push ebx
push dword [ebp - 0x18]
push esi
call edi
test eax, eax
je 0x401a5c
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push 0x2021f
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
push esi
call edi
neg eax
sbb al, al
inc al
and al, 1
push ebx
mov byte [ebp - 0xd], al
lea eax, [ebp - 0x24]
push str.bWh8eWx9R21qdA
push eax
call fcn.004076ba
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx - 0xc]
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ecx + ecx + 2]
push ecx
push edx
push 1
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb al, al
inc al
and byte [ebp - 0xd], al
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00401087
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push 0x2011f
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
push esi
call edi
neg eax
sbb al, al
inc al
and byte [ebp - 0xd], al
push ebx
lea eax, [ebp - 0x24]
push str.bWh8eWx9R21qdA
push eax
call fcn.004076ba
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx - 0xc]
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ecx + ecx + 2]
push ecx
push edx
push 1
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb al, al
inc al
and byte [ebp - 0xd], al
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00401087
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea eax, [ebp - 0x28]
cmp byte [ebp - 0xd], bl
je 0x401a07
push str.fWBHa3F8fXR3eXx9fA
push eax
call fcn.004076ba
add esp, 0xc
mov esi, eax
push ebx
lea eax, [ebp - 0x24]
push str.Y31gXW59dmxl
push eax
mov byte [ebp - 4], 6
call fcn.004076ba
add esp, 0xc
mov byte [ebp - 4], 7
mov esi, dword [esi]
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00401d39
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00401087
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00401087
push dword [ebp + 8]
call fcn.00401bd1
jmp 0x401abc
push str.fWBHa3F8fXR3eXx9fEdeXF0fXw
push eax
call fcn.004076ba
add esp, 0xc
mov esi, eax
push ebx
lea eax, [ebp + 8]
push str.Y31gXW59dmxl
push eax
mov byte [ebp - 4], 8
call fcn.004076ba
add esp, 0xc
mov byte [ebp - 4], 9
mov esi, dword [esi]
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00401d39
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00401087
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00401087
jmp 0x401abc
push ebx
lea eax, [ebp - 0x28]
push str.fWBHa3F8fXR3eXx9fEd5dGp9eXxh
push eax
call fcn.004076ba
add esp, 0xc
mov esi, eax
push ebx
lea eax, [ebp + 8]
push str.Y31gXW59dmxl
push eax
mov byte [ebp - 4], 4
call fcn.004076ba
add esp, 0xc
mov byte [ebp - 4], 5
mov esi, dword [esi]
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00401d39
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00401087
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00401087
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea eax, [ebp + 8]
push str.f3t9cQ
push eax
call fcn.004076ba
add esp, 0xc
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x1c]
push dword [eax]
mov ecx, esi
call fcn.0040681c
mov eax, dword [ebp + 8]
pop ecx
add eax, 0xfffffff0
call fcn.00401087
lea eax, [esi - 0x10]
call fcn.00401087
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401087
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00401087
xor eax, eax
cmp byte [ebp - 0xd], bl
setne al
call fcn.0040aa85
ret 4