Function at 0x18007fdec
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 [0x180132040]
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 0x180080e6a
test rdx, rdx
je 0x180080e6a
mov rcx, qword [rdx + 0x80]
test rcx, rcx
je 0x180080e6a
cmp r8, qword [rdx + 0x40]
jb 0x180080e6a
mov eax, dword [rdx + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, rax
cmp r8, rcx
ja 0x180080e6a
movzx r8d, byte [r8]
lea rdx, [rsi + 1]
mov dword [r9], r8d
mov qword [rbp - 0x28], rdx
cmp r8b, 0x21
jae 0x180080e6a
cmp r8b, 1
jne 0x18007fef6
movzx r9d, byte [rdx]
cmp r9d, dword [rdi + 0x28]
ja 0x180080e6a
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 0x180080e6a
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 0x180080e6c
lea eax, [r8 - 2]
cmp al, 1
jbe 0x180080da4
cmp r8b, 0xb
jne 0x18007ff3e
cmp rdx, qword [rdi + 0x40]
jb 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180080e6a
movzx ecx, byte [rdx]
movzx eax, byte [rdx + 1]
shl ecx, 8
or ecx, eax
mov dword [r9 + 8], ecx
jmp 0x18007feef
lea r9, [rbp - 0x30]
mov rdx, rsi
lea r8, [rbp - 0x28]
mov rcx, rdi
call fcn.18007fcc0
test al, al
je 0x180080e6a
mov r8d, dword [rbx]
cmp r8d, 4
je 0x180080c1c
cmp r8d, 5
sete r15b
je 0x180080c1c
cmp r8d, 6
je 0x180080a83
cmp r8d, 7
sete r15b
je 0x180080a83
cmp r8d, 8
je 0x18008093c
cmp r8d, 9
sete r15b
je 0x18008093c
cmp r8d, 0xa
jne 0x18007fff2
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rdi + 0x40]
jb 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180080e6a
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 0x18007feef
lea eax, [r8 - 0xc]
mov r15d, 1
cmp eax, r15d
jbe 0x180080764
lea eax, [r8 - 0xe]
cmp eax, r15d
jbe 0x180080672
lea eax, [r8 - 0x10]
cmp eax, 7
ja 0x18008029a
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 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, qword [rdi + 0x80]
cmp r9, rcx
ja 0x180080e6a
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 0x1800800b5
cmp r9, qword [rdi + 0x40]
jb 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, qword [rdi + 0x80]
cmp r9, rcx
ja 0x180080e6a
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 0x1800800cc
mov dword [rbx + 0x20], r13d
mov ecx, r13d
jmp 0x180080122
cmp r9, qword [rdi + 0x40]
jb 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r9, rcx
ja 0x180080e6a
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 0x18008028f
cmp r9, qword [rdi + 0x40]
jb 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r9, rcx
ja 0x180080e6a
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 0x1800801b5
lea rax, [rbp - 0x20]
mov rdx, rdi
lea r9d, [r8 - 0xf]
mov qword [rsp + 0x20], rax
mov r8d, esi
mov rcx, r14
call fcn.18007fd30
test al, al
je 0x180080e6a
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 0x180080209
lea rax, [rbp - 0x20]
mov r9d, 4
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, r14
call fcn.18007fd30
test al, al
je 0x180080e6a
mov ecx, dword [rbx + 0x18]
mov eax, dword [rbp - 0x20]
lea ecx, [rcx + rax*4]
mov eax, dword [rbp - 0x1c]
mov dword [rbx + 0x18], ecx
mov ecx, dword [rbx + 0x1c]
lea ecx, [rcx + rax*4]
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], ecx
cmp dword [rbx], 0x15
jne 0x180080243
lea rax, [rbp - 0x20]
mov r9d, r15d
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, r14
call fcn.18007fd30
test al, al
je 0x180080e6a
mov eax, dword [rbp - 0x20]
lea r11d, [rax*4]
add dword [rbx + 0x18], r11d
add dword [rbx + 0x1c], r11d
cmp dword [rbx], 0x17
jne 0x18008028f
lea rax, [rbp - 0x20]
mov r9d, 3
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, r14
call fcn.18007fd30
test al, al
je 0x180080e6a
mov eax, dword [rbp - 0x20]
lea edx, [rax*4]
mov eax, dword [rbp - 0x1c]
add dword [rbx + 0x18], edx
add dword [rbx + 0x1c], edx
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 0x180080934
lea eax, [r8 - 0x18]
cmp eax, 3
jbe 0x1800804f4
lea eax, [r8 - 0x1c]
cmp eax, 3
jbe 0x18008032f
cmp r8d, 0x20
jne 0x180080e6a
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 0x180080e6a
mov ecx, dword [rdi + 0x88]
dec rcx
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180080e6a
movzx eax, byte [rdx]
add rdx, r15
mov qword [rbp - 0x28], rdx
cmp eax, 0x1c
jae 0x180080e6a
lea r9, [rbp - 0x30]
mov dword [rbx + 0x18], eax
lea r8, [rbp - 0x28]
mov rdx, rsi
mov rcx, rdi
call fcn.18007fcc0
test al, al
je 0x180080e6a
mov rax, qword [rbp - 0x30]
mov qword [rbx + 0x20], rax
mov byte [rbx + 0x28], r13b
jmp 0x180080934
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 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180080e6a
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 0x1800803a6
mov dword [rbx + 0x20], r13d
mov ecx, r13d
jmp 0x1800803f8
cmp rdx, qword [rdi + 0x40]
jb 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180080e6a
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
mov dword [rbx + 0x24], ecx
mov r8, rdx
mov r9d, dword [rbx]
lea eax, [r9 - 0x1d]
test eax, 0xfffffffd
jne 0x1800804e9
cmp rdx, qword [rdi + 0x40]
jb 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180080e6a
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 r9d, 0x1d
jne 0x180080495
lea rax, [rbp - 0x20]
mov r9d, 2
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, r14
call fcn.18007fd30
test al, al
je 0x180080e6a
mov ecx, dword [rbx + 0x18]
mov eax, dword [rbp - 0x20]
lea ecx, [rcx + rax*4]
mov eax, dword [rbp - 0x1c]
mov dword [rbx + 0x18], ecx
mov ecx, dword [rbx + 0x1c]
lea ecx, [rcx + rax*4]
mov dword [rbx + 0x1c], ecx
cmp dword [rbx], 0x1f
jne 0x1800804e9
lea rax, [rbp - 0x20]
mov r9d, 4
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, r14
call fcn.18007fd30
test al, al
je 0x180080e6a
mov ecx, dword [rbx + 0x18]
mov eax, dword [rbp - 0x20]
lea ecx, [rcx + rax*4]
mov eax, dword [rbp - 0x1c]
mov dword [rbx + 0x18], ecx
mov ecx, dword [rbx + 0x1c]
lea ecx, [rcx + rax*4]
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], ecx
mov dword [rbx], 0x1c
jmp 0x180080934
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 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180080e6a
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 0x180080554
mov dword [rbx + 0x1c], r13d
mov ecx, r13d
jmp 0x1800805a6
cmp rdx, qword [rdi + 0x40]
jb 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180080e6a
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
mov dword [rbx + 0x20], ecx
mov r8, rdx
mov r9d, dword [rbx]
lea eax, [r9 - 0x19]
test eax, 0xfffffffd
jne 0x180080667
cmp rdx, qword [rdi + 0x40]
jb 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180080e6a
movzx eax, byte [rdx + 1]
mov esi, 3
movzx r8d, byte [rdx]
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
or r8d, eax
cmp r9d, 0x1b
cmovne esi, r13d
cmp r9d, 0x19
jne 0x18008061f
mov esi, r15d
jmp 0x180080625
cmp r9d, 0x1b
jne 0x180080667
lea rax, [rbp - 0x20]
mov r9d, esi
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov rcx, r14
call fcn.18007fd30
test al, al
je 0x180080e6a
mov ecx, dword [rbx + 0x18]
mov eax, dword [rbp - 0x20]
lea ecx, [rcx + rax*4]
mov dword [rbx + 0x18], ecx
cmp esi, 3
jne 0x180080667
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 0x180080934
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 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180080e6a
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 0x180080759
cmp rdx, qword [rdi + 0x40]
jb 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180080e6a
movzx eax, byte [rdx]
mov r9d, 2
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.18007fd30
test al, al
je 0x180080e6a
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 0x180080934
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.18007fcc0
test al, al
je 0x180080e6a
mov r8, qword [rbp - 0x30]
cmp r8, qword [rdi + 0x40]
jb 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xffffffffffffffe8
add rcx, qword [rdi + 0x80]
cmp r8, rcx
ja 0x180080e6a
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 + 9]
movzx ecx, byte [r8 + 8]
shl ecx, 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 + 0xc]
movzx ecx, byte [r8 + 0xd]
shl eax, 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 0x18008092e
cmp rdx, qword [rdi + 0x40]
jb 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180080e6a
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.18007fd30
test al, al
je 0x180080e6a
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 0x180080e6c
mov rdx, qword [rbp - 0x30]
lea r8, [rbx + 8]
mov r9b, r15b
mov rcx, rdi
call fcn.18007fc6c
test al, al
je 0x180080e6a
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rdi + 0x40]
jb 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffff8
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180080e6a
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 0x180080a78
cmp r9, qword [rdi + 0x40]
jb 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r9, rcx
ja 0x180080e6a
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.18007fd30
test al, al
je 0x180080e6a
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 0x18007feef
mov rdx, qword [rbp - 0x30]
lea r8, [rbx + 8]
mov r9b, r15b
mov rcx, rdi
call fcn.18007fc6c
test al, al
je 0x180080e6a
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rdi + 0x40]
jb 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffff4
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180080e6a
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 0x180080c11
cmp r9, qword [rdi + 0x40]
jb 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r9, rcx
ja 0x180080e6a
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.18007fd30
test al, al
je 0x180080e6a
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 0x18007feef
mov rdx, qword [rbp - 0x30]
lea r8, [rbx + 8]
mov r9b, r15b
mov rcx, rdi
call fcn.18007fc6c
test al, al
je 0x180080e6a
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rdi + 0x40]
jb 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffff4
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180080e6a
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 0x180080d99
cmp r9, qword [rdi + 0x40]
jb 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r9, rcx
ja 0x180080e6a
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.18007fd30
test al, al
je 0x180080e6a
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 0x18007feef
cmp rdx, qword [rdi + 0x40]
jb 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180080e6a
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 0x180080e5f
cmp rdx, qword [rdi + 0x40]
jb 0x180080e6a
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180080e6a
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.18007fd30
test al, al
je 0x180080e6a
movzx eax, word [rbp - 0x20]
add word [rbx + 0xa], ax
mov dword [rbx], 2
jmp 0x18007feef
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800b3a80
add rsp, 0x60
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret