Function at 0x180078be0
Capabilities:
Compress data via zlib inflate or deflate
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push r13
push r14
push r15
lea rbp, [rsp - 0x3f]
sub rsp, 0x98
mov eax, 0x10
mov r14, rcx
xor r15d, r15d
mov word [rbp - 0x11], ax
mov eax, 0x11
mov dword [rbp - 0xd], 0x12
mov word [rbp - 0xf], ax
mov eax, 8
mov dword [rbp + 5], 0xc0004
mov word [rbp - 9], ax
mov eax, 7
lea r11d, [r15 + 1]
mov word [rbp - 7], ax
mov eax, 9
mov dword [rbp + 0xf], 0x1000e
mov word [rbp - 5], ax
mov eax, 6
mov word [rbp - 3], ax
mov eax, 0xa
mov word [rbp - 1], ax
mov eax, 5
mov word [rbp + 1], ax
mov eax, 0xb
lea ecx, [rax + 1]
mov word [rbp + 3], ax
mov eax, 3
mov word [rbp + 9], ax
mov eax, 0xd
mov word [rbp + 0xb], ax
mov eax, 2
mov word [rbp + 0xd], ax
mov eax, 0xf
mov word [rbp + 0x13], ax
test r14, r14
je 0x18007a268
mov r13, qword [r14 + 0x28]
test r13, r13
je 0x18007a268
cmp qword [r14 + 0x10], r15
je 0x18007a268
cmp qword [r14], r15
jne 0x180078cc2
cmp dword [r14 + 8], r15d
jne 0x18007a268
mov eax, dword [r13]
mov qword [rsp + 0x90], rbx
mov ebx, dword [r13 + 0x44]
mov qword [rsp + 0x88], rsi
cmp eax, 0xb
mov qword [rsp + 0x80], rdi
cmove eax, ecx
mov qword [rsp + 0x78], r12
mov r12d, dword [r13 + 0x40]
mov dword [r13], eax
mov r10d, dword [r14 + 0x18]
mov r9, qword [r14 + 0x10]
mov edi, dword [r14 + 8]
mov rsi, qword [r14]
mov qword [rbp - 0x19], r9
mov dword [rbp + 0x7f], r10d
mov dword [rbp - 0x1d], edi
mov r8d, r10d
mov dword [rbp - 0x25], r10d
mov dword [rbp + 0x77], r15d
cmp eax, 0x1e
ja case.default.0x180078d3d
cdqe
lea rcx, [0x180000000]
mov ecx, dword [rcx + rax*4 + 0x7a27c]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov edx, dword [r13 + 8]
test edx, edx
jne 0x180078d54
mov dword [r13], 0xc
jmp 0x180078e90
cmp ebx, 0x10
jae 0x180078d7f
nop dword [rax]
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add r12d, eax
cmp ebx, 0x10
jb 0x180078d60
test dl, 2
je 0x180078dd6
cmp r12d, 0x8b1f
jne 0x180078dd6
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18007d910
lea rdx, [rbp - 0x29]
mov r8d, 2
mov dword [r13 + 0x18], eax
mov word [rbp - 0x29], r12w
mov ecx, dword [r13 + 0x18]
call fcn.18007d910
mov r9, qword [rbp - 0x19]
mov r10d, dword [rbp + 0x7f]
mov r11d, 1
mov dword [r13 + 0x18], eax
mov r12d, r15d
mov ebx, r15d
mov dword [r13], r11d
jmp 0x180078e90
mov rax, qword [r13 + 0x20]
mov dword [r13 + 0x10], r15d
test rax, rax
je 0x180078dea
mov dword [rax + 0x40], 0xffffffff
test byte [r13 + 8], 1
je 0x180078e22
movzx ecx, r12b
mov eax, r12d
shr eax, 8
shl ecx, 8
add ecx, eax
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
imul eax, eax, 0x1f
cmp ecx, eax
jne 0x180078e22
mov eax, r12d
and al, 0xf
cmp al, 8
je 0x180078e30
mov qword [r14 + 0x20], r15
mov dword [r13], 0x1d
jmp 0x180078e90
mov eax, dword [r13 + 0x28]
shr r12d, 4
add ebx, 0xfffffffc
mov ecx, r12d
and ecx, 0xf
add ecx, 8
test eax, eax
jne 0x180078ea9
mov dword [r13 + 0x28], ecx
mov eax, r11d
xor r8d, r8d
xor edx, edx
shl eax, cl
xor ecx, ecx
mov dword [r13 + 0x14], eax
call fcn.18007d2e0
shr r12d, 8
not r12d
mov dword [r13 + 0x18], eax
mov dword [r14 + 0x4c], eax
and r12d, 2
mov ebx, r15d
or r12d, 9
mov dword [r13], r12d
mov r12d, r15d
mov r10d, dword [rbp + 0x7f]
mov r9, qword [rbp - 0x19]
mov r11d, 1
mov eax, dword [r13]
cmp eax, 0x1e
ja case.default.0x180078d3d
mov r8d, dword [rbp - 0x25]
mov edx, dword [rbp + 0x6f]
jmp 0x180078d23
cmp ecx, eax
jbe 0x180078e4c
mov qword [r14 + 0x20], r15
mov dword [r13], 0x1d
jmp 0x180078e90
cmp ebx, 0x10
jae 0x180078edf
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add r12d, eax
cmp ebx, 0x10
jb 0x180078ec0
mov dword [r13 + 0x10], r12d
cmp r12b, 8
je 0x180078ef7
mov qword [r14 + 0x20], r15
mov dword [r13], 0x1d
jmp 0x180078e90
test r12d, 0xe000
je 0x180078f0e
mov qword [r14 + 0x20], r15
mov dword [r13], 0x1d
jmp 0x180078e90
mov rcx, qword [r13 + 0x20]
test rcx, rcx
je 0x180078f22
mov eax, r12d
shr eax, 8
and eax, 1
mov dword [rcx], eax
test dword [r13 + 0x10], 0x200
je 0x180078f4f
mov byte [rbp - 0x29], r12b
shr r12d, 8
lea rdx, [rbp - 0x29]
mov byte [rbp - 0x28], r12b
mov ecx, dword [r13 + 0x18]
mov r8d, 2
call fcn.18007d910
mov dword [r13 + 0x18], eax
mov r12d, r15d
mov ebx, r15d
mov dword [r13], 2
jmp 0x180078f64
cmp ebx, 0x20
jae 0x180078f83
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add r12d, eax
cmp ebx, 0x20
jb 0x180078f64
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x180078f90
mov dword [rax + 4], r12d
test dword [r13 + 0x10], 0x200
je 0x180078fcf
mov eax, r12d
mov byte [rbp - 0x29], r12b
lea rdx, [rbp - 0x29]
shr eax, 8
mov r8d, 4
mov byte [rbp - 0x28], al
mov eax, r12d
shr r12d, 0x18
shr eax, 0x10
mov byte [rbp - 0x26], r12b
mov byte [rbp - 0x27], al
mov ecx, dword [r13 + 0x18]
call fcn.18007d910
mov dword [r13 + 0x18], eax
mov r12d, r15d
mov ebx, r15d
mov dword [r13], 3
jmp 0x180078fe4
cmp ebx, 0x10
jae 0x180079003
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add r12d, eax
cmp ebx, 0x10
jb 0x180078fe4
mov rcx, qword [r13 + 0x20]
test rcx, rcx
je 0x180079020
movzx eax, r12b
mov dword [rcx + 8], eax
mov rax, qword [r13 + 0x20]
mov ecx, r12d
shr ecx, 8
mov dword [rax + 0xc], ecx
test dword [r13 + 0x10], 0x200
je 0x18007904d
mov byte [rbp - 0x29], r12b
shr r12d, 8
lea rdx, [rbp - 0x29]
mov byte [rbp - 0x28], r12b
mov ecx, dword [r13 + 0x18]
mov r8d, 2
call fcn.18007d910
mov dword [r13 + 0x18], eax
mov r12d, r15d
mov ebx, r15d
mov dword [r13], 4
test dword [r13 + 0x10], 0x400
je 0x1800790d5
cmp ebx, 0x10
jae 0x18007908f
nop word [rax + rax]
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add r12d, eax
cmp ebx, 0x10
jb 0x180079070
mov rax, qword [r13 + 0x20]
mov dword [r13 + 0x48], r12d
test rax, rax
je 0x1800790a0
mov dword [rax + 0x18], r12d
test dword [r13 + 0x10], 0x200
je 0x1800790cd
mov byte [rbp - 0x29], r12b
shr r12d, 8
lea rdx, [rbp - 0x29]
mov byte [rbp - 0x28], r12b
mov ecx, dword [r13 + 0x18]
mov r8d, 2
call fcn.18007d910
mov dword [r13 + 0x18], eax
mov r12d, r15d
mov ebx, r15d
jmp 0x1800790e2
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x1800790e2
mov qword [rax + 0x10], r15
mov dword [r13], 5
test dword [r13 + 0x10], 0x400
je 0x180079172
mov edx, dword [r13 + 0x48]
cmp edx, edi
mov r14d, edx
cmova r14d, edi
test r14d, r14d
je 0x180079167
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x18007913d
mov r9, qword [rax + 0x10]
test r9, r9
je 0x18007913d
mov ecx, dword [rax + 0x18]
mov r8d, dword [rax + 0x1c]
sub ecx, edx
lea eax, [r14 + rcx]
cmp eax, r8d
jbe 0x18007912f
sub r8d, ecx
jmp 0x180079132
mov r8d, r14d
add rcx, r9
mov rdx, rsi
call fcn.18007c960
test dword [r13 + 0x10], 0x200
je 0x18007915a
mov ecx, dword [r13 + 0x18]
mov r8d, r14d
mov rdx, rsi
call fcn.18007d910
mov dword [r13 + 0x18], eax
mov eax, r14d
sub edi, r14d
add rsi, rax
sub dword [r13 + 0x48], r14d
cmp dword [r13 + 0x48], 0
jne 0x1800794e4
mov dword [r13 + 0x48], r15d
mov dword [r13], 6
test dword [r13 + 0x10], 0x800
je 0x18007920b
test edi, edi
je 0x1800794e4
mov r8, rsi
nop word [rax + rax]
mov rax, qword [r13 + 0x20]
movzx r14d, byte [r8]
inc r15d
inc r8
test rax, rax
je 0x1800791cd
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x1800791cd
mov ecx, dword [r13 + 0x48]
cmp ecx, dword [rax + 0x28]
jae 0x1800791cd
mov byte [rcx + rdx], r14b
inc dword [r13 + 0x48]
test r14d, r14d
je 0x1800791d7
cmp r15d, edi
jb 0x1800791a0
test dword [r13 + 0x10], 0x200
je 0x1800791f4
mov ecx, dword [r13 + 0x18]
mov r8d, r15d
mov rdx, rsi
call fcn.18007d910
mov dword [r13 + 0x18], eax
mov eax, r15d
sub edi, r15d
add rsi, rax
test r14d, r14d
jne 0x1800794e4
xor r15d, r15d
jmp 0x180079218
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x180079218
mov qword [rax + 0x20], r15
mov dword [r13 + 0x48], r15d
mov dword [r13], 7
test dword [r13 + 0x10], 0x1000
je 0x1800792ab
test edi, edi
je 0x1800794e4
mov r8, rsi
nop dword [rax]
mov rax, qword [r13 + 0x20]
movzx r14d, byte [r8]
inc r15d
inc r8
test rax, rax
je 0x18007926d
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x18007926d
mov ecx, dword [r13 + 0x48]
cmp ecx, dword [rax + 0x38]
jae 0x18007926d
mov byte [rcx + rdx], r14b
inc dword [r13 + 0x48]
test r14d, r14d
je 0x180079277
cmp r15d, edi
jb 0x180079240
test dword [r13 + 0x10], 0x200
je 0x180079294
mov ecx, dword [r13 + 0x18]
mov r8d, r15d
mov rdx, rsi
call fcn.18007d910
mov dword [r13 + 0x18], eax
mov eax, r15d
sub edi, r15d
add rsi, rax
test r14d, r14d
jne 0x1800794e4
xor r15d, r15d
jmp 0x1800792b8
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x1800792b8
mov qword [rax + 0x30], r15
mov r14, qword [rbp + 0x67]
mov r9, qword [rbp - 0x19]
mov r10d, dword [rbp + 0x7f]
mov dword [r13], 8
mov r11d, 1
test dword [r13 + 0x10], 0x200
je 0x180079321
cmp ebx, 0x10
jae 0x180079300
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add r12d, eax
cmp ebx, 0x10
jb 0x1800792e1
movzx eax, word [r13 + 0x18]
cmp r12d, eax
je 0x18007931b
mov qword [r14 + 0x20], r15
mov dword [r13], 0x1d
jmp 0x180078e90
mov r12d, r15d
mov ebx, r15d
mov rcx, qword [r13 + 0x20]
test rcx, rcx
je 0x18007933f
mov eax, dword [r13 + 0x10]
sar eax, 9
and eax, 1
mov dword [rcx + 0x3c], eax
mov rax, qword [r13 + 0x20]
mov dword [rax + 0x40], r11d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18007d910
mov dword [r13 + 0x18], eax
mov dword [r14 + 0x4c], eax
mov dword [r13], 0xb
jmp 0x180078e82
cmp ebx, 0x20
jae 0x180079384
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add r12d, eax
cmp ebx, 0x20
jb 0x180079365
mov ecx, r12d
mov eax, r12d
mov ebx, r15d
and eax, 0xff00
shl ecx, 0x10
add ecx, eax
mov eax, r12d
shr r12d, 0x18
shr eax, 8
shl ecx, 8
and eax, 0xff00
add eax, ecx
add eax, r12d
mov r12d, r15d
mov dword [r13 + 0x18], eax
mov dword [r14 + 0x4c], eax
mov dword [r13], 0xa
cmp dword [r13 + 0xc], 0
je 0x18007a15e
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18007d2e0
mov r9, qword [rbp - 0x19]
mov r10d, dword [rbp + 0x7f]
mov edx, dword [rbp + 0x6f]
mov dword [r13 + 0x18], eax
mov dword [r14 + 0x4c], eax
mov dword [r13], 0xb
mov r11d, 1
cmp edx, 5
je 0x1800794e4
cmp edx, 6
je 0x1800794e4
cmp dword [r13 + 4], 0
je 0x180079429
mov ecx, ebx
mov dword [r13], 0x1a
and ecx, 7
shr r12d, cl
sub ebx, ecx
jmp 0x180078e90
cmp ebx, 3
jae 0x18007944f
nop
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add r12d, eax
cmp ebx, 3
jb 0x180079430
mov eax, r12d
shr r12d, 1
dec ebx
and eax, 1
mov dword [r13 + 4], eax
mov eax, r12d
and eax, 3
je 0x180079590
dec eax
je 0x1800794a6
dec eax
je 0x180079492
dec eax
jne 0x180079598
mov qword [r14 + 0x20], r15
shr r12d, 2
mov dword [r13], 0x1d
add ebx, 0xfffffffe
jmp 0x180078e90
shr r12d, 2
mov dword [r13], 0x10
add ebx, 0xfffffffe
jmp 0x180078e90
lea rax, [0x180088500]
mov dword [r13 + 0x68], 9
mov dword [r13 + 0x6c], 5
mov qword [r13 + 0x58], rax
lea rax, [0x180088d00]
mov dword [r13], 0x13
mov qword [r13 + 0x60], rax
cmp edx, 6
jne 0x180079598
shr r12d, 2
add ebx, 0xfffffffe
mov r15d, dword [rbp + 0x77]
mov ecx, dword [rbp + 0x6f]
mov r14, qword [rbp + 0x67]
mov rax, qword [rbp - 0x19]
mov qword [r14 + 0x10], rax
mov eax, dword [rbp + 0x7f]
mov qword [r14], rsi
mov dword [r14 + 0x18], eax
mov dword [r14 + 8], edi
cmp dword [r13 + 0x2c], 0
mov dword [r13 + 0x44], ebx
mov ebx, dword [rbp - 0x25]
mov dword [r13 + 0x40], r12d
jne 0x18007953c
cmp ebx, dword [r14 + 0x18]
je 0x18007a1a0
mov eax, dword [r13]
cmp eax, 0x1d
jge 0x18007a1a0
cmp eax, 0x1a
jl 0x18007953c
cmp ecx, 4
je 0x18007a1a0
mov rdx, qword [r14 + 0x10]
mov r8d, ebx
mov rcx, r14
sub r8d, dword [r14 + 0x18]
call fcn.180078ad0
test eax, eax
je 0x18007a1a0
mov dword [r13], 0x1e
mov eax, 0xfffffffc
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
mov r12, qword [rsp + 0x78]
add rsp, 0x98
pop r15
pop r14
pop r13
pop rbp
ret
mov dword [r13], 0xd
shr r12d, 2
add ebx, 0xfffffffe
jmp 0x180078e90
mov ecx, ebx
and ecx, 7
sub ebx, ecx
shr r12d, cl
cmp ebx, 0x20
jae 0x1800795d2
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add r12d, eax
cmp ebx, 0x20
jb 0x1800795b3
mov eax, r12d
movzx ecx, r12w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x1800795f3
mov qword [r14 + 0x20], r15
mov dword [r13], 0x1d
jmp 0x180078e90
mov dword [r13 + 0x48], ecx
mov r12d, r15d
mov ebx, r15d
mov dword [r13], 0xe
cmp edx, 6
je 0x1800794e4
mov dword [r13], 0xf
mov r14d, dword [r13 + 0x48]
test r14d, r14d
je 0x180079670
cmp r14d, edi
cmova r14d, edi
cmp r14d, r10d
cmova r14d, r10d
test r14d, r14d
je 0x1800794e4
mov r8d, r14d
mov rdx, rsi
mov rcx, r9
call fcn.18007c960
mov r10d, dword [rbp + 0x7f]
mov r9, qword [rbp - 0x19]
mov eax, r14d
sub r10d, r14d
sub edi, r14d
add r9, rax
add rsi, rax
sub dword [r13 + 0x48], r14d
mov r14, qword [rbp + 0x67]
mov dword [rbp + 0x7f], r10d
mov qword [rbp - 0x19], r9
jmp 0x180078e8a
mov r14, qword [rbp + 0x67]
mov dword [r13], 0xb
jmp 0x180078e90
cmp ebx, 0xe
jae 0x1800796a5
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add r12d, eax
cmp ebx, 0xe
jb 0x180079686
mov ecx, r12d
shr r12d, 5
add ebx, 0xfffffff2
mov edx, r12d
shr r12d, 5
and ecx, 0x1f
mov eax, r12d
and edx, 0x1f
add ecx, 0x101
and eax, 0xf
inc edx
shr r12d, 4
add eax, 4
mov dword [r13 + 0x74], ecx
mov dword [r13 + 0x78], edx
mov dword [r13 + 0x70], eax
cmp ecx, 0x11e
ja 0x180078e22
cmp edx, 0x1e
ja 0x180078e22
mov dword [r13 + 0x7c], r15d
mov dword [r13], 0x11
mov eax, dword [r13 + 0x70]
cmp dword [r13 + 0x7c], eax
jae 0x18007975e
cmp ebx, 3
jae 0x18007972f
nop dword [rax]
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add r12d, eax
cmp ebx, 3
jb 0x180079710
mov eax, dword [r13 + 0x7c]
movzx edx, r12w
add ebx, 0xfffffffd
movzx ecx, word [rbp + rax*2 - 0x11]
and dx, 7
shr r12d, 3
mov word [r13 + rcx*2 + 0x88], dx
inc dword [r13 + 0x7c]
mov eax, dword [r13 + 0x70]
cmp dword [r13 + 0x7c], eax
jb 0x180079708
cmp dword [r13 + 0x7c], 0x13
jae 0x180079782
mov eax, dword [r13 + 0x7c]
movzx ecx, word [rbp + rax*2 - 0x11]
mov word [r13 + rcx*2 + 0x88], r15w
inc dword [r13 + 0x7c]
cmp dword [r13 + 0x7c], 0x13
jb 0x180079765
lea rcx, [r13 + 0x68]
lea rax, [r13 + 0x548]
lea r9, [r13 + 0x80]
mov qword [r9], rax
mov qword [r13 + 0x58], rax
lea rax, [r13 + 0x308]
mov qword [rsp + 0x28], rax
mov dword [rcx], 7
mov qword [rsp + 0x20], rcx
xor ecx, ecx
lea rdx, [r13 + 0x88]
lea r8d, [rcx + 0x13]
call fcn.18007ce80
mov r10d, dword [rbp + 0x7f]
mov dword [rbp + 0x77], eax
test eax, eax
je 0x1800797e0
mov qword [r14 + 0x20], r15
mov dword [r13], 0x1d
jmp 0x180078e86
mov dword [r13 + 0x7c], r15d
mov dword [r13], 0x12
mov eax, dword [r13 + 0x78]
add eax, dword [r13 + 0x74]
cmp dword [r13 + 0x7c], eax
jae 0x1800799fd
mov r8d, 1
nop word [rax + rax]
mov ecx, dword [r13 + 0x68]
mov eax, r8d
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov rax, qword [r13 + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
mov dword [rbp - 0x21], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x18007987a
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
mov ecx, dword [r13 + 0x68]
dec edi
add r12d, eax
mov eax, r8d
inc rsi
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov rax, qword [r13 + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
mov dword [rbp - 0x21], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x180079838
mov edx, eax
shr edx, 0x10
cmp dx, 0x10
jae 0x1800798a6
shr eax, 8
movzx ecx, al
mov eax, dword [r13 + 0x7c]
mov word [r13 + rax*2 + 0x88], dx
shr r12d, cl
sub ebx, ecx
inc dword [r13 + 0x7c]
jmp 0x1800799eb
jne 0x180079918
movzx edx, byte [rbp - 0x20]
shr eax, 8
movzx ecx, al
add ecx, 2
cmp ebx, ecx
jae 0x1800798e4
nop dword [rax]
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add r12d, eax
movzx eax, dl
add eax, 2
cmp ebx, eax
jb 0x1800798c0
mov eax, dword [r13 + 0x7c]
movzx ecx, dl
shr r12d, cl
sub ebx, ecx
test eax, eax
je 0x1800797cf
mov edx, r12d
dec eax
shr r12d, 2
movzx r8d, word [r13 + rax*2 + 0x88]
and edx, 3
add edx, 3
add ebx, 0xfffffffe
jmp 0x1800799ae
cmp word [rbp - 0x1f], 0x11
movzx r9d, byte [rbp - 0x20]
jne 0x180079968
lea edx, [r9 + 3]
cmp ebx, edx
jae 0x18007994e
nop dword [rax]
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add r12d, eax
cmp ebx, edx
jb 0x180079930
mov ecx, r9d
mov eax, 0xfffffffd
shr r12d, cl
mov edx, r12d
and edx, 7
add edx, 3
shr r12d, 3
jmp 0x1800799a6
lea edx, [r9 + 7]
cmp ebx, edx
jae 0x18007998e
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add r12d, eax
cmp ebx, edx
jb 0x180079970
mov ecx, r9d
mov eax, 0xfffffff9
shr r12d, cl
mov edx, r12d
and edx, 0x7f
add edx, 0xb
shr r12d, 7
sub eax, r9d
mov r8d, r15d
add ebx, eax
mov eax, dword [r13 + 0x7c]
lea ecx, [rdx + rax]
mov eax, dword [r13 + 0x78]
add eax, dword [r13 + 0x74]
cmp ecx, eax
ja 0x1800797cf
test edx, edx
je 0x1800799e5
nop dword [rax]
mov eax, dword [r13 + 0x7c]
mov word [r13 + rax*2 + 0x88], r8w
inc dword [r13 + 0x7c]
dec edx
jne 0x1800799d0
mov r8d, 1
mov eax, dword [r13 + 0x78]
add eax, dword [r13 + 0x74]
cmp dword [r13 + 0x7c], eax
jb 0x180079810
cmp dword [r13], 0x1d
je 0x180078e86
cmp word [r13 + 0x288], 0
je 0x1800797cf
mov r8d, dword [r13 + 0x74]
lea rax, [r13 + 0x548]
lea r15, [r13 + 0x308]
mov qword [r13 + 0x80], rax
mov qword [r13 + 0x58], rax
lea rax, [r13 + 0x68]
lea rdx, [r13 + 0x88]
lea r9, [r13 + 0x80]
mov ecx, 1
mov qword [rsp + 0x28], r15
mov dword [rax], 9
mov qword [rsp + 0x20], rax
call fcn.18007ce80
mov dword [rbp + 0x77], eax
test eax, eax
je 0x180079a7f
mov r14, qword [rbp + 0x67]
xor r15d, r15d
mov qword [r14 + 0x20], r15
mov dword [r13], 0x1d
jmp 0x180078e82
mov rax, qword [r13 + 0x80]
mov r8d, dword [r13 + 0x78]
lea rcx, [r13 + 0x6c]
mov qword [r13 + 0x60], rax
mov eax, dword [r13 + 0x74]
mov dword [rcx], 6
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rcx
lea r9, [r13 + 0x80]
lea rdx, [r13 + rax*2 + 0x88]
mov ecx, 2
call fcn.18007ce80
mov r15d, eax
mov dword [rbp + 0x77], eax
test eax, eax
jne 0x180079a67
mov ecx, dword [rbp + 0x6f]
mov dword [r13], 0x13
cmp ecx, 6
je 0x1800794eb
mov r14, qword [rbp + 0x67]
mov r9, qword [rbp - 0x19]
mov r8d, dword [rbp - 0x25]
mov r10d, dword [rbp + 0x7f]
xor r15d, r15d
mov dword [r13], 0x14
cmp edi, 6
jb 0x180079b62
cmp r10d, 0x102
jb 0x180079b62
mov qword [r14 + 0x10], r9
mov dword [r14 + 0x18], r10d
mov qword [r14], rsi
mov dword [r14 + 8], edi
mov edx, r8d
mov rcx, r14
mov dword [r13 + 0x40], r12d
mov dword [r13 + 0x44], ebx
call fcn.18007c9d0
cmp dword [r13], 0xb
mov r9, qword [r14 + 0x10]
mov r10d, dword [r14 + 0x18]
mov rsi, qword [r14]
mov edi, dword [r14 + 8]
mov r12d, dword [r13 + 0x40]
mov ebx, dword [r13 + 0x44]
mov qword [rbp - 0x19], r9
mov dword [rbp + 0x7f], r10d
jne 0x180078e8a
mov dword [r13 + 0x1bdc], 0xffffffff
jmp 0x180078e8a
mov ecx, dword [r13 + 0x68]
mov r11, qword [r13 + 0x58]
mov r8d, 1
mov eax, r8d
mov dword [r13 + 0x1bdc], r15d
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov eax, dword [r11 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x180079bd4
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
mov ecx, dword [r13 + 0x68]
dec edi
add r12d, eax
mov eax, r8d
inc rsi
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov rax, qword [r13 + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x180079b95
test al, al
je 0x180079ca1
test al, 0xf0
jne 0x180079ca1
mov r10d, eax
movzx ecx, al
mov dword [rbp - 0x21], eax
shr r10d, 8
mov r9d, 1
mov edx, eax
movzx r8d, r10b
shr eax, 0x10
add ecx, r8d
shl r9d, cl
mov ecx, r8d
dec r9d
and r9d, r12d
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
movzx r11d, byte [rbp - 0x20]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
cmp r8d, ebx
jbe 0x180079c91
movzx r10d, word [rbp - 0x1f]
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
movzx r9d, r11b
shl eax, cl
mov r8d, 1
movzx ecx, dl
add ecx, r9d
add r12d, eax
movzx eax, r10w
shl r8d, cl
mov ecx, r9d
add ebx, 8
dec r8d
dec edi
inc rsi
and r8d, r12d
shr r8d, cl
add r8d, eax
mov rax, qword [r13 + 0x58]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, ebx
ja 0x180079c38
movzx ecx, r11b
shr r12d, cl
sub ebx, ecx
mov dword [r13 + 0x1bdc], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [r13 + 0x1bdc], ecx
shr r12d, cl
sub ebx, ecx
mov ecx, eax
shr ecx, 0x10
mov dword [r13 + 0x48], ecx
test al, al
jne 0x180079ccf
mov dword [r13], 0x19
jmp 0x180078e82
test al, 0x20
je 0x180079ceb
mov dword [r13 + 0x1bdc], 0xffffffff
mov dword [r13], 0xb
jmp 0x180078e82
mov r11d, 1
test al, 0x40
je 0x180079d0e
mov r9, qword [rbp - 0x19]
mov r10d, dword [rbp + 0x7f]
mov qword [r14 + 0x20], r15
mov dword [r13], 0x1d
jmp 0x180078e90
movzx ecx, al
mov dword [r13], 0x15
and ecx, 0xf
mov dword [r13 + 0x50], ecx
mov edx, dword [r13 + 0x50]
test edx, edx
je 0x180079d6c
cmp ebx, edx
jae 0x180079d50
nop dword [rax]
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add r12d, eax
cmp ebx, dword [r13 + 0x50]
jb 0x180079d30
mov ecx, edx
mov eax, r11d
sub ebx, edx
shl eax, cl
dec eax
and eax, r12d
shr r12d, cl
add dword [r13 + 0x48], eax
add dword [r13 + 0x1bdc], edx
mov eax, dword [r13 + 0x48]
mov dword [r13], 0x16
mov dword [r13 + 0x1be0], eax
mov ecx, dword [r13 + 0x6c]
mov r11, qword [r13 + 0x60]
mov r8d, 1
mov eax, r8d
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov eax, dword [r11 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x180079def
nop dword [rax + rax]
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
mov ecx, dword [r13 + 0x6c]
dec edi
add r12d, eax
mov eax, r8d
inc rsi
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov rax, qword [r13 + 0x60]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x180079db0
test al, 0xf0
jne 0x180079eb9
mov r10d, eax
movzx ecx, al
mov dword [rbp - 0x21], eax
shr r10d, 8
mov r9d, 1
mov edx, eax
movzx r8d, r10b
shr eax, 0x10
add ecx, r8d
shl r9d, cl
mov ecx, r8d
dec r9d
and r9d, r12d
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
movzx r11d, byte [rbp - 0x20]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
cmp r8d, ebx
jbe 0x180079ea9
movzx r10d, word [rbp - 0x1f]
nop dword [rax + rax]
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
movzx r9d, r11b
shl eax, cl
mov r8d, 1
movzx ecx, dl
add ecx, r9d
add r12d, eax
movzx eax, r10w
shl r8d, cl
mov ecx, r9d
add ebx, 8
dec r8d
dec edi
inc rsi
and r8d, r12d
shr r8d, cl
add r8d, eax
mov rax, qword [r13 + 0x60]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, ebx
ja 0x180079e50
movzx ecx, r11b
shr r12d, cl
sub ebx, ecx
add dword [r13 + 0x1bdc], ecx
mov r9, qword [rbp - 0x19]
mov r10d, dword [rbp + 0x7f]
mov ecx, eax
shr ecx, 8
mov r11d, 1
movzx ecx, cl
add dword [r13 + 0x1bdc], ecx
shr r12d, cl
sub ebx, ecx
test al, 0x40
je 0x180079ef0
mov qword [r14 + 0x20], r15
mov dword [r13], 0x1d
jmp 0x180078e90
mov r8d, dword [rbp - 0x25]
mov ecx, eax
mov dword [r13], 0x17
shr ecx, 0x10
mov dword [r13 + 0x4c], ecx
movzx ecx, al
and ecx, 0xf
mov dword [r13 + 0x50], ecx
mov edx, dword [r13 + 0x50]
test edx, edx
je 0x180079f5c
cmp ebx, edx
jae 0x180079f40
nop dword [rax + rax]
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add r12d, eax
cmp ebx, dword [r13 + 0x50]
jb 0x180079f20
mov ecx, edx
mov eax, r11d
sub ebx, edx
shl eax, cl
dec eax
and eax, r12d
shr r12d, cl
add dword [r13 + 0x4c], eax
add dword [r13 + 0x1bdc], edx
mov dword [r13], 0x18
test r10d, r10d
je 0x1800794e4
mov ecx, dword [r13 + 0x4c]
mov eax, r8d
sub eax, r10d
cmp ecx, eax
jbe 0x180079fc2
sub ecx, eax
cmp ecx, dword [r13 + 0x30]
jbe 0x180079f9e
cmp dword [r13 + 0x1bd8], 0
je 0x180079f9e
mov qword [r14 + 0x20], r15
mov dword [r13], 0x1d
jmp 0x180078e90
mov eax, dword [r13 + 0x34]
cmp ecx, eax
jbe 0x180079fb0
mov edx, dword [r13 + 0x2c]
sub ecx, eax
sub edx, ecx
jmp 0x180079fb4
sub eax, ecx
mov edx, eax
mov eax, dword [r13 + 0x48]
add rdx, qword [r13 + 0x38]
cmp ecx, eax
jbe 0x180079fce
jmp 0x180079fcc
mov eax, dword [r13 + 0x48]
mov rdx, r9
sub rdx, rcx
mov ecx, eax
cmp ecx, r10d
cmova ecx, r10d
sub r10d, ecx
sub eax, ecx
sub rdx, r9
mov dword [rbp + 0x7f], r10d
mov dword [r13 + 0x48], eax
nop word [rax + rax]
movzx eax, byte [rdx + r9]
inc r9
dec ecx
mov byte [r9 - 1], al
jne 0x180079ff0
mov qword [rbp - 0x19], r9
cmp dword [r13 + 0x48], ecx
jne 0x180078e90
mov dword [r13], 0x14
jmp 0x180078e90
test r10d, r10d
je 0x1800794e4
movzx eax, byte [r13 + 0x48]
inc r9
dec r10d
mov byte [r9 - 1], al
mov dword [rbp + 0x7f], r10d
mov qword [rbp - 0x19], r9
mov dword [r13], 0x14
jmp 0x180078e90
cmp dword [r13 + 8], 0
je 0x18007a10d
cmp ebx, 0x20
jae 0x18007a077
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add r12d, eax
cmp ebx, 0x20
jb 0x18007a058
sub r8d, r10d
add dword [r14 + 0x1c], r8d
add dword [r13 + 0x1c], r8d
test r8d, r8d
je 0x18007a0bd
mov ecx, dword [r13 + 0x18]
mov eax, r8d
mov rdx, r9
sub rdx, rax
cmp dword [r13 + 0x10], 0
je 0x18007a0a2
call fcn.18007d910
jmp 0x18007a0a7
call fcn.18007d2e0
mov r9, qword [rbp - 0x19]
mov r10d, dword [rbp + 0x7f]
mov dword [r13 + 0x18], eax
mov dword [r14 + 0x4c], eax
mov r11d, 1
cmp dword [r13 + 0x10], 0
mov dword [rbp - 0x25], r10d
mov ecx, r12d
jne 0x18007a0f0
shl ecx, 0x10
mov eax, r12d
and eax, 0xff00
add ecx, eax
mov eax, r12d
shr eax, 8
shl ecx, 8
and eax, 0xff00
add ecx, eax
mov eax, r12d
shr eax, 0x18
add ecx, eax
cmp ecx, dword [r13 + 0x18]
je 0x18007a107
mov qword [r14 + 0x20], r15
mov dword [r13], 0x1d
jmp 0x180078e90
mov r12d, r15d
mov ebx, r15d
mov dword [r13], 0x1b
cmp dword [r13 + 8], 0
je 0x18007a185
cmp dword [r13 + 0x10], 0
je 0x18007a185
cmp ebx, 0x20
jae 0x18007a147
test edi, edi
je 0x1800794e4
movzx eax, byte [rsi]
mov ecx, ebx
add ebx, 8
shl eax, cl
dec edi
inc rsi
add r12d, eax
cmp ebx, 0x20
jb 0x18007a128
cmp r12d, dword [r13 + 0x1c]
je 0x18007a17f
mov qword [r14 + 0x20], r15
mov dword [r13], 0x1d
jmp 0x180078e90
mov qword [r14 + 0x10], r9
mov dword [r14 + 0x18], r10d
mov qword [r14], rsi
mov dword [r14 + 8], edi
mov eax, 2
mov dword [r13 + 0x40], r12d
mov dword [r13 + 0x44], ebx
jmp 0x180079564
mov r12d, r15d
mov ebx, r15d
mov dword [r13], 0x1c
mov r15d, r11d
jmp 0x1800794e8
mov r15d, 0xfffffffd
jmp 0x1800794e8
sub ebx, dword [r14 + 0x18]
mov r10d, dword [rbp - 0x1d]
sub r10d, dword [r14 + 8]
add dword [r14 + 0x1c], ebx
add dword [r14 + 0xc], r10d
add dword [r13 + 0x1c], ebx
cmp dword [r13 + 8], 0
mov dword [rbp - 0x1d], r10d
je 0x18007a1f6
test ebx, ebx
je 0x18007a1f6
mov rdx, qword [r14 + 0x10]
mov ecx, dword [r13 + 0x18]
mov eax, ebx
sub rdx, rax
cmp dword [r13 + 0x10], 0
mov r8d, ebx
je 0x18007a1e5
call fcn.18007d910
jmp 0x18007a1ea
call fcn.18007d2e0
mov r10d, dword [rbp - 0x1d]
mov dword [r13 + 0x18], eax
mov dword [r14 + 0x4c], eax
mov edx, dword [r13]
cmp edx, 0x13
je 0x18007a20c
cmp edx, 0xe
je 0x18007a20c
xor r9d, r9d
mov r8d, r9d
jmp 0x18007a215
mov r8d, 0x100
xor r9d, r9d
mov eax, dword [r13 + 4]
neg eax
mov eax, 0x80
sbb ecx, ecx
and ecx, 0x40
cmp edx, 0xb
cmove r9d, eax
lea eax, [r8 + rcx]
add r9d, eax
add r9d, dword [r13 + 0x44]
mov dword [r14 + 0x48], r9d
test r10d, r10d
jne 0x18007a244
test ebx, ebx
je 0x18007a24a
cmp dword [rbp + 0x6f], 4
jne 0x18007a256
mov eax, 0xfffffffb
test r15d, r15d
cmove r15d, eax
mov eax, r15d
jmp 0x180079564
mov eax, 0xfffffffe
jmp 0x180079564
mov eax, 0xfffffffe
add rsp, 0x98
pop r15
pop r14
pop r13
pop rbp
ret