Function at 0x444cb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2207
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x536008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x2bc], esi
cmp dword [edi + 0x10], 0
je 0x445195
mov ecx, edi
call fcn.004a4c40
test al, al
je 0x445195
xor eax, eax
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x268]
push eax
mov edx, esi
mov ecx, edi
call fcn.004453b0
add esp, 4
test al, al
je 0x444ddc
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x444d5b
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
je 0x444d72
mov byte [ebp - 0x2b5], 0
jmp 0x44517b
xorps xmm0, xmm0
lea ecx, [ebp - 0x22c]
movups xmmword [ebp - 0x22c], xmm0
call fcn.004426a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x444da7
cmp dword [ebp - 0x220], 0
jne 0x444da7
lea ecx, [ebp - 0x220]
push ecx
call eax
mov ecx, esi
call fcn.004a5fe0
test al, al
je 0x444dcd
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.00442860
mov byte [ebp - 0x2b5], 1
jmp 0x44517b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.00442860
push 0
mov edx, edi
lea ecx, [ebp - 0x250]
call fcn.004ab530
mov byte [ebp - 4], 2
lea eax, [ebp - 0x250]
cmp dword [ebp - 0x23c], 0x10
push 0x50f3a8
cmovae eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x444e23
mov byte [ebp - 0x2b5], al
jmp 0x445122
push 0
push 0
push edi
mov byte [ebp - 0x2b5], 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x445118
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
lea eax, [ebp - 0x2b4]
push edi
push 0x4c
push 1
push eax
call esi
add esp, 0x10
cmp eax, 0x4c
jne 0x445118
cmp dword [ebp - 0x2b4], eax
jne 0x445118
test byte [ebp - 0x2a0], 1
je 0x445013
push edi
push 1
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push 2
push eax
call esi
add esp, 0x10
cmp eax, 1
jne 0x445111
mov eax, dword [ebp - 0x21c]
test ax, ax
je 0x445013
push ecx
movzx eax, ax
lea ecx, [ebp - 0x228]
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
push eax
movq qword [ebp - 0x228], xmm0
call fcn.004455a0
mov byte [ebp - 4], 3
movzx eax, word [ebp - 0x21c]
mov esi, dword [ebp - 0x228]
push edi
push 1
push eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push esi
call eax
add esp, 0x10
cmp eax, 1
je 0x444f5e
mov byte [ebp - 0x2b5], 0
mov byte [ebp - 4], 2
test esi, esi
je 0x445118
mov ecx, dword [ebp - 0x220]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x444f31
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x444f31
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.004e62ec
add esp, 8
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
jmp 0x445118
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x444fb7
lea edx, [ebp - 0x218]
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x444f90
sub edx, ecx
lea eax, [ebp - 0x218]
mov ecx, dword [ebp - 0x2bc]
sar edx, 1
push edx
push eax
call fcn.0040a350
jmp 0x444efd
mov byte [ebp - 4], 2
test esi, esi
je 0x44500d
mov ecx, dword [ebp - 0x220]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x444fe5
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x444f2b
push ecx
push esi
call fcn.004e62ec
add esp, 8
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push edi
push 1
lea eax, [ebp - 0x238]
mov dword [ebp - 0x238], 0
push 4
push eax
call esi
add esp, 0x10
cmp eax, 1
jne 0x445111
push eax
push 0xc
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x445111
push edi
push 1
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x21c]
push 4
push eax
call esi
add esp, 0x10
cmp eax, 1
jne 0x445111
mov eax, dword [ebp - 0x21c]
cmp eax, 0x14
jb 0x445111
push 1
add eax, 0xffffffec
push eax
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x445111
mov esi, dword [ebp - 0x238]
sub esi, dword [ebp - 0x21c]
je 0x445111
cmp esi, 0x104
ja 0x445111
lea eax, [esi + 1]
push eax
call fcn.004e68f4
push edi
push 1
push esi
mov dword [ebp - 0x2c0], eax
mov byte [eax + esi], 0
push eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
call eax
mov esi, dword [ebp - 0x2c0]
add esp, 0x14
cmp eax, 1
jne 0x445102
mov edx, esi
lea ecx, [ebp - 0x234]
call fcn.004aafd0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2bc]
push eax
call fcn.0040a050
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x234]
call fcn.0040a2e0
test esi, esi
je 0x445118
push esi
call fcn.004e68ef
add esp, 4
jmp 0x445118
mov byte [ebp - 0x2b5], 0
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x23c]
cmp edx, 0x10
jb 0x445160
mov ecx, dword [ebp - 0x250]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x445156
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x444f2b
push edx
push ecx
call fcn.004e62ec
add esp, 8
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.0040a2e0
mov al, byte [ebp - 0x2b5]
jmp 0x445197
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e62ab
mov esp, ebp
pop ebp
ret 8