Function at 0x140212740
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
push rbx
push rsi
sub rsp, 0x38
mov rsi, rcx
test rcx, rcx
je 0x140213398
cmp qword [rcx + 0x30], 0
je 0x140213398
cmp qword [rcx + 0x38], 0
je 0x140213398
mov rbx, qword [rcx + 0x28]
test rbx, rbx
je 0x140213398
cmp qword [rbx], rcx
jne 0x140213398
mov edx, dword [rbx + 8]
lea eax, [rdx - 0x2a]
cmp eax, 0x3d
ja 0x14021279a
movabs rcx, 0x2002000088008001
bt rcx, rax
jb 0x1402127ab
cmp edx, 0x71
je 0x1402127ab
cmp edx, 0x29a
jne 0x140213398
cmp qword [rsi + 0x10], 0
je 0x14021338d
cmp dword [rsi + 8], 0
je 0x1402127c6
cmp qword [rsi], 0
je 0x14021338d
cmp dword [rsi + 0x18], 0
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
je 0x140212860
xor r14d, r14d
mov dword [rbx + 0x40], 4
cmp dword [rbx + 0x28], r14d
je 0x14021284e
mov rdi, qword [rsi + 0x28]
mov rcx, rdi
call fcn.140218f20
mov ebp, dword [rsi + 0x18]
cmp dword [rdi + 0x28], ebp
cmovbe ebp, dword [rdi + 0x28]
test ebp, ebp
je 0x140212841
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, ebp
call fcn.1403cc5a0
mov eax, ebp
add qword [rsi + 0x10], rax
add qword [rdi + 0x20], rax
add dword [rsi + 0x1c], ebp
sub dword [rsi + 0x18], ebp
sub dword [rdi + 0x28], ebp
jne 0x140212841
mov rax, qword [rdi + 0x10]
mov qword [rdi + 0x20], rax
cmp dword [rsi + 0x18], r14d
je 0x14021337f
mov edx, dword [rbx + 8]
cmp edx, 0x29a
jne 0x140212895
cmp dword [rsi + 8], r14d
je 0x1402129f1
mov rax, qword [0x1404c7eb8]
mov qword [rsi + 0x20], rax
mov eax, 0xfffffffb
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
add rsp, 0x38
pop rsi
pop rbx
ret
cmp edx, 0x2a
jne 0x1402129f1
mov ecx, dword [rbx + 0x48]
shl ecx, 0xc
sub ecx, 0x7800
cmp dword [rbx + 0xb0], 2
mov r8d, ecx
jge 0x1402128e4
mov eax, dword [rbx + 0xac]
cmp eax, 2
jl 0x1402128e4
cmp eax, 6
jge 0x1402128ce
lea eax, [rdx + 0x16]
lea edx, [rax + 0x20]
jmp 0x1402128ec
jne 0x1402128da
mov eax, 0x80
lea edx, [rax + 0x20]
jmp 0x1402128ec
mov eax, 0xc0
lea edx, [rax + 0x20]
jmp 0x1402128ec
mov eax, r14d
mov edx, 0x20
or ecx, eax
cmp dword [rbx + 0x94], r14d
je 0x1402128fc
mov ecx, edx
or ecx, r8d
mov eax, 0x8421085
mul ecx
mov rax, qword [rbx + 0x10]
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 4
inc ecx
imul r8d, ecx, 0x1f
mov ecx, dword [rbx + 0x28]
mov edx, r8d
shr edx, 8
mov byte [rcx + rax], dl
inc dword [rbx + 0x28]
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], r8b
mov ecx, dword [rbx + 0x28]
inc ecx
mov dword [rbx + 0x28], ecx
cmp dword [rbx + 0x94], r14d
je 0x14021298a
movzx r8d, word [rsi + 0x4e]
mov rax, qword [rbx + 0x10]
mov edx, r8d
shr edx, 8
mov byte [rcx + rax], dl
inc dword [rbx + 0x28]
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], r8b
inc dword [rbx + 0x28]
movzx r8d, word [rsi + 0x4c]
mov edx, dword [rbx + 0x28]
mov ecx, r8d
mov rax, qword [rbx + 0x10]
shr ecx, 8
mov byte [rdx + rax], cl
inc dword [rbx + 0x28]
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], r8b
inc dword [rbx + 0x28]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1402166e0
mov dword [rsi + 0x4c], eax
mov dword [rbx + 8], 0x71
mov rdi, qword [rsi + 0x28]
mov rcx, rdi
call fcn.140218f20
mov ebp, dword [rsi + 0x18]
cmp dword [rdi + 0x28], ebp
cmovbe ebp, dword [rdi + 0x28]
test ebp, ebp
je 0x1402129e7
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, ebp
call fcn.1403cc5a0
mov eax, ebp
add qword [rsi + 0x10], rax
add qword [rdi + 0x20], rax
add dword [rsi + 0x1c], ebp
sub dword [rsi + 0x18], ebp
sub dword [rdi + 0x28], ebp
jne 0x1402129e7
mov rax, qword [rdi + 0x10]
mov qword [rdi + 0x20], rax
cmp dword [rbx + 0x28], r14d
jne 0x14021337f
mov eax, dword [rbx + 8]
cmp eax, 0x39
jne 0x140212b1a
mov dword [rsi + 0x4c], r14d
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], 0x1f
inc dword [rbx + 0x28]
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], 0x8b
inc dword [rbx + 0x28]
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], 8
inc dword [rbx + 0x28]
mov r8, qword [rbx + 0x30]
mov r9d, dword [rbx + 0x28]
test r8, r8
jne 0x140212ba1
mov rax, qword [rbx + 0x10]
mov byte [r9 + rax], r14b
inc dword [rbx + 0x28]
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], r14b
inc dword [rbx + 0x28]
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], r14b
inc dword [rbx + 0x28]
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], r14b
inc dword [rbx + 0x28]
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], r14b
mov ecx, dword [rbx + 0x28]
mov eax, dword [rbx + 0xac]
inc ecx
mov dword [rbx + 0x28], ecx
cmp eax, 9
jne 0x140212a93
mov dl, 2
jmp 0x140212aa7
cmp dword [rbx + 0xb0], 2
jge 0x140212aa5
cmp eax, 2
jl 0x140212aa5
xor dl, dl
jmp 0x140212aa7
mov dl, 4
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], dl
inc dword [rbx + 0x28]
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], 0xa
inc dword [rbx + 0x28]
mov dword [rbx + 8], 0x71
mov rdi, qword [rsi + 0x28]
mov rcx, rdi
call fcn.140218f20
mov ebp, dword [rsi + 0x18]
cmp dword [rdi + 0x28], ebp
cmovbe ebp, dword [rdi + 0x28]
test ebp, ebp
je 0x140212b0d
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, ebp
call fcn.1403cc5a0
mov eax, ebp
add qword [rsi + 0x10], rax
add qword [rdi + 0x20], rax
add dword [rsi + 0x1c], ebp
sub dword [rsi + 0x18], ebp
sub dword [rdi + 0x28], ebp
jne 0x140212b0d
mov rax, qword [rdi + 0x10]
mov qword [rdi + 0x20], rax
cmp dword [rbx + 0x28], r14d
jne 0x14021337f
mov eax, dword [rbx + 8]
cmp eax, 0x45
jne 0x140212ded
mov rcx, qword [rbx + 0x30]
cmp qword [rcx + 0x10], r14
je 0x140212de4
mov edx, dword [rbx + 0x38]
movzx r13d, word [rcx + 0x18]
mov edi, dword [rbx + 0x28]
sub r13d, edx
mov r12d, dword [rbx + 0x18]
lea eax, [rdi + r13]
cmp eax, r12d
jbe 0x140212d87
mov ecx, edi
mov rax, qword [rbx + 0x30]
sub r12d, ecx
mov edx, dword [rbx + 0x38]
add rcx, qword [rbx + 0x10]
mov r8d, r12d
add rdx, qword [rax + 0x10]
call fcn.1403cc5a0
mov rax, qword [rbx + 0x30]
mov ecx, dword [rbx + 0x18]
mov dword [rbx + 0x28], ecx
cmp dword [rax + 0x3c], r14d
je 0x140212d0d
cmp ecx, edi
jbe 0x140212d0d
sub ecx, edi
mov edx, edi
mov r8d, ecx
add rdx, qword [rbx + 0x10]
jne 0x140212d02
mov eax, r14d
jmp 0x140212d0a
mov rax, qword [r8 + 0x30]
neg rax
mov eax, dword [r8 + 0x3c]
sbb dl, dl
and dl, 0x10
neg eax
mov rax, qword [r8 + 0x20]
sbb cl, cl
and cl, 2
add dl, cl
neg rax
mov rax, qword [r8 + 0x10]
sbb cl, cl
and cl, 8
add dl, cl
neg rax
sbb cl, cl
and cl, 4
add dl, cl
cmp dword [r8], r14d
setne al
add dl, al
mov rax, qword [rbx + 0x10]
mov byte [r9 + rax], dl
inc dword [rbx + 0x28]
mov edx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rax + 4]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov edx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rax + 5]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov edx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rax + 6]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
mov edx, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rax + 7]
mov byte [rdx + rcx], al
mov ecx, dword [rbx + 0x28]
mov eax, dword [rbx + 0xac]
inc ecx
mov dword [rbx + 0x28], ecx
cmp eax, 9
jne 0x140212c51
mov dl, 2
jmp 0x140212c65
cmp dword [rbx + 0xb0], 2
jge 0x140212c63
cmp eax, 2
jl 0x140212c63
xor dl, dl
jmp 0x140212c65
mov dl, 4
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], dl
inc dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
mov edx, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rax + 0xc]
mov byte [rdx + rcx], al
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
inc ecx
mov dword [rbx + 0x28], ecx
cmp qword [rax + 0x10], r14
je 0x140212cbf
movzx eax, byte [rax + 0x18]
mov edx, ecx
mov rcx, qword [rbx + 0x10]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
mov edx, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rax + 0x19]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x3c], r14d
je 0x140212cf2
mov rdx, qword [rbx + 0x10]
mov r8d, ecx
test rdx, rdx
jne 0x140212ce7
mov eax, r14d
mov dword [rsi + 0x4c], eax
mov dword [rbx + 0x38], r14d
mov dword [rbx + 8], 0x45
jmp 0x140212b23
mov ecx, dword [rsi + 0x4c]
call fcn.140210320
mov dword [rsi + 0x4c], eax
mov dword [rbx + 0x38], r14d
mov dword [rbx + 8], 0x45
jmp 0x140212b23
mov ecx, dword [rsi + 0x4c]
call fcn.140210320
mov dword [rsi + 0x4c], eax
add dword [rbx + 0x38], r12d
mov rbp, qword [rsi + 0x28]
mov rcx, rbp
call fcn.140218f20
mov r15d, dword [rsi + 0x18]
cmp dword [rbp + 0x28], r15d
cmovbe r15d, dword [rbp + 0x28]
test r15d, r15d
je 0x140212d60
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, r15d
mov edi, r15d
call fcn.1403cc5a0
add qword [rsi + 0x10], rdi
add qword [rbp + 0x20], rdi
add dword [rsi + 0x1c], r15d
sub dword [rsi + 0x18], r15d
sub dword [rbp + 0x28], r15d
jne 0x140212d60
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x20], rax
cmp dword [rbx + 0x28], r14d
jne 0x14021337f
sub r13d, r12d
mov ecx, r14d
mov r12d, dword [rbx + 0x18]
mov edi, r14d
cmp r13d, r12d
ja 0x140212b52
mov rcx, qword [rbx + 0x30]
mov edx, dword [rbx + 0x38]
add rdx, qword [rcx + 0x10]
mov rcx, qword [rbx + 0x10]
mov r15d, edi
add rcx, r15
mov r8d, r13d
call fcn.1403cc5a0
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
add ecx, r13d
mov dword [rbx + 0x28], ecx
cmp dword [rax + 0x3c], r14d
je 0x140212de0
cmp ecx, edi
jbe 0x140212de0
mov rdx, qword [rbx + 0x10]
sub ecx, edi
mov r8d, ecx
add rdx, r15
jne 0x140212dd5
mov eax, r14d
mov dword [rsi + 0x4c], eax
mov dword [rbx + 0x38], r14d
mov dword [rbx + 8], 0x49
jmp 0x140212df6
mov ecx, dword [rsi + 0x4c]
call fcn.140210320
mov dword [rsi + 0x4c], eax
mov dword [rbx + 0x38], r14d
mov dword [rbx + 8], 0x49
jmp 0x140212df6
cmp eax, 0x49
jne 0x140212f1c
mov rax, qword [rbx + 0x30]
cmp qword [rax + 0x20], r14
je 0x140212f13
mov r9d, dword [rbx + 0x28]
mov r8d, r9d
nop dword [rax + rax]
cmp r8d, dword [rbx + 0x18]
jne 0x140212ea4
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x3c], r14d
je 0x140212e45
cmp r8d, r9d
jbe 0x140212e45
sub r8d, r9d
mov edx, r9d
add rdx, qword [rbx + 0x10]
jne 0x140212e3a
mov eax, r14d
jmp 0x140212e42
mov ecx, dword [rsi + 0x4c]
call fcn.140210320
mov dword [rsi + 0x4c], eax
mov rbp, qword [rsi + 0x28]
mov rcx, rbp
call fcn.140218f20
mov r15d, dword [rsi + 0x18]
cmp dword [rbp + 0x28], r15d
cmovbe r15d, dword [rbp + 0x28]
test r15d, r15d
je 0x140212e94
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, r15d
mov edi, r15d
call fcn.1403cc5a0
add qword [rsi + 0x10], rdi
add qword [rbp + 0x20], rdi
add dword [rsi + 0x1c], r15d
sub dword [rsi + 0x18], r15d
sub dword [rbp + 0x28], r15d
jne 0x140212e94
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x20], rax
cmp dword [rbx + 0x28], r14d
jne 0x14021337f
mov r9d, r14d
mov r8d, r14d
mov ecx, dword [rbx + 0x38]
mov rax, qword [rbx + 0x30]
mov rax, qword [rax + 0x20]
movzx edx, byte [rcx + rax]
lea eax, [rcx + 1]
mov ecx, r8d
mov dword [rbx + 0x38], eax
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], dl
mov r8d, dword [rbx + 0x28]
inc r8d
mov dword [rbx + 0x28], r8d
test dl, dl
jne 0x140212e10
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x3c], r14d
je 0x140212f0f
cmp r8d, r9d
jbe 0x140212f0f
sub r8d, r9d
mov edx, r9d
add rdx, qword [rbx + 0x10]
jne 0x140212f04
mov eax, r14d
mov dword [rsi + 0x4c], eax
mov dword [rbx + 0x38], r14d
mov dword [rbx + 8], 0x5b
jmp 0x140212f25
mov ecx, dword [rsi + 0x4c]
call fcn.140210320
mov dword [rsi + 0x4c], eax
mov dword [rbx + 0x38], r14d
mov dword [rbx + 8], 0x5b
jmp 0x140212f25
cmp eax, 0x5b
jne 0x140213044
mov rax, qword [rbx + 0x30]
cmp qword [rax + 0x30], r14
je 0x14021303b
mov r9d, dword [rbx + 0x28]
mov r8d, r9d
nop word [rax + rax]
cmp r8d, dword [rbx + 0x18]
jne 0x140212fd4
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x3c], r14d
je 0x140212f75
cmp r8d, r9d
jbe 0x140212f75
sub r8d, r9d
mov edx, r9d
add rdx, qword [rbx + 0x10]
jne 0x140212f6a
mov eax, r14d
jmp 0x140212f72
mov ecx, dword [rsi + 0x4c]
call fcn.140210320
mov dword [rsi + 0x4c], eax
mov rbp, qword [rsi + 0x28]
mov rcx, rbp
call fcn.140218f20
mov r15d, dword [rsi + 0x18]
cmp dword [rbp + 0x28], r15d
cmovbe r15d, dword [rbp + 0x28]
test r15d, r15d
je 0x140212fc4
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, r15d
mov edi, r15d
call fcn.1403cc5a0
add qword [rsi + 0x10], rdi
add qword [rbp + 0x20], rdi
add dword [rsi + 0x1c], r15d
sub dword [rsi + 0x18], r15d
sub dword [rbp + 0x28], r15d
jne 0x140212fc4
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x20], rax
cmp dword [rbx + 0x28], r14d
jne 0x14021337f
mov r9d, r14d
mov r8d, r14d
mov ecx, dword [rbx + 0x38]
mov rax, qword [rbx + 0x30]
mov rax, qword [rax + 0x30]
movzx edx, byte [rcx + rax]
lea eax, [rcx + 1]
mov ecx, r8d
mov dword [rbx + 0x38], eax
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], dl
mov r8d, dword [rbx + 0x28]
inc r8d
mov dword [rbx + 0x28], r8d
test dl, dl
jne 0x140212f40
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x3c], r14d
je 0x14021303b
cmp r8d, r9d
jbe 0x14021303b
sub r8d, r9d
mov edx, r9d
add rdx, qword [rbx + 0x10]
jne 0x140213030
mov eax, r14d
mov dword [rsi + 0x4c], eax
mov dword [rbx + 8], 0x67
jmp 0x14021304d
mov ecx, dword [rsi + 0x4c]
call fcn.140210320
mov dword [rsi + 0x4c], eax
mov dword [rbx + 8], 0x67
jmp 0x14021304d
cmp eax, 0x67
jne 0x140213135
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x3c], r14d
je 0x1402130dd
mov ecx, dword [rbx + 0x28]
lea eax, [rcx + 2]
cmp eax, dword [rbx + 0x18]
jbe 0x1402130b8
mov rdi, qword [rsi + 0x28]
mov rcx, rdi
call fcn.140218f20
mov ebp, dword [rsi + 0x18]
cmp dword [rdi + 0x28], ebp
cmovbe ebp, dword [rdi + 0x28]
test ebp, ebp
je 0x1402130ad
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, ebp
call fcn.1403cc5a0
mov eax, ebp
add qword [rsi + 0x10], rax
add qword [rdi + 0x20], rax
add dword [rsi + 0x1c], ebp
sub dword [rsi + 0x18], ebp
sub dword [rdi + 0x28], ebp
jne 0x1402130ad
mov rax, qword [rdi + 0x10]
mov qword [rdi + 0x20], rax
mov ecx, dword [rbx + 0x28]
test ecx, ecx
jne 0x14021337f
movzx eax, byte [rsi + 0x4c]
mov edx, ecx
mov rcx, qword [rbx + 0x10]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov edx, dword [rbx + 0x28]
movzx eax, byte [rsi + 0x4d]
mov rcx, qword [rbx + 0x10]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov dword [rsi + 0x4c], r14d
mov dword [rbx + 8], 0x71
mov rdi, qword [rsi + 0x28]
mov rcx, rdi
call fcn.140218f20
mov ebp, dword [rsi + 0x18]
cmp dword [rdi + 0x28], ebp
cmovbe ebp, dword [rdi + 0x28]
test ebp, ebp
je 0x14021312b
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, ebp
call fcn.1403cc5a0
mov eax, ebp
add qword [rsi + 0x10], rax
add qword [rdi + 0x20], rax
add dword [rsi + 0x1c], ebp
sub dword [rsi + 0x18], ebp
sub dword [rdi + 0x28], ebp
jne 0x14021312b
mov rax, qword [rdi + 0x10]
mov qword [rdi + 0x20], rax
cmp dword [rbx + 0x28], r14d
jne 0x14021337f
cmp dword [rsi + 8], r14d
jne 0x140213151
cmp dword [rbx + 0x9c], r14d
jne 0x140213151
cmp dword [rbx + 8], 0x29a
je 0x140213229
movsxd rcx, dword [rbx + 0xac]
test ecx, ecx
jne 0x140213169
lea edx, [rcx + 4]
mov rcx, rbx
call fcn.1402139b0
jmp 0x1402131a6
mov eax, dword [rbx + 0xb0]
cmp eax, 2
jne 0x14021317e
mov rcx, rbx
call fcn.140214d30
jmp 0x1402131a6
cmp eax, 3
jne 0x14021318d
mov rcx, rbx
call fcn.1402149e0
jmp 0x1402131a6
mov rax, rcx
lea r8, fcn.1402139b0
add rax, rax
mov edx, 4
mov rcx, rbx
call qword [r8 + rax*8]
mov ecx, eax
lea eax, [rax - 2]
cmp eax, 1
ja 0x1402131b7
mov dword [rbx + 8], 0x29a
test ecx, 0xfffffffd
je 0x140213379
cmp ecx, 1
jne 0x140213229
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1402185c0
mov rdi, qword [rsi + 0x28]
mov rcx, rdi
call fcn.140218f20
mov ebp, dword [rsi + 0x18]
cmp dword [rdi + 0x28], ebp
cmovbe ebp, dword [rdi + 0x28]
test ebp, ebp
je 0x14021321f
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, ebp
call fcn.1403cc5a0
mov eax, ebp
add qword [rsi + 0x10], rax
add qword [rdi + 0x20], rax
add dword [rsi + 0x1c], ebp
sub dword [rsi + 0x18], ebp
sub dword [rdi + 0x28], ebp
jne 0x14021321f
mov rax, qword [rdi + 0x10]
mov qword [rdi + 0x20], rax
cmp dword [rsi + 0x18], r14d
je 0x14021337f
mov eax, dword [rbx + 0x2c]
test eax, eax
jg 0x14021323a
mov eax, 1
jmp 0x140212870
cmp eax, 2
jne 0x1402132ca
mov edx, dword [rbx + 0x28]
movzx eax, byte [rsi + 0x4c]
mov rcx, qword [rbx + 0x10]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov edx, dword [rbx + 0x28]
movzx eax, byte [rsi + 0x4d]
mov rcx, qword [rbx + 0x10]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov edx, dword [rbx + 0x28]
movzx eax, byte [rsi + 0x4e]
mov rcx, qword [rbx + 0x10]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov edx, dword [rbx + 0x28]
movzx eax, byte [rsi + 0x4f]
mov rcx, qword [rbx + 0x10]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov edx, dword [rbx + 0x28]
movzx eax, byte [rsi + 0xc]
mov rcx, qword [rbx + 0x10]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov edx, dword [rbx + 0x28]
movzx eax, byte [rsi + 0xd]
mov rcx, qword [rbx + 0x10]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov edx, dword [rbx + 0x28]
movzx eax, byte [rsi + 0xe]
mov rcx, qword [rbx + 0x10]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov edx, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rsi + 0xf]
mov byte [rdx + rcx], al
jmp 0x140213313
movzx r8d, word [rsi + 0x4e]
mov ecx, dword [rbx + 0x28]
mov edx, r8d
mov rax, qword [rbx + 0x10]
shr edx, 8
mov byte [rcx + rax], dl
inc dword [rbx + 0x28]
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], r8b
inc dword [rbx + 0x28]
movzx r8d, word [rsi + 0x4c]
mov edx, dword [rbx + 0x28]
mov ecx, r8d
mov rax, qword [rbx + 0x10]
shr ecx, 8
mov byte [rdx + rax], cl
inc dword [rbx + 0x28]
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], r8b
inc dword [rbx + 0x28]
mov rdi, qword [rsi + 0x28]
mov rcx, rdi
call fcn.140218f20
mov ebp, dword [rsi + 0x18]
cmp dword [rdi + 0x28], ebp
cmovbe ebp, dword [rdi + 0x28]
test ebp, ebp
je 0x14021335d
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, ebp
call fcn.1403cc5a0
mov eax, ebp
add qword [rsi + 0x10], rax
add qword [rdi + 0x20], rax
add dword [rsi + 0x1c], ebp
sub dword [rsi + 0x18], ebp
sub dword [rdi + 0x28], ebp
jne 0x14021335d
mov rax, qword [rdi + 0x10]
mov qword [rdi + 0x20], rax
mov eax, dword [rbx + 0x2c]
test eax, eax
jle 0x140213369
neg eax
mov dword [rbx + 0x2c], eax
cmp dword [rbx + 0x28], r14d
sete r14b
mov eax, r14d
jmp 0x140212870
cmp dword [rsi + 0x18], r14d
jne 0x140213386
mov dword [rbx + 0x40], 0xffffffff
xor eax, eax
jmp 0x140212870
mov rax, qword [0x1404c7ea0]
mov qword [rsi + 0x20], rax
mov eax, 0xfffffffe
add rsp, 0x38
pop rsi
pop rbx
ret