Function at 0x180041310
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, r8
mov qword [rsp + 0x60], rdx
mov r15, rcx
test r9d, r9d
mov eax, 0xbba81dda
mov ebp, 0xecdc7ab5
cmovg ebp, eax
movsxd r14, r9d
mov eax, 0xb12a68
jmp 0x180041360
mov rcx, qword [rsp + 0x30]
call fcn.1800b6500
mov eax, 0xfb4a7262
xor edi, edi
nop word cs:[rax + rax]
mov ecx, eax
cmp eax, 0xb12a67
jle 0x1800413d0
cmp ecx, 0x1b3f754a
jg 0x180041420
cmp ecx, 0x3ec6953
jle 0x180041491
cmp ecx, 0x3ec6954
je 0x180041345
mov eax, ebp
cmp ecx, 0xb8d0e51
je 0x180041360
mov eax, ecx
cmp ecx, 0x153581c3
jne 0x180041360
mov rcx, r15
mov rdx, qword [rsp + 0x60]
call fcn.180040c20
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
mov eax, 0xdcec31a8
mov ecx, 0x7829fd78
cmove eax, ecx
jmp 0x180041360
cmp ecx, 0xdcec31a7
jg 0x180041460
cmp ecx, 0xb9f7b244
jle 0x1800414b8
cmp ecx, 0xb9f7b245
je 0x180041570
cmp ecx, 0xbba81dda
je 0x180041597
mov eax, ecx
cmp ecx, 0xd0411c09
jne 0x180041360
mov eax, 0xfb4a7262
mov rdi, qword [rsp + 0x40]
jmp 0x180041360
cmp ecx, 0x59fb635e
jle 0x1800414e9
cmp ecx, 0x59fb635f
je 0x1800415b7
cmp ecx, 0x7337a53e
je 0x18004166a
mov eax, ecx
cmp ecx, 0x7829fd78
jne 0x180041360
mov eax, 0xf7c43b94
xor r12d, r12d
jmp 0x180041360
cmp ecx, 0xecdc7ab4
jle 0x180041526
cmp ecx, 0xecdc7ab5
je 0x18004167c
cmp ecx, 0xfb4a7262
jne 0x1800417a5
mov eax, 0x1f93333
mov r13, rdi
jmp 0x180041360
cmp ecx, 0xb12a68
je 0x18004169d
mov eax, ecx
cmp ecx, 0x1f93333
jne 0x180041360
mov eax, 0xf7c43b94
mov r12, r13
jmp 0x180041360
cmp ecx, 0x8159612d
je 0x1800416bc
mov eax, ecx
cmp ecx, 0x82c409e0
jne 0x180041360
mov rcx, qword [rsp + 0x30]
call fcn.1800b6500
mov eax, 0x1f93333
xor r13d, r13d
jmp 0x180041360
cmp ecx, 0x1b3f754b
je 0x1800416cd
mov eax, ecx
cmp ecx, 0x43980a12
jne 0x180041360
mov rcx, qword [rsp + 0x30]
xor edx, edx
xor r8d, r8d
call fcn.1800b6e64
test eax, eax
mov eax, 0x82c409e0
mov ecx, 0x1b3f754b
cmove eax, ecx
jmp 0x180041360
cmp ecx, 0xdcec31a8
je 0x180041740
mov eax, ecx
cmp ecx, 0xe3f5bbeb
jne 0x180041360
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov edx, 1
call fcn.1800b6bd0
cmp rax, qword [rsp + 0x38]
mov eax, 0x59fb635f
mov ecx, 0xb8d0e51
cmove eax, ecx
jmp 0x180041360
mov rcx, qword [rsp + 0x30]
call fcn.1800b7170
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
cmp eax, 0xffffffff
mov eax, 0x43980a12
mov ecx, 0x82c409e0
cmove eax, ecx
jmp 0x180041360
mov rcx, qword [rsp + 0x38]
add rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x58]
xor edx, edx
call fcn.1800cfe70
mov eax, 0xecdc7ab5
jmp 0x180041360
mov rcx, qword [rsp + 0x30]
call fcn.1800b6500
mov rcx, qword [rsp + 0x40]
mov rax, qword [0x1800f2280]
test rcx, rcx
mov edi, 0xc90cafb6
mov edx, 0xc9469c34
cmove edi, edx
mov edx, 0xee8ec90a
nop word cs:[rax + rax]
nop dword [rax]
cmp edx, 0xd3e4c4ba
jle 0x180041630
cmp edx, 0xd3e4c4bb
je 0x180041645
cmp edx, 0xee8ec90a
je 0x18004164c
cmp edx, 0x304265bf
jne 0x1800415f0
mov rdx, qword [rsp + 0x48]
add dword [rdx + 0x3b0], 0xffffffff
mov edx, 0xd3e4c4bb
jmp 0x1800415f0
cmp edx, 0xc90cafb6
je 0x180041650
cmp edx, 0xc9469c34
jne 0x1800415f0
jmp 0x180041766
mov edx, 0xc9469c34
jmp 0x1800415f0
mov edx, edi
jmp 0x1800415f0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
mov edx, 0x304265bf
mov ebx, 0xd3e4c4bb
cmove edx, ebx
jmp 0x1800415f0
mov rax, qword [rsp + 0x38]
mov qword [rsi], rax
mov eax, 0xd0411c09
jmp 0x180041360
mov rcx, qword [rsp + 0x30]
call fcn.1800b6500
cmp byte [rsp + 0x2f], 0
mov eax, 0xd0411c09
mov ecx, 0x7337a53e
cmovne eax, ecx
jmp 0x180041360
test rsi, rsi
setne byte [rsp + 0x2f]
cmp byte [rsp + 0x2f], 0
mov eax, 0x153581c3
mov ecx, 0x8159612d
cmovne eax, ecx
jmp 0x180041360
mov qword [rsi], 0
mov eax, 0x153581c3
jmp 0x180041360
movsxd rax, dword [rsp + 0x54]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x58], r14
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [0x1800f2280]
mov qword [rsp + 0x48], rdx
mov edx, 0x8e191b15
nop word [rax + rax]
cmp edx, 0x4f6c15c
je 0x18004172d
cmp edx, 0xd5564902
je 0x180041778
cmp edx, 0x8e191b15
jne 0x180041700
cmp qword [rsp + 0x48], 0
mov edx, 0x4f6c15c
mov ebx, 0xd5564902
cmove edx, ebx
jmp 0x180041700
mov rdx, qword [rsp + 0x48]
add dword [rdx + 0x3b0], 1
mov edx, 0xd5564902
jmp 0x180041700
mov rcx, qword [rsp + 0x30]
xor edx, edx
mov r8d, 2
call fcn.1800b6e64
test eax, eax
mov eax, 0x82c409e0
mov ecx, 0xb9f7b245
cmove eax, ecx
jmp 0x180041360
mov rdx, qword [0x1800f2290]
call qword [0x1800ea350]
jmp 0x18004134f
add rcx, rax
mov rdx, qword [0x1800f2290]
call qword [0x1800ea348]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
mov eax, 0xe3f5bbeb
mov ecx, 0x3ec6954
cmove eax, ecx
jmp 0x180041360
mov eax, ecx
cmp ecx, 0xf7c43b94
jne 0x180041360
mov rax, r12
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret