Function at 0x4459fe
Capabilities:
Set registry value

Disassembly:
push 0x5c
mov eax, 0x5b4070
call fcn.00580b7e
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp + 0x14]
lea eax, [ebp - 0x28]
push eax
call fcn.0040852d
mov byte [ebp - 4], 1
mov byte [ebp - 0x2c], bl
push 0x67bfa8
xor ecx, ecx
lea esi, [ebp - 0x28]
call fcn.00426092
cmp eax, 0xffffffff
je 0x445a4c
mov byte [ebp - 0x2c], 1
push 0x67bfb8
push 0x67bfbc
mov eax, esi
push eax
call fcn.00408634
lea eax, [ebp - 0x24]
push eax
call fcn.004084d7
mov byte [ebp - 4], 2
lea eax, [ebp - 0x20]
push eax
call fcn.004084d7
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
call fcn.004084d7
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 0x67bfcc
push eax
call fcn.0040852d
mov byte [ebp - 4], 6
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 5
call fcn.00421297
add esp, 0xc
cmp dword [ebp - 0x64], 2
jne 0x445d87
mov eax, dword [ebp - 0x68]
lea edi, [ebp - 0x14]
call fcn.00408591
cmp dword [ebp - 0x64], 1
ja 0x445ad1
push 0x80070057
call fcn.00402d73
mov eax, dword [ebp - 0x68]
add eax, 4
lea edi, [ebp - 0x20]
call fcn.00408591
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 0x67bfd0
push eax
call fcn.0040852d
mov byte [ebp - 4], 8
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 7
call fcn.00421297
add esp, 0xc
cmp dword [ebp - 0x54], 2
jne 0x445d7b
mov eax, dword [ebp - 0x58]
lea edi, [ebp - 0x14]
call fcn.00408591
cmp dword [ebp - 0x54], 1
jbe 0x445ac7
mov eax, dword [ebp - 0x58]
add eax, 4
lea edi, [ebp - 0x24]
call fcn.00408591
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
push 0x67bfd4
push eax
call fcn.0040852d
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 9
call fcn.00421297
add esp, 0xc
cmp dword [ebp - 0x44], 1
jbe 0x445c22
cmp dword [ebp - 0x44], ebx
jbe 0x445ac7
mov eax, dword [ebp - 0x48]
call fcn.0040877f
cmp dword [ebp - 0x44], ebx
jbe 0x445ac7
push dword [ebp - 0x48]
mov ecx, 0x67bfd8
call fcn.00409ce9
test eax, eax
jne 0x445bbb
mov dword [ebp - 0x18], reloc.WS2_32.dll_closesocket
jmp 0x445c22
cmp dword [ebp - 0x44], ebx
jbe 0x445ac7
push dword [ebp - 0x48]
mov ecx, 0x67bff0
call fcn.00409ce9
test eax, eax
jne 0x445bde
mov dword [ebp - 0x18], closesocket
jmp 0x445c22
cmp dword [ebp - 0x44], ebx
jbe 0x445ac7
push dword [ebp - 0x48]
mov ecx, 0x67c014
call fcn.00409ce9
test eax, eax
jne 0x445c01
mov dword [ebp - 0x18], closesocket
jmp 0x445c22
cmp dword [ebp - 0x44], ebx
jbe 0x445ac7
push dword [ebp - 0x48]
mov ecx, 0x67c038
call fcn.00409ce9
test eax, eax
jne 0x445c22
mov dword [ebp - 0x18], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x18], 0x80000001
jne 0x445c49
push dword [0x6d6628]
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 0x67c060
xor ecx, ecx
lea esi, [ebp - 0x14]
call fcn.00426092
inc eax
mov ecx, esi
call fcn.00425ee5
lea eax, [ebp - 0x1c]
push eax
call fcn.004084d7
mov byte [ebp - 4], 0xb
cmp dword [ebp + 0x24], 1
jne 0x445c8e
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.004262df
mov byte [ebp - 4], 0xc
jmp 0x445ca5
push 0x67c064
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040fc0a
pop ecx
pop ecx
mov byte [ebp - 4], 0xd
lea edi, [ebp - 0x1c]
call fcn.00408591
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
call fcn.0040856e
mov dword [ebp - 0x30], ebx
call fcn.004314b0
test eax, eax
je 0x445cd1
cmp byte [ebp - 0x2c], bl
je 0x445cd1
mov eax, 0x106
jmp 0x445cd4
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 0x445d58
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.004087a8
push eax
push 1
push edi
push ebx
push dword [ebp - 0x30]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp eax, ebx
jne 0x445d4f
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.004084fe
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.004084fe
mov byte [ebp - 4], 0xf
push dword [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.004208dc
add esp, 0x14
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x34], ebx
je 0x445d63
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call fcn.0040856e
mov byte [ebp - 4], 7
lea esi, [ebp - 0x48]
call fcn.0042b6f6
mov byte [ebp - 4], 5
lea esi, [ebp - 0x58]
call fcn.0042b6f6
mov byte [ebp - 4], 4
lea esi, [ebp - 0x68]
call fcn.0042b6f6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.0040856e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0040856e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0040856e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.0040856e
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.00580c23
ret 0x24