Function at 0x1401b7040
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, 0x38
add dword [rdx], 0x20
lea r15, [rdx + 0x20]
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rdx
sar r8d, 1
mov rdi, rdx
mov r9, rdx
mov eax, dword [r9 + 0x80]
mov ecx, dword [r9]
mov edx, dword [r9 + 0x40]
mov r13d, dword [r9 + 0xa0]
mov r11d, dword [r9 + 0x60]
mov ebx, dword [r9 + 0xe0]
lea esi, [rcx + rax]
sub ecx, eax
mov eax, dword [r9 + 0xc0]
mov r10d, edx
sar r10d, 1
mov r14d, r11d
sub r10d, eax
sar eax, 1
sar r14d, 1
add eax, edx
lea ebp, [rcx + r10]
sub ecx, r10d
mov r10d, r13d
lea r12d, [rsi + rax]
sub esi, eax
sub r10d, r11d
mov eax, ebx
sub r10d, ebx
sar eax, 1
sub r10d, eax
mov eax, dword [r9 + 0x20]
lea edx, [rbx + rax]
add ebx, r13d
sub ebx, eax
sub edx, r11d
add r11d, r13d
add r11d, eax
sar eax, 1
sub edx, r14d
add r11d, eax
mov r14d, r13d
sar r14d, 1
mov r13d, r11d
add ebx, r14d
sar r13d, 2
add r13d, r10d
mov r14d, ebx
sar r10d, 2
sub r11d, r10d
sar r14d, 2
add r14d, edx
lea eax, [r12 + r11]
sar edx, 2
sub edx, ebx
sub r12d, r11d
mov dword [r9], eax
lea eax, [rbp + rdx]
sub ebp, edx
mov dword [r9 + 0xe0], r12d
mov dword [r9 + 0xc0], ebp
mov dword [r9 + 0x20], eax
lea eax, [rcx + r14]
sub ecx, r14d
mov dword [r9 + 0xa0], ecx
add r9, 4
mov dword [r9 + 0x3c], eax
lea eax, [rsi + r13]
sub esi, r13d
mov dword [r9 + 0x7c], esi
mov dword [r9 + 0x5c], eax
cmp r15, r9
jne 0x1401b7070
lea r13d, [r8 + r8]
lea edx, [r8*4]
mov rcx, qword [rsp + 0x80]
lea eax, [r8*8]
lea r11d, [r13 + r8]
lea r10d, [rdx + r8]
movsxd rdx, edx
lea rsi, [rcx + 0x10]
sub eax, r8d
mov qword [rsp], rdx
lea r9d, [r11 + r11]
movsxd rdx, r10d
cdqe
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x10], rdx
movsxd rsi, r11d
movsxd rdx, r9d
movsxd r8, r8d
movsxd r13, r13d
mov qword [rsp + 8], rsi
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], rax
jmp 0x1401b71c9
add r15, 0x20
mov eax, dword [rdi + 0x10]
mov edx, dword [rdi]
mov r11d, dword [rdi + 8]
mov r14d, dword [rdi + 0x14]
mov esi, dword [rdi + 0x1c]
mov ebx, dword [rdi + 0xc]
lea r10d, [rdx + rax]
sub edx, eax
mov eax, dword [rdi + 0x18]
mov r9d, r11d
sar r9d, 1
sub r9d, eax
sar eax, 1
add eax, r11d
mov r11d, r14d
lea r12d, [rdx + r9]
lea ebp, [r10 + rax]
sub r11d, ebx
sub r10d, eax
mov eax, esi
sub r11d, esi
sub edx, r9d
sar eax, 1
sub r11d, eax
mov eax, dword [rdi + 4]
mov edi, ebx
sar edi, 1
lea r9d, [rsi + rax]
add esi, r14d
sub esi, eax
sub r9d, ebx
add ebx, r14d
add ebx, eax
sar eax, 1
sub r9d, edi
add eax, ebx
mov edi, r14d
mov r14d, eax
sar edi, 1
sar r14d, 2
add esi, edi
add r14d, r11d
sar r11d, 2
mov edi, esi
sub eax, r11d
movzx r11d, word [rcx]
sar edi, 2
lea ebx, [rbp + rax]
add edi, r9d
sar r9d, 2
sub r9d, esi
sar ebx, 6
add r11d, ebx
test r11d, 0xfffffe00
je 0x1401b727c
not r11d
sar r11d, 0x1f
and r11d, 0x1ff
mov word [rcx], r11w
movzx r11d, word [rcx + r8*2]
lea ebx, [r12 + r9]
sar ebx, 6
add r11d, ebx
test r11d, 0xfffffe00
je 0x1401b72a6
not r11d
sar r11d, 0x1f
and r11d, 0x1ff
mov word [rcx + r8*2], r11w
movzx r11d, word [rcx + r13*2]
lea ebx, [rdx + rdi]
sar ebx, 6
add r11d, ebx
test r11d, 0xfffffe00
je 0x1401b72d0
not r11d
sar r11d, 0x1f
and r11d, 0x1ff
mov rsi, qword [rsp + 8]
mov word [rcx + r13*2], r11w
lea ebx, [r10 + r14]
sar ebx, 6
movzx r11d, word [rcx + rsi*2]
add r11d, ebx
test r11d, 0xfffffe00
je 0x1401b7300
not r11d
sar r11d, 0x1f
and r11d, 0x1ff
mov word [rcx + rsi*2], r11w
mov rsi, qword [rsp]
sub r10d, r14d
sar r10d, 6
movzx r11d, word [rcx + rsi*2]
add r11d, r10d
test r11d, 0xfffffe00
je 0x1401b732f
not r11d
sar r11d, 0x1f
and r11d, 0x1ff
mov word [rcx + rsi*2], r11w
mov rsi, qword [rsp + 0x10]
sub edx, edi
sar edx, 6
movzx r10d, word [rcx + rsi*2]
add r10d, edx
test r10d, 0xfffffe00
je 0x1401b735d
not r10d
sar r10d, 0x1f
and r10d, 0x1ff
mov rdi, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
sub r12d, r9d
sar r12d, 6
mov word [rcx + rdi*2], r10w
movzx edx, word [rcx + rsi*2]
add r12d, edx
test r12d, 0xfffffe00
je 0x1401b7391
not r12d
sar r12d, 0x1f
and r12d, 0x1ff
sub ebp, eax
mov rdi, qword [rsp + 0x18]
mov rax, qword [rsp + 0x20]
sar ebp, 6
mov word [rcx + rdi*2], r12w
movzx eax, word [rcx + rax*2]
add ebp, eax
test ebp, 0xfffffe00
je 0x1401b73be
not ebp
sar ebp, 0x1f
and ebp, 0x1ff
mov rax, qword [rsp + 0x20]
mov rdi, r15
mov word [rcx + rax*2], bp
add rcx, 2
cmp qword [rsp + 0x28], rcx
jne 0x1401b71c5
mov rax, qword [rsp + 0x88]
mov qword [rax], 0
mov rax, qword [rsp + 0x88]
mov qword [rax + 0xf8], 0
mov rax, qword [rsp + 0x88]
lea rdi, [rax + 8]
mov rcx, rax
xor eax, eax
and rdi, 0xfffffffffffffff8
sub rcx, rdi
add ecx, 0x100
shr ecx, 3
rep stosq qword [rdi], rax
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret