Function at 0x41933a
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4d3a47
call fcn.00476d58
sub esp, 0x808
push ebx
push edi
xor ebx, ebx
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x812]
mov word [ebp - 0x814], bx
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x814]
push 0x1a
push eax
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, ebx
jge 0x41938c
push dword [ebp + 8]
call fcn.004191c5
pop ecx
mov eax, dword [ebp + 8]
jmp 0x4193e8
push esi
push 0x57cfec
lea ecx, [ebp - 0x10]
call fcn.004b92f2
push 1
lea eax, [ebp - 0x814]
pop esi
push 0x501868
push 0x500660
push eax
lea eax, [ebp - 0x10]
push str._s_s_s
push eax
mov dword [ebp - 4], esi
call fcn.004b6811
push dword [ebp - 0x10]
call fcn.004136d5
mov ecx, dword [ebp + 8]
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
call fcn.004b8feb
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], bl
call fcn.004b927e
mov eax, dword [ebp + 8]
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4193f6
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4d3a7b
call fcn.00476d58
sub esp, 0x80c
and word [ebp - 0x818], 0
push ebx
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x816]
rep stosd dword es:[edi], eax
and dword [ebp - 0x18], 0
stosw word es:[edi], ax
lea eax, [ebp - 0x818]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [0x5757d0]
mov dword [ebp - 0x10], eax
push 1
lea eax, [ebp - 0x10]
pop ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004133ee
mov eax, dword [0x5757d0]
pop ecx
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x818]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x14]
push 0x501918
push eax
call fcn.004b6811
mov ecx, dword [ebp + 8]
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
call fcn.004b8feb
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004b927e
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004b927e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41b445
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00477b60
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.00476d80
add esp, 0xc
lea eax, [ebp - 8]
mov ecx, ebx
mov dword [ebp - 8], 0x1001
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.0041b509
test eax, eax
jne 0x41b4b3
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 4]
push eax
push edi
push 2
push edi
push edi
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x41b4b8
or eax, 0xffffffff
jmp 0x41b4e1
push dword [ebp - 8]
lea eax, [ebp - 0x1010]
push eax
push 3
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41b4d6
or edi, 0xffffffff
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
leave
ret 8