Function at 0x14000c9b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x76
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x218]
mov rax, qword [0x140575740]
xor rax, rbp
mov qword [rbp + 0x1c8], rax
mov qword [rbp + 0x188], 0
mov qword [rbp + 8], 0
mov dword [rbp + 0x14], 0
mov dword [rbp + 0x18], 0
mov dword [rbp + 0x28], 0
mov dword [rbp + 0x2c], 0
mov dword [rbp + 0x30], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x1f0]
call fcn.1401370a0
lea r8, [0x1404d79bc]
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140392bf0
cmp qword [rbp + 8], 0
jne 0x14000ca63
mov eax, 1
jmp 0x14000d00c
mov qword [rbp + 0x38], 0
mov dword [rbp + 0x44], 0
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call fcn.1403b6030
mov r9, qword [rbp + 8]
mov r8d, 2
mov edx, 1
lea rcx, [0x14058a640]
call fcn.1403b55a0
mov rcx, rax
call fcn.1400011d0
mov eax, 2
imul rax, rax, 0
lea rcx, [0x14058a640]
movzx ecx, word [rcx + rax]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
cmp eax, 0x4d5a
jne 0x14000cd62
xor r8d, r8d
mov edx, 0x3c
mov rcx, qword [rbp + 8]
call fcn.1403b6030
mov r9, qword [rbp + 8]
mov r8d, 4
mov edx, 1
lea rcx, [rbp + 0x44]
call fcn.1403b55a0
mov rcx, rax
call fcn.1400011d0
xor r8d, r8d
mov edx, dword [rbp + 0x44]
mov rcx, qword [rbp + 8]
call fcn.1403b6030
mov eax, dword [rbp + 0x44]
add eax, 0x58
mov dword [rbp + 0x28], eax
mov r9, qword [rbp + 8]
mov r8d, 0x18
mov edx, 1
lea rcx, [0x14058a640]
call fcn.1403b55a0
mov rcx, rax
call fcn.1400011d0
mov eax, 4
imul rax, rax, 0
lea rcx, [0x14058a640]
cmp dword [rcx + rax], 0x4550
jne 0x14000cd49
mov eax, 2
imul rax, rax, 0xa
lea rcx, [0x14058a640]
movzx eax, word [rcx + rax]
mov ecx, 0xffffffc7
cmp rax, rcx
jae 0x14000cc01
mov eax, 2
imul rax, rax, 0xa
lea rcx, [0x14058a640]
movzx eax, word [rcx + rax]
add rax, 0x38
add rax, 0x24
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x198]
add rax, 0xf
cmp rax, qword [rbp + 0x198]
ja 0x14000cbb7
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.14037c5f0
sub rsp, rax
lea rax, [rsp + 0x20]
mov qword [rbp + 0x1a0], rax
lea r8, [rbp + 0x188]
mov rdx, qword [rbp + 0x198]
mov rcx, qword [rbp + 0x1a0]
call fcn.14037c2c0
add qword [rbp + 0x1a0], 0x20
mov rax, qword [rbp + 0x1a0]
mov qword [rbp + 0x1a8], rax
jmp 0x14000cc0c
mov qword [rbp + 0x1a8], 0
mov eax, 2
imul rax, rax, 0xa
lea rcx, [0x14058a640]
movzx eax, word [rcx + rax]
mov r9d, 1
mov r8d, 8
mov edx, eax
mov rcx, qword [rbp + 0x1a8]
call fcn.1401375b0
mov rcx, rax
call fcn.140137fe0
mov qword [rbp + 0x38], rax
mov r9, qword [rbp + 8]
mov rax, qword [rbp + 0x38]
mov r8, qword [rax - 0x18]
mov edx, 1
mov rcx, qword [rbp + 0x38]
call fcn.1403b55a0
mov rcx, rax
call fcn.1400011d0
mov rax, qword [rbp + 0x38]
cmp qword [rax - 0x18], 4
jbe 0x14000cd49
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rbp + 0x38]
movzx eax, word [rcx + rax]
mov dword [rbp + 0x1b0], eax
cmp dword [rbp + 0x1b0], 0x10b
je 0x14000ccab
cmp dword [rbp + 0x1b0], 0x20b
je 0x14000ccfb
jmp 0x14000cd49
mov rax, qword [rbp + 0x38]
cmp qword [rax - 0x18], 0x84
jb 0x14000ccf9
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rbp + 0x38]
cmp dword [rcx + rax + 0x80], 0
je 0x14000cce7
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rbp + 0x38]
mov eax, dword [rcx + rax + 0x80]
mov dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x44]
add eax, 0x98
mov dword [rbp + 0x2c], eax
mov dword [rbp + 0x30], 0
jmp 0x14000cd49
mov rax, qword [rbp + 0x38]
cmp qword [rax - 0x18], 0x94
jb 0x14000cd49
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rbp + 0x38]
cmp dword [rcx + rax + 0x90], 0
je 0x14000cd37
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rbp + 0x38]
mov eax, dword [rcx + rax + 0x90]
mov dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x44]
add eax, 0xa8
mov dword [rbp + 0x2c], eax
mov dword [rbp + 0x30], 0
cmp dword [rbp + 0x30], 0
je 0x14000cd62
mov rcx, qword [rbp + 8]
call fcn.1403b3fa0
mov eax, 1
jmp 0x14000d00c
cmp dword [rbp + 0x14], 0
jne 0x14000ce27
mov dword [rbp + 0x64], 0
mov r8d, 2
mov edx, 0xfffffff0
mov rcx, qword [rbp + 8]
call fcn.1403b6030
mov r9, qword [rbp + 8]
mov r8d, reloc.WS2_32.dll_recv
mov edx, 1
lea rcx, [0x14058a640]
call fcn.1403b55a0
mov rcx, rax
call fcn.1400011d0
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [0x1404d6048]
lea rcx, [0x14058a640]
call fcn.1404104c0
test eax, eax
jne 0x14000ce1b
mov r8d, 1
mov edx, 0xffffffec
mov rcx, qword [rbp + 8]
call fcn.1403b6030
mov r9, qword [rbp + 8]
mov r8d, 4
mov edx, 1
lea rcx, [rbp + 0x64]
call fcn.1403b55a0
mov rcx, rax
call fcn.1400011d0
mov ecx, dword [rbp + 0x64]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbp + 0x64], eax
mov rcx, qword [rbp + 8]
call fcn.1403b7090
sub eax, 4
sub eax, dword [rbp + 0x64]
mov dword [rbp + 0x14], eax
jmp 0x14000ce27
mov rcx, qword [rbp + 8]
call fcn.1403b7090
mov dword [rbp + 0x14], eax
lea rcx, [rbp + 0x90]
call fcn.1401a2d10
mov eax, dword [rbp + 0x14]
mov dword [rbp + 0x18], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call fcn.1403b6030
cmp dword [rbp + 0x28], 0
je 0x14000cf4d
mov eax, dword [rbp + 0x28]
add eax, 4
mov eax, eax
mov r9, qword [rbp + 8]
mov r8d, eax
mov edx, 1
lea rcx, [0x14058a640]
call fcn.1403b55a0
mov qword [rbp + 0x20], rax
mov eax, dword [rbp + 0x28]
lea rcx, [0x14058a640]
add rcx, rax
mov rax, rcx
mov ecx, 4
imul rcx, rcx, 0
mov dword [rax + rcx], 0
mov r8, qword [rbp + 0x20]
lea rdx, [0x14058a640]
lea rcx, [rbp + 0x90]
call fcn.1401a2e40
cmp dword [rbp + 0x14], 0
jbe 0x14000cebf
mov eax, dword [rbp + 0x20]
mov ecx, dword [rbp + 0x18]
sub ecx, eax
mov eax, ecx
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x2c]
add eax, 8
mov ecx, dword [rbp + 0x28]
add ecx, 4
sub eax, ecx
mov eax, eax
mov r9, qword [rbp + 8]
mov r8d, eax
mov edx, 1
lea rcx, [0x14058a640]
call fcn.1403b55a0
mov qword [rbp + 0x20], rax
lea rax, [0x14058a640]
add rax, qword [rbp + 0x20]
mov ecx, 4
imul rcx, rcx, 0
mov dword [rax + rcx - 8], 0
lea rax, [0x14058a640]
add rax, qword [rbp + 0x20]
mov ecx, 4
imul rcx, rcx, 1
mov dword [rax + rcx - 8], 0
mov r8, qword [rbp + 0x20]
lea rdx, [0x14058a640]
lea rcx, [rbp + 0x90]
call fcn.1401a2e40
cmp dword [rbp + 0x14], 0
jbe 0x14000cf4d
mov eax, dword [rbp + 0x20]
mov ecx, dword [rbp + 0x18]
sub ecx, eax
mov eax, ecx
mov dword [rbp + 0x18], eax
cmp dword [rbp + 0x14], 0
jne 0x14000cf60
mov qword [rbp + 0x1b8], 0x1000
jmp 0x14000cf90
mov eax, dword [rbp + 0x18]
cmp rax, 0x1000
jbe 0x14000cf78
mov qword [rbp + 0x1c0], 0x1000
jmp 0x14000cf82
mov eax, dword [rbp + 0x18]
mov qword [rbp + 0x1c0], rax
mov rax, qword [rbp + 0x1c0]
mov qword [rbp + 0x1b8], rax
mov r9, qword [rbp + 8]
mov r8, qword [rbp + 0x1b8]
mov edx, 1
lea rcx, [0x14058a640]
call fcn.1403b55a0
mov qword [rbp + 0x20], rax
cmp qword [rbp + 0x20], 0
jbe 0x14000cfee
mov r8, qword [rbp + 0x20]
lea rdx, [0x14058a640]
lea rcx, [rbp + 0x90]
call fcn.1401a2e40
cmp dword [rbp + 0x14], 0
jbe 0x14000cfe9
mov eax, dword [rbp + 0x20]
mov ecx, dword [rbp + 0x18]
sub ecx, eax
mov eax, ecx
mov dword [rbp + 0x18], eax
cmp dword [rbp + 0x18], 0
jne 0x14000cfe9
jmp 0x14000cfee
jmp 0x14000cf4d
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x1f8]
call fcn.1401a2ce0
mov rcx, qword [rbp + 8]
call fcn.1403b3fa0
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140415250]
mov r8, qword [rbp + 0x188]
call fcn.14037c390
mov rax, rdi
mov rcx, qword [rbp + 0x1c8]
xor rcx, rbp
call fcn.14037c650
lea rsp, [rbp + 0x1d8]
pop rdi
pop rbp
ret