Function at 0x180018100
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x1802138c0]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rbx, r8
mov qword [rbp - 0x78], rbx
mov r12, rdx
mov qword [rsp + 0x50], rdx
mov qword [rbp - 0x30], rbx
xor esi, esi
mov rcx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x180018152
mov rcx, qword [r8]
lea rdx, [0x18019f744]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x180018195
mov qword [r12], rsi
mov qword [r12 + 8], rsi
lea ecx, [rax + 0x30]
call fcn.180168ba8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [r12], rax
mov rcx, rbx
jmp 0x1800184c5
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rbx, eax
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
mov r9, rdi
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rsp + 0x58], rsi
mov qword [rbp], rsi
mov dword [rbp + 0x20], esi
mov dword [rbp + 0xa8], esi
mov qword [rbp + 0xc0], r13
mov qword [rbp + 0xb0], r13
lea rax, [rbx + r13]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xb8], rax
lea rax, [rbp - 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x10]
call fcn.180014370
mov rdi, rax
mov qword [rsp + 0x50], rax
mov edx, dword [0x1802d8bf4]
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx + rdx*8]
mov eax, reloc.WS2_32.dll_recv
cmp dword [rax + rcx], 0
je 0x180018275
mov eax, reloc.WS2_32.dll_sendto
mov ecx, dword [rax + rcx]
jmp 0x18001827b
mov ecx, dword [0x1802d8c4c]
movsxd r15, dword [rsp + 0x44]
mov r14d, dword [rsp + 0x40]
mov edx, dword [rsp + 0x48]
test ecx, ecx
je 0x1800182d9
mov esi, dword [rbp - 0x34]
mov eax, esi
imul eax, edx
imul eax, r14d
mov rbx, rdi
test r15d, r15d
jle 0x1800182d7
movsxd r14, eax
mov edi, r15d
nop word [rax + rax]
mov r9d, esi
mov r8d, dword [rsp + 0x40]
mov rcx, rbx
call fcn.180005530
add rbx, r14
sub rdi, 1
mov edx, dword [rsp + 0x48]
jne 0x1800182b0
mov r14d, dword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
xor esi, esi
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rsi
mov ecx, Ordinal_50
call fcn.180168ba8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x28], rax
mov r13d, dword [rsp + 0x48]
mov eax, r13d
mov ecx, dword [rbp - 0x34]
imul eax, ecx
movsxd rdx, eax
mov rbx, rsi
mov qword [rsp + 0x48], r15
test r15d, r15d
je 0x18001846a
movsxd r15, r14d
imul r15, rdx
mov rsi, rdi
nop dword [rax]
mov rax, qword [rsp + 0x58]
mov edi, dword [rax + rbx*4]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov r9d, r14d
mov r8d, r13d
mov rcx, rsi
call fcn.180017210
test rax, rax
jne 0x180018373
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
jmp 0x180018389
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6c], edi
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x70], xmm0
mov dword [rbp - 0x48], ebx
movups xmmword [rbp - 0x44], xmm0
mov rdi, qword [rbp - 0x28]
mov rax, qword [rdi + 8]
mov qword [rbp - 0x70], rax
xor edx, edx
mov dword [rbp - 0x68], edx
mov rcx, rdi
cmp byte [rax + 0x19], dl
jne 0x1800183d4
nop
mov qword [rbp - 0x70], rax
cmp dword [rax + 0x1c], ebx
jge 0x1800183c2
mov dword [rbp - 0x68], edx
mov rax, qword [rax + 0x10]
jmp 0x1800183cf
mov dword [rbp - 0x68], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], dl
je 0x1800183b0
cmp byte [rcx + 0x19], dl
jne 0x1800183de
cmp ebx, dword [rcx + 0x1c]
jge 0x180018453
movabs rax, 0x555555555555555
cmp qword [rbp - 0x20], rax
je 0x1800184f7
lea rax, [rbp - 0x28]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rdx
mov ecx, Ordinal_50
call fcn.180168ba8
nop
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rax + 0x1c], xmm0
movups xmm1, xmmword [rsp + 0x70]
psrldq xmm1, 0xc
movd dword [rax + 0x2c], xmm1
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov word [rax + 0x18], 0
mov qword [rbp - 0x50], 0
movups xmm0, xmmword [rbp - 0x70]
movaps xmmword [rsp + 0x70], xmm0
mov r8, rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x28]
call fcn.180018fd0
inc rbx
add rsi, r15
cmp rbx, qword [rsp + 0x48]
jae 0x180018468
mov ecx, dword [rbp - 0x34]
jmp 0x180018340
xor esi, esi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r12], rsi
mov qword [r12 + 8], rsi
mov ecx, Ordinal_50
call fcn.180168ba8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov rcx, qword [rbp - 0x28]
mov qword [r12], rcx
mov qword [rbp - 0x28], rax
mov rcx, qword [r12 + 8]
mov rax, qword [rbp - 0x20]
mov qword [r12 + 8], rax
mov qword [rbp - 0x20], rcx
lea rcx, [rbp - 0x28]
call fcn.1800189e0
nop
mov rcx, qword [rbp - 0x78]
call fcn.180004250
mov rax, r12
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.180168800
mov rbx, qword [rsp + 0x220]
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180025690
nop
int3