Function at 0x1401610a0
Capabilities:
Encrypt data using rc4 ksa
Read file on windows
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov eax, dword [rdx + 0x108]
xor r14d, r14d
mov ebp, r9d
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov dword [rcx + 0xa0], eax
mov dword [rcx + 0xa4], r14d
mov dword [rcx + 0x2c], r14d
mov byte [rcx + 0xcc], r14b
mov dword [rcx + 0xb0], 1
cmp eax, 0x20
jl 0x14016184d
mov dword [rcx + 0xc0], 1
mov dword [rbx + 0x48], 1
nop dword [rax + rax]
movsxd rax, dword [rbx + 0x48]
movsxd rcx, dword [rbx + 0xc0]
shl rcx, 5
add rcx, rax
mov dword [rbx + rcx*4 + 0x378], r14d
inc dword [rbx + 0x48]
cmp dword [rbx + 0x48], 0x10
jle 0x140161110
inc dword [rbx + 0xc0]
cmp dword [rbx + 0xc0], 4
jle 0x140161104
mov dword [rbx + 0xac], 1
mov qword [rbx + 0x78], r14
mov byte [rbx + 0xcd], r14b
mov dword [rbx + 0x84], r14d
mov rdx, qword [rdx + 0x108]
mov ecx, 1
call fcn.1401be1f8
mov r8d, 1
mov qword [rbx], rax
mov r9, qword [rdi]
mov rdx, qword [rdi + 0x108]
mov rcx, rax
call fcn.1401c1e14
movsxd rcx, dword [rbx + 0xa4]
mov r9, qword [rbx]
movzx edx, byte [rcx + r9]
lea r8d, [rcx + 1]
lea rdi, [0x140000000]
movsxd rax, r8d
mov dword [rbx + 0xa4], r8d
mov dword [rbx + 0x60], edx
movzx ecx, byte [rax + r9]
lea eax, [r8 + 1]
mov dword [rbx + 0xa4], eax
mov eax, ecx
mov dword [rbx + 0x60], ecx
nop word [rax + rax]
mov r9d, dword [rbx + 0xa0]
nop word [rax + rax]
movsxd r8, dword [rbx + 0xa4]
cmp r8d, r9d
jg 0x140161203
mov rax, qword [rbx]
movzx edx, byte [r8 + rax]
lea eax, [r8 + 1]
mov dword [rbx + 0xa4], eax
mov eax, edx
mov dword [rbx + 0x60], edx
cmp dword [rbx + 0x60], 0xff
jne 0x14016184d
movsxd r8, dword [rbx + 0xa4]
cmp r8d, r9d
jg 0x140161233
mov rax, qword [rbx]
movzx edx, byte [r8 + rax]
lea eax, [r8 + 1]
mov dword [rbx + 0xa4], eax
mov eax, edx
mov dword [rbx + 0x68], edx
mov ecx, dword [rbx + 0x68]
cmp ecx, 1
jbe 0x14016124e
lea eax, [rcx - 0xd0]
cmp eax, 7
jbe 0x14016124e
cmp ecx, 0xff
jne 0x140161252
mov dword [rbx + 0x68], r14d
cmp dword [rbx + 0xa4], r9d
jge 0x140161265
cmp dword [rbx + 0x68], r14d
je 0x1401611e0
movsxd rcx, dword [rbx + 0xa4]
mov r10, qword [rbx]
movzx r8d, byte [rcx + r10]
inc ecx
movsxd rax, ecx
mov dword [rbx + 0xa4], ecx
lea r11d, [rcx + 1]
movzx edx, byte [rax + r10]
mov ecx, r8d
mov dword [rbx + 0xa4], r11d
shl ecx, 8
mov eax, edx
add ecx, edx
lea edx, [r11 - 2]
add edx, ecx
mov dword [rbx + 0xb4], ecx
mov dword [rbx + 0xb8], edx
cmp edx, r9d
jg 0x14016184d
movsxd rax, dword [rbx + 0x68]
cmp eax, 0xc3
jne 0x1401612c6
mov byte [rbx + 0xcc], 1
cmp eax, 0xdd
ja case.0x1401612e3.5
movzx eax, byte [rdi + rax + 0x162aac]
mov ecx, dword [rdi + rax*4 + 0x162a94]
add rcx, rdi
jmp rcx
lea edx, [r11 + 1]
movsxd rax, r11d
movzx ecx, byte [rax + r10]
mov dword [rbx + 0xa4], edx
movsxd rax, edx
mov dword [rbx + 0x74], ecx
movzx r8d, byte [rax + r10]
lea ecx, [rdx + 1]
mov dword [rbx + 0xa4], ecx
lea r9d, [rcx + 1]
movsxd rax, ecx
movzx edx, byte [rax + r10]
mov dword [rbx + 0xa4], r9d
movsxd rax, r9d
mov ecx, r8d
shl ecx, 8
add ecx, edx
mov dword [rbx + 0xac], ecx
movzx r8d, byte [rax + r10]
lea ecx, [r9 + 1]
mov dword [rbx + 0xa4], ecx
lea r9d, [rcx + 1]
movsxd rax, ecx
movzx edx, byte [rax + r10]
movsxd rax, r9d
mov dword [rbx + 0xa4], r9d
mov ecx, r8d
shl ecx, 8
add ecx, edx
mov dword [rbx + 0xb0], ecx
movzx ecx, byte [rax + r10]
lea eax, [r9 + 1]
mov dword [rbx + 0xa4], eax
mov eax, ecx
mov dword [rbx + 0x7c], ecx
cmp byte [rbx + 0xcc], r14b
je 0x140161388
dec eax
test eax, 0xfffffffd
je 0x140161394
lea rcx, str.Unable_to_extract_this_file_format
call fcn.1401bdc60
mov eax, dword [rbx + 0xa4]
mov dword [rbx + 0x80], eax
mov eax, dword [rbx + 0xb8]
mov dword [rbx + 0xa4], eax
jmp case.0x1401612e3.0
mov dword [rbx + 0xc0], 1
nop dword [rax + rax]
movsxd r8, dword [rbx + 0xa4]
mov rax, qword [rbx]
movzx edx, byte [r8 + rax]
lea eax, [r8 + 1]
mov dword [rbx + 0x6c], r14d
mov dword [rbx + 0xa4], eax
mov dword [rbx + 0x48], 1
mov dword [rbx + 0x70], edx
nop word [rax + rax]
movsxd r8, dword [rbx + 0xa4]
mov rax, qword [rbx]
movsxd rcx, dword [rbx + 0xc0]
movzx edx, byte [r8 + rax]
shl rcx, 5
lea eax, [r8 + 1]
mov dword [rbx + 0xa4], eax
movsxd rax, dword [rbx + 0x48]
add rcx, rax
mov dword [rbx + rcx*4 + 0xf8], edx
movsxd rdx, dword [rbx + 0xc0]
movsxd r8, dword [rbx + 0x48]
mov rcx, rdx
shl rcx, 5
add rcx, r8
mov eax, dword [rbx + rcx*4 + 0xf8]
add dword [rbx + 0x6c], eax
cmp dword [rbx + rcx*4 + 0xf8], r14d
je 0x140161453
mov dword [rbx + rdx*4 + 0xd0], r8d
inc dword [rbx + 0x48]
cmp dword [rbx + 0x48], 0x10
jle 0x1401613f0
cmp dword [rbx + 0x6c], 0x11
jg 0x14016188c
mov dword [rbx + 0x48], r14d
nop word [rax + rax]
movsxd rax, dword [rbx + 0x48]
movsxd rcx, dword [rbx + 0xc0]
shl rcx, 5
add rcx, rax
lea rax, [rcx + rcx*2]
mov dword [rbx + rax*4 + 0xba4], 0xffffffff
movsxd rax, dword [rbx + 0x48]
movsxd rcx, dword [rbx + 0xc0]
shl rcx, 5
add rcx, rax
lea rax, [rcx + rcx*2]
mov dword [rbx + rax*4 + 0xb9c], 0xffffffff
movsxd rax, dword [rbx + 0x48]
movsxd rcx, dword [rbx + 0xc0]
add rax, 0xf8
shl rcx, 5
add rcx, rax
lea rax, [rcx + rcx*2]
mov dword [rbx + rax*4], 0xffffffff
inc dword [rbx + 0x48]
cmp dword [rbx + 0x48], 0x1f
jle 0x140161470
mov dword [rbx + 0x44], r14d
mov dword [rbx + 0x48], 1
nop dword [rax]
movsxd rdx, dword [rbx + 0xc0]
movsxd rax, dword [rbx + 0x48]
shl rdx, 5
add rdx, rax
cmp dword [rbx + rdx*4 + 0xf8], r14d
jle 0x1401615df
mov eax, dword [rbx + 0x44]
inc eax
mov dword [rbx + rdx*4 + 0x378], eax
movsxd rcx, dword [rbx + 0xc0]
movsxd rax, dword [rbx + 0x48]
shl rcx, 5
mov dword [rbx + 0x40], 1
add rcx, rax
cmp dword [rbx + rcx*4 + 0xf8], 1
jl 0x1401615df
movsxd r8, dword [rbx + 0xa4]
mov rax, qword [rbx]
inc dword [rbx + 0x44]
movzx edx, byte [r8 + rax]
movsxd rcx, dword [rbx + 0xc0]
lea eax, [r8 + 1]
mov dword [rbx + 0xa4], eax
movsxd rax, dword [rbx + 0x44]
mov dword [rbx + 0x60], edx
shl rcx, 5
add rcx, rax
lea rax, [rcx + rcx*2]
mov dword [rbx + rax*4 + 0xba4], edx
movsxd rcx, dword [rbx + 0xc0]
mov eax, dword [rbx + 0x60]
mov dword [rbx + rcx*4 + 0xe4], eax
cmp dword [rbx + 0x60], 0x10
ja 0x14016187e
movsxd rax, dword [rbx + 0x44]
movsxd rcx, dword [rbx + 0xc0]
shl rcx, 5
add rcx, rax
mov eax, dword [rbx + 0x48]
lea rcx, [rcx + rcx*2]
mov dword [rbx + rcx*4 + 0xb9c], eax
inc dword [rbx + 0x40]
movsxd rcx, dword [rbx + 0xc0]
movsxd rax, dword [rbx + 0x48]
mov edx, dword [rbx + 0x40]
shl rcx, 5
add rcx, rax
cmp edx, dword [rbx + rcx*4 + 0xf8]
jle 0x140161543
inc dword [rbx + 0x48]
cmp dword [rbx + 0x48], 0x10
jle 0x1401614f0
movsxd rax, dword [rbx + 0xc0]
mov qword [rbx + 0x34], 1
lea rcx, [rax + rax*2]
shl rcx, 7
mov eax, dword [rcx + rbx + 0xba8]
mov dword [rbx + 0x3c], eax
nop dword [rax]
movsxd rax, dword [rbx + 0x34]
movsxd rcx, dword [rbx + 0xc0]
shl rcx, 5
add rcx, rax
lea rax, [rcx + rcx*2]
mov ecx, dword [rbx + rax*4 + 0xb9c]
cmp dword [rbx + 0x3c], ecx
jne 0x14016168a
nop dword [rax]
nop word [rax + rax]
movsxd rax, dword [rbx + 0x34]
movsxd rcx, dword [rbx + 0xc0]
shl rcx, 5
add rax, 0xf8
add rcx, rax
mov eax, dword [rbx + 0x38]
lea rdx, [rcx + rcx*2]
mov dword [rbx + rdx*4], eax
inc dword [rbx + 0x34]
inc dword [rbx + 0x38]
movsxd rax, dword [rbx + 0x34]
movsxd rcx, dword [rbx + 0xc0]
shl rcx, 5
add rcx, rax
lea rax, [rcx + rcx*2]
mov ecx, dword [rbx + rax*4 + 0xb9c]
cmp dword [rbx + 0x3c], ecx
je 0x140161640
movsxd r9, dword [rbx + 0x34]
mov r10d, dword [rbx + 0x6c]
cmp r9d, r10d
jg 0x1401616db
movsxd r8, dword [rbx + 0xc0]
mov ecx, dword [rbx + 0x3c]
shl r8, 5
lea rax, [r8 + r9]
lea rax, [rax + rax*2]
cmp dword [rbx + rax*4 + 0xb9c], ecx
jle 0x1401616db
mov edx, dword [rbx + 0x38]
nop dword [rax]
add edx, edx
inc ecx
lea rax, [r8 + r9]
lea rax, [rax + rax*2]
mov dword [rbx + 0x38], edx
mov dword [rbx + 0x3c], ecx
cmp dword [rbx + rax*4 + 0xb9c], ecx
jg 0x1401616c0
cmp dword [rbx + 0x34], r10d
jle 0x140161610
inc dword [rbx + 0xc0]
mov eax, dword [rbx + 0xb8]
mov ecx, dword [rbx + 0xc0]
sub eax, dword [rbx + 0xa4]
cmp eax, 0x12
jge 0x1401613c0
lea eax, [rcx - 1]
mov dword [rbx + 0xc4], eax
mov eax, dword [rbx + 0xb8]
mov dword [rbx + 0xa4], eax
jmp case.0x1401612e3.0
movsxd rax, r11d
movzx edx, byte [rax + r10]
lea eax, [r11 + 1]
mov dword [rbx + 0xa4], eax
cdqe
shl edx, 8
movzx eax, byte [rax + r10]
add edx, eax
mov eax, dword [rbx + 0xb8]
mov dword [rbx + 0xa4], eax
mov dword [rbx + 0x2c], edx
jmp case.0x1401612e3.0
cmp dword [rbx + 0x84], r14d
jg 0x14016184d
lea edx, [r11 + 1]
movsxd rax, r11d
movzx ecx, byte [rax + r10]
mov dword [rbx + 0xa4], edx
mov dword [rbx + 0x88], edx
mov r9d, ecx
mov dword [rbx + 0x84], ecx
test ecx, ecx
jle 0x1401617c2
mov dword [rbx + 0x48], r14d
mov r8d, r14d
nop dword [rax + rax]
movsxd rax, edx
inc edx
inc r8d
movzx ecx, byte [rax + r10]
mov dword [rbx + 0xa4], edx
movsxd rax, edx
inc edx
mov dword [rbx + 0x60], ecx
movzx ecx, byte [rax + r10]
mov dword [rbx + 0xa4], edx
mov dword [rbx + 0x48], r8d
mov dword [rbx + 0x64], ecx
cmp r8d, r9d
jl 0x140161790
movsxd rcx, dword [rbx + 0xa4]
movzx edx, byte [rcx + r10]
lea r8d, [rcx + 1]
mov dword [rbx + 0xa4], r8d
mov dword [rbx + 0x8c], edx
movsxd rax, r8d
movzx ecx, byte [rax + r10]
lea edx, [r8 + 1]
movsxd rax, edx
mov dword [rbx + 0x90], ecx
mov dword [rbx + 0xa4], edx
movzx ecx, byte [rax + r10]
mov eax, dword [rbx + 0xb8]
mov dword [rbx + 0x94], ecx
and ecx, 0x10
mov dword [rbx + 0xa4], eax
mov dword [rbx + 0x78], ecx
jmp case.0x1401612e3.0
mov dword [rbx + 0xa4], edx
mov eax, dword [rbx + 0xa0]
cmp dword [rbx + 0xa4], eax
jge 0x14016183a
cmp dword [rbx + 0x68], 0xda
jne 0x1401611d0
mov eax, dword [rbx + 0xa4]
mov byte [rbx + 0xcd], 1
mov dword [rbx + 0x9c], eax
cmp byte [rbx + 0xcd], r14b
jne 0x14016189a
mov rcx, qword [rbx]
call fcn.1401be23c
mov eax, 2
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
lea rcx, str.Huffman_size_array_corrupted_n
call fcn.1401bdc60
jmp 0x14016184d
lea rcx, str.Huffman_table_corrupted_n
call fcn.1401bdc60
jmp 0x14016184d
cmp byte [rbx + 0xcc], r14b
je 0x140161856
cmp dword [rbx + 0xb0], esi
jne 0x14016185e
cmp dword [rbx + 0xac], ebp
jne 0x14016185e
mov eax, dword [rbx + 0xa4]
mov rdx, qword [rbx]
mov dword [rbx + 0x48], eax
mov dword [rbx + 0x40], eax
nop dword [rax]
nop word [rax + rax]
movsxd rax, dword [rbx + 0x48]
movsxd rcx, dword [rbx + 0x40]
movzx eax, byte [rax + rdx]
mov byte [rcx + rdx], al
movsxd rcx, dword [rbx + 0x48]
mov rdx, qword [rbx]
cmp byte [rcx + rdx], 0xff
mov rax, rcx
jne 0x14016190b
movzx eax, byte [rcx + rdx + 1]
test al, al
jne 0x140161900
lea eax, [rcx + 1]
mov dword [rbx + 0x48], eax
jmp 0x14016190b
cmp al, 0xd9
jne 0x14016190b
mov dword [rbx + 0x40], 0xfffffd66
inc dword [rbx + 0x48]
inc dword [rbx + 0x40]
jns 0x1401618d0
mov dword [rbx + 0x5fc], 1
mov dword [rbx + 0x600], 3
mov dword [rbx + 0x604], 7
mov dword [rbx + 0x608], 0xf
mov dword [rbx + 0x60c], 0x1f
mov dword [rbx + 0x610], 0x3f
mov dword [rbx + 0x614], 0x7f
mov dword [rbx + 0x618], 0xff
mov dword [rbx + 0x61c], 0x1ff
mov dword [rbx + 0x620], 0x3ff
mov dword [rbx + 0x624], 0x7ff
mov dword [rbx + 0x628], 0xfff
mov dword [rbx + 0x62c], 0x1fff
mov dword [rbx + 0x630], 0x3fff
mov dword [rbx + 0x634], 0x7fff
mov dword [rbx + 0x638], 0xffff
mov dword [rbx + 0x63c], 0x1ffff
mov eax, dword [rbx + 0xc4]
mov ecx, dword [rbx + 0x7c]
mov edi, 2
cmp eax, ecx
jge 0x140161acd
cmp eax, 1
jge 0x1401619eb
lea rcx, str.Lossless_JPEG_decoding_error:_no_Huffman_tables_n
call fcn.1401bdc60
mov eax, edi
jmp 0x140161863
mov dword [rbx + 0xc0], edi
cmp ecx, edi
jl 0x140161acd
nop dword [rax]
mov dword [rbx + 0x48], r14d
nop dword [rax]
nop dword [rax + rax]
movsxd rcx, dword [rbx + 0x48]
movsxd rax, dword [rbx + 0xc0]
lea rdx, [rcx + rcx*2]
add rcx, 0xf8
shl rax, 5
add rax, rcx
lea rcx, [rax + rax*2]
mov eax, dword [rbx + rdx*4 + 0xd20]
mov dword [rbx + rcx*4], eax
movsxd rax, dword [rbx + 0x48]
movsxd rcx, dword [rbx + 0xc0]
shl rcx, 5
lea rdx, [rax + rax*2]
add rcx, rax
mov eax, dword [rbx + rdx*4 + 0xd24]
lea rcx, [rcx + rcx*2]
mov dword [rbx + rcx*4 + 0xba4], eax
movsxd rax, dword [rbx + 0x48]
movsxd rcx, dword [rbx + 0xc0]
shl rcx, 5
lea rdx, [rax + rax*2]
add rcx, rax
mov eax, dword [rbx + rdx*4 + 0xd1c]
lea rcx, [rcx + rcx*2]
mov dword [rbx + rcx*4 + 0xb9c], eax
movsxd rax, dword [rbx + 0x48]
movsxd rcx, dword [rbx + 0xc0]
shl rcx, 5
add rcx, rax
mov eax, dword [rbx + rax*4 + 0x178]
mov dword [rbx + rcx*4 + 0xf8], eax
inc dword [rbx + 0x48]
cmp dword [rbx + 0x48], 0x1f
jle 0x140161a10
inc dword [rbx + 0xc0]
mov eax, dword [rbx + 0xc0]
cmp eax, dword [rbx + 0x7c]
jle 0x140161a00
mov dword [rbx + 0xc0], 1
nop word [rax + rax]
mov dword [rbx + 0x48], r14d
nop dword [rax]
nop dword [rax + rax]
movsxd rcx, dword [rbx + 0x48]
movsxd rax, dword [rbx + 0xc0]
add rcx, rbx
lea rdx, [rax + rax*8]
mov byte [rcx + rdx*2 + 0x640], 0x7b
inc dword [rbx + 0x48]
cmp dword [rbx + 0x48], 0x11
jle 0x140161af0
inc dword [rbx + 0xc0]
cmp dword [rbx + 0xc0], 4
jle 0x140161ae0
mov dword [rbx + 0xc0], 1
nop dword [rax]
mov dword [rbx + 0x48], r14d
nop dword [rax]
nop dword [rax + rax]
movsxd rax, dword [rbx + 0xc0]
movsxd rcx, dword [rbx + 0x48]
shl rax, 8
add rax, rbx
mov byte [rcx + rax + 0x69a], 0xff
inc dword [rbx + 0x48]
cmp dword [rbx + 0x48], 0xff
jle 0x140161b40
inc dword [rbx + 0xc0]
cmp dword [rbx + 0xc0], 4
jle 0x140161b30
cmp dword [rbx + 0x7c], 1
mov dword [rbx + 0xc0], 1
jl 0x140161d04
nop dword [rax]
mov dword [rbx + 0x44], r14d
mov dword [rbx + 0x30], 1
nop dword [rax + rax]
movsxd rcx, dword [rbx + 0xc0]
movsxd rax, dword [rbx + 0x30]
shl rcx, 5
add rcx, rax
cmp dword [rbx + rcx*4 + 0xf8], r14d
jle 0x140161ce2
mov dword [rbx + 0x40], 1
cmp dword [rbx + rcx*4 + 0xf8], 1
jl 0x140161ce2
nop word [rax + rax]
inc dword [rbx + 0x44]
movsxd rdx, dword [rbx + 0xc0]
movsxd rax, dword [rbx + 0x44]
mov rcx, rdx
lea rdx, [rdx + rdx*8]
shl rcx, 5
add rcx, rax
lea rax, [rcx + rcx*2]
movsxd rcx, dword [rbx + rax*4 + 0xba4]
movzx eax, byte [rbx + 0x30]
mov dword [rbx + 0xc8], ecx
add rcx, rbx
mov byte [rcx + rdx*2 + 0x640], al
movsxd r9, dword [rbx + 0x30]
movsxd r8, dword [rbx + 0xc0]
movsxd rax, dword [rbx + 0x44]
mov rcx, r8
shl rcx, 5
add rax, 0xf8
add rcx, rax
lea rdx, [rcx + rcx*2]
mov ecx, 8
mov eax, dword [rbx + rdx*4]
sub ecx, r9d
shl eax, cl
movzx ecx, al
mov dword [rbx + 0x34], ecx
cmp r9d, 8
jge 0x140161ca4
mov ecx, 0x186
sub rcx, r9
mov eax, dword [rbx + rcx*4]
mov dword [rbx + 0x5c], r14d
mov dword [rbx + 0x48], eax
test eax, eax
js 0x140161cbd
nop
movsxd rax, dword [rbx + 0xc0]
movsxd rdx, dword [rbx + 0x34]
movsxd rcx, dword [rbx + 0x5c]
shl rax, 8
add rdx, rbx
add rdx, rax
movzx eax, byte [rbx + 0xc8]
mov byte [rcx + rdx + 0x69a], al
inc dword [rbx + 0x5c]
mov eax, dword [rbx + 0x5c]
cmp eax, dword [rbx + 0x48]
jle 0x140161c70
jmp 0x140161cbd
movzx eax, byte [rbx + 0xc8]
mov rdx, rcx
shl r8, 8
lea rcx, [rbx + r8]
mov byte [rdx + rcx + 0x69a], al
inc dword [rbx + 0x40]
movsxd rcx, dword [rbx + 0xc0]
movsxd rax, dword [rbx + 0x30]
mov edx, dword [rbx + 0x40]
shl rcx, 5
add rcx, rax
cmp edx, dword [rbx + rcx*4 + 0xf8]
jle 0x140161be0
inc dword [rbx + 0x30]
cmp dword [rbx + 0x30], 8
jle 0x140161ba0
inc dword [rbx + 0xc0]
mov eax, dword [rbx + 0xc0]
cmp eax, dword [rbx + 0x7c]
jle 0x140161b90
mov eax, dword [rbx + 0xb0]
mov ecx, dword [rbx + 0x74]
mov r8d, dword [rbx + 0xac]
sub ecx, dword [rbx + 0x78]
mov r9d, dword [rbx + 0x7c]
inc dword [rbx + 0xa4]
imul eax, r9d
imul r8d, eax
dec ecx
mov dword [rbx + 0xb0], eax
mov eax, 1
xor edx, edx
mov dword [rbx + 0xa8], r8d
shl eax, cl
cmp dword [rbx + 0x74], 8
mov rcx, qword [rsp + 0x50]
mov dword [rbx + 0x20], eax
mov dword [rbx + 0x5c], r14d
mov dword [rbx + 0x48], r14d
movsxd r8, r8d
je 0x140162082
add r8, r8
mov qword [rbx + 0x10], rcx
call fcn.1401c0040
mov eax, dword [rbx + 0x8c]
mov qword [rbx + 0x50], r14
cmp eax, edi
je 0x140161dbe
cmp eax, 3
je 0x140161db6
jle 0x140161db0
cmp eax, 5
jle 0x140161d9b
cmp eax, 6
jne 0x140161db0
mov ecx, dword [rbx + 0xb0]
mov dword [rbx + 0x50], r14d
lea eax, [rcx - 1]
mov dword [rbx + 0x54], ecx
jmp 0x140161dc6
mov ecx, dword [rbx + 0xb0]
mov dword [rbx + 0x4c], r14d
lea eax, [rcx - 1]
mov dword [rbx + 0x54], ecx
mov dword [rbx + 0x50], eax
jmp 0x140161dc9
mov dword [rbx + 0x4c], r14d
jmp 0x140161dc9
mov eax, dword [rbx + 0xb0]
jmp 0x140161dc6
mov eax, dword [rbx + 0xb0]
dec eax
mov dword [rbx + 0x4c], eax
cmp dword [rbx + 0xb0], 1
mov dword [rbx + 0x40], 1
jl 0x140161e25
nop dword [rax]
movsxd rax, dword [rbx + 0x48]
test eax, eax
jle 0x140161df7
mov rcx, rax
mov rax, qword [rbx + 0x10]
movzx ecx, word [rax + rcx*2 - 2]
mov dword [rbx + 0x20], ecx
mov edx, 1
mov rcx, rbx
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 0x10]
add ax, word [rbx + 0x20]
mov word [rcx + rdx*2], ax
inc dword [rbx + 0x40]
mov eax, dword [rbx + 0x40]
inc dword [rbx + 0x48]
cmp eax, dword [rbx + 0xb0]
jle 0x140161de0
mov eax, dword [rbx + 0xac]
cmp eax, 1
jle 0x140162a81
mov dword [rbx + 0x44], edi
cmp eax, edi
jl 0x140162a81
nop
movsxd rax, dword [rbx + 0xb0]
movsxd rcx, dword [rbx + 0x48]
mov edx, 1
sub rcx, rax
mov rax, qword [rbx + 0x10]
movzx ecx, word [rax + rcx*2]
mov dword [rbx + 0x20], ecx
mov rcx, rbx
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 0x10]
add ax, word [rbx + 0x20]
mov word [rcx + rdx*2], ax
inc dword [rbx + 0x48]
mov edx, dword [rbx + 0x8c]
mov ecx, dword [rbx + 0x48]
mov dword [rbx + 0x40], edi
cmp edx, 4
jne 0x140161f11
cmp dword [rbx + 0xb0], edi
jl 0x14016205f
nop word [rax + rax]
mov r8, qword [rbx + 0x10]
movsxd rax, dword [rbx + 0x4c]
movsxd r9, ecx
mov rcx, r9
sub rcx, rax
movsxd rax, dword [rbx + 0x54]
movzx edx, word [r8 + rcx*2 - 2]
mov rcx, r9
sub rcx, rax
movzx eax, word [r8 + rcx*2 - 2]
mov rcx, rbx
sub edx, eax
movsxd rax, dword [rbx + 0x50]
sub r9, rax
movzx eax, word [r8 + r9*2 - 2]
add edx, eax
mov dword [rbx + 0x20], edx
mov edx, 1
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 0x10]
add ax, word [rbx + 0x20]
mov word [rcx + rdx*2], ax
inc dword [rbx + 0x40]
inc dword [rbx + 0x48]
mov eax, dword [rbx + 0x40]
mov ecx, dword [rbx + 0x48]
cmp eax, dword [rbx + 0xb0]
jle 0x140161ea0
jmp 0x14016205f
lea eax, [rdx - 5]
cmp eax, 1
jbe 0x140161fe9
cmp edx, 7
jne 0x140161f8f
cmp dword [rbx + 0xb0], edi
jl 0x14016205f
nop
mov rdx, qword [rbx + 0x10]
movsxd rax, dword [rbx + 0xb0]
movsxd r9, ecx
mov rcx, r9
sub rcx, rax
movzx eax, word [rdx + r9*2 - 2]
movzx r8d, word [rdx + rcx*2]
mov edx, 1
mov rcx, rbx
add r8d, eax
sar r8d, 1
mov dword [rbx + 0x20], r8d
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
add ax, word [rbx + 0x20]
mov rcx, qword [rbx + 0x10]
mov word [rcx + rdx*2], ax
inc dword [rbx + 0x40]
inc dword [rbx + 0x48]
mov eax, dword [rbx + 0x40]
mov ecx, dword [rbx + 0x48]
cmp eax, dword [rbx + 0xb0]
jle 0x140161f30
jmp 0x14016205f
cmp dword [rbx + 0xb0], edi
jl 0x14016205f
nop dword [rax + rax]
movsxd rax, dword [rbx + 0x4c]
movsxd rcx, ecx
mov edx, 1
sub rcx, rax
mov rax, qword [rbx + 0x10]
movzx ecx, word [rax + rcx*2 - 2]
mov dword [rbx + 0x20], ecx
mov rcx, rbx
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 0x10]
add ax, word [rbx + 0x20]
mov word [rcx + rdx*2], ax
inc dword [rbx + 0x40]
inc dword [rbx + 0x48]
mov eax, dword [rbx + 0x40]
mov ecx, dword [rbx + 0x48]
cmp eax, dword [rbx + 0xb0]
jle 0x140161fa0
jmp 0x14016205f
cmp dword [rbx + 0xb0], edi
jl 0x14016205f
mov r8, qword [rbx + 0x10]
movsxd rax, dword [rbx + 0x50]
movsxd r9, ecx
mov rcx, r9
sub rcx, rax
movsxd rax, dword [rbx + 0x54]
movzx edx, word [r8 + rcx*2 - 2]
mov rcx, r9
sub rcx, rax
movzx eax, word [r8 + rcx*2 - 2]
mov rcx, rbx
sub edx, eax
movsxd rax, dword [rbx + 0x4c]
sar edx, 1
sub r9, rax
movzx eax, word [r8 + r9*2 - 2]
add edx, eax
mov dword [rbx + 0x20], edx
mov edx, 1
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 0x10]
add ax, word [rbx + 0x20]
mov word [rcx + rdx*2], ax
inc dword [rbx + 0x40]
inc dword [rbx + 0x48]
mov eax, dword [rbx + 0x40]
mov ecx, dword [rbx + 0x48]
cmp eax, dword [rbx + 0xb0]
jle 0x140161ff1
inc dword [rbx + 0x44]
mov eax, dword [rbx + 0x44]
cmp eax, dword [rbx + 0xac]
jle 0x140161e40
mov rcx, qword [rbx]
call fcn.1401be23c
movzx eax, r14w
jmp 0x140161863
mov qword [rbx + 8], rcx
cmp r9d, 3
jne 0x1401626b5
call fcn.1401c0040
mov ecx, dword [rbx + 0x8c]
mov qword [rbx + 0x50], r14
sub ecx, edi
je 0x1401620e4
dec ecx
je 0x1401620dc
sub ecx, edi
je 0x1401620c7
dec ecx
je 0x1401620b5
mov dword [rbx + 0x4c], r14d
jmp 0x1401620f0
mov ecx, dword [rbx + 0xb0]
mov dword [rbx + 0x50], r14d
lea eax, [rcx - 3]
mov dword [rbx + 0x54], ecx
jmp 0x1401620ed
mov ecx, dword [rbx + 0xb0]
mov dword [rbx + 0x4c], r14d
lea eax, [rcx - 3]
mov dword [rbx + 0x54], ecx
mov dword [rbx + 0x50], eax
jmp 0x1401620f0
mov eax, dword [rbx + 0xb0]
jmp 0x1401620ed
mov eax, dword [rbx + 0xb0]
sub eax, 3
mov dword [rbx + 0x4c], eax
mov eax, dword [rbx + 0x20]
mov dword [rbx + 0x48], r14d
mov dword [rbx + 0x40], 1
mov dword [rbx + 0x28], eax
mov dword [rbx + 0x24], eax
mov eax, 0x55555556
imul dword [rbx + 0xb0]
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jl 0x1401621cb
nop
mov edx, 1
mov rcx, rbx
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 8]
add al, byte [rbx + 0x20]
mov byte [rdx + rcx], al
movsxd rdx, dword [rbx + 0x48]
mov rax, qword [rbx + 8]
movzx ecx, byte [rdx + rax]
lea eax, [rdx + 1]
mov edx, edi
mov dword [rbx + 0x20], ecx
mov rcx, rbx
mov dword [rbx + 0x48], eax
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 8]
add al, byte [rbx + 0x24]
mov byte [rdx + rcx], al
movsxd rdx, dword [rbx + 0x48]
mov rax, qword [rbx + 8]
movzx ecx, byte [rdx + rax]
lea eax, [rdx + 1]
mov edx, 3
mov dword [rbx + 0x24], ecx
mov rcx, rbx
mov dword [rbx + 0x48], eax
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 8]
add al, byte [rbx + 0x28]
mov byte [rdx + rcx], al
movsxd rdx, dword [rbx + 0x48]
mov rax, qword [rbx + 8]
movzx ecx, byte [rdx + rax]
inc dword [rbx + 0x40]
lea eax, [rdx + 1]
mov dword [rbx + 0x48], eax
mov eax, 0x55555556
mov dword [rbx + 0x28], ecx
imul dword [rbx + 0xb0]
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp dword [rbx + 0x40], edx
jle 0x140162120
mov eax, dword [rbx + 0x2c]
test eax, eax
jne 0x1401621d8
mov eax, dword [rbx + 0xa8]
mov dword [rbx + 0xb8], eax
nop
mov eax, dword [rbx + 0xa8]
cmp dword [rbx + 0xb8], eax
jle 0x1401621f4
mov dword [rbx + 0xb8], eax
movsxd rcx, dword [rbx + 0xb0]
movsxd r8, dword [rbx + 0x48]
mov eax, r8d
cdq
idiv ecx
inc eax
imul eax, ecx
mov dword [rbx + 0x1c], eax
lea eax, [rcx + 1]
cmp r8d, eax
jle 0x14016222f
mov ecx, dword [rbx + 0x74]
mov edx, 1
sub ecx, dword [rbx + 0x78]
dec ecx
shl edx, cl
mov dword [rbx + 0x20], edx
mov dword [rbx + 0x28], edx
mov dword [rbx + 0x24], edx
jmp 0x14016224d
mov rdx, r8
sub rdx, rcx
add rdx, qword [rbx + 8]
movzx eax, byte [rdx]
mov dword [rbx + 0x20], eax
movzx eax, byte [rdx + 1]
mov dword [rbx + 0x24], eax
movzx eax, byte [rdx + 2]
mov dword [rbx + 0x28], eax
mov ecx, dword [rbx + 0x8c]
cmp ecx, 4
jne 0x140162370
mov eax, dword [rbx + 0xb8]
dec eax
cmp r8d, eax
jge 0x140162686
nop dword [rax]
mov edx, 1
mov rcx, rbx
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 8]
add al, byte [rbx + 0x20]
mov byte [rdx + rcx], al
inc dword [rbx + 0x48]
mov edx, edi
mov rcx, rbx
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 8]
add al, byte [rbx + 0x24]
mov byte [rdx + rcx], al
inc dword [rbx + 0x48]
mov edx, 3
mov rcx, rbx
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 8]
add al, byte [rbx + 0x28]
mov byte [rdx + rcx], al
inc dword [rbx + 0x48]
movsxd r10, dword [rbx + 0x48]
mov r9d, dword [rbx + 0x1c]
cmp r10d, r9d
jne 0x140162302
movsxd r8, dword [rbx + 0xb0]
mov rdx, r10
sub rdx, r8
add rdx, qword [rbx + 8]
movzx eax, byte [rdx]
mov dword [rbx + 0x20], eax
movzx eax, byte [rdx + 1]
mov dword [rbx + 0x24], eax
movzx eax, byte [rdx + 2]
mov dword [rbx + 0x28], eax
lea eax, [r9 + r8]
mov dword [rbx + 0x1c], eax
jmp 0x14016235a
mov r8, qword [rbx + 8]
movsxd rax, dword [rbx + 0xb0]
movzx ecx, byte [r8 + r10 - 3]
mov r9, r8
sub r9, rax
add r9, r10
movzx eax, byte [r9 - 3]
sub ecx, eax
movzx eax, byte [r9]
add ecx, eax
mov dword [rbx + 0x20], ecx
movzx eax, byte [r9 - 2]
movzx ecx, byte [r8 + r10 - 2]
sub ecx, eax
movzx eax, byte [r9 + 1]
add ecx, eax
mov dword [rbx + 0x24], ecx
movzx eax, byte [r9 - 1]
movzx ecx, byte [r8 + r10 - 1]
sub ecx, eax
movzx eax, byte [r9 + 2]
add ecx, eax
mov dword [rbx + 0x28], ecx
mov eax, dword [rbx + 0xb8]
dec eax
cmp r10d, eax
jl 0x140162270
jmp 0x140162686
lea eax, [rcx - 5]
cmp eax, 1
mov eax, dword [rbx + 0xb8]
jbe 0x140162568
dec eax
cmp ecx, 7
jne 0x140162491
cmp r8d, eax
jge 0x140162686
nop word [rax + rax]
mov edx, 1
mov rcx, rbx
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 8]
add al, byte [rbx + 0x20]
mov byte [rdx + rcx], al
inc dword [rbx + 0x48]
mov edx, edi
mov rcx, rbx
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 8]
add al, byte [rbx + 0x24]
mov byte [rdx + rcx], al
inc dword [rbx + 0x48]
mov edx, 3
mov rcx, rbx
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 8]
add al, byte [rbx + 0x28]
mov byte [rdx + rcx], al
inc dword [rbx + 0x48]
movsxd r10, dword [rbx + 0x48]
mov r9d, dword [rbx + 0x1c]
cmp r10d, r9d
jne 0x140162432
movsxd r8, dword [rbx + 0xb0]
mov rdx, r10
sub rdx, r8
add rdx, qword [rbx + 8]
movzx eax, byte [rdx]
mov dword [rbx + 0x20], eax
movzx eax, byte [rdx + 1]
mov dword [rbx + 0x24], eax
movzx eax, byte [rdx + 2]
mov dword [rbx + 0x28], eax
lea eax, [r9 + r8]
mov dword [rbx + 0x1c], eax
jmp 0x14016247b
mov r8, qword [rbx + 8]
movsxd rax, dword [rbx + 0xb0]
movzx ecx, byte [r8 + r10 - 3]
mov r9, r8
sub r9, rax
movzx eax, byte [r9 + r10]
add ecx, eax
sar ecx, 1
mov dword [rbx + 0x20], ecx
movzx eax, byte [r9 + r10 + 1]
movzx ecx, byte [r8 + r10 - 2]
add ecx, eax
sar ecx, 1
mov dword [rbx + 0x24], ecx
movzx ecx, byte [r8 + r10 - 1]
movzx eax, byte [r9 + r10 + 2]
add ecx, eax
sar ecx, 1
mov dword [rbx + 0x28], ecx
mov eax, dword [rbx + 0xb8]
dec eax
cmp r10d, eax
jl 0x1401623a0
jmp 0x140162686
cmp r8d, eax
jge 0x140162686
nop word [rax + rax]
mov edx, 1
mov rcx, rbx
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 8]
add al, byte [rbx + 0x20]
mov byte [rdx + rcx], al
inc dword [rbx + 0x48]
mov edx, edi
mov rcx, rbx
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 8]
add al, byte [rbx + 0x24]
mov byte [rdx + rcx], al
inc dword [rbx + 0x48]
mov edx, 3
mov rcx, rbx
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 8]
add al, byte [rbx + 0x28]
mov byte [rdx + rcx], al
inc dword [rbx + 0x48]
movsxd r9, dword [rbx + 0x48]
mov r10d, dword [rbx + 0x1c]
mov rdx, r9
cmp r9d, r10d
jne 0x140162532
movsxd r8, dword [rbx + 0xb0]
sub rdx, r8
add rdx, qword [rbx + 8]
movzx eax, byte [rdx]
mov dword [rbx + 0x20], eax
movzx eax, byte [rdx + 1]
mov dword [rbx + 0x24], eax
movzx eax, byte [rdx + 2]
mov dword [rbx + 0x28], eax
lea eax, [r10 + r8]
mov dword [rbx + 0x1c], eax
jmp 0x140162552
movsxd rax, dword [rbx + 0x4c]
sub rdx, rax
add rdx, qword [rbx + 8]
movzx eax, byte [rdx - 3]
mov dword [rbx + 0x20], eax
movzx eax, byte [rdx - 2]
mov dword [rbx + 0x24], eax
movzx eax, byte [rdx - 1]
mov dword [rbx + 0x28], eax
mov eax, dword [rbx + 0xb8]
dec eax
cmp r9d, eax
jl 0x1401624a0
jmp 0x140162686
dec eax
cmp r8d, eax
jge 0x140162686
mov edx, 1
mov rcx, rbx
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 8]
add al, byte [rbx + 0x20]
mov byte [rdx + rcx], al
inc dword [rbx + 0x48]
mov edx, edi
mov rcx, rbx
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 8]
add al, byte [rbx + 0x24]
mov byte [rdx + rcx], al
inc dword [rbx + 0x48]
mov edx, 3
mov rcx, rbx
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 8]
add al, byte [rbx + 0x28]
mov byte [rdx + rcx], al
inc dword [rbx + 0x48]
movsxd r11, dword [rbx + 0x48]
mov r9d, dword [rbx + 0x1c]
cmp r11d, r9d
jne 0x140162605
movsxd r8, dword [rbx + 0xb0]
mov rdx, r11
sub rdx, r8
add rdx, qword [rbx + 8]
movzx eax, byte [rdx]
mov dword [rbx + 0x20], eax
movzx eax, byte [rdx + 1]
mov dword [rbx + 0x24], eax
movzx eax, byte [rdx + 2]
mov dword [rbx + 0x28], eax
lea eax, [r9 + r8]
mov dword [rbx + 0x1c], eax
jmp 0x140162675
mov r8, qword [rbx + 8]
movsxd rax, dword [rbx + 0x54]
mov r10, r8
mov r9, r8
sub r10, rax
movsxd rax, dword [rbx + 0x50]
sub r9, rax
movsxd rax, dword [rbx + 0x4c]
movzx ecx, byte [r9 + r11 - 3]
sub r8, rax
movzx eax, byte [r10 + r11 - 3]
sub ecx, eax
movzx eax, byte [r8 + r11 - 3]
sar ecx, 1
add ecx, eax
mov dword [rbx + 0x20], ecx
movzx eax, byte [r10 + r11 - 2]
movzx ecx, byte [r9 + r11 - 2]
sub ecx, eax
movzx eax, byte [r8 + r11 - 2]
sar ecx, 1
add ecx, eax
mov dword [rbx + 0x24], ecx
movzx eax, byte [r10 + r11 - 1]
movzx ecx, byte [r9 + r11 - 1]
sub ecx, eax
movzx eax, byte [r8 + r11 - 1]
sar ecx, 1
add ecx, eax
mov dword [rbx + 0x28], ecx
mov eax, dword [rbx + 0xb8]
dec eax
cmp r11d, eax
jl 0x140162573
cmp dword [rbx + 0x2c], 1
jl 0x140162a81
mov eax, dword [rbx + 0xb8]
sub eax, edi
cmp eax, dword [rbx + 0xa8]
jle 0x1401621e0
mov rcx, qword [rbx]
call fcn.1401be23c
movzx eax, r14w
jmp 0x140161863
call fcn.1401c0040
mov ecx, dword [rbx + 0x8c]
mov qword [rbx + 0x50], r14
sub ecx, edi
je 0x140162709
dec ecx
je 0x140162701
sub ecx, edi
je 0x1401626ec
dec ecx
je 0x1401626da
mov dword [rbx + 0x4c], r14d
jmp 0x140162714
mov ecx, dword [rbx + 0xb0]
mov dword [rbx + 0x50], r14d
lea eax, [rcx - 1]
mov dword [rbx + 0x54], ecx
jmp 0x140162711
mov ecx, dword [rbx + 0xb0]
mov dword [rbx + 0x4c], r14d
lea eax, [rcx - 1]
mov dword [rbx + 0x54], ecx
mov dword [rbx + 0x50], eax
jmp 0x140162714
mov eax, dword [rbx + 0xb0]
jmp 0x140162711
mov eax, dword [rbx + 0xb0]
dec eax
mov dword [rbx + 0x4c], eax
cmp dword [rbx + 0xb0], 1
mov dword [rbx + 0x48], r14d
mov dword [rbx + 0x40], 1
jl 0x14016276e
nop dword [rax + rax]
mov edx, 1
mov rcx, rbx
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 8]
add al, byte [rbx + 0x20]
mov byte [rdx + rcx], al
movsxd rdx, dword [rbx + 0x48]
mov rax, qword [rbx + 8]
movzx ecx, byte [rdx + rax]
inc dword [rbx + 0x40]
lea eax, [rdx + 1]
mov dword [rbx + 0x48], eax
mov eax, dword [rbx + 0x40]
mov dword [rbx + 0x20], ecx
cmp eax, dword [rbx + 0xb0]
jle 0x140162730
mov eax, dword [rbx + 0x2c]
test eax, eax
jne 0x14016277b
mov eax, dword [rbx + 0xa8]
mov dword [rbx + 0xb8], eax
mov eax, dword [rbx + 0xa8]
cmp dword [rbx + 0xb8], eax
jle 0x140162795
mov dword [rbx + 0xb8], eax
movsxd rcx, dword [rbx + 0xb0]
movsxd r8, dword [rbx + 0x48]
mov eax, r8d
cdq
idiv ecx
inc eax
imul eax, ecx
mov dword [rbx + 0x1c], eax
lea eax, [rcx + 1]
cmp r8d, eax
jle 0x1401627ca
mov ecx, dword [rbx + 0x74]
mov eax, 1
sub ecx, dword [rbx + 0x78]
dec ecx
shl eax, cl
mov dword [rbx + 0x20], eax
jmp 0x1401627de
mov rax, rcx
mov rcx, r8
sub rcx, rax
mov rax, qword [rbx + 8]
movzx ecx, byte [rcx + rax]
mov dword [rbx + 0x20], ecx
mov ecx, dword [rbx + 0x8c]
cmp ecx, 4
jne 0x14016288e
mov eax, dword [rbx + 0xb8]
dec eax
cmp r8d, eax
jge 0x140162a67
nop
mov edx, 1
mov rcx, rbx
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 8]
add al, byte [rbx + 0x20]
mov byte [rdx + rcx], al
inc dword [rbx + 0x48]
movsxd r10, dword [rbx + 0x48]
mov r8d, dword [rbx + 0x1c]
cmp r10d, r8d
jne 0x14016284c
movsxd rdx, dword [rbx + 0xb0]
mov rax, qword [rbx + 8]
mov rcx, r10
sub rcx, rdx
movzx ecx, byte [rcx + rax]
lea eax, [r8 + rdx]
mov dword [rbx + 0x20], ecx
mov dword [rbx + 0x1c], eax
jmp 0x140162878
mov r8, qword [rbx + 8]
movsxd rax, dword [rbx + 0xb0]
movzx r9d, byte [r8 + r10 - 1]
mov rcx, r8
sub rcx, rax
movzx eax, byte [rcx + r10 - 1]
sub r9d, eax
movzx eax, byte [rcx + r10]
add r9d, eax
mov dword [rbx + 0x20], r9d
mov eax, dword [rbx + 0xb8]
dec eax
cmp r10d, eax
jl 0x140162800
jmp 0x140162a67
lea eax, [rcx - 5]
cmp eax, 1
mov eax, dword [rbx + 0xb8]
jbe 0x1401629be
dec eax
cmp ecx, 7
jne 0x140162944
cmp r8d, eax
jge 0x140162a67
nop dword [rax]
nop dword [rax + rax]
mov edx, 1
mov rcx, rbx
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 8]
add al, byte [rbx + 0x20]
mov byte [rdx + rcx], al
inc dword [rbx + 0x48]
movsxd r10, dword [rbx + 0x48]
mov r8d, dword [rbx + 0x1c]
cmp r10d, r8d
jne 0x14016290c
movsxd rdx, dword [rbx + 0xb0]
mov rax, qword [rbx + 8]
mov rcx, r10
sub rcx, rdx
movzx ecx, byte [rcx + rax]
lea eax, [r8 + rdx]
mov dword [rbx + 0x20], ecx
mov dword [rbx + 0x1c], eax
jmp 0x140162932
mov r9, qword [rbx + 8]
movsxd rax, dword [rbx + 0xb0]
mov rcx, r9
sub rcx, rax
movzx eax, byte [r9 + r10 - 1]
movzx r8d, byte [rcx + r10]
add r8d, eax
sar r8d, 1
mov dword [rbx + 0x20], r8d
mov eax, dword [rbx + 0xb8]
dec eax
cmp r10d, eax
jl 0x1401628c0
jmp 0x140162a67
cmp r8d, eax
jge 0x140162a67
nop dword [rax]
mov edx, 1
mov rcx, rbx
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 8]
add al, byte [rbx + 0x20]
mov byte [rdx + rcx], al
inc dword [rbx + 0x48]
movsxd r8, dword [rbx + 0x48]
mov r9d, dword [rbx + 0x1c]
mov rcx, r8
cmp r8d, r9d
jne 0x140162999
movsxd rdx, dword [rbx + 0xb0]
mov rax, qword [rbx + 8]
sub rcx, rdx
movzx ecx, byte [rcx + rax]
lea eax, [r9 + rdx]
mov dword [rbx + 0x1c], eax
jmp 0x1401629a9
movsxd rax, dword [rbx + 0x4c]
sub rcx, rax
mov rax, qword [rbx + 8]
movzx ecx, byte [rcx + rax - 1]
mov dword [rbx + 0x20], ecx
mov eax, dword [rbx + 0xb8]
dec eax
cmp r8d, eax
jl 0x140162950
jmp 0x140162a67
dec eax
cmp r8d, eax
jge 0x140162a67
nop dword [rax]
mov edx, 1
mov rcx, rbx
call fcn.140162b90
movsxd rdx, dword [rbx + 0x48]
mov rcx, qword [rbx + 8]
add al, byte [rbx + 0x20]
mov byte [rdx + rcx], al
inc dword [rbx + 0x48]
movsxd r10, dword [rbx + 0x48]
mov r8d, dword [rbx + 0x1c]
cmp r10d, r8d
jne 0x140162a1c
movsxd rdx, dword [rbx + 0xb0]
mov rax, qword [rbx + 8]
mov rcx, r10
sub rcx, rdx
movzx ecx, byte [rcx + rax]
lea eax, [r8 + rdx]
mov dword [rbx + 0x20], ecx
mov dword [rbx + 0x1c], eax
jmp 0x140162a56
mov r9, qword [rbx + 8]
movsxd rax, dword [rbx + 0x50]
mov rcx, r9
sub rcx, rax
movsxd rax, dword [rbx + 0x54]
movzx edx, byte [rcx + r10 - 1]
mov rcx, r9
sub rcx, rax
movzx eax, byte [rcx + r10 - 1]
sub edx, eax
movsxd rax, dword [rbx + 0x4c]
sub r9, rax
sar edx, 1
movzx eax, byte [r9 + r10 - 1]
add edx, eax
mov dword [rbx + 0x20], edx
mov eax, dword [rbx + 0xb8]
dec eax
cmp r10d, eax
jl 0x1401629d0
cmp dword [rbx + 0x2c], 1
jl 0x140162a81
mov ecx, dword [rbx + 0xb8]
sub ecx, edi
cmp ecx, dword [rbx + 0xa8]
jle 0x140162781
mov rcx, qword [rbx]
call fcn.1401be23c
movzx eax, r14w
jmp 0x140161863