Function at 0x180011340
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov qword [rsp + 0x48], rdx
movabs r15, 0xd2e4b410b396e94f
movabs r12, 0x798d49e23f4ae88d
movabs r13, 0x4313d04ac583bc38
movabs rbp, 0x4313d04a12d29411
movabs rsi, 0x4087973287e6fdca
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x80], r8
mov qword [rsp + 0xd0], r8
lea rcx, [r13 + 0x13b739fe]
lea rbx, [r13 - 0x3ce378dc]
lea r11, [rbp + 0x1ca30f5b]
lea r10, [rbp - 0x8682278]
lea rax, [rbp - 0x11f2fef7]
mov qword [rsp + 0xa0], rax
lea rax, [r13 + 0xa639f51]
mov qword [rsp + 0xb0], rax
lea r9, [r13 - 0x15ef0b5a]
lea rax, [rbp - 0x6a6220]
mov qword [rsp + 0xa8], rax
lea rax, [rbp + 0xbc89a42]
mov qword [rsp + 0x88], rax
lea rax, [r13 - 0x2d4f3c1a]
mov qword [rsp + 0x90], rax
lea rax, [rbp + 0x44fa8045]
mov qword [rsp + 0xc8], rax
lea r8, [rbp + 0xeb5f3ec]
mov qword [rsp + 0x78], r11
mov qword [rsp + 0x68], r10
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x40], r8
jmp 0x180011450
lea rax, [rbp + 0x1ca30f5b]
cmp rcx, rbx
cmove rcx, rax
nop word [rax + rax]
cmp rcx, rbx
jge 0x1800114a0
cmp rcx, r11
jge 0x180011510
cmp rcx, rbp
jge 0x180011630
cmp rcx, r10
jge 0x180011723
cmp rcx, qword [rsp + 0xa0]
jne 0x180011450
mov rax, qword [rsp + 0x38]
cmp qword [rax + 0x68], 0
mov rcx, qword [rsp + 0xb0]
cmove rcx, r9
jmp 0x180011450
cmp rcx, r9
jae 0x180011560
lea rax, [r13 - 0x316bb8e4]
cmp rcx, rax
jae 0x180011669
lea rax, [r13 - 0x39794fd8]
cmp rcx, rax
jb 0x180011439
lea rdx, [r13 - 0x38b2e23b]
cmp rcx, rdx
jae 0x1800118de
lea rdx, [rbp + 0x4f103961]
cmp rcx, rax
mov eax, 0
mov r14, r8
mov r8, r10
mov r10, rdi
mov edi, dword [rsp + 0x2c]
cmove edi, eax
mov dword [rsp + 0x2c], edi
mov rdi, r10
mov r10, r8
mov r8, r14
cmove rcx, rdx
jmp 0x180011450
lea rax, [rbp + 0x414b7b07]
cmp rcx, rax
jae 0x180011698
lea rax, [rbp + 0x20940973]
cmp rcx, rax
jae 0x18001173d
lea rax, [rbp + 0x1ca30f5b]
cmp rcx, rax
jne 0x180011450
lea rcx, [r13 + 0x27d383b0]
cmp qword [rsp + 0x30], 0x1000
cmovb rcx, qword [rsp + 0xa8]
jmp 0x180011450
lea rdx, [r13 + 0x13b739fe]
cmp rcx, rdx
jae 0x1800116e0
cmp rcx, r13
jae 0x180011760
cmp rcx, r9
jne 0x180011450
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
lea rcx, [r12 + 0xa46a10f]
mov rdx, rcx
lea r9, [r12 + 0xa46a10f]
lea rcx, [r12 + 0x1b6e34f9]
lea r8, [r12 - 0x3c11fbb3]
nop dword [rax]
cmp rdx, r9
jge 0x1800115f0
cmp rdx, r12
jge 0x180011610
cmp rdx, r8
jne 0x1800115d0
jmp 0x180011620
cmp rdx, rcx
jae 0x18001191c
cmp rdx, r9
jne 0x1800115d0
cmp qword [rsp + 0x70], 0
cmove r8, r12
mov rdx, r8
jmp 0x1800115b5
cmovne rcx, rdx
mov edx, 0
cmove eax, edx
jmp 0x1800115b2
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x50]
mov eax, dword [rax]
jmp 0x1800115b2
cmp rcx, qword [rsp + 0x88]
jae 0x180011794
cmp rcx, rbp
jne 0x180011450
mov rdi, qword [rsp + 0x80]
sub rdi, qword [rsp + 0x30]
mov dword [rsp + 0x2c], 1
mov rcx, qword [rsp + 0xc8]
jmp 0x180011450
cmp rcx, qword [rsp + 0x90]
jae 0x1800117be
cmp rcx, rax
jne 0x180011450
lea rcx, [rbp + 0x20940973]
cmp dword [rsp + 0x9c], 0
cmove rcx, r10
jmp 0x180011450
lea rdx, [rbp + 0x4f103961]
cmp rcx, rdx
jae 0x180011828
lea rax, [rbp + 0x44fa8045]
cmp rcx, rax
jae 0x180011942
lea rax, [rbp + 0x414b7b07]
cmp rcx, rax
jne 0x180011450
lea rcx, [r13 - 0x1ea5f842]
cmp dword [rsp + 0x98], 0
cmove rcx, rbx
jmp 0x180011450
lea rax, [r13 + 0x27d383b0]
cmp rcx, rax
jae 0x180011859
lea rax, [r13 + 0x16e796ea]
cmp rcx, rax
jae 0x180011954
cmp rcx, rdx
jne 0x180011450
cmp qword [rsp + 0xd0], 0
cmovg rax, qword [rsp + 0xa0]
mov rcx, rax
jmp 0x180011450
cmp rcx, qword [rsp + 0xa8]
jae 0x180011970
cmp rcx, r10
cmove rcx, rbp
jmp 0x180011450
lea rdx, [rbp + 0x307cba0b]
cmp rcx, rdx
jae 0x180011992
lea rdx, [rbp + 0x44fa8045]
cmp rcx, rax
cmove rcx, rdx
jmp 0x180011450
cmp rcx, qword [rsp + 0xb0]
jae 0x1800119b9
cmp rcx, r13
jne 0x180011450
mov rax, qword [rsp + 0x38]
lea rcx, [r13 - 0x38b2e23b]
cmp qword [rax + 0x80], 0
cmove rcx, rbp
jmp 0x180011450
cmp rcx, r8
jae 0x1800119f9
cmp rcx, qword [rsp + 0x88]
mov eax, 0
mov edx, dword [rsp + 0x2c]
cmove edx, eax
mov dword [rsp + 0x2c], edx
cmove rcx, r8
jmp 0x180011450
lea rax, [r13 - 0x1ea5f842]
cmp rcx, rax
jae 0x180011a16
cmp rcx, qword [rsp + 0x90]
jne 0x180011450
mov rax, qword [rsp + 0x38]
mov r9, qword [rax + 0x80]
mov r14, qword [rsp + 0x30]
mov edx, 1
mov rcx, qword [rsp + 0x48]
mov r8, r14
call sub.msvcrt.dll_fread
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x78]
sub r14, rax
mov qword [rsp + 0x30], r14
mov rcx, qword [rsp + 0x88]
jmp 0x180011450
lea r8, [rbp + 0x56fbed8b]
cmp rcx, r8
jae 0x180011a1f
cmp rcx, rdx
mov r8, qword [rsp + 0x40]
jne 0x180011450
mov ecx, dword [rsp + 0x2c]
mov dword [rsp + 0x98], ecx
mov rcx, rax
jmp 0x180011450
lea rdx, [r13 + 0x39446e60]
cmp rcx, rdx
jae 0x180011bf3
cmp rcx, rax
jne 0x180011450
mov rax, qword [rsp + 0x38]
mov r9, qword [rax + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rsi, qword [rsp + 0x48]
mov rcx, rsi
call sub.msvcrt.dll_fread
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x78]
add rsi, rax
mov qword [rsp + 0x48], rsi
movabs rsi, 0x4087973287e6fdca
sub qword [rsp + 0x30], rax
lea rcx, [rbp + 0x307cba0b]
lea rdx, [r13 - 0x39794fd8]
cmp rax, 0xfff
cmove rcx, rdx
jmp 0x180011450
jne 0x180011450
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x58]
add rax, 0x70
mov qword [rsp + 0x70], rax
lea rax, [r15 - 0xd45a887]
mov rcx, rax
jmp 0x180011b30
cdqe
mov qword [rsp + 0xb8], rax
lea rcx, [rbp + 0x56fbed8b]
test eax, eax
cmove rcx, r13
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x40]
jmp 0x180011450
jne 0x180011450
lea rcx, [r13 + 0x39446e60]
jmp 0x180011450
lea rdx, [r13 + 0x39446e60]
cmp rcx, rax
mov eax, 0
cmove rdi, rax
cmove rcx, rdx
jmp 0x180011450
jne 0x180011450
cmp qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x90]
cmove rcx, qword [rsp + 0x88]
jmp 0x180011450
jne 0x180011450
mov rdi, qword [rsp + 0x80]
sub rdi, qword [rsp + 0x30]
lea rcx, [rbp + 0x4f103961]
mov dword [rsp + 0x2c], 1
jmp 0x180011450
jne 0x180011450
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x80]
call fcn.180013470
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x78]
mov rdi, rax
lea rcx, [r13 + 0x39446e60]
jmp 0x180011450
jne 0x180011450
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x9c], eax
lea rcx, [r13 - 0x316bb8e4]
jmp 0x180011450
cmove rcx, r8
jmp 0x180011450
mov r8, qword [rsp + 0x40]
jne 0x180011450
mov qword [rsp + 0xc0], rdi
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x60], rax
mov rdi, qword [rsp + 0x30]
mov qword [rsp + 0x70], rdi
movabs rcx, 0x40879732e71407e5
jmp 0x180011a80
mov rdx, qword [rsp + 0x60]
lea rcx, [rsi - 0x5955dd9]
lea r8, [rsi - 0x4b62a416]
cmp rdx, qword [rsp + 0x70]
cmovb rcx, r8
nop word cs:[rax + rax]
cmp rcx, rsi
jl 0x180011a9e
movabs rdx, 0x40879732e71407e5
cmp rcx, rdx
jae 0x180011a55
cmp rcx, rsi
jne 0x180011a80
jmp 0x180011b78
lea rdx, [rsi - 0x5955dd9]
cmp rcx, rdx
jge 0x180011ac6
lea rdx, [rsi - 0x4b62a416]
cmp rcx, rdx
cmove rcx, rsi
lea rdx, [rsp + 0xb8]
cmove rax, rdx
jmp 0x180011a80
cmove rcx, rsi
lea rdx, [rsp + 0x30]
cmove rax, rdx
jmp 0x180011a80
mov rcx, qword [rsp + 0x58]
mov ecx, dword [rcx + 0x90]
mov rdx, qword [rsp + 0x58]
mov rdx, qword [rdx + 0x88]
mov r8, qword [rsp + 0x58]
mov r8, qword [r8 + 0x88]
mov r9, qword [rsp + 0x58]
mov r10, qword [r9 + 0x18]
mov qword [r10], r8
mov r10, qword [rsp + 0x68]
mov r8, qword [r9 + 0x38]
mov qword [r8], rdx
mov r8, qword [rsp + 0x40]
sub ecx, edx
mov rdx, qword [r9 + 0x50]
mov r9, qword [rsp + 0x50]
mov dword [rdx], ecx
mov rcx, r15
lea rdx, [r15 + 0xf94a44c]
nop word [rax + rax]
cmp rcx, r15
jb 0x180011b60
cmp rcx, rdx
jae 0x180011ae0
cmp rcx, r15
jne 0x180011b40
jmp 0x180011beb
cmp rcx, rax
jne 0x180011b40
mov rcx, qword [rsp + 0x60]
cmp rcx, qword [rsp + 0x70]
cmovne rdx, r15
mov rcx, rdx
jmp 0x180011b30
mov r14, qword [rax]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x38]
mov rdx, qword [rax]
mov rsi, qword [rsp + 0x48]
mov rcx, rsi
mov r8, r14
call sub.msvcrt.dll_memcpy
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x78]
sub rdi, r14
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x50]
sub dword [rcx], r14d
add rsi, r14
mov qword [rsp + 0x48], rsi
movabs rsi, 0x4087973287e6fdca
mov rax, qword [rax + 0x38]
movsxd rcx, r14d
add qword [rax], rcx
mov rcx, r13
mov rdi, qword [rsp + 0xc0]
jmp 0x180011450
mov rcx, r11
jmp 0x180011450
mov rax, rdi
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret