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

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov r10d, dword [rsp + 0xd0]
mov r14, rcx
xor ebx, ebx
mov ecx, 1
mov dword [rsp + 0x3c], ecx
mov r13d, 0xffffffff
mov dword [rsp + 0x38], r13d
mov r11d, edx
cmp r10d, r8d
jl 0x140003b05
lea edi, [r8 + 0x20]
mov dword [rsp + 0x28], ecx
and edi, 0xffffffc0
lea r15d, [r10 - 0x21]
add edi, 0x20
sar r15d, 6
mov esi, edi
mov edx, r10d
sub esi, r8d
sar edi, 6
sub edx, r8d
mov dword [rsp + 0x44], esi
sub r15d, edi
mov ebp, ebx
mov r12d, ecx
movzx eax, word [rsp + 0xd8]
inc r15d
mov dword [rsp + 0x20], edx
mov dword [rsp + 0x58], ebp
mov word [rsp + 0x30], ax
cmp r10d, r8d
je 0x140003acc
cmp r9d, r11d
jl 0x140003b51
mov dword [rsp + 0x38], ecx
lea esi, [r11 + 0x20]
and esi, 0xffffffc0
mov dword [rsp + 0x48], ebx
add esi, 0x20
lea ecx, [r9 - 0x21]
mov eax, esi
sar ecx, 6
sub eax, r11d
sar esi, 6
mov r13d, r9d
mov dword [rsp + 0x40], eax
sub r13d, r11d
sub ecx, esi
mov dword [rsp + 0x24], r13d
inc ecx
mov dword [rsp + 0x34], ecx
cmp r9d, r11d
je 0x140003aea
mov rax, qword [r14 + 0xb8]
mov r13, qword [r14 + 0xb0]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x28]
dec eax
cmp eax, 1
ja 0x140003b40
mov rax, qword [r14 + 0x38]
mov rcx, qword [r14 + 0x40]
mov rdx, qword [r14 + 0x30]
mov qword [r14 + 0x58], rdx
mov qword [r14 + 0x60], rcx
movzx ecx, word [rsp + 0x30]
and cx, 2
mov qword [rsp + 0x50], rdx
mov edx, dword [rsp + 0x20]
mov word [rsp + 0xc0], cx
mov qword [r14 + 0x68], rax
jne 0x140003a45
mov eax, dword [rsp + 0x28]
add eax, 0xfffffffe
cmp eax, 1
jbe 0x140003c7c
mov rcx, qword [r14 + 0x88]
mov rax, qword [r14 + 0x90]
mov qword [rsp + 0x28], rcx
mov rcx, qword [r14 + 0x78]
mov qword [rsp + 0x50], rcx
test byte [rsp + 0x30], 4
mov rcx, qword [rsp + 0x50]
mov qword [r14 + 0x98], rcx
mov rcx, qword [rsp + 0x28]
mov qword [r14 + 0xa0], rcx
movzx ecx, word [rsp + 0xc0]
mov qword [r14 + 0xa8], rax
jne 0x140003b9c
test cx, cx
jne 0x140003c42
cmp r8d, r10d
je 0x140003a82
cmp r11d, r9d
jne 0x140003c9e
test r15d, r15d
jle 0x140003ab1
mov r8d, edi
mov edx, esi
mov rcx, r14
mov rax, r13
call qword [0x1400a1fb8]
test eax, eax
jne 0x140003ab3
add edi, r12d
inc ebx
cmp ebx, r15d
jl 0x140003a61
jmp 0x140003ab1
mov r15d, dword [rsp + 0x34]
test r15d, r15d
jle 0x140003ab1
mov rbp, qword [rsp + 0x60]
mov r8d, edi
mov edx, esi
mov rcx, r14
mov rax, rbp
call qword [0x1400a1fb8]
test eax, eax
jne 0x140003ab3
add esi, dword [rsp + 0x38]
inc ebx
cmp ebx, r15d
jl 0x140003a91
xor eax, eax
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test al, 2
jne 0x140003ab1
lea edi, [r8 - 1]
cmp r9d, r11d
jl 0x140003adc
mov edi, r8d
add edi, 0x20
mov r15d, ebx
sar edi, 6
jmp 0x140003947
lea esi, [r11 - 1]
cmp r10d, r8d
jg 0x140003af6
mov esi, r11d
add esi, 0x20
mov dword [rsp + 0x34], ebx
sar esi, 6
jmp 0x140003991
lea edi, [r8 - 0x21]
mov dword [rsp + 0x28], 4
and edi, 0xffffffc0
mov eax, r8d
add edi, 0x20
mov edx, r8d
sub eax, edi
sub edx, r10d
mov dword [rsp + 0x44], eax
mov ebp, ecx
sar edi, 6
lea eax, [r10 + 0x20]
sar eax, 6
mov r15d, edi
sub r15d, eax
mov r12d, r13d
jmp 0x140003926
mov rax, qword [r14 + 0x50]
mov rcx, qword [r14 + 0x48]
mov rdx, qword [r14 + 0x38]
jmp 0x1400039bf
mov eax, ecx
mov dword [rsp + 0x48], ecx
sub eax, ebp
lea esi, [r11 - 0x21]
mov ebp, eax
and esi, 0xffffffc0
add esi, 0x20
mov eax, r11d
sub eax, esi
sar esi, 6
mov dword [rsp + 0x40], eax
mov ecx, esi
mov eax, r11d
sub eax, r9d
cmp dword [rsp + 0x28], 1
mov dword [rsp + 0x24], eax
mov eax, ebx
setne al
add eax, 2
mov dword [rsp + 0x28], eax
lea eax, [r9 + 0x20]
sar eax, 6
sub ecx, eax
jmp 0x140003982
mov ecx, dword [r14 + 0x10c]
lea eax, [rcx - 1]
cmp eax, 0x3fff
jg 0x14003439e
dec cx
mov qword [rsp + 0x28], rbx
shl cx, 2
mov rax, rbx
mov word [r14 + 0x110], cx
movsxd rdx, dword [r14 + 0x10c]
mov eax, dword [rsp + rax + 0xc8]
mov rcx, qword [r14 + 0xf8]
mov dword [rcx + rdx*4], eax
mov rax, qword [rsp + 0x28]
movsxd rdx, dword [r14 + 0x10c]
mov rcx, qword [r14 + 0x100]
add qword [rsp + 0x28], 4
mov eax, dword [rsp + rax + 0xd0]
mov dword [rcx + rdx*4], eax
mov ecx, dword [rsp + 0x3c]
inc dword [r14 + 0x10c]
dec ecx
mov eax, dword [r14 + 0x10c]
mov dword [rsp + 0x3c], ecx
cmp eax, dword [r14 + 0x108]
jg 0x1400343a8
mov rax, qword [rsp + 0x28]
test ecx, ecx
jg 0x140003bc8
mov edx, dword [rsp + 0x20]
movzx ecx, word [rsp + 0xc0]
jmp 0x140003a45
cmp r11d, r9d
jne 0x140003d40
test r15d, r15d
jle 0x140003ab1
mov r8d, edi
mov edx, esi
mov rcx, r14
mov rax, r13
call qword [0x1400a1fb8]
test eax, eax
jne 0x140003ab3
add edi, r12d
inc ebx
cmp ebx, r15d
jl 0x140003c54
jmp 0x140003ab1
mov rdx, qword [r14 + 0x80]
mov rax, qword [r14 + 0x78]
mov qword [rsp + 0x28], rdx
mov rdx, qword [r14 + 0x70]
mov qword [rsp + 0x50], rdx
mov edx, dword [rsp + 0x20]
jmp 0x140003a13
mov ecx, dword [rsp + 0x24]
mov eax, ecx
imul eax, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
imul r8d, edx
neg edx
shl ecx, 6
shl edx, 6
mov dword [rsp + 0x24], ecx
sub eax, r8d
add ebp, eax
mov eax, dword [rsp + 0x34]
add eax, r15d
mov dword [rsp + 0xd0], eax
test eax, eax
jle 0x140003ab1
mov r15d, edx
nop dword [rax]
mov rcx, r14
test ebp, ebp
jle 0x140003d1d
mov r8d, dword [rsp + 0x58]
mov edx, esi
mov rax, qword [rsp + 0x60]
add r8d, edi
call qword [0x1400a1fb8]
test eax, eax
jne 0x140003ab3
add esi, dword [rsp + 0x38]
mov eax, r15d
inc ebx
add ebp, eax
cmp ebx, dword [rsp + 0xd0]
jl 0x140003ce0
jmp 0x140003ab1
mov edx, dword [rsp + 0x48]
mov r8d, edi
add edx, esi
mov rax, r13
call qword [0x1400a1fb8]
test eax, eax
jne 0x140003ab3
mov eax, dword [rsp + 0x24]
add edi, r12d
jmp 0x140003d0b
mov ecx, dword [rsp + 0x24]
mov eax, ecx
imul eax, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
add esi, dword [rsp + 0x48]
add r15d, dword [rsp + 0x34]
imul r8d, edx
neg edx
shl ecx, 6
shl edx, 6
mov dword [rsp + 0x24], ecx
mov dword [rsp + 0x20], edx
sub eax, r8d
add ebp, eax
test r15d, r15d
jle 0x140003ab1
nop dword [rax + rax]
test ebp, ebp
jg 0x140003db6
mov r8d, edi
mov edx, esi
mov rcx, r14
mov rax, r13
call qword [0x1400a1fb8]
test eax, eax
jne 0x140003ab3
mov eax, dword [rsp + 0x24]
add edi, r12d
mov edx, dword [rsp + 0x20]
inc ebx
add ebp, eax
cmp ebx, r15d
jl 0x140003d80
jmp 0x140003ab1
add esi, dword [rsp + 0x38]
mov eax, edx
jmp 0x140003da8
mov dword [rsp + 0x18], esi
push rdi
push r12
push r13
push r14
push rsi
push r15
sub rsp, 0x20
mov r15d, ecx
lea r14, [0x13ffc050f]
mov r12, r9
mov rbp, r8
mov r13, rdx
mov rcx, qword [r14 + r15*8 + 0xa9ff0]
jmp 0x140034b24
mov r8, qword [0x140060c79]