Function at 0x442aa0
Capabilities:
Get common file path
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d61b
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0056f980
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0056f980
add esp, 0x18
lea eax, [ebp - 0x218]
push 0
push 0x2b
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp dword [esi + 0x70], 8
lea ecx, [esi + 0x5c]
jb 0x442b16
mov ecx, dword [ecx]
lea edx, [ebp - 0x420]
sub edx, ecx
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x442b20
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x442b40
mov eax, dword [0x5a1724]
lea edx, [ebp - 0x218]
mov dword [edi], eax
add edx, 0xfffffffe
nop dword [eax]
mov cx, word [edx + 2]
lea edx, [edx + 2]
test cx, cx
jne 0x442b60
mov ecx, dword [0x5a1790]
lea edi, [ebp - 0x218]
mov dword [edx], ecx
add edi, 0xfffffffe
mov ecx, dword [0x5a1794]
mov dword [edx + 4], ecx
mov ecx, dword [0x5a1798]
mov dword [edx + 8], ecx
mov ecx, dword [0x5a179c]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x5a17a0]
mov dword [edx + 0x10], ecx
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x442ba1
mov dword [edi], eax
lea eax, [ebp - 0x218]
push eax
call fcn.0044a96b
lea ecx, [ebp - 0x218]
add esp, 4
add ecx, 0xfffffffe
nop word [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x442bd0
mov eax, dword [0x5a1790]
mov dword [ecx], eax
mov eax, dword [0x5a1794]
mov dword [ecx + 4], eax
mov eax, dword [0x5a1798]
mov dword [ecx + 8], eax
mov eax, dword [0x5a179c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x5a17a0]
mov dword [ecx + 0x10], eax
lea ecx, [ebp - 0x218]
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x442c10
mov eax, dword [str..ini]
mov dword [ecx], eax
mov eax, dword [0x5a17a8]
mov dword [ecx + 4], eax
mov ax, word [0x5a17ac]
mov word [ecx + 8], ax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
push 0x5a18c0
push str.MainConfig
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
push 0x5a18c0
call fcn.00412910
lea ecx, [ebp - 0x454]
call fcn.0045048a
lea ecx, [ebp - 0x454]
mov dword [ebp - 4], 0
call fcn.004504be
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x442d45
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 0
push eax
push 0xf013f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x42c], 0
call edi
test eax, eax
jne 0x442de2
push eax
lea eax, [ebp - 0x42c]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push 0x5a1790
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x442d04
push dword [ebp - 0x424]
call esi
jmp 0x442de2
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x420]
push eax
push 1
push 0
push 0x5a18c0
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x42c]
call esi
push dword [ebp - 0x424]
call esi
lea eax, [ebp - 0x428]
mov dword [ebp - 0x428], 0
push eax
push 0xf003f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x430], 0
call edi
test eax, eax
jne 0x442de2
push eax
lea eax, [ebp - 0x430]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x5a1790
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x442dda
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x420]
push eax
push 1
push 0
push 0x5a18c0
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x430]
call esi
push dword [ebp - 0x428]
call esi
lea ecx, [ebp - 0x454]
call fcn.0045049d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ef18
mov esp, ebp
pop ebp
ret