Function at 0x462300
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484098
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4b700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00402820
mov byte [ebp - 4], 4
lea edx, [ebp - 0x1c]
lea ecx, [ebp + 8]
call fcn.00462620
mov edi, eax
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x18]
push eax
push 0xf013f
push 0
lea eax, [ebp + 8]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x46239b
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x462474
mov edx, str.DWORD
lea ecx, [ebp + 0x10]
call fcn.0045c510
test al, al
je 0x4623cf
push dword [ebp + 0xc]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0xffffffff
push 4
lea eax, [ebp - 0x20]
push eax
push 4
jmp 0x462461
mov edx, str.STRING
lea ecx, [ebp + 0x10]
call fcn.0045c510
test al, al
je 0x4623f4
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 0xc]
inc ecx
push ecx
push eax
push 1
jmp 0x462461
mov edx, str.MULTI_STRING
lea ecx, [ebp + 0x10]
call fcn.0045c510
test al, al
je 0x462419
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 0xc]
inc ecx
push ecx
push eax
push 7
jmp 0x462461
mov edx, str.EXPANDABLE_STRING
lea ecx, [ebp + 0x10]
call fcn.0045c510
test al, al
je 0x46243e
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 0xc]
inc ecx
push ecx
push eax
push 2
jmp 0x462461
mov edx, str.NONE
lea ecx, [ebp + 0x10]
call fcn.0045c510
test al, al
je 0x462474
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 0xc]
inc ecx
push ecx
push eax
push 0
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov dword [ebp - 0x14], esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4624a2
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 6
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4624c4
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 7
mov byte [ebp - 4], 0
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4624e6
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x46250c
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret