Function at 0x140069980
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, 0x148
mov esi, dword [rdx + 0x10]
mov eax, dword [rdx + 4]
mov rbx, rdx
mov edx, dword [rdx + 0xc]
mov rdi, rcx
mov rbp, r8
add edx, esi
cmp edx, eax
ja 0x140069a19
cmp dword [rcx + 0x1a4], 0x414c
mov edx, 0x414c
cmovae edx, dword [rcx + 0x1a4]
cmp eax, edx
ja 0x140069a19
test esi, esi
je 0x140069b95
movzx eax, word [rbx + 8]
xor edx, edx
lea r14, [rsp + 0x38]
mov dword [rsp + 0x38], 0
mov word [rsp + 0x3c], dx
mov rdx, r14
rol ax, 8
mov word [rsp + 0x3e], ax
mov rax, qword [rcx + 0x88]
mov rcx, qword [rax + 0x258]
call fcn.140105600
mov r13, rax
test rax, rax
je 0x140069a40
mov r15, qword [rax + 8]
mov eax, dword [rbx + 4]
cmp dword [r15 + 4], eax
je 0x140069a86
mov r12d, 0xffffffff
mov dword [rbp], 0
mov eax, r12d
add rsp, 0x148
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, dword [rbx + 4]
mov edx, 1
call fcn.1400695f0
mov r15, rax
test rax, rax
je 0x140069a19
movdqa xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movdqa xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
movdqa xmm2, xmmword [rbx + 0x20]
movups xmmword [rax + 0x20], xmm2
movdqa xmm3, xmmword [rbx + 0x30]
movups xmmword [rax + 0x30], xmm3
mov eax, dword [rax + 4]
mov dword [r15 + 0xc], 0
mov dword [r15 + 0x10], eax
mov rax, qword [rdi + 8]
cmp qword [r15 + 0x48], 0
mov rax, qword [rax + 0x68]
je 0x140069b50
mov r8d, dword [rbx + 0xc]
mov r9d, esi
add r8, qword [r15 + 0x40]
mov edx, 0x16
mov dword [rsp + 0x20], 0
mov rcx, rdi
call rax
mov r12d, eax
cmp eax, esi
jne 0x140069ba0
test esi, esi
jle 0x140069ba6
mov edx, dword [rbx + 0xc]
cmp esi, 8
jle 0x140069bf8
mov eax, edx
lea rcx, [0x14046fd30]
and edx, 7
sar eax, 3
movzx edx, byte [rcx + rdx]
cdqe
add rax, qword [r15 + 0x48]
or byte [rax], dl
mov ecx, dword [rbx + 0xc]
mov edx, ecx
add ecx, esi
sar edx, 3
lea eax, [rcx - 1]
add edx, 1
sar eax, 3
cmp edx, eax
jge 0x140069b2b
movsxd rdx, edx
nop word [rax + rax]
mov rax, qword [r15 + 0x48]
mov byte [rax + rdx], 0xff
mov ecx, dword [rbx + 0xc]
add rdx, 1
add ecx, esi
lea eax, [rcx - 1]
sar eax, 3
cmp eax, edx
jg 0x140069b10
cdqe
lea rsi, [0x14046fd28]
add rax, qword [r15 + 0x48]
and ecx, 7
movzx edx, byte [rsi + rcx]
or byte [rax], dl
jmp 0x140069c34
lea r14, [rsp + 0x40]
mov ebx, 0x100
jmp 0x140069b68
mov rax, qword [rdi + 8]
mov rax, qword [rax + 0x68]
cmp esi, 0x100
mov r9d, ebx
mov r8, r14
mov rcx, rdi
mov dword [rsp + 0x20], 0
cmovbe r9d, esi
mov edx, 0x16
call rax
mov r12d, eax
test eax, eax
jle 0x140069ba6
sub esi, eax
jne 0x140069b60
mov r12d, 0xfffffffd
jmp 0x140069a26
mov r12d, 0xffffffff
test r13, r13
jne 0x140069a1f
mov eax, dword [r15 + 0x14]
test eax, eax
jne 0x140069be0
mov rcx, qword [r15 + 0x40]
test rcx, rcx
je 0x140069bc5
call fcn.14006d560
mov rcx, qword [r15 + 0x48]
test rcx, rcx
je 0x140069bd3
call fcn.14006d560
mov rcx, r15
call fcn.14006d560
jmp 0x140069a1f
mov rcx, qword [r15 + 0x18]
call fcn.1400be230
mov rcx, qword [r15 + 0x20]
call fcn.1400bbec0
jmp 0x140069bb7
lea eax, [rsi + rdx]
mov r8d, 1
cmp eax, edx
jle 0x140069c2d
nop dword [rax]
mov eax, edx
mov ecx, edx
mov r10d, r8d
add edx, 1
sar eax, 3
and ecx, 7
cdqe
add rax, qword [r15 + 0x48]
shl r10d, cl
or byte [rax], r10b
mov eax, dword [rbx + 0xc]
add eax, esi
cmp eax, edx
jg 0x140069c08
lea rsi, [0x14046fd28]
mov eax, dword [rbx + 4]
test eax, eax
jle 0x140069d00
lea edx, [rax - 1]
mov rcx, qword [r15 + 0x48]
and eax, 7
sar edx, 3
movzx eax, byte [rsi + rax]
movsxd r8, edx
cmp byte [rcx + r8], al
je 0x140069cb0
test r13, r13
jne 0x140069b95
mov rdx, r15
mov rcx, r14
call fcn.140105470
mov rdx, rax
test rax, rax
je 0x140069cf0
mov rax, qword [rdi + 0x88]
mov rcx, qword [rax + 0x258]
call fcn.140105540
test rax, rax
jne 0x140069b95
lea r8, str.item___NULL
mov edx, 0x2ff
lea rcx, str.d1_both.c
call fcn.14006caf0
jmp 0x140069b95
sub edx, 1
js 0x140069cde
movsxd rax, edx
lea r8, [rcx + r8 - 2]
mov edx, edx
sub r8, rdx
add rax, rcx
mov rdx, r8
nop dword [rax + rax]
cmp byte [rax], 0xff
jne 0x140069c59
sub rax, 1
cmp rdx, rax
jne 0x140069cd0
call fcn.14006d560
mov qword [r15 + 0x48], 0
jmp 0x140069c59
mov r12d, 0xffffffff
jmp 0x140069baf
lea r8, str.__long_msg_hdr__msg_len____0
mov edx, 0x2e9
lea rcx, str.d1_both.c
call fcn.14006caf0
mov eax, dword [rbx + 4]
jmp 0x140069c3f