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

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov rax, qword [rdx]
mov rbx, rcx
mov edx, dword [rdx + 8]
mov r11, rax
and r11, 0xfffffffffffffff8
and eax, 7
mov qword [rcx], r11
mov edi, r8d
mov qword [rcx + 0x10], r11
mov esi, edi
shl eax, 3
mov r14d, 1
mov dword [rcx + 8], eax
mov dword [rcx + 0x18], eax
mov dword [rcx + 0x20], r9d
mov byte [rcx + 0x24], 0
mov dword [rcx + 0x50], 0xff
mov dword [rcx + 0x64], edx
mov ecx, eax
shl r14, cl
lea ecx, [rax + 1]
and r14, qword [r11]
mov eax, 0xffffffff
test edi, edi
mov dword [rbx + 0x18], ecx
mov r8, qword [rbx + 0x10]
mov r9, qword [r11]
cmove esi, eax
xor edi, edi
mov qword [rsp + 0x28], r14
lea r15d, [rax + 3]
test r14, r14
jne 0x140007c0c
mov eax, 1
lea edx, [rcx + 1]
shl rax, cl
and rax, r9
neg rax
sbb ebp, ebp
and ebp, 0x40
jmp 0x140007c52
cmp edx, 1
mov eax, edi
setne al
shr r9, cl
add eax, 9
mov ebp, eax
lea edx, [rcx + rax]
cmp edx, 0x40
jb 0x140007c41
sub edx, 0x40
lea r8, [r11 + 8]
mov qword [rbx + 0x10], r8
test edx, edx
jle 0x140007c41
sub eax, edx
movzx ecx, al
mov rax, qword [r8]
shl rax, cl
xor r9, rax
lea ecx, [rbp + 0xff]
mov rbp, r15
shl rbp, cl
dec ebp
and ebp, r9d
mov dword [rbx + 0x18], edx
movzx eax, bpl
and al, 1
mov r13d, ebp
mov byte [rbx + 0x25], al
and r13d, 4
mov eax, ebp
mov r12d, ebp
and eax, 8
and r12d, 0x30
mov dword [rsp + 0x98], eax
cmp r12d, 0x20
mov ecx, edx
mov dword [rsp + 0x80], r12d
sete al
cmp r12d, 0x10
mov byte [rbx + 0x26], al
sete al
mov byte [rbx + 0x27], al
mov eax, ebp
and eax, 0x40
mov dword [rsp + 0x88], eax
mov eax, ebp
shr eax, 7
and al, 1
mov byte [rbx + 0x28], al
mov eax, ebp
mov r11, qword [r8]
and eax, 0x100
and ebp, 0x200
mov dword [rsp + 0x20], eax
test r14, r14
mov eax, 4
cmove eax, r15d
shr r11, cl
mov r14d, eax
lea r9d, [rdx + rax]
cmp r9d, 0x40
jl 0x140007cfc
sub r9d, 0x40
lea rax, [r8 + 8]
mov qword [rbx + 0x10], rax
test r9d, r9d
jle 0x140007cfc
mov rax, qword [rax]
mov ecx, r14d
sub ecx, r9d
shl rax, cl
xor r11, rax
lea ecx, [r14 + 0xff]
mov dword [rbx + 0x18], r9d
mov rax, r15
shl rax, cl
dec eax
and eax, r11d
mov dword [rbx + 0x50], eax
and esi, 0xffffdffb
je 0x140007fb0
mov edx, 8
mov rcx, rbx
call fcn.140008c70
mov r15, rax
mov dword [rbx + 0x44], r15d
and esi, 0xfffffffd
je 0x140007fb0
mov r14d, 5
test r13d, r13d
je 0x140007d69
mov edx, r14d
mov rcx, rbx
call fcn.140008c70
lea edx, [r14 - 2]
mov rcx, rbx
lea r12d, [rax + 1]
call fcn.140008c70
sub r15d, eax
jmp 0x140007d89
test r12d, r12d
je 0x140007d83
mov edx, r14d
mov rcx, rbx
call fcn.140008c70
lea r15d, [rax + 2]
lea r12d, [rax + 1]
jmp 0x140007d89
mov r15d, edi
mov r12d, edi
mov ecx, 0x34
mov rax, rbx
mov dword [rbx + rcx], r12d
mov dword [rbx + 0x38], r15d
and esi, 0xfffffbff
je 0x140007fb0
test r13d, r13d
je 0x140007dc1
lea edx, [rcx - 0x2e]
mov rcx, rbx
call fcn.140008ba0
shl rax, 3
mov r12d, 0xffffffff
jmp 0x140007dca
mov r12d, 0xffffffff
mov eax, r12d
mov dword [rbx + 0x2c], eax
and esi, 0xfffffeff
je 0x140007fb0
cmp dword [rsp + 0x98], edi
je 0x140007df5
mov edx, 6
mov rcx, rbx
call fcn.140008ba0
shl rax, 3
jmp 0x140007df8
mov eax, r12d
mov dword [rbx + 0x3c], eax
and esi, 0xffffffbf
je 0x140007fb0
cmp dword [rsp + 0x80], edi
je 0x140007e20
mov edx, 6
mov rcx, rbx
call fcn.140008ba0
shl rax, 3
jmp 0x140007e23
mov eax, r12d
mov dword [rbx + 0x40], eax
and esi, 0xffffff7f
je 0x140007fb0
mov r15, qword [rsp + 0x28]
cmp dword [rsp + 0x88], edi
je 0x140007e5b
test r15, r15
je 0x140007e61
mov edx, 3
mov rcx, rbx
call fcn.140008c70
mov r14, rax
xor r14d, 5
jmp 0x140007e61
mov r14d, 0xffffffff
mov eax, 0x48
mov rcx, rbx
mov dword [rbx + rax], r14d
cmp dword [rsp + 0x20], edi
je 0x140007e7d
lea edx, [rax - 0x44]
call fcn.140008c70
jmp 0x140007e82
mov eax, 0xffffffff
mov dword [rbx + 0x4c], eax
and esi, 0xfffff7ff
je 0x140007fb0
test ebp, ebp
je 0x140007ea8
mov edx, 6
mov rcx, rbx
call fcn.140008ba0
shl rax, 3
jmp 0x140007eab
mov eax, r12d
mov dword [rbx + 0x30], eax
test esi, 0xffffefff
je 0x140007fb0
test r15, r15
jne 0x140007ec3
mov ecx, edi
jmp 0x140007ed7
mov edx, 3
mov rcx, rbx
call fcn.140008c70
mov rcx, rax
shl rcx, 3
mov eax, 0x60
mov rdx, rbx
mov dword [rax + rbx], ecx
lea edx, [rax - 0x5e]
mov rcx, rbx
call fcn.140008c70
mov dword [rbx + 0x54], eax
test r15, r15
jne 0x140007ef9
mov eax, edi
jmp 0x140007f06
mov edx, 1
mov rcx, rbx
call fcn.140008c70
mov dword [rbx + 0x5c], eax
mov esi, dword [rsp + 0x90]
test sil, 0x18
je 0x140007f2d
cmp dword [rbx + 0x54], edi
je 0x140007f28
mov edx, dword [rbx + 0x20]
mov rcx, rbx
call fcn.14000a070
mov edi, eax
mov dword [rbx + 0x58], edi
jmp 0x140007f92
bt esi, 9
jae 0x140007f92
mov ecx, dword [rbx + 0x44]
lea rax, [rcx - 1]
test rcx, rax
setne dil
cmp rcx, 1
je 0x140007f5b
nop word [rax + rax]
inc edi
shr rcx, 1
cmp rcx, 1
jne 0x140007f50
mov rcx, qword [rbx]
mov rdx, qword [rbx + 0x10]
imul edi, dword [rbx + 0x54]
sub rdx, rcx
sar rdx, 3
shl rdx, 6
mov eax, edi
add rdx, rax
movsxd rax, dword [rbx + 0x18]
add rdx, rax
mov rax, rdx
shr rax, 6
and edx, 0x3f
mov dword [rbx + 0x18], edx
lea rax, [rcx + rax*8]
mov qword [rbx + 0x10], rax
cmp byte [rbx + 0x24], 0
jne 0x140007fb0
test sil, 8
je 0x140007fb0
mov r8, rbx
lea rdx, [0x14000ac70]
mov rcx, rbx
call fcn.1400090b0
mov rax, rbx
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret