Function at 0x1401d6280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov r13, qword [0x14022c040]
pxor xmm0, xmm0
mov rax, qword [rdx]
mov r14, qword [r13]
mov qword [rsp + 0x68], r14
xor r14d, r14d
mov rbx, rcx
mov rsi, rdx
mov rcx, qword [rdx + 8]
mov r12, r8
movups xmmword [rsp + 0x20], xmm0
lea rdi, [rbx + 8]
movups xmmword [rsp + 0x30], xmm0
and rdi, 0xfffffffffffffff8
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [rax]
mov ecx, 2
mov rbp, rax
call fcn.1401d4360
mov rcx, rbx
mov qword [rbx], 0
sub rcx, rdi
lea r15d, [rax + 1]
mov rax, r14
mov qword [rbx + 0x80], 0
add ecx, 0x88
shr ecx, 3
rep stosq qword [rdi], rax
mov eax, r15d
lea rdi, [rsp + 0x40]
cmp rbp, rax
jb 0x1401d6570
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
mov r9d, r15d
xor r8d, r8d
mov rdx, rdi
call qword [rax + 8]
movdqu xmm1, xmmword [rsi]
movups xmmword [rsp + 0x50], xmm1
cmp r15d, eax
jne 0x1401d6560
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x54464552
jne 0x1401d6570
movzx ecx, byte [rax + 4]
lea eax, [rcx - 1]
mov dword [rbx + 0x3c], ecx
cmp eax, 1
ja 0x1401d6570
call fcn.1401d4390
movdqu xmm2, xmmword [rsi]
mov rcx, r12
lea r14, [rsp + 0x20]
cdqe
sub rbp, rax
movups xmmword [rbx + 8], xmm2
mov qword [rbx + 0x18], rbp
call fcn.1400bd080
mov dword [rbx + 0x20], 0
mov ecx, dword [rbx + 0x3c]
mov qword [rbx], rax
call fcn.1401d4390
mov r10, qword [rsi]
mov rcx, qword [rsi + 8]
mov rdx, r14
mov r8, qword [rbx + 0x18]
mov r9d, eax
call qword [r10 + 8]
movdqu xmm3, xmmword [rsi]
mov ecx, dword [rbx + 0x3c]
mov ebp, eax
movups xmmword [rsp + 0x30], xmm3
call fcn.1401d4390
cmp eax, ebp
jne 0x1401d6565
mov rsi, qword [rsp + 0x20]
mov r15, qword [rsp + 0x40]
cmp dword [rsi], 0x54464552
jne 0x1401d6540
mov ecx, dword [rbx + 0x3c]
call fcn.1401d4360
mov rdx, r15
mov rcx, rsi
movsxd r8, eax
call sub.msvcrt.dll_memcmp
mov r12d, eax
test eax, eax
jne 0x1401d6540
lea rcx, [rsi + 5]
call fcn.1401d3f10
cmp dword [rbx + 0x3c], 1
mov dword [rbx + 0x24], eax
mov rax, qword [rsi + 8]
bswap rax
mov qword [rbx + 0x28], rax
mov rax, qword [rsi + 0x10]
bswap rax
mov qword [rbx + 0x30], rax
je 0x1401d6550
mov eax, dword [rsi + 0x18]
mov edx, eax
bswap edx
mov dword [rbx + 0x20], edx
cmp eax, 0x36353273
je 0x1401d644b
cmp eax, 0x31616873
jne 0x1401d6540
lea rbp, [rsi + 0x1c]
mov rax, qword [rbp]
lea r8, [rbp + 0x28]
xor ecx, ecx
sub r8d, esi
bswap rax
mov qword [rbx + 0x50], rax
mov rax, qword [rbp + 8]
mov rdx, rax
shr rax, 0x38
and eax, 0x1f
bswap rdx
mov dword [rbx + 0x38], eax
mov rax, rdx
mov rdx, rsi
shr rax, 5
mov qword [rbx + 0x60], rax
mov rax, qword [rbp + 0x10]
bswap rax
mov qword [rbx + 0x68], rax
mov rax, qword [rbp + 0x18]
bswap rax
mov qword [rbx + 0x78], rax
mov rax, qword [rbp + 0x20]
bswap rax
mov qword [rbx + 0x80], rax
call sub.zlib1.dll_crc32
mov edx, eax
mov eax, dword [rbp + 0x28]
bswap eax
cmp edx, eax
jne 0x1401d6540
mov ecx, dword [rbx + 0x3c]
call fcn.1401d4360
xor edx, edx
cdqe
movzx eax, byte [r15 + rax]
mov qword [rbx + 0x48], 0
cmp al, 0x72
sete dl
mov dword [rbx + 0x40], edx
mov edx, 1
cmp al, 0x67
je 0x1401d64f1
xor edx, edx
cmp qword [rbx + 0x78], 0
setne dl
xor eax, eax
cmp qword [rbx + 0x60], 0
mov dword [rbx + 0x70], edx
setne al
mov dword [rbx + 0x58], eax
jne 0x1401d6538
mov rcx, r14
call fcn.1401d4f70
mov rcx, rdi
call fcn.1401d4f70
mov rax, qword [rsp + 0x68]
sub rax, qword [r13]
jne 0x1401d6577
mov eax, r12d
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [rbx + 0x38]
test eax, eax
jne 0x1401d6503
nop
mov r12d, 0xfffffffd
jmp 0x1401d6503
mov dword [rbx + 0x20], 0x73686131
lea rbp, [rsi + 0x18]
jmp 0x1401d644f
lea r14, [rsp + 0x20]
mov r12d, 0xfffffffe
jmp 0x1401d6503
lea r14, [rsp + 0x20]
jmp 0x1401d6540
call fcn.1401d96b0
nop
nop dword [rax]