Function at 0x180078f18
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 [0x180142010]
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 0x180079f81
test rdx, rdx
je 0x180079f81
mov rcx, qword [rdx + 0x80]
test rcx, rcx
je 0x180079f81
cmp r8, qword [rdx + 0x40]
jb 0x180079f81
mov eax, dword [rdx + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, rax
cmp r8, rcx
ja 0x180079f81
movzx r8d, byte [r8]
lea rdx, [rsi + 1]
mov dword [r9], r8d
mov qword [rbp - 0x28], rdx
cmp r8b, 0x21
jae 0x180079f81
cmp r8b, 1
jne 0x180079022
movzx r9d, byte [rdx]
cmp r9d, dword [rdi + 0x28]
ja 0x180079f81
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 0x180079f81
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 0x180079f83
lea eax, [r8 - 2]
cmp al, 1
jbe 0x180079ebb
cmp r8b, 0xb
jne 0x18007906a
cmp rdx, qword [rdi + 0x40]
jb 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180079f81
movzx ecx, byte [rdx]
movzx eax, byte [rdx + 1]
shl ecx, 8
or ecx, eax
mov dword [r9 + 8], ecx
jmp 0x18007901b
lea r9, [rbp - 0x30]
mov rdx, rsi
lea r8, [rbp - 0x28]
mov rcx, rdi
call fcn.180078dec
test al, al
je 0x180079f81
mov r8d, dword [rbx]
cmp r8d, 4
je 0x180079d33
cmp r8d, 5
sete r15b
je 0x180079d33
cmp r8d, 6
je 0x180079b9a
cmp r8d, 7
sete r15b
je 0x180079b9a
cmp r8d, 8
je 0x180079a53
cmp r8d, 9
sete r15b
je 0x180079a53
cmp r8d, 0xa
jne 0x18007911e
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rdi + 0x40]
jb 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180079f81
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 0x18007901b
lea eax, [r8 - 0xc]
mov r15d, 1
cmp eax, r15d
jbe 0x18007987b
lea eax, [r8 - 0xe]
cmp eax, r15d
jbe 0x180079788
lea eax, [r8 - 0x10]
cmp eax, 7
ja 0x1800793b5
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 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, qword [rdi + 0x80]
cmp r9, rcx
ja 0x180079f81
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 0x1800791e1
cmp r9, qword [rdi + 0x40]
jb 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, qword [rdi + 0x80]
cmp r9, rcx
ja 0x180079f81
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 0x1800791f8
mov dword [rbx + 0x20], r13d
mov ecx, r13d
jmp 0x18007924e
cmp r9, qword [rdi + 0x40]
jb 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r9, rcx
ja 0x180079f81
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 0x1800793aa
cmp r9, qword [rdi + 0x40]
jb 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r9, rcx
ja 0x180079f81
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 0x1800792e1
lea rax, [rbp - 0x20]
mov rdx, rdi
lea r9d, [r8 - 0xf]
mov qword [rsp + 0x20], rax
mov r8d, esi
mov rcx, r14
call fcn.180078e5c
test al, al
je 0x180079f81
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 0x18007932f
lea rax, [rbp - 0x20]
mov r9d, 4
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, r14
call fcn.180078e5c
test al, al
je 0x180079f81
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 0x180079362
lea rax, [rbp - 0x20]
mov r9d, r15d
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, r14
call fcn.180078e5c
test al, al
je 0x180079f81
mov eax, dword [rbp - 0x20]
shl eax, 2
add dword [rbx + 0x18], eax
add dword [rbx + 0x1c], eax
cmp dword [rbx], 0x17
jne 0x1800793aa
lea rax, [rbp - 0x20]
mov r9d, 3
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, r14
call fcn.180078e5c
test al, al
je 0x180079f81
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 0x180079a4b
lea eax, [r8 - 0x18]
cmp eax, 3
jbe 0x180079609
lea eax, [r8 - 0x1c]
cmp eax, 3
jbe 0x18007944a
cmp r8d, 0x20
jne 0x180079f81
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 0x180079f81
mov ecx, dword [rdi + 0x88]
dec rcx
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180079f81
movzx eax, byte [rdx]
add rdx, r15
mov qword [rbp - 0x28], rdx
cmp eax, 0x1c
jae 0x180079f81
lea r9, [rbp - 0x30]
mov dword [rbx + 0x18], eax
lea r8, [rbp - 0x28]
mov rdx, rsi
mov rcx, rdi
call fcn.180078dec
test al, al
je 0x180079f81
mov rax, qword [rbp - 0x30]
mov qword [rbx + 0x20], rax
mov byte [rbx + 0x28], r13b
jmp 0x180079a4b
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 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180079f81
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 0x1800794c1
mov dword [rbx + 0x20], r13d
mov ecx, r13d
jmp 0x180079513
cmp rdx, qword [rdi + 0x40]
jb 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180079f81
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 0x1800795fe
cmp r8d, 0x1d
cmove r10, rdx
cmp r10, qword [rdi + 0x40]
jb 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180079f81
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 0x1800795b0
lea rax, [rbp - 0x20]
mov rdx, rdi
lea r9d, [r8 - 0x1b]
mov qword [rsp + 0x20], rax
mov r8d, esi
mov rcx, r14
call fcn.180078e5c
test al, al
je 0x180079f81
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 0x1800795fe
lea rax, [rbp - 0x20]
mov r9d, 4
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, r14
call fcn.180078e5c
test al, al
je 0x180079f81
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 0x180079a4b
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 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffe
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180079f81
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 0x180079669
mov dword [rbx + 0x1c], r13d
mov ecx, r13d
jmp 0x1800796bb
cmp rdx, qword [rdi + 0x40]
jb 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180079f81
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 0x18007977d
cmp r8d, 0x19
cmove r10, rdx
cmp r10, qword [rdi + 0x40]
jb 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180079f81
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 0x180079735
mov esi, r15d
jmp 0x18007973b
cmp r8d, 0x1b
jne 0x18007977d
lea rax, [rbp - 0x20]
mov r8d, ecx
mov rcx, r14
mov qword [rsp + 0x20], rax
mov r9d, esi
mov rdx, rdi
call fcn.180078e5c
test al, al
je 0x180079f81
mov eax, dword [rbp - 0x20]
shl eax, 2
add dword [rbx + 0x18], eax
cmp esi, 3
jne 0x18007977d
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 0x180079a4b
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 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180079f81
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 0x180079870
cmp rdx, qword [rdi + 0x40]
jb 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180079f81
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.180078e5c
test al, al
je 0x180079f81
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 0x180079a4b
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.180078dec
test al, al
je 0x180079f81
mov r8, qword [rbp - 0x30]
cmp r8, qword [rdi + 0x40]
jb 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xffffffffffffffe8
add rcx, qword [rdi + 0x80]
cmp r8, rcx
ja 0x180079f81
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 0x180079a45
cmp rdx, qword [rdi + 0x40]
jb 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180079f81
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.180078e5c
test al, al
je 0x180079f81
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 0x180079f83
mov rdx, qword [rbp - 0x30]
lea r8, [rbx + 8]
mov r9b, r15b
mov rcx, rdi
call fcn.180078d98
test al, al
je 0x180079f81
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rdi + 0x40]
jb 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffff8
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180079f81
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 0x180079b8f
cmp r9, qword [rdi + 0x40]
jb 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r9, rcx
ja 0x180079f81
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.180078e5c
test al, al
je 0x180079f81
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 0x18007901b
mov rdx, qword [rbp - 0x30]
lea r8, [rbx + 8]
mov r9b, r15b
mov rcx, rdi
call fcn.180078d98
test al, al
je 0x180079f81
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rdi + 0x40]
jb 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffff4
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180079f81
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 0x180079d28
cmp r9, qword [rdi + 0x40]
jb 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r9, rcx
ja 0x180079f81
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.180078e5c
test al, al
je 0x180079f81
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 0x18007901b
mov rdx, qword [rbp - 0x30]
lea r8, [rbx + 8]
mov r9b, r15b
mov rcx, rdi
call fcn.180078d98
test al, al
je 0x180079f81
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rdi + 0x40]
jb 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffff4
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180079f81
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 0x180079eb0
cmp r9, qword [rdi + 0x40]
jb 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp r9, rcx
ja 0x180079f81
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.180078e5c
test al, al
je 0x180079f81
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 0x18007901b
cmp rdx, qword [rdi + 0x40]
jb 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180079f81
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 0x180079f76
cmp rdx, qword [rdi + 0x40]
jb 0x180079f81
mov ecx, dword [rdi + 0x88]
add rcx, 0xfffffffffffffffc
add rcx, qword [rdi + 0x80]
cmp rdx, rcx
ja 0x180079f81
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.180078e5c
test al, al
je 0x180079f81
movzx eax, word [rbp - 0x20]
add word [rbx + 0xa], ax
mov dword [rbx], 2
jmp 0x18007901b
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800ac940
add rsp, 0x60
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret