Function at 0x140119710
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4f8
mov r12, rcx
movabs rsi, 0x8000000000000000
lea rcx, [rsp + 0xf8]
call fcn.140115ea0
mov r15, qword [rsp + 0xf8]
mov rbx, qword [rsp + 0x100]
mov r14d, 1
cmp r15, rsi
jne 0x140119791
mov qword [rsp + 0xe8], r14
lea rcx, [rsp + 0xf0]
mov qword [rsp + 0xf0], rbx
call fcn.140112c80
mov qword [r12], 0
add rsp, 0x4f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rax
cmp rax, 3
jbe 0x1401197ea
movabs rcx, 0x5c003f003f005c
lea rdx, [rcx + 0x1d0000]
cmp rdx, qword [rbx]
je 0x140119c84
cmp rcx, qword [rbx]
je 0x140119c84
cmp rax, 0xf8
jae 0x14011986b
cmp word [rbx + 2], 0x3a
jne 0x140119844
movzx eax, word [rbx + 4]
jmp 0x140119813
je 0x140119803
cmp rax, 2
je 0x140119844
cmp rax, 1
jne 0x14011986b
cmp word [rbx], 0
jne 0x14011986b
jmp 0x140119c84
cmp word [rbx + 2], 0x3a
jne 0x140119844
movzx eax, word [rbx + 4]
test ax, ax
je 0x140119833
cmp ax, 0x2f
je 0x140119821
movzx eax, ax
cmp eax, 0x5c
jne 0x140119844
movzx eax, word [rbx]
cmp eax, 0x2f
je 0x140119847
cmp eax, 0x5c
je 0x140119847
jmp 0x140119c84
movzx eax, word [rbx]
cmp eax, 0x2f
je 0x140119844
cmp eax, 0x5c
jne 0x140119c84
movzx eax, word [rbx]
cmp ax, 0x5c
je 0x140119855
movzx eax, ax
cmp eax, 0x2f
jne 0x14011986b
movzx eax, word [rbx + 2]
cmp eax, 0x2f
je 0x140119c84
cmp eax, 0x5c
je 0x140119c84
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 2
mov qword [rsp + 0x88], 0
mov r13d, 0x200
mov eax, 2
mov qword [rsp + 0x60], rax
xor eax, eax
mov qword [rsp + 0x58], rax
mov edi, 0xffffffff
xor ebx, ebx
xor ebp, ebp
cmp r13, 0x201
jae 0x140119900
jmp 0x1401198df
jae 0x1401199c7
cmp r13, 0x201
jae 0x140119900
mov esi, 0x200
lea r15, [rsp + 0xf8]
mov r14, r13
jmp 0x140119956
sub r13, rbp
sub rbx, rbp
cmp rbx, r13
jae 0x140119932
lea rcx, [rsp + 0x78]
mov rdx, rbp
mov r8, r13
call fcn.1401162d0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
mov rbx, qword [rsp + 0x58]
cmp rbx, rdi
mov ebp, 0xffffffff
cmovb rbp, rbx
mov qword [rsp + 0x88], rbp
mov rsi, rbp
mov r15, qword [rsp + 0x60]
mov r14, rbp
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov rcx, qword [rsp + 0x70]
mov edx, r14d
mov r8, r15
xor r9d, r9d
call sub.kernel32.dll_GetFullPathNameW
mov r12d, eax
test eax, eax
jne 0x140119984
call fcn.140167f34
test eax, eax
jne 0x140119a0d
mov r13d, r12d
cmp r14, r13
jne 0x1401198d0
call fcn.140167f34
cmp eax, 0x7a
jne 0x140119f07
add r14, r14
mov eax, 0xffffffff
cmp r14, rax
mov edi, 0xffffffff
cmovae r14, rax
mov r13, r14
cmp r13, 0x201
jb 0x1401198df
jmp 0x140119900
cmp rsi, r13
jb 0x140119f21
mov qword [rsp + 0x50], 0
cmp r12d, 2
mov r14d, 1
mov rdi, qword [rsp + 0x70]
jbe 0x140119a45
movzx eax, word [r15 + 2]
cmp eax, 0x3a
jne 0x140119a4d
cmp word [r15 + 4], 0x5c
jne 0x140119a4d
mov esi, 4
lea rbx, [0x1401e44e8]
jmp 0x140119ac6
call fcn.140167f34
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov r14d, 1
cmp qword [rsp + 0x58], 0
mov r12, qword [rsp + 0xc8]
movabs rsi, 0x8000000000000000
jne 0x140119c38
jmp 0x140119c4b
jne 0x140119abd
movzx ecx, word [r15]
jmp 0x140119a96
movzx ecx, word [r15]
cmp r12d, 3
jbe 0x140119a96
lea rbx, [0x14020d258]
cmp cx, 0x5c
jne 0x140119ac4
cmp eax, 0x3f
je 0x140119ac4
cmp eax, 0x5c
jne 0x140119aa1
movzx eax, word [r15 + 4]
cmp eax, 0x3f
je 0x140119ef6
cmp eax, 0x2e
jne 0x140119aa7
cmp word [r15 + 6], 0x5c
jne 0x140119aa7
add r13, 0xfffffffffffffffc
add r15, 8
jmp 0x1401199fc
cmp cx, 0x5c
jne 0x140119abd
movzx eax, word [r15 + 2]
cmp ax, 0x5c
jne 0x140119abd
add r13, 0xfffffffffffffffe
add r15, 4
mov esi, 8
lea rbx, [0x1401e44f0]
jmp 0x140119ac6
lea rbx, [0x14020d258]
xor esi, esi
lea rbp, [rsi + r13]
inc rbp
mov rax, qword [rsp + 0x68]
cmp rax, rbp
jae 0x140119b56
lea r8, [rbp*2]
test rax, rax
je 0x140119b05
add rax, rax
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], 2
mov qword [rsp + 0xa0], rax
jmp 0x140119b11
mov qword [rsp + 0x98], 0
lea rcx, [rsp + 0xd0]
lea r9, [rsp + 0x90]
mov edx, 2
call fcn.14008d510
cmp qword [rsp + 0xd0], 0
mov rcx, qword [rsp + 0xd8]
je 0x140119b83
movabs rax, 0x8000000000000001
cmp rcx, rax
mov rax, qword [rsp + 0x68]
jne 0x140119f35
cmp rax, rsi
jae 0x140119b7b
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8, rsi
call fcn.1401162d0
mov r12, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
jmp 0x140119b93
xor r12d, r12d
mov rbp, rax
jmp 0x140119b93
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rbp
xor r12d, r12d
mov rdi, rcx
lea r8, [rsi + rsi]
lea rcx, [rdi + r12*2]
mov rdx, rbx
call sub.msvcrt.dll_memcpy
add r12, rsi
mov qword [rsp + 0x50], r12
mov rax, rbp
sub rax, r12
cmp rax, r13
jae 0x140119bd5
lea rcx, [rsp + 0x40]
mov rdx, r12
mov r8, r13
call fcn.1401162d0
mov r12, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
lea r8, [r13*2]
lea rcx, [rdi + r12*2]
mov rdx, r15
call sub.msvcrt.dll_memcpy
add r12, r13
mov qword [rsp + 0x50], r12
cmp r12, rbp
jne 0x140119c0d
lea rcx, [rsp + 0x40]
mov rdx, rbp
call fcn.140116210
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov word [rdi + r12*2], 0
inc r12
mov qword [rsp + 0x50], r12
xor ebx, ebx
cmp qword [rsp + 0x58], 0
mov r12, qword [rsp + 0xc8]
movabs rsi, 0x8000000000000000
je 0x140119c4b
mov rcx, qword [0x140222380]
xor edx, edx
mov r8, qword [rsp + 0x60]
call sub.kernel32.dll_HeapFree
mov r15, qword [rsp + 0x40]
test rbx, rbx
je 0x140119c76
test r15, r15
je 0x140119758
mov r8, qword [rsp + 0x48]
mov rcx, qword [0x140222380]
xor edx, edx
call sub.kernel32.dll_HeapFree
jmp 0x140119758
mov rbx, qword [rsp + 0x48]
cmp r15, rsi
je 0x140119758
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r14d, r14d
mov rdi, rbx
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 7
xor r9d, r9d
call sub.kernel32.dll_CreateFileW
mov rsi, rax
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140119cda
call fcn.140167f34
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov r14d, 1
test r15, r15
je 0x140119cf0
mov rcx, qword [0x140222380]
xor edx, edx
mov r8, rdi
call sub.kernel32.dll_HeapFree
cmp rsi, 0xffffffffffffffff
je 0x140119758
xorps xmm0, xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0xc0], 0
lea rdx, [rsp + 0x90]
mov rcx, rbx
call sub.kernel32.dll_GetFileInformationByHandle
test eax, eax
je 0x140119dda
test dword [rsp + 0x90], 0x400
je 0x140119d70
mov qword [rsp + 0xd0], 0
lea r8, [rsp + 0xd0]
mov rcx, rbx
mov edx, 9
mov r9d, 8
call sub.kernel32.dll_GetFileInformationByHandleEx
test eax, eax
je 0x140119dda
mov r15d, dword [rsp + 0xb0]
mov r14d, dword [rsp + 0xb4]
test rbx, rbx
je 0x140119e2b
mov qword [rsp + 0x90], 0
call sub.kernel32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x90]
mov rcx, rax
mov rdx, rbx
mov r8, rax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
je 0x140119eb3
mov rsi, qword [rsp + 0x90]
jmp 0x140119e2d
call fcn.140167f34
shl rax, 0x20
or rax, 2
lea rcx, [rsp + 0x100]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0xf8], 2
call fcn.140112c80
mov qword [r12], 0
mov rcx, rbx
add rsp, 0x4f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp sub.kernel32.dll_CloseHandle
xor esi, esi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rsi
xor edx, edx
mov r8d, 2
xor r9d, r9d
call sub.kernel32.dll_CreateFileMappingA
test rax, rax
je 0x140119ea1
mov rdi, rax
shl r15, 0x20
or r15, r14
mov qword [rsp + 0x20], r15
mov rcx, rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call sub.kernel32.dll_MapViewOfFile
mov r14, rax
mov rcx, rdi
call sub.kernel32.dll_CloseHandle
test r14, r14
je 0x140119ea1
mov qword [r12 + 8], rsi
mov qword [r12 + 0x10], r14
mov qword [r12 + 0x18], r15
mov qword [r12], 1
jmp 0x140119ee9
mov qword [r12], 0
mov rcx, rsi
call sub.kernel32.dll_CloseHandle
jmp 0x140119ee9
call fcn.140167f34
shl rax, 0x20
or rax, 2
mov qword [rsp + 0xf8], 1
lea rcx, [rsp + 0x100]
mov qword [rsp + 0x100], rax
call fcn.140112c80
mov qword [r12], 0
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
jmp 0x14011977d
cmp word [r15 + 6], 0x5c
jne 0x140119aa7
jmp 0x140119ac4
lea rcx, str.internal_error:_entered_unreachable_code_home_drados_.cargo_registry_src_index.crates.io_6f17d22bba15001f_crossbeam_channel_0.5.12_src_channel.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140036810
jmp 0x140119f4e
lea r8, str.library_std_src_syswindowsmod.rs
mov rcx, r13
mov rdx, rsi
call fcn.140035fd0
jmp 0x140119f4e
test rcx, rcx
jne 0x140119f41
call fcn.140031580
jmp 0x140119f4e
mov rdx, qword [rsp + 0xe0]
call fcn.1400315c0
ud2