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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov rsi, rcx
mov eax, dword [rdx + 0x10]
cmp eax, dword [rdx + 0x14]
jae 0x14004ad66
mov r12, qword [rdx + 0x18]
inc eax
mov dword [rdx + 0x10], eax
mov rax, qword [rdx]
mov rcx, qword [rdx + 8]
mov rdi, qword [rax]
mov r15b, byte [rcx]
mov rax, qword [rdi + 0x10]
mov ecx, 0x10
mov r13, rax
mov ebx, 0x10
mov edx, dword [rdi + 0x18]
sub ebx, edx
jbe 0x14004ab38
mov rcx, rdi
call fcn.14005875d
test rax, rax
jne 0x14004ab85
mov rax, qword [rdi + 0x10]
mov cl, 0x10
sub cl, bl
mov rdx, rax
shl rdx, cl
or r13, rdx
mov ecx, ebx
jmp 0x14004ab0f
shr rax, cl
sub edx, ecx
mov dword [rdi + 0x18], edx
mov qword [rdi + 0x10], rax
cmp r13w, 2
ja 0x14004ab8f
mov ecx, 0x18
mov rbp, rax
mov ebx, 0x18
sub ebx, edx
jbe 0x14004aba2
mov rcx, rdi
call fcn.14005875d
test rax, rax
jne 0x14004ac44
mov rax, qword [rdi + 0x10]
mov cl, 0x18
sub cl, bl
mov rdx, rax
shl rdx, cl
or rbp, rdx
mov edx, dword [rdi + 0x18]
mov ecx, ebx
jmp 0x14004ab58
mov r14, rax
xor ebx, ebx
jmp 0x14004ac69
mov bl, 1
lea r14, [0x1404afdbe]
mov edi, 0x1c
jmp 0x14004ac69
mov byte [rsp + 0x27], r15b
sub edx, ecx
mov dword [rdi + 0x18], edx
shr rax, cl
mov qword [rdi + 0x10], rax
and ebp, 0xffffff
mov ecx, 0x18
mov r15, rax
mov ebx, 0x18
sub ebx, edx
jbe 0x14004abef
mov rcx, rdi
call fcn.14005875d
test rax, rax
jne 0x14004ac44
mov rax, qword [rdi + 0x10]
mov cl, 0x18
sub cl, bl
mov rdx, rax
shl rdx, cl
or r15, rdx
mov edx, dword [rdi + 0x18]
mov ecx, ebx
jmp 0x14004abc6
sub edx, ecx
mov dword [rdi + 0x18], edx
shr rax, cl
mov qword [rdi + 0x10], rax
and r15d, 0xffffff
mov qword [rsp + 0x98], r15
mov ecx, 0x18
mov r15, rax
mov ebx, 0x18
sub ebx, edx
jbe 0x14004ad7e
mov rcx, rdi
call fcn.14005875d
test rax, rax
jne 0x14004ac44
mov rax, qword [rdi + 0x10]
mov cl, 0x18
sub cl, bl
mov rdx, rax
shl rdx, cl
or r15, rdx
mov edx, dword [rdi + 0x18]
mov ecx, ebx
jmp 0x14004ac17
mov r14, rax
xor ebx, ebx
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x53]
mov dword [rsp + 0x23], ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x23]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x2b], ecx
mov cl, byte [r12]
mov rdx, qword [r12 + 8]
call fcn.140045fec
mov byte [r12], bl
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2b]
mov dword [r12 + 1], eax
mov dword [r12 + 4], ecx
mov qword [r12 + 8], r14
mov qword [r12 + 0x10], rdi
xor r10d, r10d
mov qword [rsp + 0x98], rcx
mov ecx, dword [rsp + 0x20]
mov edx, dword [rsp + 0x23]
mov dword [rsp + 0x90], ecx
mov dword [rsp + 0x93], edx
movaps xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0xe0], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0xd0], xmm1
mov ecx, dword [rsp + 0x90]
mov edx, dword [rsp + 0x93]
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x23], edx
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x50], xmm0
test r10, r10
je 0x14004ad66
mov qword [rsi], r10
mov byte [rsi + 8], al
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x23]
mov dword [rsi + 9], eax
mov dword [rsi + 0xc], ecx
mov rax, qword [rsp + 0x88]
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], r12
mov dword [rsi + 0x20], ebp
mov rax, qword [rsp + 0x98]
mov dword [rsi + 0x24], eax
mov dword [rsi + 0x28], r15d
mov word [rsi + 0x2c], r13w
mov byte [rsi + 0x2e], r8b
mov byte [rsi + 0x2f], r9b
mov qword [rsi + 0x30], 1
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x38], xmm0
mov qword [rsi + 0x48], 4
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi + 0x50], xmm0
jmp 0x14004ad6a
and qword [rsi], 0
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x80], r12
shr rax, cl
sub edx, ecx
mov dword [rdi + 0x18], edx
mov qword [rdi + 0x10], rax
and r15d, 0xffffff
inc r15d
mov qword [rsp + 0xc8], r15
mov ecx, 6
mov r12, rax
mov ebx, 6
sub ebx, edx
jbe 0x14004adda
mov rcx, rdi
call fcn.14005875d
test rax, rax
jne 0x14004ae3b
mov rax, qword [rdi + 0x10]
mov cl, 6
sub cl, bl
mov rdx, rax
shl rdx, cl
or r12, rdx
mov edx, dword [rdi + 0x18]
mov ecx, ebx
jmp 0x14004adb1
shr rax, cl
sub edx, ecx
mov dword [rdi + 0x18], edx
mov qword [rdi + 0x10], rax
and r12b, 0x3f
mov qword [rsp + 0x78], r12
lea ecx, [r12 + 1]
mov dword [rsp + 0xa4], ecx
mov ecx, 8
mov qword [rsp + 0xa8], rax
mov ebx, 8
sub ebx, edx
jbe 0x14004ae4d
mov rcx, rdi
call fcn.14005875d
test rax, rax
jne 0x14004ae3b
mov rax, qword [rdi + 0x10]
mov cl, 8
sub cl, bl
mov rdx, rax
shl rdx, cl
or qword [rsp + 0xa8], rdx
mov edx, dword [rdi + 0x18]
mov ecx, ebx
jmp 0x14004ae0d
mov r14, rax
xor ebx, ebx
mov r12, qword [rsp + 0x80]
jmp 0x14004ac49
shr rax, cl
sub edx, ecx
mov dword [rdi + 0x18], edx
mov qword [rdi + 0x10], rax
cmp dword [rsp + 0x98], ebp
jae 0x14004ae72
mov bl, 1
lea r14, [0x1404af571]
mov edi, 0x25
jmp 0x14004ae40
lea rax, [rsp + 0x30]
mov qword [rax], 1
xorps xmm0, xmm0
movups xmmword [rax + 8], xmm0
mov eax, 1
mov qword [rsp + 0x68], rax
xor ecx, ecx
xor edx, edx
cmp dl, byte [rsp + 0x78]
setbe al
mov qword [rsp + 0x88], rcx
ja 0x14004aff7
add dl, al
mov qword [rsp + 0x70], rdx
mov rdx, qword [rdi + 0x10]
mov ecx, 3
mov r12, rdx
mov ebx, 3
mov eax, dword [rdi + 0x18]
sub ebx, eax
jbe 0x14004aeed
mov rcx, rdi
call fcn.14005875d
test rax, rax
jne 0x14004afd9
mov rdx, qword [rdi + 0x10]
mov cl, 3
sub cl, bl
mov rax, rdx
shl rax, cl
or r12, rax
mov ecx, ebx
jmp 0x14004aec0
shr rdx, cl
sub eax, ecx
mov dword [rdi + 0x18], eax
mov qword [rdi + 0x10], rdx
jne 0x14004af13
mov rcx, rdi
call fcn.14005875d
test rax, rax
jne 0x14004afd9
mov eax, dword [rdi + 0x18]
mov rdx, qword [rdi + 0x10]
dec eax
mov dword [rdi + 0x18], eax
mov r8, rdx
shr r8, 1
mov qword [rdi + 0x10], r8
test dl, 1
jne 0x14004af34
xor r15d, r15d
mov rdx, qword [rsp + 0x88]
jmp 0x14004af82
mov ecx, 5
mov r15, r8
mov ebx, 5
mov rdx, qword [rsp + 0x88]
sub ebx, eax
jbe 0x14004af72
mov rcx, rdi
call fcn.14005875d
test rax, rax
jne 0x14004afd9
mov r8, qword [rdi + 0x10]
mov cl, 5
sub cl, bl
mov rax, r8
shl rax, cl
or r15, rax
mov eax, dword [rdi + 0x18]
mov ecx, ebx
jmp 0x14004af41
shr r8, cl
sub eax, ecx
mov dword [rdi + 0x18], eax
mov qword [rdi + 0x10], r8
and r15b, 0x1f
and r12b, 7
shl r15b, 3
or r15b, r12b
cmp rdx, qword [rsp + 0x38]
jne 0x14004afaa
lea rcx, [rsp + 0x30]
call fcn.140046ac3
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
jmp 0x14004afaf
mov rcx, qword [rsp + 0x68]
lea rax, [rdx + rdx*8]
and qword [rcx + rax], 0
mov qword [rsp + 0x68], rcx
mov byte [rcx + rax + 8], r15b
mov rcx, qword [rsp + 0x40]
inc rcx
mov qword [rsp + 0x40], rcx
mov rdx, qword [rsp + 0x70]
jmp 0x14004ae93
mov r14, rax
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
call fcn.140046aaf
mov edi, 0x24
jmp 0x14004ae40
lea r11, [rcx + rcx*8]
mov rax, qword [rsp + 0x68]
add r11, rax
xor r12d, r12d
lea r14, [0x1404af596]
mov rdx, rax
mov qword [rsp + 0xb0], r11
cmp rdx, r11
je 0x14004b10c
lea r8, [rdx + 9]
xor r9d, r9d
cmp r9, 8
je 0x14004b0fa
mov r10, r9
inc r9
movzx eax, byte [rdx + 8]
mov ecx, r10d
and ecx, 7
bt eax, ecx
jae 0x14004b028
mov qword [rsp + 0xb8], r10
mov qword [rsp + 0x70], r9
mov qword [rsp + 0xc0], r8
mov qword [rsp + 0x78], rdx
mov rax, qword [rdi + 0x10]
mov ecx, 8
mov r15, rax
mov ebx, 8
mov edx, dword [rdi + 0x18]
sub ebx, edx
jbe 0x14004b09b
mov rcx, rdi
call fcn.14005875d
test rax, rax
jne 0x14004b102
mov rax, qword [rdi + 0x10]
mov cl, 8
sub cl, bl
mov rdx, rax
shl rdx, cl
or r15, rdx
mov ecx, ebx
jmp 0x14004b072
sub edx, ecx
mov dword [rdi + 0x18], edx
shr rax, cl
mov qword [rdi + 0x10], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
mov byte [rax + rcx - 1], r15b
mov bl, 1
test r15b, r15b
je 0x14004afde
cmp byte [rsp + 0x27], r15b
jbe 0x14004afde
mov rax, qword [rsp + 0xb8]
cmp r12, rax
cmovbe r12, rax
mov rdx, qword [rsp + 0x78]
mov r8, qword [rsp + 0xc0]
mov r9, qword [rsp + 0x70]
mov r11, qword [rsp + 0xb0]
jmp 0x14004b028
mov rdx, r8
jmp 0x14004b018
xor ebx, ebx
mov r14, rax
jmp 0x14004afde
mov al, byte [rsp + 0x38]
mov ecx, dword [rsp + 0x39]
mov dword [rsp + 0x50], ecx
mov ecx, dword [rsp + 0x3c]
mov dword [rsp + 0x53], ecx
mov ecx, dword [rsp + 0x50]
mov edx, dword [rsp + 0x53]
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x23], edx
mov ecx, dword [rsp + 0x20]
mov edx, dword [rsp + 0x23]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x2b], edx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x50], xmm0
mov ecx, dword [rsp + 0x28]
mov edx, dword [rsp + 0x2b]
mov dword [rsp + 0x23], edx
mov dword [rsp + 0x20], ecx
mov r15, qword [rsp + 0xc8]
mov r8d, dword [rsp + 0xa4]
mov r9, qword [rsp + 0xa8]
mov r10, qword [rsp + 0x68]
jmp 0x14004aca2