Function at 0x4395e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4ff004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x220], 0x500ba4
push 0x4fada4
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0
push esi
push eax
call fcn.0044bf78
add esp, 0xc
test eax, eax
je 0x43964b
push esi
push str.User_container_file_does_not_yet_exist___s__n
call fcn.004362a0
add esp, 8
mov ecx, esi
call fcn.00439540
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423fe
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x218]
lea eax, [ebp - 0x208]
mov dword [ebp - 0x210], 0
push 1
push 0x200
push eax
call fcn.0044dc9c
add esp, 0x10
test eax, eax
jle 0x4399ca
nop dword [eax]
cmp byte [ebp - 0x208], 0
je 0x4399ca
mov al, byte [ebp - 0x16c]
cmp al, 0x35
jne 0x4396a2
mov ecx, dword [ebp - 0x210]
jmp 0x439944
test al, al
je 0x4396ae
cmp al, 0x30
jne 0x439976
mov ecx, dword [ebp - 0x174]
lea edx, [ebp - 0x174]
xor esi, esi
test cl, cl
je 0x4396da
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x4396da
movsx eax, cl
add esi, 0xfffffffa
inc edx
lea esi, [eax + esi*8]
mov al, byte [edx]
mov cl, al
test al, al
jne 0x4396c0
mov dword [ebp - 0x174], 0x20202020
xor eax, eax
mov dword [ebp - 0x170], 0x20202020
xorps xmm2, xmm2
xorps xmm3, xmm3
nop word [eax + eax]
movd xmm1, dword [ebp + eax - 0x208]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
paddd xmm2, xmm1
movd xmm1, dword [ebp + eax - 0x204]
punpcklbw xmm1, xmm0
add eax, 8
punpcklwd xmm1, xmm0
paddd xmm3, xmm1
cmp eax, 0x200
jl 0x439700
paddd xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
paddd xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
paddd xmm2, xmm0
movd eax, xmm2
cmp esi, eax
jne 0x4399b7
mov al, byte [ebp - 0x18c]
lea edx, [ebp - 0x18c]
xor ebx, ebx
test al, al
je 0x439789
lea ecx, [eax - 0x30]
cmp cl, 9
ja 0x439789
movsx eax, al
add ebx, 0xfffffffa
inc edx
lea ebx, [eax + ebx*8]
mov al, byte [edx]
test al, al
jne 0x439771
lea esi, [ebx + 0x1ff]
and esi, 0xfffffe00
mov dword [ebp - 0x224], esi
cmp esi, 0x400000
jae 0x4399aa
push ebx
lea eax, [ebp - 0x208]
push eax
push str.__Importing_user_file:__s__size_d__n
call fcn.004362a0
add esp, 0xc
push 0x218
push 1
call fcn.0044d780
mov edi, eax
lea edx, [ebp - 0x180]
mov eax, dword [ebp - 0x210]
add esp, 8
mov dword [ebp - 0x21c], edi
mov dword [edi + 4], esi
xor esi, esi
mov dword [edi], eax
mov dword [edi + 8], ebx
mov cl, byte [ebp - 0x180]
test cl, cl
je 0x43980b
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x43980b
inc edx
movsx eax, cl
add esi, 0xfffffffa
mov cl, byte [edx]
lea esi, [eax + esi*8]
test cl, cl
jne 0x4397f3
mov dword [edi + 0xc], esi
mov ecx, 0x80
add edi, 0x10
lea esi, [ebp - 0x208]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x224]
push esi
push 1
call fcn.0044d780
mov ecx, dword [ebp - 0x21c]
mov dword [ecx + 0x210], eax
push dword [ebp - 0x218]
push esi
push 1
push eax
call fcn.0044dc9c
add esp, 0x18
cmp eax, 1
jb 0x43999d
lea edx, [ebp - 0x214]
lea ecx, [ebp - 0x208]
call fcn.0042a440
mov byte [ebp - 0x209], al
cmp al, 0xff
jne 0x4398b6
mov ax, word [ebp - 0x214]
mov esi, 0xffff
cmp ax, si
je 0x439990
mov cx, ax
call fcn.0042a320
cmp ax, si
jne 0x439883
lea edx, [ebp - 0x214]
mov word [ebp - 0x214], ax
lea ecx, [ebp - 0x208]
call fcn.0042a440
mov byte [ebp - 0x209], al
cmp al, 0xff
je 0x439983
xor esi, esi
test ebx, ebx
je 0x439913
nop dword [eax]
mov edi, ebx
mov ecx, 0x4000
sub edi, esi
cmp edi, 0x4000
cmovg edi, ecx
mov ecx, dword [ebp - 0x21c]
push edi
mov edx, dword [ecx + 0x210]
mov cl, al
add edx, esi
call fcn.0042aaf0
movzx eax, ax
add esp, 4
cmp eax, edi
jne 0x439900
mov al, byte [ebp - 0x209]
add esi, edi
cmp esi, ebx
jb 0x4398c0
jmp 0x439913
push dword [ebp - 0x210]
push str.Fail_to_import_file_in_.tar_file_at__d__FS_full____ignoring_end_of_file_n
call fcn.004362a0
add esp, 8
mov cl, byte [ebp - 0x209]
call fcn.00429de0
mov ecx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x21c]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x210]
lea ebx, [eax + 0x214]
add ecx, dword [ebp - 0x224]
mov dword [ebp - 0x220], ebx
push dword [ebp - 0x218]
lea eax, [ebp - 0x208]
add ecx, 0x200
push 1
push 0x200
push eax
mov dword [ebp - 0x210], ecx
call fcn.0044dc9c
add esp, 0x10
test eax, eax
jg 0x439680
jmp 0x4399ca
push dword [ebp - 0x210]
push str.Unexpected_record_type_in_.tar_file_header_at__d__ignoring_end_of_file_n
jmp 0x4399c2
push dword [ebp - 0x210]
push str.Cannot_import_file_in_.tar_file_at__d__ignoring_end_of_file_n
jmp 0x4399c2
push dword [ebp - 0x210]
push str.Cannot_import_file_in_.tar_file_at__d__read_only____ignoring_end_of_file_n
jmp 0x4399c2
push dword [ebp - 0x210]
push str.Failed_to_read_from_.tar_file_at__d__ignoring_end_of_file_n
jmp 0x4399c2
push dword [ebp - 0x210]
push str.File_in_.tar_file_at__d_is_too_large__ignoring_end_of_file_n
jmp 0x4399c2
push dword [ebp - 0x210]
push str.Checksum_error_in_.tar_file_header_at__d__ignoring_end_of_file_n
call fcn.004362a0
add esp, 8
push dword [ebp - 0x218]
call fcn.00449c65
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004423fe
mov esp, ebp
pop ebp
ret