Function at 0x14001fdb0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x590
mov rax, qword [0x1400cf070]
xor rax, rsp
mov qword [rsp + 0x580], rax
mov rbx, rcx
add rcx, 0x20
cmp qword [rcx + 0x18], 0x10
jb 0x14001fde5
mov rcx, qword [rcx]
xor esi, esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], Ordinal_133
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400200a7
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x180]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x98]
mov r8d, 0x400
lea rdx, [rsp + 0x180]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], sil
lea rax, [rsp + 0x180]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x14001fe83
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x60]
call fcn.140003160
nop
xor edx, edx
mov r8d, 0xc0
lea rcx, [rsp + 0xc0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0xc0]
call fcn.140013ab0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x88], esi
mov qword [rsp + 0x90], rsi
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [rsp + 0x110]
call fcn.140003160
lea rdx, [rsp + 0x110]
cmp qword [rsp + 0x128], 0x10
cmovae rdx, qword [rsp + 0x110]
mov r8, qword [rsp + 0x120]
add r8, rdx
lea r9, [rsp + 0x80]
lea rcx, [rsp + 0xc0]
call fcn.140013b70
test al, al
je 0x14002004b
lea rdx, str.osStartTime
lea rcx, [rsp + 0x80]
call fcn.1400181e0
lea rdx, [rsp + 0xa0]
mov rcx, rax
call fcn.1400178b0
nop
lea rdx, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0x10
cmovae rdx, qword [rsp + 0xa0]
lea rcx, [rbx + 0x40]
cmp qword [rcx + 0x18], 0x10
jb 0x14001ff8e
mov rcx, qword [rcx]
call sub.api_ms_win_crt_string_l1_1_0.dll__stricmp
test eax, eax
jne 0x140020004
lea rdx, str.flag
lea rcx, [rsp + 0x80]
call fcn.1400181e0
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1400178b0
mov rdx, rax
mov rcx, rbx
call fcn.140002450
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140020004
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001fffe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001fffe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073b54
nop
mov rdx, qword [rsp + 0xb8]
cmp rdx, 0x10
jb 0x14002004b
inc rdx
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020045
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020045
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073b54
nop
lea rcx, [rsp + 0x80]
call fcn.140017720
nop
lea rcx, [rsp + 0xc0]
call fcn.14000eb40
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400200a7
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400200a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400200a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073b54
mov rcx, qword [rsp + 0x580]
xor rcx, rsp
call fcn.140073640
lea r11, [rsp + 0x590]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret