Function at 0x1800658a8
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1800dd010]
xor rax, rsp
mov qword [rbp - 8], rax
xor r13d, r13d
xorps xmm0, xmm0
mov qword [rbp - 0x30], r13
mov rbx, r9
mov qword [rbp - 0x10], r13
mov rsi, r8
mov rdi, rdx
mov r14, rcx
mov r15b, r13b
movdqu xmmword [rbp - 0x20], xmm0
test r8, r8
je 0x180066911
test rdx, rdx
je 0x180066911
mov rcx, qword [rdx + 0x80]
test rcx, rcx
je 0x180066911
cmp r8, qword [rdx + 0x40]
jb 0x180066911
mov eax, dword [rdx + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, rax
cmp r8, rcx
ja 0x180066911
movzx r8d, byte [r8]
lea rdx, [rsi + 1]
mov dword [r9], r8d
mov qword [rbp - 0x28], rdx
cmp r8b, 0x21
jae 0x180066911
cmp r8b, 1
jne 0x1800659b2
movzx r9d, byte [rdx]
cmp r9d, dword [rdi + 0x28]
ja 0x180066911
movzx eax, byte [rdx + 2]
movzx ecx, byte [rdx + 4]
movzx r8d, byte [rdx + 1]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 3]
shl r8d, 8
or r8d, eax
shl r8d, 8
or r8d, ecx
lea ecx, [r9 + r8]
cmp ecx, dword [rdi + 0x28]
ja 0x180066911
mov dword [rbx + 8], r9d
lea edx, [r8*4]
mov dword [rbx + 0xc], r13d
mov rcx, qword [rdi + 0x30]
add rcx, 4
add rdx, rcx
mov qword [rbx + 0x10], rdx
mov al, 1
jmp 0x180066913
lea eax, [r8 - 2]
cmp al, 1
jbe 0x18006684b
cmp r8b, 0xb
jne 0x1800659fa
cmp rdx, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180066911
movzx ecx, byte [rdx]
movzx eax, byte [rdx + 1]
shl ecx, 8
or ecx, eax
mov dword [r9 + 8], ecx
jmp 0x1800659ab
lea r9, [rbp - 0x30]
mov rdx, rsi
lea r8, [rbp - 0x28]
mov rcx, rdi
call fcn.18006577c
test al, al
je 0x180066911
mov r8d, dword [rbx]
cmp r8d, 4
je 0x1800666c3
cmp r8d, 5
sete r15b
je 0x1800666c3
cmp r8d, 6
je 0x18006652a
cmp r8d, 7
sete r15b
je 0x18006652a
cmp r8d, 8
je 0x1800663e3
cmp r8d, 9
sete r15b
je 0x1800663e3
cmp r8d, 0xa
jne 0x180065aae
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180066911
mov rax, qword [rbp - 0x30]
mov qword [rbx + 8], rax
mov byte [rbx + 0x10], r13b
movzx ecx, byte [rdx]
movzx eax, byte [rdx + 1]
shl ecx, 8
or ecx, eax
mov dword [rbx + 0x18], ecx
jmp 0x1800659ab
lea eax, [r8 - 0xc]
mov r15d, 1
cmp eax, r15d
jbe 0x18006620b
lea eax, [r8 - 0xe]
cmp eax, r15d
jbe 0x180066118
lea eax, [r8 - 0x10]
cmp eax, 7
ja 0x180065d45
mov rax, qword [rbp - 0x30]
mov r9, qword [rbp - 0x28]
mov qword [rbx + 8], rax
mov byte [rbx + 0x10], r13b
cmp r9, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, qword [rdi + 0x80]
cmp r9, rcx
ja 0x180066911
movzx eax, byte [r9]
add r9, 2
shl ax, 8
movsx ecx, ax
movzx eax, byte [r9 - 1]
or ecx, eax
lea eax, [r8 - 0x10]
shl ecx, 2
mov dword [rbx + 0x18], ecx
cmp eax, 3
ja 0x180065b71
cmp r9, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, qword [rdi + 0x80]
cmp r9, rcx
ja 0x180066911
movzx eax, byte [r9]
add r9, 2
shl ax, 8
movsx ecx, ax
movzx eax, byte [r9 - 1]
or ecx, eax
shl ecx, 2
lea eax, [r8 - 0x12]
mov dword [rbx + 0x1c], ecx
test eax, 0xfffffffa
je 0x180065b88
mov dword [rbx + 0x20], r13d
mov ecx, r13d
jmp 0x180065bde
cmp r9, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r9, rcx
ja 0x180066911
lea rdx, [r9 + 2]
movzx eax, byte [rdx - 2]
lea r9, [rdx + 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx - 1]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x20], ecx
movzx eax, byte [rdx]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx + 1]
or ecx, eax
shl ecx, 0x10
lea eax, [r8 - 0x11]
mov dword [rbx + 0x24], ecx
test eax, 0xfffffff9
jne 0x180065d3a
cmp r9, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r9, rcx
ja 0x180066911
movzx eax, byte [r9 + 1]
movzx esi, byte [r9]
shl esi, 8
or esi, eax
movzx eax, byte [r9 + 2]
shl esi, 8
or esi, eax
movzx eax, byte [r9 + 3]
shl esi, 8
or esi, eax
cmp r8d, 0x11
jne 0x180065c71
lea rax, [rbp - 0x20]
mov rdx, rdi
lea r9d, [r8 - 0xf]
mov qword [rsp + 0x20], rax
mov r8d, esi
mov rcx, r14
call fcn.1800657ec
test al, al
je 0x180066911
mov eax, dword [rbp - 0x20]
shl eax, 2
add dword [rbx + 0x18], eax
mov eax, dword [rbp - 0x1c]
shl eax, 2
add dword [rbx + 0x1c], eax
cmp dword [rbx], 0x13
jne 0x180065cbf
lea rax, [rbp - 0x20]
mov r9d, 4
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, r14
call fcn.1800657ec
test al, al
je 0x180066911
mov eax, dword [rbp - 0x20]
shl eax, 2
add dword [rbx + 0x18], eax
mov eax, dword [rbp - 0x1c]
shl eax, 2
add dword [rbx + 0x1c], eax
mov eax, dword [rbp - 0x18]
shl eax, 0x10
add dword [rbx + 0x20], eax
mov eax, dword [rbp - 0x14]
shl eax, 0x10
add dword [rbx + 0x24], eax
cmp dword [rbx], 0x15
jne 0x180065cf2
lea rax, [rbp - 0x20]
mov r9d, r15d
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, r14
call fcn.1800657ec
test al, al
je 0x180066911
mov eax, dword [rbp - 0x20]
shl eax, 2
add dword [rbx + 0x18], eax
add dword [rbx + 0x1c], eax
cmp dword [rbx], 0x17
jne 0x180065d3a
lea rax, [rbp - 0x20]
mov r9d, 3
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, r14
call fcn.1800657ec
test al, al
je 0x180066911
mov eax, dword [rbp - 0x20]
shl eax, 2
add dword [rbx + 0x18], eax
add dword [rbx + 0x1c], eax
mov eax, dword [rbp - 0x1c]
shl eax, 0x10
add dword [rbx + 0x20], eax
mov eax, dword [rbp - 0x18]
shl eax, 0x10
add dword [rbx + 0x24], eax
mov dword [rbx], 0x10
jmp 0x1800663db
lea eax, [r8 - 0x18]
cmp eax, 3
jbe 0x180065f99
lea eax, [r8 - 0x1c]
cmp eax, 3
jbe 0x180065dda
cmp r8d, 0x20
jne 0x180066911
mov rax, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
mov qword [rbx + 8], rax
mov byte [rbx + 0x10], r13b
cmp rdx, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
dec rcx
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180066911
movzx eax, byte [rdx]
add rdx, r15
mov qword [rbp - 0x28], rdx
cmp eax, 0x1c
jae 0x180066911
lea r9, [rbp - 0x30]
mov dword [rbx + 0x18], eax
lea r8, [rbp - 0x28]
mov rdx, rsi
mov rcx, rdi
call fcn.18006577c
test al, al
je 0x180066911
mov rax, qword [rbp - 0x30]
mov qword [rbx + 0x20], rax
mov byte [rbx + 0x28], r13b
jmp 0x1800663db
mov rax, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
mov qword [rbx + 8], rax
mov byte [rbx + 0x10], r13b
cmp rdx, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180066911
movzx eax, byte [rdx]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx + 1]
add rdx, 4
or ecx, eax
shl ecx, 2
mov dword [rbx + 0x18], ecx
movzx eax, byte [rdx - 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx - 1]
or ecx, eax
lea eax, [r8 - 0x1e]
shl ecx, 2
mov dword [rbx + 0x1c], ecx
cmp eax, r15d
jbe 0x180065e51
mov dword [rbx + 0x20], r13d
mov ecx, r13d
jmp 0x180065ea3
cmp rdx, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180066911
movzx eax, byte [rdx]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx + 1]
add rdx, 4
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x20], ecx
movzx eax, byte [rdx - 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx - 1]
or ecx, eax
shl ecx, 0x10
lea eax, [r8 - 0x1d]
mov dword [rbx + 0x24], ecx
mov r10, rdx
mov r9, rdx
test eax, 0xfffffffd
jne 0x180065f8e
cmp r8d, 0x1d
cmove r10, rdx
cmp r10, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180066911
movzx eax, byte [rdx + 1]
movzx esi, byte [rdx]
shl esi, 8
or esi, eax
movzx eax, byte [rdx + 2]
shl esi, 8
or esi, eax
movzx eax, byte [rdx + 3]
shl esi, 8
or esi, eax
cmp r8d, 0x1d
jne 0x180065f40
lea rax, [rbp - 0x20]
mov rdx, rdi
lea r9d, [r8 - 0x1b]
mov qword [rsp + 0x20], rax
mov r8d, esi
mov rcx, r14
call fcn.1800657ec
test al, al
je 0x180066911
mov eax, dword [rbp - 0x20]
shl eax, 2
add dword [rbx + 0x18], eax
mov eax, dword [rbp - 0x1c]
shl eax, 2
add dword [rbx + 0x1c], eax
cmp dword [rbx], 0x1f
jne 0x180065f8e
lea rax, [rbp - 0x20]
mov r9d, 4
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, r14
call fcn.1800657ec
test al, al
je 0x180066911
mov eax, dword [rbp - 0x20]
shl eax, 2
add dword [rbx + 0x18], eax
mov eax, dword [rbp - 0x1c]
shl eax, 2
add dword [rbx + 0x1c], eax
mov eax, dword [rbp - 0x18]
shl eax, 0x10
add dword [rbx + 0x20], eax
mov eax, dword [rbp - 0x14]
shl eax, 0x10
add dword [rbx + 0x24], eax
mov dword [rbx], 0x1c
jmp 0x1800663db
mov rax, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
mov qword [rbx + 8], rax
mov byte [rbx + 0x10], r13b
cmp rdx, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180066911
movzx eax, byte [rdx]
add rdx, 2
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx - 1]
or ecx, eax
lea eax, [r8 - 0x1a]
shl ecx, 2
mov dword [rbx + 0x18], ecx
cmp eax, r15d
jbe 0x180065ff9
mov dword [rbx + 0x1c], r13d
mov ecx, r13d
jmp 0x18006604b
cmp rdx, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180066911
movzx eax, byte [rdx]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx + 1]
add rdx, 4
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x1c], ecx
movzx eax, byte [rdx - 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx - 1]
or ecx, eax
shl ecx, 0x10
lea eax, [r8 - 0x19]
mov dword [rbx + 0x20], ecx
mov r10, rdx
mov r9, rdx
test eax, 0xfffffffd
jne 0x18006610d
cmp r8d, 0x19
cmove r10, rdx
cmp r10, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180066911
movzx eax, byte [rdx + 1]
mov esi, 3
movzx ecx, byte [rdx]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 3]
shl ecx, 8
or ecx, eax
cmp r8d, 0x1b
cmovne esi, r13d
cmp r8d, 0x19
jne 0x1800660c5
mov esi, r15d
jmp 0x1800660cb
cmp r8d, 0x1b
jne 0x18006610d
lea rax, [rbp - 0x20]
mov r8d, ecx
mov rcx, r14
mov qword [rsp + 0x20], rax
mov r9d, esi
mov rdx, rdi
call fcn.1800657ec
test al, al
je 0x180066911
mov eax, dword [rbp - 0x20]
shl eax, 2
add dword [rbx + 0x18], eax
cmp esi, 3
jne 0x18006610d
mov eax, dword [rbp - 0x1c]
shl eax, 0x10
add dword [rbx + 0x1c], eax
mov eax, dword [rbp - 0x18]
shl eax, 0x10
add dword [rbx + 0x20], eax
mov dword [rbx], 0x18
jmp 0x1800663db
mov rax, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
mov qword [rbx + 8], rax
mov byte [rbx + 0x10], r13b
cmp rdx, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180066911
movzx eax, byte [rdx]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx + 1]
add rdx, 4
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x18], ecx
movzx eax, byte [rdx - 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx - 1]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x1c], ecx
cmp r8d, 0xf
jne 0x180066200
cmp rdx, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180066911
movzx eax, byte [rdx + 1]
mov r9d, 2
movzx r8d, byte [rdx]
mov rcx, r14
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 2]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 3]
shl r8d, 8
mov rdx, rdi
or r8d, eax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
call fcn.1800657ec
test al, al
je 0x180066911
mov eax, dword [rbp - 0x20]
shl eax, 0x10
add dword [rbx + 0x18], eax
mov eax, dword [rbp - 0x1c]
shl eax, 0x10
add dword [rbx + 0x1c], eax
mov dword [rbx], 0xe
jmp 0x1800663db
mov rax, qword [rbp - 0x30]
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x28]
mov qword [rbx + 8], rax
mov rcx, rdi
mov byte [rbx + 0x10], r13b
call fcn.18006577c
test al, al
je 0x180066911
mov r8, qword [rbp - 0x30]
cmp r8, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xffffffffffffffe8
add rcx, qword [rdi + 0x80]
cmp r8, rcx
ja 0x180066911
movzx eax, byte [r8 + 1]
lea rdx, [r8 + 0x18]
movzx ecx, byte [r8]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 3]
shl ecx, 8
or ecx, eax
mov dword [rbx + 0x18], ecx
movzx eax, byte [r8 + 4]
movzx ecx, byte [r8 + 5]
shl eax, 8
or ecx, eax
movzx eax, byte [r8 + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 7]
shl ecx, 8
or ecx, eax
mov dword [rbx + 0x24], ecx
movzx eax, byte [r8 + 8]
movzx ecx, byte [r8 + 9]
shl eax, 8
or ecx, eax
movzx eax, byte [r8 + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0xb]
shl ecx, 8
or ecx, eax
mov dword [rbx + 0x1c], ecx
movzx eax, byte [r8 + 0xd]
movzx ecx, byte [r8 + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0xf]
shl ecx, 8
or ecx, eax
mov dword [rbx + 0x28], ecx
movzx eax, byte [r8 + 0x10]
movzx ecx, byte [r8 + 0x11]
shl eax, 8
or ecx, eax
movzx eax, byte [r8 + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x13]
shl ecx, 8
or ecx, eax
mov dword [rbx + 0x20], ecx
movzx eax, byte [r8 + 0x14]
movzx ecx, byte [r8 + 0x15]
shl eax, 8
or ecx, eax
movzx eax, byte [r8 + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x17]
shl ecx, 8
or ecx, eax
cmp dword [rbx], 0xd
mov dword [rbx + 0x2c], ecx
jne 0x1800663d5
cmp rdx, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180066911
movzx eax, byte [rdx]
mov r9d, 6
movzx r8d, byte [rdx + 1]
mov rcx, r14
shl eax, 8
or r8d, eax
movzx eax, byte [rdx + 2]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 3]
shl r8d, 8
mov rdx, rdi
or r8d, eax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
call fcn.1800657ec
test al, al
je 0x180066911
mov eax, dword [rbp - 0x20]
add dword [rbx + 0x18], eax
mov eax, dword [rbp - 0x1c]
add dword [rbx + 0x24], eax
mov eax, dword [rbp - 0x18]
add dword [rbx + 0x1c], eax
mov eax, dword [rbp - 0x14]
add dword [rbx + 0x28], eax
mov eax, dword [rbp - 0x10]
add dword [rbx + 0x20], eax
mov eax, dword [rbp - 0xc]
add dword [rbx + 0x2c], eax
mov dword [rbx], 0xc
mov al, r15b
jmp 0x180066913
mov rdx, qword [rbp - 0x30]
lea r8, [rbx + 8]
mov r9b, r15b
mov rcx, rdi
call fcn.180065728
test al, al
je 0x180066911
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffff8
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180066911
movzx eax, byte [rdx]
lea r9, [rdx + 8]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx + 1]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x28], ecx
movzx eax, byte [rdx + 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx + 3]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x2c], ecx
movzx eax, byte [rdx + 4]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx + 5]
or ecx, eax
shl ecx, 2
mov dword [rbx + 0x30], ecx
movzx eax, byte [rdx + 6]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx + 7]
or ecx, eax
shl ecx, 2
mov dword [rbx + 0x34], ecx
test r15b, r15b
je 0x18006651f
cmp r9, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r9, rcx
ja 0x180066911
movzx eax, byte [r9]
mov rdx, rdi
movzx r8d, byte [r9 + 1]
mov rcx, r14
shl eax, 8
or r8d, eax
movzx eax, byte [r9 + 2]
shl r8d, 8
or r8d, eax
movzx eax, byte [r9 + 3]
shl r8d, 8
mov r9d, 4
or r8d, eax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
call fcn.1800657ec
test al, al
je 0x180066911
mov eax, dword [rbp - 0x20]
shl eax, 0x10
add dword [rbx + 0x28], eax
mov eax, dword [rbp - 0x1c]
shl eax, 0x10
add dword [rbx + 0x2c], eax
mov eax, dword [rbp - 0x18]
shl eax, 2
add dword [rbx + 0x30], eax
mov eax, dword [rbp - 0x14]
shl eax, 2
add dword [rbx + 0x34], eax
mov dword [rbx], 8
jmp 0x1800659ab
mov rdx, qword [rbp - 0x30]
lea r8, [rbx + 8]
mov r9b, r15b
mov rcx, rdi
call fcn.180065728
test al, al
je 0x180066911
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffff4
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180066911
movzx eax, byte [rdx]
lea r9, [rdx + 0xc]
shl ax, 8
mov r8d, 0x7fffffff
movsx ecx, ax
movzx eax, byte [rdx + 1]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x28], ecx
movzx eax, byte [rdx + 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx + 3]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x2c], ecx
movzx eax, byte [rdx + 4]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx + 5]
or ecx, eax
shl ecx, 0x10
test ecx, ecx
cmovs ecx, r8d
mov dword [rbx + 0x30], ecx
movzx eax, byte [rdx + 6]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx + 7]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x34], ecx
movzx eax, byte [rdx + 8]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx + 9]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x38], ecx
movzx eax, byte [rdx + 0xa]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx + 0xb]
or ecx, eax
shl ecx, 0x10
test ecx, ecx
cmovs ecx, r8d
mov dword [rbx + 0x3c], ecx
test r15b, r15b
je 0x1800666b8
cmp r9, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r9, rcx
ja 0x180066911
movzx eax, byte [r9]
mov rdx, rdi
movzx r8d, byte [r9 + 1]
mov rcx, r14
shl eax, 8
or r8d, eax
movzx eax, byte [r9 + 2]
shl r8d, 8
or r8d, eax
movzx eax, byte [r9 + 3]
shl r8d, 8
mov r9d, 6
or r8d, eax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
call fcn.1800657ec
test al, al
je 0x180066911
mov eax, dword [rbp - 0x20]
shl eax, 0x10
add dword [rbx + 0x28], eax
mov eax, dword [rbp - 0x1c]
shl eax, 0x10
add dword [rbx + 0x2c], eax
mov eax, dword [rbp - 0x18]
shl eax, 0x10
add dword [rbx + 0x30], eax
mov eax, dword [rbp - 0x14]
shl eax, 0x10
add dword [rbx + 0x34], eax
mov eax, dword [rbp - 0x10]
shl eax, 0x10
add dword [rbx + 0x38], eax
mov eax, dword [rbp - 0xc]
shl eax, 0x10
add dword [rbx + 0x3c], eax
mov dword [rbx], 6
jmp 0x1800659ab
mov rdx, qword [rbp - 0x30]
lea r8, [rbx + 8]
mov r9b, r15b
mov rcx, rdi
call fcn.180065728
test al, al
je 0x180066911
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffff4
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180066911
movzx eax, byte [rdx]
lea r9, [rdx + 0xc]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx + 1]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x28], ecx
movzx eax, byte [rdx + 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx + 3]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x2c], ecx
movzx eax, byte [rdx + 4]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx + 5]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x30], ecx
movzx eax, byte [rdx + 6]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx + 7]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x34], ecx
movzx eax, byte [rdx + 8]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx + 9]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x38], ecx
movzx eax, byte [rdx + 0xa]
shl ax, 8
movsx ecx, ax
movzx eax, byte [rdx + 0xb]
or ecx, eax
shl ecx, 0x10
mov dword [rbx + 0x3c], ecx
test r15b, r15b
je 0x180066840
cmp r9, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r9, rcx
ja 0x180066911
movzx eax, byte [r9 + 1]
mov rdx, rdi
movzx r8d, byte [r9]
mov rcx, r14
shl r8d, 8
or r8d, eax
movzx eax, byte [r9 + 2]
shl r8d, 8
or r8d, eax
movzx eax, byte [r9 + 3]
shl r8d, 8
mov r9d, 6
or r8d, eax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
call fcn.1800657ec
test al, al
je 0x180066911
mov eax, dword [rbp - 0x20]
shl eax, 0x10
add dword [rbx + 0x28], eax
mov eax, dword [rbp - 0x1c]
shl eax, 0x10
add dword [rbx + 0x2c], eax
mov eax, dword [rbp - 0x18]
shl eax, 0x10
add dword [rbx + 0x30], eax
mov eax, dword [rbp - 0x14]
shl eax, 0x10
add dword [rbx + 0x34], eax
mov eax, dword [rbp - 0x10]
shl eax, 0x10
add dword [rbx + 0x38], eax
mov eax, dword [rbp - 0xc]
shl eax, 0x10
add dword [rbx + 0x3c], eax
mov dword [rbx], 4
jmp 0x1800659ab
cmp rdx, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180066911
movzx ecx, byte [rdx]
movzx eax, byte [rdx + 1]
add rdx, 4
shl cx, 8
or cx, ax
mov word [r9 + 8], cx
movzx ecx, byte [rdx - 2]
movzx eax, byte [rdx - 1]
shl cx, 8
or cx, ax
mov word [r9 + 0xa], cx
cmp r8b, 3
jne 0x180066906
cmp rdx, qword [rdi + 0x40]
jb 0x180066911
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180066911
movzx eax, byte [rdx]
mov r9d, 1
movzx r8d, byte [rdx + 1]
mov rcx, r14
shl eax, 8
or r8d, eax
movzx eax, byte [rdx + 2]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 3]
shl r8d, 8
mov rdx, rdi
or r8d, eax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
call fcn.1800657ec
test al, al
je 0x180066911
movzx eax, word [rbp - 0x20]
add word [rbx + 0xa], ax
mov dword [rbx], 2
jmp 0x1800659ab
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180099220
add rsp, 0x60
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret