Function at 0x40f4a0
Capabilities:
Create directory
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43f1b6
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x44fb64]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x44fb64]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ebx, edx
xor edi, edi
mov esi, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], edi
call fcn.00413be1
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40f508
push 0x80004005
call fcn.0040a000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, esi
mov dword [esp + 0xa8], edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40f524
sub eax, edx
cmp byte [esi + eax - 1], 0x5c
mov dword [esp + 0x18], edi
je 0x40f55a
lea ecx, [eax - 1]
test ecx, ecx
jl 0x40f55a
nop
mov al, byte [esi + ecx]
cmp al, 0x2e
je 0x40f552
cmp al, 0x5c
je 0x40f55a
sub ecx, 1
jns 0x40f540
jmp 0x40f55a
add ecx, esi
mov dword [esp + 0x18], ecx
mov edi, ecx
cmp dword [0x453d0d], 0
jne 0x40f56c
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x448c18
push edi
call fcn.004221b6
add esp, 8
test eax, eax
je 0x40f6be
push 0x447ae8
xor ebx, ebx
push esi
mov dword [esp + 0x30], ebx
call fcn.004228cf
mov edi, eax
add esp, 8
test edi, edi
je 0x40f5be
push 2
push ebx
push ebx
push edi
call fcn.00422a75
push edi
call fcn.00422e10
add esp, 0x14
push edi
mov ebx, eax
mov dword [esp + 0x2c], edx
call fcn.0042295d
add esp, 4
mov edi, dword [esp + 0x28]
push edi
push ebx
push esi
lea edx, [esp + 0x2c]
push str.The_file__s_size_is__d
push edx
call fcn.00409910
mov eax, dword [esp + 0x34]
add esp, 0x14
push 0
push eax
push 0x453d11
call fcn.0040d890
push edi
push ebx
call fcn.00412de0
add esp, 8
test eax, eax
jne 0x40f6b6
lea ecx, [esp + 0x18]
push ecx
lea edi, [eax + 7]
call fcn.0040f260
add esp, 4
mov esi, eax
lea edx, [esp + 0x1c]
push edx
mov edi, 0x15
mov byte [esp + 0xac], 1
call fcn.0040f260
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 4
push 0
push esi
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f65b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa8], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f683
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xa8], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f6ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
jmp 0x40f80a
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
push str..exe
push edi
call fcn.004221b6
add esp, 8
test eax, eax
jne 0x40f6de
mov edx, ebx
mov ecx, esi
call fcn.00410dd0
jmp 0x40f7d7
push str..ldx
push edi
call fcn.004221b6
add esp, 8
test eax, eax
jne 0x40f796
push 0x447a18
push esi
xor ebx, ebx
call fcn.004228cf
mov edi, eax
add esp, 8
test edi, edi
je 0x40f779
push 0x64
lea ecx, [esp + 0x30]
push ebx
push ecx
call fcn.004253a0
add esp, 0xc
push ebx
push ebx
push ebx
push edi
call fcn.00422a75
push edi
push 0x19
lea edx, [esp + 0x44]
push 1
push edx
call fcn.00423346
add esp, 0x20
mov ecx, str.LeaderCab
lea eax, [esp + 0x2c]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40f760
test dl, dl
je 0x40f75c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40f760
add eax, 2
add ecx, 2
test dl, dl
jne 0x40f740
xor eax, eax
jmp 0x40f765
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40f76c
lea ebx, [eax + 1]
push edi
call fcn.0042295d
add esp, 4
test ebx, ebx
je 0x40f789
mov eax, dword [esp + 0x1c]
push 1
push eax
mov ecx, esi
call fcn.00411620
jmp 0x40f7d4
mov edx, dword [esp + 0x1c]
mov ecx, esi
call fcn.00410dd0
jmp 0x40f7d7
push str..ldm
push edi
call fcn.004221b6
add esp, 8
test eax, eax
jne 0x40f7b3
push eax
push ebx
mov ecx, esi
call fcn.00411620
jmp 0x40f7d4
push 0x448c18
push edi
call fcn.004221b6
add esp, 8
test eax, eax
jne 0x40f7db
mov ecx, dword [0x453d0d]
push ecx
push ebx
mov ecx, esi
call fcn.00411ba0
add esp, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0xa8], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f806
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00421f05
mov esp, ebp
pop ebp
ret