Function at 0x4ba380
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
mov esi, dword [rsp + 0x128]
mov r12d, dword [rsp + 0x130]
mov qword [rsp + 0x100], rcx
mov ecx, 0x4df78
mov dword [rsp + 0x108], edx
mov ebp, r8d
mov dword [rsp + 0x118], r9d
call sub.msvcrt.dll_malloc
mov rcx, rax
mov r15, rax
mov rax, qword [rsp + 0x120]
mov r13d, dword [rsp + 0x108]
imul r13d, dword [rsp + 0x118]
test rcx, rcx
mov qword [rax], 0
je 0x4bace4
lea edi, [r13 + 1]
mov eax, 0x40
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x70], 0
imul edi, ebp
mov dword [rsp + 0x78], 1
cmp edi, 0x40
cmovl edi, eax
add edi, 0x39
movsxd rdi, edi
mov rcx, rdi
mov qword [rsp + 0x68], rdi
call sub.msvcrt.dll_malloc
test rax, rax
mov qword [rsp + 0x70], rax
je 0x4bb3d9
xor edx, edx
mov rbx, r15
mov dword [rsp + 0x44], 0x29
lea r15, [rdx + 1]
mov eax, 0x29
mov r14d, pe_nt_image_headers64
cmp r15, rdi
jbe 0x4ba4e3
nop dword [rax]
mov r11d, dword [rsp + 0x78]
test r11d, r11d
je 0x4ba4c5
nop word [rax + rax]
add rdi, rdi
cmp rdi, 0x80
cmovb rdi, r14
cmp r15, rdi
ja 0x4ba480
mov rcx, qword [rsp + 0x70]
mov rdx, rdi
call sub.msvcrt.dll_realloc
test rax, rax
je 0x4ba4c1
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], rdi
movzx ecx, byte [rsp + 0x44]
mov byte [rax + rdx], cl
mov qword [rsp + 0x60], r15
mov eax, dword [rsp + 0x44]
sub eax, 1
test eax, eax
mov dword [rsp + 0x44], eax
je 0x4ba4f0
mov rdx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
lea r15, [rdx + 1]
cmp r15, rdi
ja 0x4ba470
mov rax, qword [rsp + 0x70]
jmp 0x4ba4b4
cmp esi, 0xa
mov eax, 0xa
mov r8d, 0xaaaaaaab
cmova rsi, rax
lea rax, [0x004eab60]
mov r15, rbx
mov ecx, dword [rax + rsi*4]
lea rax, [0x004b9220]
mov qword [rbx], rax
lea rax, [rsp + 0x60]
or ch, 0x10
mov edx, ecx
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], ecx
and edx, 0xfff
add edx, 2
mov eax, edx
mul r8d
mov eax, ecx
shr eax, 0xe
and eax, 1
shr edx, 1
mov dword [rbx + 0x1c], eax
add edx, 1
mov dword [rbx + 0x14], edx
mov edx, ecx
sar edx, 2
and edx, 0x3ff
add edx, 2
mov eax, edx
mul r8d
shr edx, 1
add edx, 1
and ch, 0x80
mov dword [rbx + 0x18], edx
jne 0x4ba57f
lea rcx, [rbx + 0x292aa]
mov r8d, 0x10000
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [r15 + 0x92ab]
lea rsi, [r15 + 0x392aa]
lea rdi, [r15 + 0x81d2]
mov dword [r15 + 0x80], 0
mov dword [r15 + 0x84], 0
mov qword [rsp + 0x20], rax
lea rax, [r15 + 0x92aa]
and rdi, 0xfffffffffffffff8
movq xmm0, qword [rsp + 0x20]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x20], rax
mov eax, r15d
mov dword [r15 + 0xa8], 0
movhps xmm0, qword [rsp + 0x20]
mov qword [rsp + 0x20], rsi
sub eax, edi
lea ecx, [rax + 0x840a]
xor eax, eax
mov qword [r15 + 0xb0], 0
movups xmmword [r15 + 0x30], xmm0
shr ecx, 3
test ebp, ebp
movq xmm0, qword [rsp + 0x20]
mov qword [r15 + 0x81ca], 0
punpcklqdq xmm0, xmm0
mov qword [r15 + 0x8402], 0
movups xmmword [r15 + 0x40], xmm0
movdqa xmm0, xmmword [0x004c3b20]
movups xmmword [r15 + 0x50], xmm0
pxor xmm0, xmm0
movups xmmword [r15 + 0x60], xmm0
movups xmmword [r15 + 0x70], xmm0
movdqa xmm0, xmmword [0x004c3b30]
movups xmmword [r15 + 0x20], xmm0
pxor xmm0, xmm0
movups xmmword [r15 + 0x88], xmm0
movups xmmword [r15 + 0x98], xmm0
movups xmmword [r15 + 0xb8], xmm0
rep stosq qword [rdi], rax
mov qword [r15 + 0x840a], 0
mov qword [r15 + 0x8412], 0
mov rcx, r15
mov qword [r15 + 0x841a], 0
mov qword [r15 + 0x8422], 0
mov qword [r15 + 0x842a], 0
mov qword [r15 + 0x8432], 0
mov qword [r15 + 0x843a], 0
mov qword [r15 + 0x8442], 0
jle 0x4bb370
lea rsi, [rsp + 0x48]
lea ebx, [rbp - 1]
lea rax, [0x004b9220]
lea r14, [rsp + 0x44]
movsxd r15, r13d
xor edi, edi
mov qword [rsp + 0x20], rsi
lea rsi, [rsp + 0x50]
mov dword [rsp + 0x34], ebx
mov rbx, rcx
mov qword [rsp + 0x28], rsi
nop dword [rax]
test rax, rax
mov qword [rsp + 0x48], 1
je 0x4ba860
mov rcx, qword [rsp + 0x20]
mov qword [rbx + 0x88], r14
mov qword [rbx + 0x90], 0
mov qword [rbx + 0xa0], 0
mov qword [rbx + 0xb0], r14
mov qword [rbx + 0xb8], 1
mov qword [rbx + 0x98], rcx
mov qword [rbx + 0xc0], 0
mov dword [rbx + 0xa8], 0
mov r10d, dword [rbx + 0x84]
test r10d, r10d
jne 0x4ba8e0
mov r9d, dword [rbx + 0x80]
test r9d, r9d
jne 0x4ba8e0
mov r8d, dword [rbx + 0x74]
test r8d, r8d
jne 0x4bad00
mov ecx, dword [rbx + 0x78]
test ecx, ecx
jne 0x4bad33
mov eax, dword [rbx + 0x10]
mov rcx, rbx
and eax, 0xb4fff
cmp eax, 0x4001
je 0x4bad53
call fcn.004b67f0
test eax, eax
je 0x4ba852
test dword [rbx + 0x10], 0x3000
jne 0x4bad6d
mov rdx, qword [rbx + 0x98]
test rdx, rdx
je 0x4ba7e7
mov rax, qword [rbx + 0xb0]
sub rax, qword [rbx + 0x88]
mov qword [rdx], rax
mov rax, qword [rbx + 0xa0]
test rax, rax
je 0x4ba83f
mov rcx, qword [rbx + 0xc0]
mov rsi, qword [rax]
mov eax, dword [rbx + 0x74]
mov edx, dword [rbx + 0x70]
sub rsi, rcx
cmp rsi, rax
cmova rsi, rax
add rcx, qword [rbx + 0x90]
add rdx, qword [rsp + 0x38]
mov r8, rsi
call sub.msvcrt.dll_memcpy
add dword [rbx + 0x70], esi
sub dword [rbx + 0x74], esi
add rsi, qword [rbx + 0xc0]
mov rax, qword [rbx + 0xa0]
mov qword [rbx + 0xc0], rsi
mov qword [rax], rsi
mov edx, dword [rbx + 0x78]
xor eax, eax
test edx, edx
jne 0x4bada2
mov dword [rbx + 0x84], eax
mov rax, qword [rbx]
jmp 0x4ba8f3
lea rdx, str.miniz.c
lea rcx, str.d__m_pPut_buf_func
mov r8d, 0xab1
call fcn.004a52a0
mov rax, qword [rbx]
mov rsi, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov qword [rbx + 0x88], r14
mov qword [rbx + 0x90], 0
mov qword [rbx + 0xa0], 0
test rax, rax
mov qword [rbx + 0x98], rsi
mov qword [rbx + 0xb0], r14
mov qword [rbx + 0xb8], rdx
mov qword [rbx + 0xc0], 0
mov dword [rbx + 0xa8], 0
jne 0x4ba762
nop word cs:[rax + rax]
mov qword [rsp + 0x48], 0
mov dword [rbx + 0x84], 0xfffffffe
mov edx, dword [rsp + 0x34]
mov esi, edi
mov qword [rsp + 0x50], r15
sub edx, edi
test r12d, r12d
cmovne esi, edx
imul esi, r13d
movsxd rsi, esi
add rsi, qword [rsp + 0x100]
test rax, rax
je 0x4bac20
mov rcx, qword [rsp + 0x28]
mov qword [rbx + 0x88], rsi
mov rdx, r15
mov qword [rbx + 0x90], 0
mov qword [rbx + 0xa0], 0
mov qword [rbx + 0xb0], rsi
mov qword [rbx + 0xb8], r15
mov qword [rbx + 0x98], rcx
mov qword [rbx + 0xc0], 0
mov dword [rbx + 0xa8], 0
mov r11d, dword [rbx + 0x84]
test r11d, r11d
jne 0x4baca0
mov r10d, dword [rbx + 0x80]
test r10d, r10d
jne 0x4baca0
test rdx, rdx
je 0x4ba99b
test rsi, rsi
je 0x4baca0
mov r9d, dword [rbx + 0x74]
test r9d, r9d
jne 0x4bad20
mov r8d, dword [rbx + 0x78]
test r8d, r8d
jne 0x4bad43
mov eax, dword [rbx + 0x10]
mov rcx, rbx
and eax, 0xb4fff
cmp eax, 0x4001
je 0x4bad90
call fcn.004b67f0
test eax, eax
je 0x4baa72
test dword [rbx + 0x10], 0x3000
je 0x4ba9ea
test rsi, rsi
jne 0x4bb27c
mov rdx, qword [rbx + 0x98]
test rdx, rdx
je 0x4baa07
mov rax, qword [rbx + 0xb0]
sub rax, qword [rbx + 0x88]
mov qword [rdx], rax
mov rax, qword [rbx + 0xa0]
test rax, rax
je 0x4baa5f
mov rcx, qword [rbx + 0xc0]
mov rsi, qword [rax]
mov eax, dword [rbx + 0x74]
mov edx, dword [rbx + 0x70]
sub rsi, rcx
cmp rsi, rax
cmova rsi, rax
add rcx, qword [rbx + 0x90]
add rdx, qword [rsp + 0x38]
mov r8, rsi
call sub.msvcrt.dll_memcpy
add dword [rbx + 0x70], esi
sub dword [rbx + 0x74], esi
add rsi, qword [rbx + 0xc0]
mov rax, qword [rbx + 0xa0]
mov qword [rbx + 0xc0], rsi
mov qword [rax], rsi
mov ecx, dword [rbx + 0x78]
xor eax, eax
test ecx, ecx
jne 0x4badb1
mov dword [rbx + 0x84], eax
add edi, 1
mov rax, qword [rbx]
cmp ebp, edi
jne 0x4ba700
test rax, rax
mov r15, rbx
mov qword [rsp + 0x58], 0
je 0x4bb2d0
lea rax, [rsp + 0x58]
mov qword [rbx + 0x88], 0
mov qword [rbx + 0x90], 0
mov qword [rbx + 0xa0], 0
mov qword [rbx + 0xb0], 0
mov qword [rbx + 0x98], rax
mov eax, dword [rbx + 0x84]
mov qword [rbx + 0xb8], 0
mov qword [rbx + 0xc0], 0
mov dword [rbx + 0xa8], 4
test eax, eax
jne 0x4bacd2
mov r12d, dword [r15 + 0x74]
or dword [r15 + 0x80], 1
test r12d, r12d
jne 0x4bacd2
mov edi, dword [r15 + 0x78]
test edi, edi
jne 0x4badc0
mov eax, dword [r15 + 0x10]
mov rdi, r15
mov rcx, r15
and eax, 0xb4fff
cmp eax, 0x4001
je 0x4bb299
call fcn.004b67f0
test eax, eax
je 0x4bb2a6
mov esi, dword [r15 + 0x28]
test esi, esi
jne 0x4bab7a
cmp qword [r15 + 0xb8], 0
jne 0x4bab7a
mov ebx, dword [r15 + 0x74]
test ebx, ebx
jne 0x4bab7a
mov edx, 4
mov rcx, r15
call fcn.004b7b90
test eax, eax
js 0x4bb3e8
mov dword [r15 + 0x78], 1
mov rax, qword [r15 + 0x98]
test rax, rax
je 0x4bab97
mov rdx, qword [r15 + 0xb0]
sub rdx, qword [r15 + 0x88]
mov qword [rax], rdx
mov rdx, qword [r15 + 0xa0]
test rdx, rdx
je 0x4babf6
mov rax, qword [r15 + 0xc0]
mov rsi, qword [rdx]
mov edx, dword [r15 + 0x74]
sub rsi, rax
cmp rsi, rdx
cmova rsi, rdx
add rax, qword [r15 + 0x90]
mov edx, dword [r15 + 0x70]
add rdx, qword [rsp + 0x38]
mov r8, rsi
mov rcx, rax
call sub.msvcrt.dll_memcpy
add dword [r15 + 0x70], esi
sub dword [r15 + 0x74], esi
add rsi, qword [r15 + 0xc0]
mov rax, qword [r15 + 0xa0]
mov qword [r15 + 0xc0], rsi
mov qword [rax], rsi
mov r11d, dword [r15 + 0x78]
test r11d, r11d
je 0x4bacd2
mov r10d, dword [r15 + 0x74]
test r10d, r10d
jne 0x4bacd2
mov dword [r15 + 0x84], 1
jmp 0x4badd4
lea rdx, str.miniz.c
lea rcx, str.d__m_pPut_buf_func
mov r8d, 0xab1
call fcn.004a52a0
mov rax, qword [rbx]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
mov qword [rbx + 0x88], rsi
mov qword [rbx + 0x90], 0
mov qword [rbx + 0xa0], 0
test rax, rax
mov qword [rbx + 0xb0], rsi
mov qword [rbx + 0xb8], rdx
mov qword [rbx + 0x98], rcx
mov qword [rbx + 0xc0], 0
mov dword [rbx + 0xa8], 0
jne 0x4ba96d
nop word cs:[rax + rax]
mov qword [rsp + 0x50], 0
mov dword [rbx + 0x84], 0xfffffffe
add edi, 1
cmp ebp, edi
jne 0x4ba700
jmp 0x4baa80
mov rax, qword [rsp + 0x120]
mov qword [rax], 0
mov rcx, r15
call fcn.004a6eb8
mov rcx, qword [rsp + 0x70]
call fcn.004a6eb8
xor eax, eax
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x48], 0
xor edx, edx
mov dword [rbx + 0x84], edx
jmp 0x4ba8f3
mov qword [rsp + 0x50], 0
xor edx, edx
mov dword [rbx + 0x84], edx
jmp 0x4bacb3
mov qword [rsp + 0x48], 0
mov edx, 1
jmp 0x4bad0b
mov qword [rsp + 0x50], 0
mov edx, 1
jmp 0x4bad2b
call fcn.004b45c0
test eax, eax
je 0x4ba852
test dword [rbx + 0x10], 0x3000
je 0x4ba7ca
mov r8, qword [rbx + 0xb0]
mov ecx, dword [rbx + 0x20]
mov rdx, r14
sub r8, r14
call fcn.004ab040
mov dword [rbx + 0x20], eax
jmp 0x4ba7ca
call fcn.004b45c0
test eax, eax
jne 0x4ba9d8
jmp 0x4baa72
mov esi, dword [rbx + 0x74]
xor eax, eax
test esi, esi
sete al
jmp 0x4ba84c
mov edx, dword [rbx + 0x74]
xor eax, eax
test edx, edx
sete al
jmp 0x4baa6c
mov qword [rsp + 0x58], 0
mov dword [r15 + 0x84], 1
movsxd rdx, dword [rsp + 0x118]
mov rax, qword [rsp + 0x60]
lea r9, [0x004ea390]
mov rsi, qword [rsp + 0x120]
mov r8d, dword [rsp + 0x108]
xor ecx, ecx
movdqa xmm0, xmmword [0x004c3bc0]
sub rax, 0x29
mov word [rsp + 0x94], cx
mov ecx, ebp
movzx edx, byte [r9 + rdx]
xor r9d, r9d
mov qword [rsi], rax
mov word [rsp + 0x9a], r9w
mov r9, rax
movzx esi, byte [rsp + 0x108]
shr r9, 0x18
mov byte [rsp + 0xa4], al
sar r8d, 8
mov byte [rsp + 0xa1], r9b
mov r9, rax
sar ecx, 8
shr r9, 0x10
mov byte [rsp + 0x92], r8b
mov byte [rsp + 0x96], cl
mov byte [rsp + 0xa2], r9b
mov r9, rax
mov byte [rsp + 0x93], sil
shr r9, 8
lea rsi, [0x004ea440]
mov byte [rsp + 0x97], bpl
movaps xmmword [rsp + 0x80], xmm0
mov byte [rsp + 0xa3], r9b
movzx r9d, byte [rsp + 0x8d]
mov byte [rsp + 0x99], dl
mov byte [rsp + 0x90], 0
mov rax, r9
shr r9b, 4
mov byte [rsp + 0x91], 0
and eax, 0xf
mov byte [rsp + 0x98], 8
mov byte [rsp + 0x9c], 0
xor rax, 6
mov dword [rsp + 0xa5], 0x54414449
mov eax, dword [rsi + rax*4]
xor eax, 0x22fde94
xor r9d, eax
shr eax, 4
and r9d, 0xf
xor eax, dword [rsi + r9*4]
movzx r9d, byte [rsp + 0x8e]
mov r10d, eax
shr eax, 4
xor r10d, r9d
shr r9b, 4
and r10d, 0xf
xor eax, dword [rsi + r10*4]
xor r9d, eax
shr eax, 4
and r9d, 0xf
xor eax, dword [rsi + r9*4]
movzx r9d, byte [rsp + 0x8f]
mov r10d, eax
shr eax, 4
xor r10d, r9d
shr r9b, 4
and r10d, 0xf
xor eax, dword [rsi + r10*4]
xor r9d, eax
and r9d, 0xf
shr eax, 4
xor eax, dword [rsi + r9*4]
mov r9d, eax
shr eax, 4
and r9d, 0xf
xor eax, dword [rsi + r9*4]
mov r9d, eax
shr eax, 4
and r9d, 0xf
xor eax, dword [rsi + r9*4]
mov r9d, eax
shr eax, 4
and r9d, 0xf
xor eax, dword [rsi + r9*4]
mov r9d, eax
shr eax, 4
and r9d, 0xf
xor eax, dword [rsi + r9*4]
mov r9d, r8d
shr r8b, 4
xor r9d, eax
shr eax, 4
and r9d, 0xf
xor eax, dword [rsi + r9*4]
xor r8d, eax
shr eax, 4
and r8d, 0xf
xor eax, dword [rsi + r8*4]
mov r8d, dword [rsp + 0x108]
xor r8d, eax
shr eax, 4
and r8d, 0xf
xor eax, dword [rsi + r8*4]
movzx r8d, byte [rsp + 0x108]
shr r8b, 4
xor r8d, eax
shr eax, 4
and r8d, 0xf
xor eax, dword [rsi + r8*4]
mov r8d, eax
and r8d, 0xf
shr eax, 4
xor eax, dword [rsi + r8*4]
mov r8d, eax
shr eax, 4
and r8d, 0xf
xor eax, dword [rsi + r8*4]
mov r8d, eax
shr eax, 4
and r8d, 0xf
xor eax, dword [rsi + r8*4]
mov r8d, eax
shr eax, 4
and r8d, 0xf
xor eax, dword [rsi + r8*4]
mov r8d, ecx
shr cl, 4
xor r8d, eax
shr eax, 4
and r8d, 0xf
xor eax, dword [rsi + r8*4]
xor ecx, eax
shr eax, 4
and ecx, 0xf
xor eax, dword [rsi + rcx*4]
mov ecx, ebp
shr bpl, 4
xor ecx, eax
shr eax, 4
and ecx, 0xf
xor eax, dword [rsi + rcx*4]
xor ebp, eax
shr eax, 4
and ebp, 0xf
xor eax, dword [rsi + rbp*4]
mov ecx, eax
xor ecx, 8
and ecx, 0xf
shr eax, 4
xor eax, dword [rsi + rcx*4]
mov ecx, eax
shr eax, 4
and ecx, 0xf
xor eax, dword [rsi + rcx*4]
mov ecx, eax
shr eax, 4
xor ecx, edx
shr dl, 4
and ecx, 0xf
xor eax, dword [rsi + rcx*4]
xor edx, eax
shr eax, 4
and edx, 0xf
xor eax, dword [rsi + rdx*4]
mov edx, eax
shr eax, 4
and edx, 0xf
xor eax, dword [rsi + rdx*4]
mov edx, eax
shr eax, 4
and edx, 0xf
xor eax, dword [rsi + rdx*4]
mov edx, eax
shr eax, 4
and edx, 0xf
xor eax, dword [rsi + rdx*4]
mov edx, eax
shr eax, 4
and edx, 0xf
xor eax, dword [rsi + rdx*4]
mov edx, eax
shr eax, 4
and edx, 0xf
xor eax, dword [rsi + rdx*4]
mov edx, eax
shr eax, 4
and edx, 0xf
xor eax, dword [rsi + rdx*4]
not eax
mov edx, eax
shr edx, 0x18
mov byte [rsp + 0x9d], dl
mov edx, eax
shl edx, 8
shr edx, 0x18
mov byte [rsp + 0x9e], dl
mov byte [rsp + 0x9f], ah
mov byte [rsp + 0xa0], al
mov r9, qword [rsp + 0x80]
mov rax, qword [rsp + 0x70]
mov r10, qword [rsp + 0x88]
mov rdx, qword [rsp + 0xa0]
mov qword [rax], r9
mov rdi, qword [rsp + 0x60]
mov qword [rax + 8], r10
mov qword [rax + 0x20], rdx
mov rbp, qword [rsp + 0x68]
movzx edx, byte [rsp + 0xa8]
mov r9, qword [rsp + 0x90]
mov r10, qword [rsp + 0x98]
lea r12, [rdi + 0x10]
cmp r12, rbp
mov qword [rax + 0x10], r9
mov qword [rax + 0x18], r10
mov byte [rax + 0x28], dl
jbe 0x4bb2c0
mov edx, dword [rsp + 0x78]
test edx, edx
je 0x4bacc3
mov eax, pe_nt_image_headers64
mov rbx, r15
add rbp, rbp
cmp rbp, 0x80
cmovb rbp, rax
cmp r12, rbp
ja 0x4bb162
mov rcx, qword [rsp + 0x70]
mov rdx, rbp
mov r15, rbx
call sub.msvcrt.dll_realloc
test rax, rax
je 0x4bacc3
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], rbp
mov r9, qword [0x004c3a3f]
mov r10, qword [0x004c3a47]
mov qword [rax + rdx], r9
mov qword [rax + rdx + 8], r10
mov r9, qword [rsp + 0x70]
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x60], r12
mov r8, r9
mov rdx, qword [rax]
xor eax, eax
add r8, 0x25
je 0x4bb222
cmp rdx, 0xfffffffffffffffc
lea r10, [r9 + rdx + 0x29]
mov ecx, 0xffffffff
mov rbx, r15
je 0x4bb222
nop word [rax + rax]
add r8, 1
movzx edx, byte [r8 - 1]
mov eax, ecx
shr eax, 4
xor ecx, edx
shr dl, 4
and ecx, 0xf
xor eax, dword [rsi + rcx*4]
mov ecx, eax
xor eax, edx
and eax, 0xf
shr ecx, 4
xor ecx, dword [rsi + rax*4]
cmp r10, r8
jne 0x4bb1f0
mov eax, ecx
mov r15, rbx
not eax
mov edx, eax
shr edx, 0x18
mov byte [r9 + rdi], dl
mov edx, eax
mov rcx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
shl edx, 8
shr edx, 0x18
mov byte [r8 + rcx - 0xf], dl
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x60]
mov byte [rcx + rdx - 0xe], ah
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x60]
mov byte [rcx + rdx - 0xd], al
mov rax, qword [rsp + 0x120]
mov rcx, r15
add qword [rax], 0x39
call fcn.004a6eb8
mov rax, qword [rsp + 0x70]
jmp 0x4bace6
mov r8, qword [rbx + 0xb0]
mov ecx, dword [rbx + 0x20]
mov rdx, rsi
sub r8, rsi
call fcn.004ab040
mov dword [rbx + 0x20], eax
jmp 0x4ba9ea
call fcn.004b45c0
test eax, eax
jne 0x4bab43
mov eax, dword [rdi + 0x84]
cmp eax, 1
je 0x4badd4
jmp 0x4bacd2
mov rax, qword [rsp + 0x70]
mov rdx, rdi
jmp 0x4bb19d
lea rdx, str.miniz.c
lea rcx, str.d__m_pPut_buf_func
mov r8d, 0xab1
call fcn.004a52a0
mov rdx, qword [rbx]
mov rax, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
mov qword [rbx + 0x88], 0
mov qword [rbx + 0x90], 0
mov qword [rbx + 0x98], rcx
mov qword [rbx + 0xa0], 0
test rdx, rdx
mov qword [rbx + 0xb0], 0
mov qword [rbx + 0xb8], rax
mov qword [rbx + 0xc0], 0
mov dword [rbx + 0xa8], 4
je 0x4bacd2
mov r13d, dword [r15 + 0x84]
test r13d, r13d
jne 0x4bacd2
test rax, rax
jne 0x4bacd2
jmp 0x4baafb
lea rax, [rsp + 0x58]
mov qword [rsp + 0x58], 0
mov qword [r15 + 0x88], 0
mov qword [r15 + 0x90], 0
mov qword [r15 + 0xa0], 0
mov qword [r15 + 0x98], rax
mov qword [r15 + 0xb0], 0
xor eax, eax
mov qword [r15 + 0xb8], 0
mov qword [r15 + 0xc0], 0
mov dword [r15 + 0xa8], 4
jmp 0x4bb34e
mov rcx, r15
call fcn.004a6eb8
xor eax, eax
jmp 0x4bace6
mov eax, dword [r15 + 0x84]
jmp 0x4bb2ac