Function at 0x40ce3c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rdi
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x30], rcx
mov dword [rbp + 0x38], edx
mov dword [rbp + 0x40], r8d
mov dword [rbp + 0x48], r9d
mov ecx, 0x4df78
call sym.malloc
mov qword [rbp - 8], rax
mov eax, dword [rbp + 0x38]
imul eax, dword [rbp + 0x48]
mov dword [rbp - 0xc], eax
mov rax, qword [rbp + 0x50]
mov qword [rax], 0
cmp qword [rbp - 8], 0
jne 0x40ce90
mov eax, 0
jmp 0x40d259
lea rax, [rbp - 0x30]
mov r8d, 0x20
mov edx, 0
mov rcx, rax
call sym.memset
mov dword [rbp - 0x18], 1
mov eax, dword [rbp - 0xc]
add eax, 1
imul eax, dword [rbp + 0x40]
mov edx, 0x40
cmp eax, 0x40
cmovl eax, edx
add eax, 0x39
cdqe
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.malloc
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
test rax, rax
sete al
test al, al
je 0x40cf00
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.free
mov eax, 0
jmp 0x40d259
mov dword [rbp - 0x34], 0x29
mov eax, dword [rbp - 0x34]
test eax, eax
je 0x40cf31
lea rdx, [rbp - 0x30]
lea rax, [rbp - 0x34]
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.tdefl_output_buffer_putter
mov eax, dword [rbp - 0x34]
sub eax, 1
mov dword [rbp - 0x34], eax
jmp 0x40cf07
mov eax, dword [rbp + 0x58]
mov edx, 0xa
cmp eax, 0xa
cmova eax, edx
mov eax, eax
lea rdx, [rax*4]
lea rax, [0x004b5ac0]
mov eax, dword [rdx + rax]
or ah, 0x10
mov ecx, eax
lea rdx, [rbp - 0x30]
mov rax, qword [rbp - 8]
mov r9d, ecx
mov r8, rdx
lea rdx, [sym.tdefl_output_buffer_putter]
mov rcx, rax
call sym.tdefl_init
mov dword [rbp + 8], 0
mov eax, dword [rbp + 8]
cmp eax, dword [rbp + 0x40]
jge 0x40cfe2
lea rax, [rbp - 0x34]
mov rcx, qword [rbp - 8]
mov r9d, 0
mov r8d, 1
mov rdx, rax
call sym.tdefl_compress_buffer
mov eax, dword [rbp - 0xc]
movsxd rcx, eax
cmp dword [rbp + 0x60], 0
je 0x40cfb7
mov eax, dword [rbp + 0x40]
sub eax, 1
sub eax, dword [rbp + 8]
jmp 0x40cfba
mov eax, dword [rbp + 8]
imul eax, dword [rbp - 0xc]
cdqe
mov rdx, qword [rbp + 0x30]
add rdx, rax
mov rax, qword [rbp - 8]
mov r9d, 0
mov r8, rcx
mov rcx, rax
call sym.tdefl_compress_buffer
add dword [rbp + 8], 1
jmp 0x40cf7c
mov rax, qword [rbp - 8]
mov r9d, 4
mov r8d, 0
mov edx, 0
mov rcx, rax
call sym.tdefl_compress_buffer
cmp eax, 1
setne al
test al, al
je 0x40d02b
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.free
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sym.free
mov eax, 0
jmp 0x40d259
mov rax, qword [rbp - 0x30]
lea rdx, [rax - 0x29]
mov rax, qword [rbp + 0x50]
mov qword [rax], rdx
lea rdx, [rbp - 0x60]
mov eax, 0
mov ecx, 5
mov rdi, rdx
rep stosq qword [rdi], rax
mov rdx, rdi
mov byte [rdx], al
add rdx, 1
mov byte [rbp - 0x60], 0x89
mov byte [rbp - 0x5f], 0x50
mov byte [rbp - 0x5e], 0x4e
mov byte [rbp - 0x5d], 0x47
mov byte [rbp - 0x5c], 0xd
mov byte [rbp - 0x5b], 0xa
mov byte [rbp - 0x5a], 0x1a
mov byte [rbp - 0x59], 0xa
mov byte [rbp - 0x55], 0xd
mov byte [rbp - 0x54], 0x49
mov byte [rbp - 0x53], 0x48
mov byte [rbp - 0x52], 0x44
mov byte [rbp - 0x51], 0x52
mov byte [rbp - 0x48], 8
mov byte [rbp - 0x3b], 0x49
mov byte [rbp - 0x3a], 0x44
mov byte [rbp - 0x39], 0x41
mov byte [rbp - 0x38], 0x54
mov eax, dword [rbp + 0x38]
sar eax, 8
mov byte [rbp - 0x4e], al
mov eax, dword [rbp + 0x38]
mov byte [rbp - 0x4d], al
mov eax, dword [rbp + 0x40]
sar eax, 8
mov byte [rbp - 0x4a], al
mov eax, dword [rbp + 0x40]
mov byte [rbp - 0x49], al
mov eax, dword [rbp + 0x48]
cdqe
lea rdx, [0x004b5aec]
movzx eax, byte [rax + rdx]
mov byte [rbp - 0x47], al
mov rax, qword [rbp + 0x50]
mov rax, qword [rax]
shr rax, 0x18
mov byte [rbp - 0x3f], al
mov rax, qword [rbp + 0x50]
mov rax, qword [rax]
shr rax, 0x10
mov byte [rbp - 0x3e], al
mov rax, qword [rbp + 0x50]
mov rax, qword [rax]
shr rax, 8
mov byte [rbp - 0x3d], al
mov rax, qword [rbp + 0x50]
mov rax, qword [rax]
mov byte [rbp - 0x3c], al
lea rax, [rbp - 0x60]
add rax, 0xc
mov r8d, 0x11
mov rdx, rax
mov ecx, 0
call sym.mz_crc32
mov dword [rbp + 4], eax
mov dword [rbp + 0xc], 0
cmp dword [rbp + 0xc], 3
jg 0x40d155
mov eax, dword [rbp + 4]
shr eax, 0x18
mov ecx, eax
mov eax, dword [rbp + 0xc]
cdqe
lea rdx, [rax + 0x1d]
lea rax, [rbp - 0x60]
add rax, rdx
mov edx, ecx
mov byte [rax], dl
add dword [rbp + 0xc], 1
shl dword [rbp + 4], 8
jmp 0x40d129
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x60]
mov qword [rax], rdx
mov rdx, qword [rbp - 0x58]
mov qword [rax + 8], rdx
mov rdx, qword [rbp - 0x50]
mov qword [rax + 0x10], rdx
mov rdx, qword [rbp - 0x48]
mov qword [rax + 0x18], rdx
mov rdx, qword [rbp - 0x40]
mov qword [rax + 0x20], rdx
movzx edx, byte [rbp - 0x38]
mov byte [rax + 0x28], dl
lea rax, [rbp - 0x30]
mov r8, rax
mov edx, 0x10
lea rcx, [0x004b5af1]
call sym.tdefl_output_buffer_putter
test eax, eax
sete al
test al, al
je 0x40d1d5
mov rax, qword [rbp + 0x50]
mov qword [rax], 0
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.free
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sym.free
mov eax, 0
jmp 0x40d259
mov rax, qword [rbp + 0x50]
mov rax, qword [rax]
lea rdx, [rax + 4]
mov rax, qword [rbp - 0x20]
add rax, 0x25
mov r8, rdx
mov rdx, rax
mov ecx, 0
call sym.mz_crc32
mov dword [rbp + 4], eax
mov dword [rbp + 0xc], 0
cmp dword [rbp + 0xc], 3
jg 0x40d237
mov eax, dword [rbp + 4]
shr eax, 0x18
mov r8d, eax
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x30]
mov eax, dword [rbp + 0xc]
cdqe
add rax, rcx
sub rax, 0x10
add rax, rdx
mov edx, r8d
mov byte [rax], dl
add dword [rbp + 0xc], 1
shl dword [rbp + 4], 8
jmp 0x40d202
mov rax, qword [rbp + 0x50]
mov rax, qword [rax]
lea rdx, [rax + 0x39]
mov rax, qword [rbp + 0x50]
mov qword [rax], rdx
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.free
mov rax, qword [rbp - 0x20]
add rsp, 0x98
pop rdi
pop rbp
ret