Function at 0x44579d
Capabilities:
Set registry value

Disassembly:
push 0x5c
mov eax, 0x5b430b
call fcn.00580e9e
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp + 0x14]
lea eax, [ebp - 0x28]
push eax
call fcn.00408561
mov byte [ebp - 4], 1
mov byte [ebp - 0x2c], bl
mov edi, str.__64__
push edi
xor ecx, ecx
lea esi, [ebp - 0x28]
call fcn.00426385
cmp eax, 0xffffffff
je 0x4457e8
mov byte [ebp - 0x2c], 1
push 0x670fd0
push edi
mov eax, esi
push eax
call fcn.00408668
lea eax, [ebp - 0x24]
push eax
call fcn.0040850b
mov byte [ebp - 4], 2
lea eax, [ebp - 0x20]
push eax
call fcn.0040850b
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
call fcn.0040850b
mov byte [ebp - 4], 4
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 4], 5
push ecx
mov eax, esp
mov dword [ebp - 0x38], esp
push 0x670fe4
push eax
call fcn.00408561
mov byte [ebp - 4], 6
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 5
call fcn.0042159a
add esp, 0xc
cmp dword [ebp - 0x64], 2
jne 0x445b20
mov eax, dword [ebp - 0x68]
lea edi, [ebp - 0x14]
call fcn.004085c5
cmp dword [ebp - 0x64], 1
ja 0x44586d
push 0x80070057
call fcn.00402d79
mov eax, dword [ebp - 0x68]
add eax, 4
lea edi, [ebp - 0x20]
call fcn.004085c5
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 4], 7
push ecx
mov eax, esp
mov dword [ebp - 0x38], esp
push 0x6774a4
push eax
call fcn.00408561
mov byte [ebp - 4], 8
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 7
call fcn.0042159a
add esp, 0xc
cmp dword [ebp - 0x54], 2
jne 0x445b14
mov eax, dword [ebp - 0x58]
lea edi, [ebp - 0x14]
call fcn.004085c5
cmp dword [ebp - 0x54], 1
jbe 0x445863
mov eax, dword [ebp - 0x58]
add eax, 4
lea edi, [ebp - 0x24]
call fcn.004085c5
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 4], 9
push ecx
mov eax, esp
mov dword [ebp - 0x38], esp
mov esi, 0x670fe8
push esi
push eax
call fcn.00408561
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 9
call fcn.0042159a
add esp, 0xc
cmp dword [ebp - 0x44], 1
jbe 0x4459bf
cmp dword [ebp - 0x44], ebx
jbe 0x445863
mov eax, dword [ebp - 0x48]
call fcn.004087b3
cmp dword [ebp - 0x44], ebx
jbe 0x445863
push dword [ebp - 0x48]
mov ecx, str.hkey_users
call fcn.00409d39
test eax, eax
jne 0x445958
mov dword [ebp - 0x18], reloc.WS2_32.dll_closesocket
jmp 0x4459bf
cmp dword [ebp - 0x44], ebx
jbe 0x445863
push dword [ebp - 0x48]
mov ecx, str.hkey_current_user
call fcn.00409d39
test eax, eax
jne 0x44597b
mov dword [ebp - 0x18], closesocket
jmp 0x4459bf
cmp dword [ebp - 0x44], ebx
jbe 0x445863
push dword [ebp - 0x48]
mov ecx, str.hkey_classes_root
call fcn.00409d39
test eax, eax
jne 0x44599e
mov dword [ebp - 0x18], closesocket
jmp 0x4459bf
cmp dword [ebp - 0x44], ebx
jbe 0x445863
push dword [ebp - 0x48]
mov ecx, str.hkey_local_machine
call fcn.00409d39
test eax, eax
jne 0x4459bf
mov dword [ebp - 0x18], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x18], 0x80000001
jne 0x4459e6
push dword [0x6c8c4c]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x18]
push eax
push 6
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
push esi
xor ecx, ecx
lea esi, [ebp - 0x14]
call fcn.00426385
inc eax
mov ecx, esi
call fcn.004261d8
lea eax, [ebp - 0x1c]
push eax
call fcn.0040850b
mov byte [ebp - 4], 0xb
cmp dword [ebp + 0x24], 1
jne 0x445a27
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
lea ecx, [eax - 3]
lea eax, [ebp - 0x38]
push eax
mov eax, esi
push eax
call fcn.004265d2
mov byte [ebp - 4], 0xc
jmp 0x445a3e
push 0x67a47c
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040fc53
pop ecx
pop ecx
mov byte [ebp - 4], 0xd
lea edi, [ebp - 0x1c]
call fcn.004085c5
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
call fcn.004085a2
mov dword [ebp - 0x30], ebx
call fcn.00431212
test eax, eax
je 0x445a6a
cmp byte [ebp - 0x2c], bl
je 0x445a6a
mov eax, 0x106
jmp 0x445a6d
push 6
pop eax
push ebx
lea ecx, [ebp - 0x30]
push ecx
push ebx
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x445af1
mov eax, dword [ebp - 0x20]
mov eax, dword [eax - 0xc]
mov edi, dword [ebp - 0x24]
add eax, eax
push eax
lea esi, [ebp - 0x20]
call fcn.004087dc
push eax
push 1
push edi
push ebx
push dword [ebp - 0x30]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp eax, ebx
jne 0x445ae8
push dword [ebp - 0x2c]
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x38], esp
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.00408532
mov byte [ebp - 4], 0xe
push ecx
mov eax, esp
mov dword [ebp - 0x2c], esp
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.00408532
mov byte [ebp - 4], 0xf
push dword [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.00420b9e
add esp, 0x14
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x34], ebx
je 0x445afc
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call fcn.004085a2
mov byte [ebp - 4], 7
lea esi, [ebp - 0x48]
call fcn.0042b3b2
mov byte [ebp - 4], 5
lea esi, [ebp - 0x58]
call fcn.0042b3b2
mov byte [ebp - 4], 4
lea esi, [ebp - 0x68]
call fcn.0042b3b2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004085a2
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004085a2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004085a2
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.004085a2
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.00580f43
ret 0x24