Function at 0x18002fde0
Capabilities:
Check for software breakpoints
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov ebx, dword [rsp + 0xd8]
lea eax, [rdx + 0xe]
mov dword [rsp + 0x40], eax
mov rsi, r9
mov r13d, edx
cmp edx, eax
jae case.0x18002fe5c.164
mov r12, qword [rsp + 0x58]
mov ebp, dword [rsp + 0xd8]
mov r14, qword [rsp + 0x50]
mov r15, qword [rsp + 0x50]
lea eax, [r13 - 0xa1]
lea rdx, [0x180000000]
cmp eax, 0x2e
ja case.0x18002fe5c.173
movzx eax, byte [rdx + rax + 0x302f0]
mov ecx, dword [rdx + rax*4 + 0x302bc]
add rcx, rdx
jmp rcx
mov r12, qword [r8]
mov qword [rsp + 0x70], r12
mov r12, qword [r12 + 0x48]
mov qword [rsp + 0x58], r12
jmp case.0x18002fe5c.173
mov rcx, qword [rsi]
cmp dword [rcx + 0x24], 0xcc
je 0x18002fea4
mov rax, qword [rcx + 0x258]
call qword [rax]
mov rax, qword [rsi]
mov dword [rax + 0xa8], 0
mov rax, qword [rsi]
mov dword [rax + 0x24], 0xcc
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x258]
cmp dword [rax + 0x10], 0
je case.0x18002fe5c.173
nop word [rax + rax]
mov eax, dword [rcx + 0x8c]
cmp dword [rcx + 0xa8], eax
jae 0x18002ff6c
mov edi, 0xec
mov eax, edi
sub eax, 0xea
je 0x18002ff3e
sub eax, 1
je 0x18002ff23
cmp eax, 1
jne 0x18002ff4d
mov rax, qword [rsi]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x18002ff1b
mov eax, dword [rax + 0xa8]
mov dword [rcx + 8], eax
mov rax, qword [rsi]
mov rcx, qword [rax + 0x10]
mov eax, dword [rax + 0x8c]
mov dword [rcx + 0xc], eax
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rax, qword [rsi]
mov ebp, dword [rax + 0xa8]
jmp 0x18002ff4d
mov rcx, qword [rsi]
xor r9d, r9d
xor edx, edx
mov rax, qword [rcx + 0x260]
lea r8, [rcx + 0xa8]
call qword [rax + 8]
jmp 0x18002ff4d
mov rax, qword [rsi]
cmp dword [rax + 0xa8], ebp
je 0x18003029b
dec edi
cmp edi, 0xe9
ja 0x18002fed7
mov rcx, qword [rsi]
mov eax, dword [rcx + 0x8c]
cmp dword [rcx + 0xa8], eax
jb 0x18002fed2
mov rax, qword [rcx + 0x258]
call qword [rax + 8]
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x258]
call qword [rax]
mov rax, qword [rsi]
mov dword [rax + 0xa8], 0
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x258]
cmp dword [rax + 0x10], 0
jne 0x18002fec0
jmp case.0x18002fe5c.173
mov rax, qword [rsi]
mov edx, dword [rax + 0x30]
test edx, edx
je 0x18002ffe7
movzx eax, byte [r15]
movzx ecx, byte [rax + r12]
mov byte [r14], cl
movzx eax, byte [r15 + 1]
movzx ecx, byte [rax + r12]
mov byte [r14 + 1], cl
movzx eax, byte [r15 + 2]
add r15, 3
movzx ecx, byte [rax + r12]
mov byte [r14 + 2], cl
add r14, 3
add edx, 0xffffffff
jne 0x18002ffb2
mov ebx, 1
jmp case.0x18002fe5c.173
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x280]
call qword [rax + 8]
mov dword [rsp + 0xd8], eax
jmp case.0x18002fe5c.173
mov rax, qword [rsi]
mov rdi, qword [rsp + 0x78]
mov edx, dword [rax + 0x88]
mov r10, qword [rdi + 0x30]
test edx, edx
je 0x18003007f
mov r12, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x80]
nop dword [rax]
movsx rax, byte [r12]
lea r10, [r10 + 3]
mov rcx, rax
inc r12
movzx eax, byte [rax + rsi]
mov byte [r10 - 3], al
mov rax, qword [rsp + 0x88]
movzx eax, byte [rcx + rax]
mov byte [r10 - 2], al
mov rax, qword [rsp + 0x50]
movzx eax, byte [rcx + rax]
mov byte [r10 - 1], al
add edx, 0xffffffff
jne 0x180030030
mov rsi, qword [rsp + 0xe8]
mov r10, qword [rdi + 0x30]
mov qword [rsp + 0x68], r12
mov r12, qword [rsp + 0x58]
mov r9, qword [rdi + 0x18]
mov edx, 1
mov r8, qword [rdi + 0x40]
mov rcx, r10
call fcn.180083240
jmp case.0x18002fe5c.173
mov rax, qword [rsi]
mov rdi, qword [rax + 0x278]
mov qword [rsp + 0x60], rdi
cmp dword [rdi + 0x24], 0
je case.0x18002fe5c.173
mov eax, 2
jmp 0x1800302a1
mov rcx, qword [rsi]
xor eax, eax
mov ebx, 1
cmp dword [rcx + 0x5c], eax
setne al
add eax, 0xcd
mov dword [rcx + 0x24], eax
jmp case.0x18002fe5c.173
mov ebx, dword [rsp + 0xd8]
jmp case.0x18002fe5c.173
mov rdi, qword [rsp + 0x70]
mov edx, 1
mov r9, qword [rdi + 0x18]
mov r8, qword [rdi + 0x40]
mov rcx, qword [rdi + 0x30]
call fcn.180082cbc
cmp rax, qword [rdi + 0x40]
je 0x18003011b
mov rax, qword [rsi]
mov rcx, qword [rax]
mov dword [rcx + 0x28], 0x2b
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax]
mov rax, qword [rdi + 0x20]
mov r15, qword [rdi + 0x30]
mov r14, qword [rax]
jmp case.0x18002fe5c.173
mov edx, dword [rsp + 0xd8]
mov ecx, edx
test edx, edx
je 0x18003023e
sub ecx, 1
je 0x1800301af
cmp ecx, 1
jne 0x18003023e
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x28], 0
mov dword [rax + 0x24], ecx
je 0x180030189
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x280]
cmp dword [rax + 0x1c], 0
je 0x18003023e
mov rax, qword [rcx]
mov dword [rax + 0x28], 0x3b
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax]
mov r13d, 0xcd
jmp case.0x18002fe5c.173
mov rax, qword [rsi]
mov ecx, dword [rax + 0xac]
cmp dword [rax + 0xb4], ecx
jle 0x18003023e
mov dword [rax + 0xb4], ecx
mov r13d, 0xcd
jmp case.0x18002fe5c.173
mov rdi, qword [rsp + 0x60]
cmp dword [rdi + 0x28], 0
je 0x1800301e8
mov rax, qword [rsi]
lea r8, [rsp + 0x48]
mov r9d, 5
mov qword [rsp + 0x48], rax
xor edx, edx
xor ecx, ecx
call fcn.1800464b0
mov dword [rdi + 0x28], 0
mov r13d, 0xcd
jmp case.0x18002fe5c.173
cmp dword [rdi + 0x20], 0
jne 0x180030203
mov rax, qword [rsi]
mov rcx, qword [rax]
mov dword [rcx + 0x28], 0x23
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax]
mov rax, qword [rsi]
xor r9d, r9d
mov qword [rsp + 0x38], 0
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rsp + 0x48]
mov dword [rsp + 0x30], 0xa4
mov qword [rsp + 0x28], 0
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.18003ccc0
mov r13d, 0xcd
jmp case.0x18002fe5c.173
mov rax, qword [rsi]
mov rdx, qword [r8]
mov qword [rsp + 0x78], rdx
mov rcx, qword [rax + 0xa0]
mov rax, qword [rcx]
mov qword [rsp + 0x80], rax
mov rax, qword [rcx + 8]
mov qword [rsp + 0x88], rax
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x50], rax
mov rax, qword [rdx + 0x20]
mov rcx, qword [rax]
mov qword [rsp + 0x68], rcx
inc r13d
cmp r13d, dword [rsp + 0x40]
jae case.0x18002fe5c.164
mov r8, qword [rsp + 0xe0]
jmp 0x18002fe33
xor eax, eax
jmp 0x1800302a1
mov eax, ebx
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret