Function at 0x180060110
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
push rbp
push rbx
push r13
push r15
lea rbp, [rax - 0x57]
sub rsp, 0x98
lea r13d, [rdx + 0x7c6]
mov ebx, edx
mov r15, rcx
cmp edx, r13d
jae 0x18006048f
mov qword [rax + 8], rsi
xor ecx, ecx
mov rsi, qword [rbp - 9]
mov r8d, 0x38f
mov qword [rax - 0x28], rdi
mov rdi, qword [rbp - 9]
mov qword [rax - 0x30], r12
lea edx, [rcx + 1]
mov r12, qword [rbp - 9]
lea r9d, [rcx + 2]
mov qword [rax - 0x38], r14
lea eax, [rcx + 3]
mov r14, qword [rbp - 9]
cmp ebx, 0x34a
ja 0x1800602b3
je 0x18006027e
mov eax, ebx
sub eax, 0x35
je 0x18006023c
sub eax, 0x92
je 0x18006022f
sub eax, 0x2e
je 0x180060227
sub eax, 0xc7
je 0x180060202
cmp eax, 0xc7
jne 0x180060416
mov rax, qword [r15]
lea r8, [rbp - 0x11]
mov word [rbp - 0x11], r9w
lea rdx, [rbp - 9]
mov r9d, 0x53
mov qword [rbp - 9], rax
lea rcx, [rbp + 0x67]
call fcn.18002dab0
cmp rax, 1
mov r12, rax
mov byte [rbp + rax + 0x67], 0
mov eax, 0
movzx ecx, byte [rbp + 0x68]
cmovg ecx, eax
mov byte [rbp + 0x68], cl
lea rcx, [rbp + 0x67]
call fcn.180071acc
jmp 0x180060404
mov rax, qword [r15]
lea r8, [rbp - 0x11]
mov word [rbp - 0x11], dx
mov ecx, 0x42
lea rdx, [rbp - 9]
mov qword [rbp - 9], rax
call fcn.180018420
movsxd rdi, eax
jmp 0x180060404
mov r12, rcx
jmp 0x180060416
mov word [0x1800ce8fc], r8w
jmp 0x180060416
mov rax, qword [rbp + 0x7f]
xor r8d, r8d
mov rcx, r15
mov rdx, qword [rax]
call fcn.1800749cc
test eax, eax
jne 0x18006049d
mov rax, qword [rbp + 0x77]
mov r9, r15
mov rcx, qword [rbp + 0x6f]
mov r8d, 1
movsxd rdx, dword [rax]
call fcn.180074690
cmp rax, 1
jne 0x18006049d
jmp 0x180060404
test r12, r12
je 0x18006042c
mov word [rbp - 0x11], ax
lea r8, [rbp - 0x11]
mov rax, qword [r15]
lea rdx, [rbp - 9]
mov ecx, 0x42
mov qword [rbp - 9], rax
call fcn.180018420
movsxd rcx, eax
mov qword [0x1800be738], rcx
jmp 0x180060404
cmp ebx, 0x411
je 0x1800603c0
cmp ebx, 0x4d8
je 0x18006034e
cmp ebx, 0x59f
je 0x180060326
cmp ebx, 0x666
jne 0x18006041b
mov eax, dword [0x1800be6f0]
lea r9, [rbp - 0x11]
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov qword [rsp + 0x38], rcx
xor edx, edx
mov dword [rbp - 0x11], eax
mov rax, qword [r15]
mov qword [rbp - 9], rax
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 1]
mov dword [rsp + 0x20], 0x28
call fcn.180036ed0
jmp 0x180060404
mov qword [rsp + 0x28], rcx
mov r9d, 0xd9
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov qword [0x1800be740], rcx
xor edx, edx
xor ecx, ecx
call fcn.18003cc30
jmp 0x180060404
cmp r14, 0x62
je 0x1800603ab
cmp r14, 0x6c
je 0x180060396
cmp r14, 0x72
je 0x18006037e
cmp r14, 0x74
jne 0x1800603b9
mov qword [0x1800be6f8], rdi
mov ebx, 0x4d8
mov qword [0x1800be718], rsi
jmp 0x18006041b
mov qword [0x1800be708], rdi
mov ebx, 0x4d8
mov qword [0x1800be728], rsi
jmp 0x18006041b
mov qword [0x1800be700], rdi
mov ebx, 0x4d8
mov qword [0x1800be720], rsi
jmp 0x18006041b
mov qword [0x1800be710], rdi
mov qword [0x1800be730], rsi
mov ebx, 0x4d8
jmp 0x18006041b
test rdi, rdi
je 0x1800603ec
lea rdx, str.ltrb
lea rcx, [rbp + 0x67]
call fcn.1800720b4
xor ecx, ecx
test rax, rax
je 0x1800603ec
movsx r14, byte [rbp + 0x67]
mov qword [0x1800be6f0], 1
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor edx, edx
xor ecx, ecx
lea r8d, [r9 + 0x67]
call fcn.18003ca70
movsxd rsi, eax
mov r9d, 2
mov r8d, 0x38f
xor ecx, ecx
lea edx, [r9 - 1]
mov eax, 3
add ebx, 0xc7
cmp ebx, r13d
jb 0x180060173
jmp 0x18006046f
mov qword [rsp + 0x40], rcx
lea r9, [rbp - 0x11]
mov qword [rsp + 0x38], rcx
xor r8d, r8d
mov qword [0x1800be6f0], rcx
xor edx, edx
mov rax, qword [r15]
mov qword [rbp - 9], rax
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov dword [rbp - 0x11], ecx
lea rcx, [rbp - 1]
mov dword [rsp + 0x20], 0x28
call fcn.180036ed0
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xc0]
mov r14, qword [rsp + 0x80]
add rsp, 0x98
pop r15
pop r13
pop rbx
pop rbp
ret
xor ecx, ecx
call fcn.1800726e0
mov ecx, 1
call fcn.18007267c
int3