Function at 0x140043af0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rdx
mov ebx, 0x186a0
cmp r8d, ebx
cmovl ebx, r8d
movsxd rsi, ebx
mov rcx, rsi
call fcn.140203268
mov rdi, rax
test rax, rax
je 0x140043dc7
xor r12d, r12d
mov r15d, r12d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rax
xor edx, edx
lea rcx, [rbp - 0x59]
call fcn.1400414a0
nop
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x61]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x140043bbb
cmp dword [rbp - 0x61], ebx
jne 0x140043bbb
mov r8, rsi
mov rdx, rdi
lea rcx, [rbp - 0x59]
call fcn.1400416a0
test eax, eax
je 0x140043bbb
mov eax, 1
cmp qword [rbp - 0x49], r12
cmovne r15d, eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, rdi
call fcn.140203254
nop
mov rbx, qword [rbp - 0x59]
test rbx, rbx
je 0x140043c33
nop
lea rdi, [rbx]
mov rbx, qword [rbx]
mov rsi, qword [rdi + 0x18]
test rsi, rsi
je 0x140043c04
mov rcx, rsi
call fcn.14003eff0
mov edx, 0x30
mov rcx, rsi
call fcn.1401f3fac
mov qword [rdi + 0x18], r12
mov rsi, qword [rdi + 0x20]
test rsi, rsi
je 0x140043c26
mov rcx, rsi
call fcn.140044580
mov edx, 0x48
mov rcx, rsi
call fcn.1401f3fac
mov qword [rdi + 0x20], r12
test rbx, rbx
jne 0x140043be0
mov rbx, qword [rbp - 0x59]
cmp qword [rbp - 0x49], 0
jbe 0x140043cb7
nop word [rax + rax]
mov qword [rbp - 0x79], rbx
test rbx, rbx
je 0x140043def
mov rax, qword [rbx]
mov qword [rbp - 0x59], rax
lea rax, [rbx + 0x10]
mov qword [rbp - 0x71], rax
mov qword [rbp - 0x69], rax
mov rdx, qword [rax]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140043c86
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rax, qword [rbp - 0x39]
mov qword [rbx], rax
mov qword [rbp - 0x39], rbx
mov rax, qword [rbp - 0x49]
sub rax, 1
mov qword [rbp - 0x49], rax
jne 0x140043cac
lea rcx, [rbp - 0x59]
call fcn.1400446f0
mov rax, qword [rbp - 0x49]
test rax, rax
je 0x140043cb7
mov rbx, qword [rbp - 0x59]
jmp 0x140043c40
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x39], r12
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x140043ce4
nop dword [rax]
mov rbx, qword [rcx]
call fcn.140203254
mov rcx, rbx
test rbx, rbx
jne 0x140043cd0
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x29], r12
mov dword [rbp - 0x21], r12d
mov rbx, qword [rbp + 0x17]
test rbx, rbx
je 0x140043d0a
mov rcx, rbx
call fcn.140044580
mov edx, 0x48
mov rcx, rbx
call fcn.1401f3fac
mov qword [rbp + 0x17], r12
cmp qword [rbp - 0x49], 0
jbe 0x140043d95
nop dword [rax]
mov rbx, qword [rbp - 0x59]
mov qword [rbp - 0x69], rbx
test rbx, rbx
je 0x140043dfa
mov rax, qword [rbx]
mov qword [rbp - 0x59], rax
lea rax, [rbx + 0x10]
mov qword [rbp - 0x71], rax
mov qword [rbp - 0x79], rax
mov rdx, qword [rax]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140043d6a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rax, qword [rbp - 0x39]
mov qword [rbx], rax
mov qword [rbp - 0x39], rbx
mov rax, qword [rbp - 0x49]
sub rax, 1
mov qword [rbp - 0x49], rax
jne 0x140043d90
lea rcx, [rbp - 0x59]
call fcn.1400446f0
mov rax, qword [rbp - 0x49]
test rax, rax
jne 0x140043d20
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x39], r12
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x140043dc4
nop word [rax + rax]
mov rbx, qword [rcx]
call fcn.140203254
mov rcx, rbx
test rbx, rbx
jne 0x140043db0
mov qword [rbp - 0x41], r12
mov eax, r15d
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1401f3bf0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140019320
nop
mov ecx, 0x80004005
call fcn.140019320
int3