Function at 0x445356
Capabilities:
Set registry value

Disassembly:
push 0x5c
mov eax, 0x5bad70
call fcn.0058708e
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp + 0x14]
lea eax, [ebp - 0x28]
push eax
call fcn.00408518
mov byte [ebp - 4], 1
mov byte [ebp - 0x2c], bl
push 0x6839c8
xor ecx, ecx
lea esi, [ebp - 0x28]
call fcn.004260a9
cmp eax, 0xffffffff
je 0x4453a4
mov byte [ebp - 0x2c], 1
push 0x6839d8
push 0x6839dc
mov eax, esi
push eax
call fcn.0040861f
lea eax, [ebp - 0x24]
push eax
call fcn.004084c2
mov byte [ebp - 4], 2
lea eax, [ebp - 0x20]
push eax
call fcn.004084c2
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
call fcn.004084c2
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 0x6839ec
push eax
call fcn.00408518
mov byte [ebp - 4], 6
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 5
call fcn.00421255
add esp, 0xc
cmp dword [ebp - 0x64], 2
jne 0x4456df
mov eax, dword [ebp - 0x68]
lea edi, [ebp - 0x14]
call fcn.0040857c
cmp dword [ebp - 0x64], 1
ja 0x445429
push 0x80070057
call fcn.00402d79
mov eax, dword [ebp - 0x68]
add eax, 4
lea edi, [ebp - 0x20]
call fcn.0040857c
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 0x6839f0
push eax
call fcn.00408518
mov byte [ebp - 4], 8
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 7
call fcn.00421255
add esp, 0xc
cmp dword [ebp - 0x54], 2
jne 0x4456d3
mov eax, dword [ebp - 0x58]
lea edi, [ebp - 0x14]
call fcn.0040857c
cmp dword [ebp - 0x54], 1
jbe 0x44541f
mov eax, dword [ebp - 0x58]
add eax, 4
lea edi, [ebp - 0x24]
call fcn.0040857c
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 0x6839f4
push eax
call fcn.00408518
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 9
call fcn.00421255
add esp, 0xc
cmp dword [ebp - 0x44], 1
jbe 0x44557a
cmp dword [ebp - 0x44], ebx
jbe 0x44541f
mov eax, dword [ebp - 0x48]
call fcn.0040876a
cmp dword [ebp - 0x44], ebx
jbe 0x44541f
push dword [ebp - 0x48]
mov ecx, 0x6839f8
call fcn.00409d1b
test eax, eax
jne 0x445513
mov dword [ebp - 0x18], reloc.WS2_32.dll_closesocket
jmp 0x44557a
cmp dword [ebp - 0x44], ebx
jbe 0x44541f
push dword [ebp - 0x48]
mov ecx, 0x683a10
call fcn.00409d1b
test eax, eax
jne 0x445536
mov dword [ebp - 0x18], connect
jmp 0x44557a
cmp dword [ebp - 0x44], ebx
jbe 0x44541f
push dword [ebp - 0x48]
mov ecx, 0x683a34
call fcn.00409d1b
test eax, eax
jne 0x445559
mov dword [ebp - 0x18], connect
jmp 0x44557a
cmp dword [ebp - 0x44], ebx
jbe 0x44541f
push dword [ebp - 0x48]
mov ecx, 0x683a58
call fcn.00409d1b
test eax, eax
jne 0x44557a
mov dword [ebp - 0x18], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x18], 0x80000001
jne 0x4455a1
push dword [0x6de664]
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 0x683a80
xor ecx, ecx
lea esi, [ebp - 0x14]
call fcn.004260a9
inc eax
mov ecx, esi
call fcn.00425efc
lea eax, [ebp - 0x1c]
push eax
call fcn.004084c2
mov byte [ebp - 4], 0xb
cmp dword [ebp + 0x24], 1
jne 0x4455e6
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.004262f6
mov byte [ebp - 4], 0xc
jmp 0x4455fd
push 0x683a84
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040fcd8
pop ecx
pop ecx
mov byte [ebp - 4], 0xd
lea edi, [ebp - 0x1c]
call fcn.0040857c
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
call fcn.00408559
mov dword [ebp - 0x30], ebx
call fcn.00430b64
test eax, eax
je 0x445629
cmp byte [ebp - 0x2c], bl
je 0x445629
mov eax, 0x106
jmp 0x44562c
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 0x4456b0
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.00408793
push eax
push 1
push edi
push ebx
push dword [ebp - 0x30]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp eax, ebx
jne 0x4456a7
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.004084e9
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.004084e9
mov byte [ebp - 4], 0xf
push dword [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.00420784
add esp, 0x14
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x34], ebx
je 0x4456bb
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call fcn.00408559
mov byte [ebp - 4], 7
lea esi, [ebp - 0x48]
call fcn.0042c230
mov byte [ebp - 4], 5
lea esi, [ebp - 0x58]
call fcn.0042c230
mov byte [ebp - 4], 4
lea esi, [ebp - 0x68]
call fcn.0042c230
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00408559
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00408559
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00408559
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00408559
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.00587133
ret 0x24