Function at 0x404e90
Capabilities:
Copy file
Create directory
Create process on windows
Get common file path
Get program files directory
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x427612
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x544
push ebx
push ebp
push esi
mov edx, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x51]
mov byte [esp + 0x50], 0
push 0
rep stosd dword es:[edi], eax
mov ecx, dword [edx + 0x1c]
push 0x26
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x58]
mov dword [esp + 0x54], edx
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edx, dword [0x43271c]
mov dword [esp + 0x14], edx
lea eax, [esp + 0x50]
lea ecx, [esp + 0x14]
push eax
push str._sxjkCert_131Setup.exe
push ecx
mov dword [esp + 0x568], 0
call fcn.0041baf8
mov edx, dword [0x43271c]
mov dword [esp + 0x24], edx
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x24]
push eax
push str._sxjkCert_131Setup.exe
push ecx
mov byte [esp + 0x574], 1
call fcn.0041baf8
add esp, 0x18
lea ecx, [esp + 0x18]
call fcn.004203d1
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0041febe
call fcn.00403950
mov eax, dword [0x43271c]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x54]
lea edx, [esp + 0x14]
push ecx
push str._sxjkCert_131_
push edx
mov byte [esp + 0x56c], 2
call fcn.0041baf8
mov eax, dword [esp + 0x20]
add esp, 0x10
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebp, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push 0
push 0
lea ecx, [esp + 0x30]
push 0
push ecx
call ebp
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
test eax, eax
je 0x404fc7
lea edx, [esp + 0x24]
push edx
call ebx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
lea ecx, [esp + 0x30]
push 0
push ecx
call ebp
test eax, eax
jne 0x404fa2
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call edi
mov edx, dword [esp + 0x14]
mov eax, dword [0x4365b0]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
push edx
push eax
call esi
mov ecx, dword [0x43271c]
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x50]
lea eax, [esp + 0x1c]
push edx
push str._sxjkCert_131userDat_
push eax
mov byte [esp + 0x568], 3
call fcn.0041baf8
mov ecx, dword [esp + 0x28]
add esp, 0xc
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 1
push 0
push 0
lea edx, [esp + 0x30]
push 0
push edx
call ebp
test eax, eax
je 0x405057
lea eax, [esp + 0x24]
push eax
call ebx
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
lea edx, [esp + 0x30]
push 0
push edx
call ebp
test eax, eax
jne 0x405032
push 0x1f4
call edi
mov eax, dword [0x43271c]
mov dword [esp + 0x40], eax
mov ecx, dword [0x4365b4]
lea edx, [esp + 0x40]
push ecx
push str._suserDat_setup.dat
push edx
mov byte [esp + 0x568], 4
call fcn.0041baf8
mov eax, dword [0x43271c]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x2c]
push ecx
push str._s_setup.dat
push edx
mov byte [esp + 0x574], 5
call fcn.0041baf8
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x58]
add esp, 0x18
push 0
push eax
push ecx
call esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x55c], 4
call fcn.00420149
lea ecx, [esp + 0x40]
mov byte [esp + 0x55c], 3
call fcn.00420149
lea ecx, [esp + 0x1c]
mov byte [esp + 0x55c], 2
call fcn.00420149
lea ecx, [esp + 0x10]
mov byte [esp + 0x55c], 1
call fcn.00420149
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x155]
mov byte [esp + 0x154], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
lea edi, [esp + 0x154]
mov esi, eax
mov ecx, dword [eax - 8]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [eax - 8]
lea ecx, [esp + 0x44]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [esp + 0x48], 2
lea esi, [eax + 1]
lea eax, [esp + 0x48]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareWow6432NodeMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x40518f
lea edx, [esp + 0x154]
push esi
push edx
push 1
push eax
mov eax, dword [esp + 0x54]
push str.xjkCert
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x44]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x48]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x154]
push esi
push ecx
push 1
push 0
push str.xjkCert
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
push 0
push 0
lea ecx, [esp + 0x30]
push 0
push ecx
call ebp
test eax, eax
je 0x40521d
lea edx, [esp + 0x24]
push edx
call ebx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
lea ecx, [esp + 0x30]
push 0
push ecx
call ebp
test eax, eax
jne 0x4051f8
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call esi
push 1
push 0
push 0
lea edx, [esp + 0x30]
push 0
push edx
call ebp
test eax, eax
je 0x405262
lea eax, [esp + 0x24]
push eax
call ebx
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
lea edx, [esp + 0x30]
push 0
push edx
call ebp
test eax, eax
jne 0x40523d
push 0x1f4
call esi
push 1
push 0
push 0
lea eax, [esp + 0x30]
push 0
push eax
call ebp
test eax, eax
je 0x4052a1
lea ecx, [esp + 0x24]
push ecx
call ebx
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
lea eax, [esp + 0x30]
push 0
push eax
call ebp
test eax, eax
jne 0x40527c
push 0x1f4
call esi
mov edi, dword [esp + 0x4c]
push 0
mov ecx, edi
call fcn.0041f8cb
push 0x4324fc
mov ecx, 0x4365b8
call fcn.004202d2
mov ecx, dword [0x4365ac]
mov edx, dword [0x4365b8]
push 0x40
push ecx
push edx
mov ecx, edi
call fcn.0041e685
push 1
push 0
push 0
lea eax, [esp + 0x30]
push 0
push eax
call ebp
test eax, eax
je 0x405313
lea ecx, [esp + 0x24]
push ecx
call ebx
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
lea eax, [esp + 0x30]
push 0
push eax
call ebp
test eax, eax
jne 0x4052ee
push 0x1f4
call esi
mov ecx, dword [esp + 0x14]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
push 1
push 0
push 0
lea edx, [esp + 0x30]
push 0
push edx
call ebp
test eax, eax
je 0x40535f
lea eax, [esp + 0x24]
push eax
call ebx
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
lea edx, [esp + 0x30]
push 0
push edx
call ebp
test eax, eax
jne 0x40533a
push 0x1f4
call esi
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc8]
lea ecx, [esp + 0x18]
mov byte [esp + 0x55c], 0
call fcn.00420149
lea ecx, [esp + 0x14]
mov dword [esp + 0x55c], 0xffffffff
call fcn.00420149
mov ecx, dword [esp + 0x554]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x550
ret