Function at 0x18001e080
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov ebx, dword [rsp + 0x190]
mov rax, r9
imul edi, r8d, 0x111
mov r15, rdx
mov r12, rcx
mov esi, r8d
mov dword [rsp + 0x60], edi
cmp r8d, edi
ja 0x18001e440
mov r13, qword [rsp + 0x58]
xor ebp, ebp
mov r14, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x58]
nop dword [rax]
cmp esi, 0xcc4
ja 0x18001e2dd
je 0x18001e230
cmp esi, 0xca
ja 0x18001e200
je 0x18001e17d
mov eax, esi
sub eax, 0x4c
je 0x18001e134
sub eax, 0x4c
je 0x18001e127
cmp eax, 0x28
jne 0x18001e3fd
cmp qword [r15 + 8], 0
mov eax, 0
setne al
jmp 0x18001e442
mov rax, qword [r15]
mov qword [rsp + 0x58], rax
jmp 0x18001e3fd
xor r9d, r9d
xor edx, edx
xor ecx, ecx
lea r8d, [r9 + 0x53]
call fcn.180063980
xor r9d, r9d
mov r8, r12
test eax, eax
jne 0x18001e41a
lea rdx, [rsp + 0x90]
lea ecx, [rax + 0x14]
call fcn.18001dab0
mov eax, dword [rsp + 0x130]
lea r14, [rsp + 0x130]
mov dword [r15], eax
lea rdi, [r15 + 4]
jmp 0x18001e3fd
mov r9d, 0x113
mov qword [rsp + 0x20], rbp
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1800301e0
lea r9, [rsp + 0x78]
xor edx, edx
mov r8d, 0xeb
mov rcx, rax
mov r13, rax
call fcn.18001fbc0
xor r9d, r9d
lea rdx, [rsp + 0x78]
mov r8d, 0xc0
xor ecx, ecx
call fcn.18001e080
test eax, eax
je 0x18001e3fd
nop dword [rax]
xor r8d, r8d
lea rcx, [rsp + 0x78]
mov edx, 0xc8
call fcn.180045240
xor r9d, r9d
lea rdx, [rsp + 0x78]
mov r8d, 0xc0
xor ecx, ecx
call fcn.18001e080
test eax, eax
jne 0x18001e1d0
jmp 0x18001e3fd
cmp esi, 0xe8
je 0x18001e223
cmp esi, 0x688
jne 0x18001e3fd
mov eax, dword [r14 + 4]
mov dword [rdi], eax
add rdi, 4
jmp 0x18001e3fd
mov rax, qword [r12]
mov qword [r15 + 0x20], rax
jmp 0x18001e3fd
mov eax, dword [r14 + 8]
mov ebp, 9
mov dword [rdi], eax
mov eax, dword [r14 + 0xc]
mov dword [rdi + 4], eax
add rdi, 8
sub r14, 0x10
nop word [rax + rax]
mov eax, dword [r14]
lea r9, [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x50], eax
xor ecx, ecx
lea edx, [r8 + 0x61]
call fcn.180053590
xor r8d, r8d
mov dword [rdi], eax
mov eax, dword [r14 + 4]
lea r9, [rsp + 0x50]
xor ecx, ecx
mov dword [rsp + 0x50], eax
lea edx, [r8 + 0x61]
call fcn.180053590
xor r8d, r8d
mov dword [rdi + 4], eax
mov eax, dword [r14 + 8]
lea r9, [rsp + 0x50]
xor ecx, ecx
mov dword [rsp + 0x50], eax
lea edx, [r8 + 0x61]
call fcn.180053590
xor r8d, r8d
mov dword [rdi + 8], eax
mov eax, dword [r14 + 0xc]
lea r9, [rsp + 0x50]
xor ecx, ecx
mov dword [rsp + 0x50], eax
lea edx, [r8 + 0x61]
call fcn.180053590
mov dword [rdi + 0xc], eax
sub r14, 0x10
add rdi, 0x10
sub rbp, 1
jne 0x18001e250
jmp 0x18001e3fd
cmp esi, 0x13f0
ja 0x18001e3da
je 0x18001e3d1
cmp esi, 0xd10
je 0x18001e38b
cmp esi, 0x115c
je 0x18001e332
cmp esi, 0x1300
jne 0x18001e3fd
mov eax, dword [r14]
mov dword [rdi], eax
mov eax, dword [r14 + 4]
mov dword [rdi + 4], eax
mov eax, dword [r14 + 8]
mov dword [rdi + 8], eax
mov eax, dword [r14 + 0xc]
mov dword [rdi + 0xc], eax
add rdi, 0x10
jmp 0x18001e3fd
mov r9d, 0xed
xor r8d, r8d
mov rdx, r13
xor ecx, ecx
call fcn.180031af0
lea rax, [0x180069b70]
mov ecx, 0x4c
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x68]
lea rax, [0x180069b90]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x68], rax
call fcn.1800461a0
lea r9, [rsp + 0x78]
xor edx, edx
mov r8d, 0xeb
mov rcx, rax
mov r13, rax
call fcn.18001fbc0
jmp 0x18001e3fd
movsxd r8, dword [rax]
mov edx, 2
mov r9, qword [rsp + 0x58]
mov rcx, r12
call fcn.1800713e0
cmp dword [r15 + 0x18], 0
mov rbx, rax
je 0x18001e3c3
mov r9d, 0xb3
mov dword [rsp + 0x50], ebx
mov r8, r12
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.18001a890
movsx ecx, word [r15 + 8]
mov eax, ebx
cdq
idiv ecx
mov ebx, eax
jmp 0x18001e3fd
mov rax, qword [rax]
mov qword [r15 + 0x28], rax
jmp 0x18001e3fd
cmp esi, 0x1988
je 0x18001e440
cmp esi, 0x21ee
jne 0x18001e3fd
mov r9d, 0xed
xor r8d, r8d
mov rdx, r13
xor ecx, ecx
call fcn.180031af0
imul eax, dword [rsp + 0x190], 0x15
add esi, eax
cmp esi, dword [rsp + 0x60]
ja 0x18001e440
mov rax, qword [rsp + 0x198]
jmp 0x18001e0e0
mov qword [rsp + 0x40], rbp
xor edx, edx
mov qword [rsp + 0x38], rbp
mov rcx, r15
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x108
mov qword [rsp + 0x20], rbp
call fcn.180037390
mov eax, ebx
mov rbx, qword [rsp + 0x180]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret