Function at 0x43efa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7592
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x53e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28c], eax
cmp dword [esi + 0x10], 0
je 0x43f538
mov ecx, esi
call fcn.004b28f0
test al, al
je 0x43f538
push 0
mov edx, esi
lea ecx, [ebp - 0x234]
call fcn.004b8e90
mov dword [ebp - 4], 0
lea eax, [ebp - 0x234]
cmp dword [ebp - 0x220], 0x10
push 0x515e70
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x298], edi
test edi, edi
jne 0x43f042
mov byte [ebp - 0x285], al
jmp 0x43f4d2
push 0
push 0
push edi
mov byte [ebp - 0x285], 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x43f4c1
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
lea eax, [ebp - 0x280]
push edi
push 0x4c
push 1
push eax
call esi
add esp, 0x10
cmp eax, 0x4c
jne 0x43f4c1
cmp dword [ebp - 0x280], eax
jne 0x43f4c1
mov ecx, dword [ebp - 0x26c]
mov eax, ecx
shr eax, 7
and al, 1
mov byte [ebp - 0x290], al
test cl, 1
je 0x43f228
push edi
push 1
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], 0
push 2
push eax
call esi
add esp, 0x10
cmp eax, 1
jne 0x43f4c1
mov eax, dword [ebp - 0x284]
test ax, ax
je 0x43f4c1
movzx eax, ax
push eax
call fcn.004ec79a
movzx ecx, word [ebp - 0x284]
mov esi, eax
push ecx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
movzx ecx, word [ebp - 0x284]
push edi
push ecx
push 1
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
movzx ecx, word [ebp - 0x284]
add esp, 0x20
cmp eax, ecx
je 0x43f12a
push esi
mov byte [ebp - 0x285], 0
call fcn.004ec795
add esp, 4
jmp 0x43f4c8
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 0x43f182
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f160
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x28c]
push eax
call fcn.004037f0
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x284]
movzx edx, ax
cmp edx, 3
jb 0x43f21f
mov edi, eax
mov ax, word [ecx + esi]
mov word [ebp - 0x292], ax
mov al, byte [ecx + esi + 2]
add ecx, 3
cmp al, 0x61
jne 0x43f1f8
cmp ecx, edx
ja 0x43f219
cmp byte [ecx + esi], 0x80
jne 0x43f1f8
add ecx, 5
cmp ecx, edx
ja 0x43f219
lea edx, [ecx + esi]
mov ecx, edx
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f1d0
sub ecx, edi
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x28c]
push edx
lea ecx, [ecx + 0x90]
call fcn.004037f0
mov edi, dword [ebp - 0x284]
movzx eax, word [ebp - 0x292]
mov ecx, dword [ebp - 0x21c]
add ecx, eax
movzx edx, di
mov eax, ecx
mov dword [ebp - 0x21c], ecx
add eax, 3
cmp eax, edx
jbe 0x43f1a0
mov edi, dword [ebp - 0x298]
push esi
call fcn.004ec795
add esp, 4
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ecx, dword [ebp - 0x26c]
add esp, 4
mov esi, eax
test cl, 2
je 0x43f282
push edi
push 1
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push 4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x43f4c1
mov eax, dword [ebp - 0x21c]
push 0
add eax, esi
push eax
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov ecx, dword [ebp - 0x26c]
add esp, 0xc
test cl, 4
je 0x43f2f6
push dword [ebp - 0x290]
mov edx, edi
lea ecx, [ebp - 0x2b0]
call fcn.0043f750
add esp, 4
mov esi, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x28c]
add eax, 0x18
cmp eax, esi
je 0x43f2e1
mov ecx, eax
call fcn.00403780
movups xmm0, xmmword [esi]
mov eax, dword [ebp - 0x28c]
movups xmmword [eax + 0x18], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x28], xmm0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b0]
call fcn.00403780
mov ecx, dword [ebp - 0x26c]
test cl, 8
je 0x43f36a
push dword [ebp - 0x290]
mov edx, edi
lea ecx, [ebp - 0x2b0]
call fcn.0043f750
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28c]
add eax, 0x30
cmp eax, esi
je 0x43f355
mov ecx, eax
call fcn.00403780
movups xmm0, xmmword [esi]
mov eax, dword [ebp - 0x28c]
movups xmmword [eax + 0x30], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x40], xmm0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b0]
call fcn.00403780
mov ecx, dword [ebp - 0x26c]
test cl, 0x10
je 0x43f3de
push dword [ebp - 0x290]
mov edx, edi
lea ecx, [ebp - 0x2b0]
call fcn.0043f750
add esp, 4
mov esi, eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x28c]
add eax, 0x48
cmp eax, esi
je 0x43f3c9
mov ecx, eax
call fcn.00403780
movups xmm0, xmmword [esi]
mov eax, dword [ebp - 0x28c]
movups xmmword [eax + 0x48], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x58], xmm0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b0]
call fcn.00403780
mov ecx, dword [ebp - 0x26c]
test cl, 0x20
je 0x43f452
push dword [ebp - 0x290]
mov edx, edi
lea ecx, [ebp - 0x2b0]
call fcn.0043f750
add esp, 4
mov esi, eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x28c]
add eax, 0x60
cmp eax, esi
je 0x43f43d
mov ecx, eax
call fcn.00403780
movups xmm0, xmmword [esi]
mov eax, dword [ebp - 0x28c]
movups xmmword [eax + 0x60], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x70], xmm0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b0]
call fcn.00403780
mov ecx, dword [ebp - 0x26c]
test cl, 0x40
je 0x43f4c8
push dword [ebp - 0x290]
mov edx, edi
lea ecx, [ebp - 0x2b0]
call fcn.0043f750
add esp, 4
mov esi, eax
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x28c]
add edi, 0x78
cmp edi, esi
je 0x43f4aa
mov ecx, edi
call fcn.00403780
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b0]
call fcn.00403780
mov edi, dword [ebp - 0x298]
jmp 0x43f4c8
mov byte [ebp - 0x285], 0
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x220]
cmp edx, 0x10
jb 0x43f515
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43f50b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43f50b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004ec192
add esp, 8
mov al, byte [ebp - 0x285]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
jmp 0x43f53a
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.004ec151
mov esp, ebp
pop ebp
ret 8