Function at 0x140107b90
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0xc0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov r12, r8
mov rdi, rdx
mov rbp, rcx
test r9, r9
je 0x140107bd6
mov rax, qword [r9]
xor r8d, r8d
mov rcx, r9
call qword [rax]
test eax, eax
je 0x140107bd6
mov eax, 0x69
jmp 0x140107e70
mov ecx, 0x18
call fcn.1401e37b4
mov rbx, rax
test rax, rax
je 0x140107c10
xor esi, esi
mov qword [rax], rsi
mov dword [rax + 8], 0x104
mov dword [rax + 0xc], esi
mov dword [rax + 0x10], 1
mov ecx, 0x104
call fcn.1401e3610
mov qword [rbx], rax
mov byte [rax], sil
jmp 0x140107c15
xor esi, esi
mov rbx, rsi
mov qword [rsp + 0xf8], rbx
mov rdx, rbp
lea rcx, [rsp + 0xf8]
call fcn.140004290
mov rbx, qword [rsp + 0xf8]
test rbx, rbx
jne 0x140107c7b
lea ecx, [rbx + 0x18]
call fcn.1401e37b4
mov rbx, rax
test rax, rax
je 0x140107c70
mov qword [rax], rsi
mov dword [rax + 8], reloc.WS2_32.dll_recv
mov dword [rax + 0xc], esi
mov dword [rax + 0x10], 1
mov ecx, reloc.WS2_32.dll_recv
call fcn.1401e3610
mov qword [rbx], rax
mov byte [rax], 0
jmp 0x140107c73
mov rbx, rsi
mov qword [rsp + 0xf8], rbx
mov edx, dword [rbx + 0xc]
test edx, edx
jle 0x140107c91
dec edx
mov r8b, 0x2f
mov rcx, rbx
call fcn.140003880
jmp 0x140107cad
mov r8b, 0x2f
xor edx, edx
mov rcx, rbx
call fcn.140003880
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140003880
mov rdx, rdi
lea rcx, [rsp + 0xf8]
call fcn.140003520
mov rbx, qword [rsp + 0xf8]
test rbx, rbx
je 0x140107cd2
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140107cd5
mov rcx, rsi
lea rdx, [rsp + 0x80]
call fcn.1401e70e0
lea rcx, [rsp + 0xa8]
call fcn.1401e6f18
mov r11, rax
xor eax, eax
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x78], eax
mov ecx, dword [r11 + 8]
mov dword [rsp + 0x60], ecx
mov ecx, dword [r11 + 4]
mov dword [rsp + 0x5c], ecx
mov eax, dword [r11]
mov dword [rsp + 0x58], eax
mov eax, dword [r11 + 0x14]
mov dword [rsp + 0x6c], eax
mov eax, dword [r11 + 0x10]
mov dword [rsp + 0x68], eax
mov eax, dword [r11 + 0xc]
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x48], 0xffffffff
mov dword [rsp + 0x40], 8
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [rsp + 0x58]
mov rdx, rdi
mov rcx, r12
call fcn.140180b30
mov edi, eax
test eax, eax
je 0x140107dac
test rbx, rbx
je 0x140107da5
dec dword [rbx + 0x10]
cmp dword [rbx + 0x10], 0
jg 0x140107da5
mov rcx, qword [rbx]
test rcx, rcx
je 0x140107d9d
call fcn.1401e36c8
mov rcx, rbx
call fcn.1401e32b0
mov eax, edi
jmp 0x140107e70
test rbx, rbx
je 0x140107db9
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140107dbc
mov rcx, rsi
lea rdx, [0x14029d054]
call fcn.1401e696c
mov rbp, rax
test rax, rax
je 0x140107e3f
mov ecx, 0x5000
call fcn.1401e37b4
mov rsi, rax
mov r9, rbp
mov edx, 1
mov r8d, 0x5000
mov rcx, rax
call fcn.1401e6380
test rax, rax
je 0x140107e2d
nop dword [rax + rax]
mov r8d, eax
mov rdx, rsi
mov rcx, r12
call fcn.140180c10
mov edi, eax
test eax, eax
jne 0x140107e2d
mov r9, rbp
lea edx, [rax + 1]
mov r8d, 0x5000
mov rcx, rsi
call fcn.1401e6380
test rax, rax
jne 0x140107e00
mov rcx, rbp
call fcn.1401e67bc
mov rcx, rsi
call fcn.1401e32b0
jmp 0x140107e42
or edi, 0xffffffff
mov rcx, r12
call fcn.140181860
nop
test rbx, rbx
je 0x140107e6e
dec dword [rbx + 0x10]
cmp dword [rbx + 0x10], 0
jg 0x140107e6e
mov rcx, qword [rbx]
test rcx, rcx
je 0x140107e66
call fcn.1401e36c8
mov rcx, rbx
call fcn.1401e32b0
mov eax, edi
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret