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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
cmp byte [rdx + 0x38], 0
lea rbp, [rdx + 8]
mov rsi, rdx
mov rbx, rcx
jne 0x14001acec
mov byte [rdx + 0x38], 1
lea r9, [rdx + 0x3c]
lea r8, [rdx + 0x24]
mov rdx, rbp
call fcn.140016b74
test al, al
je 0x14001acf9
mov ecx, dword [rsi + 0x30]
mov edx, dword [rsi + 0x24]
add ecx, edx
cmp dword [rbp], ecx
jle 0x14001ad07
mov byte [rsi + 0x4adc], 1
xor al, al
jmp 0x14001b923
mov eax, dword [rsi + 0x2c]
mov r13d, 8
mov r9d, dword [rsi + 0x4ad8]
dec eax
add eax, edx
sub r9d, 0x10
cmp eax, r9d
mov dword [rsp + 0x80], eax
mov r10d, r9d
mov dword [rsp + 0x78], r9d
cmovl r10d, eax
mov dword [rsp + 0x88], r10d
mov r8, qword [rbx + 0xe970]
mov rdx, r8
and rdx, qword [rbx + 0xd8]
mov qword [rbx + 0xd8], rdx
mov ecx, dword [rbp]
cmp ecx, r10d
jl 0x14001ad91
cmp ecx, eax
jg 0x14001b921
jne 0x14001ad73
mov eax, dword [rsi + 0x28]
cmp dword [rsi + 0xc], eax
jge 0x14001b921
cmp ecx, r9d
jl 0x14001ad85
cmp byte [rsi + 0x4ade], 0
je 0x14001b91a
cmp ecx, dword [rsi + 0x4ad8]
jge 0x14001b91a
mov rcx, qword [rbx + 0x4ba0]
mov rax, rcx
sub rax, rdx
and rax, r8
cmp rax, 0x1004
jae 0x14001adca
cmp rcx, rdx
je 0x14001adca
mov rcx, rbx
call fcn.140017d5c
mov rax, qword [rbx + 0x4db8]
cmp qword [rbx + 0x4dc8], rax
jg 0x14001ad00
movsxd r9, dword [rbp]
mov ecx, r13d
mov r15, qword [rbp + 0x10]
mov r11d, dword [rbp + 4]
sub ecx, r11d
movzx eax, byte [r9 + r15]
movzx edx, byte [r9 + r15 + 1]
shl eax, 8
or edx, eax
movzx eax, byte [r9 + r15 + 2]
shl edx, 8
or edx, eax
shr edx, cl
mov ecx, dword [rsi + 0xc0]
and edx, 0xfffe
cmp edx, dword [rsi + rcx*4 + 0x40]
jae 0x14001ae42
mov eax, 0x10
sub eax, ecx
mov cl, al
shr rdx, cl
movzx r8d, byte [rdx + rsi + 0xc4]
add r8d, r11d
mov eax, r8d
shr eax, 3
add r9d, eax
and r8d, 7
mov dword [rbp], r9d
mov dword [rbp + 4], r8d
movzx eax, word [rsi + rdx*2 + 0x4c4]
jmp 0x14001aeb3
mov r10d, 0xf
inc ecx
cmp ecx, r10d
jae 0x14001ae6f
mov r8d, ecx
add r8, 0x10
lea r8, [rsi + r8*4]
cmp edx, dword [r8]
jb 0x14001ae6c
inc ecx
add r8, 4
cmp ecx, r10d
jb 0x14001ae5a
jmp 0x14001ae6f
mov r10d, ecx
lea r8d, [r11 + r10]
mov ecx, 0x10
mov eax, r8d
sub ecx, r10d
shr eax, 3
and r8d, 7
add r9d, eax
mov dword [rbp + 4], r8d
mov dword [rbp], r9d
lea eax, [r10 - 1]
sub edx, dword [rsi + rax*4 + 0x40]
mov eax, r10d
shr edx, cl
add edx, dword [rsi + rax*4 + 0x80]
cmp edx, dword [rsi + 0x3c]
sbb eax, eax
and eax, edx
movzx eax, word [rsi + rax*2 + 0xcc4]
movzx edx, ax
cmp edx, 0x100
jae 0x14001aeef
mov rax, qword [rbx + 0xd8]
mov rcx, qword [rbx + 0x4ba8]
mov byte [rcx + rax], dl
inc qword [rbx + 0xd8]
mov r9d, dword [rsp + 0x78]
mov eax, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x88]
jmp 0x14001ad3d
cmp edx, 0x106
jb 0x14001b4c4
lea edi, [rdx - 0x106]
cmp edi, r13d
jae 0x14001af0b
add edi, 2
jmp 0x14001af75
mov r10d, edi
and edi, 3
or edi, 4
shr r10d, 2
dec r10d
mov ecx, r10d
shl edi, cl
add edi, 2
test r10d, r10d
je 0x14001af75
movsxd rcx, r9d
movzx eax, byte [rcx + r15]
movzx edx, byte [rcx + r15 + 1]
shl eax, 8
or edx, eax
movzx eax, byte [rcx + r15 + 2]
shl edx, 8
mov ecx, r13d
or edx, eax
sub ecx, r8d
shr edx, cl
add r8d, r10d
mov eax, r8d
movzx edx, dx
shr eax, 3
mov ecx, 0x10
sub ecx, r10d
add r9d, eax
shr edx, cl
add edi, edx
mov dword [rbp], r9d
and r8d, 7
mov dword [rbp + 4], r8d
movsxd rcx, r9d
movzx eax, byte [rcx + r15 + 1]
movzx edx, byte [rcx + r15]
shl edx, 8
or edx, eax
movzx eax, byte [rcx + r15 + 2]
shl edx, 8
mov ecx, r13d
or edx, eax
sub ecx, r8d
shr edx, cl
mov ecx, dword [rsi + 0xfac]
and edx, 0xfffe
cmp edx, dword [rsi + rcx*4 + 0xf2c]
jae 0x14001afe8
mov eax, 0x10
sub eax, ecx
mov cl, al
shr rdx, cl
movzx r11d, byte [rdx + rsi + 0xfb0]
add r11d, r8d
mov r14d, r11d
shr r14d, 3
add r14d, r9d
and r11d, 7
mov dword [rbp], r14d
mov dword [rbp + 4], r11d
movzx eax, word [rsi + rdx*2 + 0x13b0]
jmp 0x14001b063
mov r13d, 0xf
inc ecx
cmp ecx, r13d
jae 0x14001b018
mov r10d, ecx
add r10, 0x3cb
lea r10, [rsi + r10*4]
cmp edx, dword [r10]
jb 0x14001b015
inc ecx
add r10, 4
cmp ecx, r13d
jb 0x14001b003
jmp 0x14001b018
mov r13d, ecx
lea r11d, [r8 + r13]
mov ecx, 0x10
sub ecx, r13d
lea eax, [r13 - 1]
mov r14d, r11d
and r11d, 7
mov dword [rbp + 4], r11d
shr r14d, 3
add r14d, r9d
mov dword [rbp], r14d
sub edx, dword [rsi + rax*4 + 0xf2c]
mov eax, r13d
shr edx, cl
add edx, dword [rsi + rax*4 + 0xf6c]
cmp edx, dword [rsi + 0xf28]
sbb eax, eax
and eax, edx
movzx eax, word [rsi + rax*2 + 0x1bb0]
movzx eax, ax
mov r13d, r14d
cmp eax, 4
jae 0x14001b182
lea r9d, [rax + 1]
mov r13d, 8
cmp r9d, 0x100
jbe 0x14001b09d
inc edi
cmp r9d, 0x2000
jbe 0x14001b09d
inc edi
cmp r9d, 0x40000
jbe 0x14001b09d
inc edi
mov eax, dword [rbx + 0xc0]
mov dword [rbx + 0xc4], eax
mov eax, dword [rbx + 0xbc]
mov dword [rbx + 0xc0], eax
mov eax, dword [rbx + 0xb8]
mov dword [rbx + 0xbc], eax
mov dword [rbx + 0xb8], r9d
mov rdx, qword [rbx + 0xd8]
mov eax, r9d
mov r8, rdx
sub r8, rax
mov dword [rbx + 0xcc], edi
mov rax, qword [rbx + 0xe968]
add rax, 0xffffffffffffeffc
cmp r8, rax
jae 0x14001b469
cmp rdx, rax
jae 0x14001b469
mov rax, qword [rbx + 0x4ba8]
lea r14, [rax + r8]
lea r15, [rax + rdx]
mov eax, edi
add rax, rdx
mov qword [rbx + 0xd8], rax
cmp edi, r13d
jb 0x14001b3b2
cmp r9d, edi
jae 0x14001b38e
mov ecx, edi
shr rcx, 3
mov al, byte [r14]
add edi, 0xfffffff8
mov byte [r15], al
mov al, byte [r14 + 1]
mov byte [r15 + 1], al
mov al, byte [r14 + 2]
mov byte [r15 + 2], al
mov al, byte [r14 + 3]
mov byte [r15 + 3], al
mov al, byte [r14 + 4]
mov byte [r15 + 4], al
mov al, byte [r14 + 5]
mov byte [r15 + 5], al
mov al, byte [r14 + 6]
mov byte [r15 + 6], al
mov al, byte [r14 + 7]
add r14, r13
mov byte [r15 + 7], al
add r15, r13
sub rcx, 1
jne 0x14001b130
jmp 0x14001b3b2
mov r10d, eax
and eax, 1
shr r10d, 1
or eax, 2
dec r10d
mov ecx, r10d
shl eax, cl
lea r12d, [rax + 1]
mov r9d, r12d
test r10d, r10d
je 0x14001b076
cmp r10d, 4
jb 0x14001b321
jbe 0x14001b223
movsxd r8, r14d
mov ecx, 8
sub cl, byte [rsi + 0xc]
movzx eax, byte [r8 + r15 + 1]
movzx edx, byte [r8 + r15]
movzx r9d, byte [r8 + r15 + 4]
shr r9d, cl
mov ecx, r11d
shl edx, 8
add r11d, 0xfffffffc
or edx, eax
add r11d, r10d
movzx eax, byte [r8 + r15 + 2]
mov r13d, r11d
shl edx, 8
or edx, eax
shr r13d, 3
movzx eax, byte [r8 + r15 + 3]
add r13d, r14d
shl edx, 8
or edx, eax
mov dword [rbp], r13d
shl edx, cl
mov ecx, 0x24
or r9d, edx
sub ecx, r10d
shr r9d, cl
shl r9d, 4
add r9d, r12d
and r11d, 7
mov dword [rbp + 4], r11d
movsxd rdx, r13d
mov ecx, 8
sub ecx, r11d
movzx eax, byte [rdx + r15 + 1]
movzx r8d, byte [rdx + r15]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + r15 + 2]
shl r8d, 8
or r8d, eax
shr r8d, cl
mov ecx, dword [rsi + 0x1e98]
and r8d, 0xfffe
cmp r8d, dword [rsi + rcx*4 + 0x1e18]
jae 0x14001b29c
mov eax, 0x10
mov edx, r8d
sub eax, ecx
mov cl, al
shr rdx, cl
movzx ecx, byte [rdx + rsi + 0x1e9c]
add ecx, r11d
mov eax, ecx
shr eax, 3
add eax, r13d
and ecx, 7
mov dword [rbp], eax
mov dword [rbp + 4], ecx
movzx eax, word [rsi + rdx*2 + 0x229c]
jmp 0x14001b316
mov r10d, 0xf
inc ecx
cmp ecx, r10d
jae 0x14001b2cb
mov edx, ecx
add rdx, 0x786
lea rdx, [rsi + rdx*4]
cmp r8d, dword [rdx]
jb 0x14001b2c8
inc ecx
add rdx, 4
cmp ecx, r10d
jb 0x14001b2b6
jmp 0x14001b2cb
mov r10d, ecx
lea ecx, [r11 + r10]
mov eax, ecx
and ecx, 7
shr eax, 3
add eax, r13d
mov dword [rbp + 4], ecx
mov dword [rbp], eax
mov ecx, 0x10
sub ecx, r10d
lea eax, [r10 - 1]
sub r8d, dword [rsi + rax*4 + 0x1e18]
mov eax, r10d
shr r8d, cl
mov edx, dword [rsi + rax*4 + 0x1e58]
add edx, r8d
cmp edx, dword [rsi + 0x1e14]
sbb eax, eax
and eax, edx
movzx eax, word [rsi + rax*2 + 0x2a9c]
movzx eax, ax
add r9d, eax
jmp 0x14001b076
movsxd r8, r14d
mov r13d, 8
mov ecx, r13d
sub cl, byte [rsi + 0xc]
movzx eax, byte [r8 + r15 + 1]
movzx edx, byte [r8 + r15]
movzx r9d, byte [r8 + r15 + 4]
shr r9d, cl
mov ecx, r11d
shl edx, 8
or edx, eax
movzx eax, byte [r8 + r15 + 2]
shl edx, 8
or edx, eax
movzx eax, byte [r8 + r15 + 3]
shl edx, 8
or edx, eax
shl edx, cl
lea ecx, [r13 + 0x18]
sub ecx, r10d
or r9d, edx
shr r9d, cl
lea ecx, [r11 + r10]
mov eax, ecx
add r9d, r12d
shr eax, 3
add eax, r14d
and ecx, 7
mov dword [rbp], eax
mov dword [rbp + 4], ecx
jmp 0x14001b07c
mov r12d, edi
shr r12, 3
mov r8, r13
mov rdx, r14
mov rcx, r15
call fcn.140024920
add r14, r13
add r15, r13
add edi, 0xfffffff8
sub r12, 1
jne 0x14001b395
mov r9d, dword [rsp + 0x78]
mov eax, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x88]
test edi, edi
je 0x14001ad3d
mov al, byte [r14]
mov byte [r15], al
mov eax, dword [rsp + 0x80]
cmp edi, 1
jbe 0x14001ad3d
mov al, byte [r14 + 1]
mov byte [r15 + 1], al
mov eax, dword [rsp + 0x80]
cmp edi, 2
jbe 0x14001ad3d
mov al, byte [r14 + 2]
mov byte [r15 + 2], al
mov eax, dword [rsp + 0x80]
cmp edi, 3
jbe 0x14001ad3d
mov al, byte [r14 + 3]
mov byte [r15 + 3], al
mov eax, dword [rsp + 0x80]
cmp edi, 4
jbe 0x14001ad3d
mov al, byte [r14 + 4]
mov byte [r15 + 4], al
mov eax, dword [rsp + 0x80]
cmp edi, 5
jbe 0x14001ad3d
mov al, byte [r14 + 5]
mov byte [r15 + 5], al
mov eax, dword [rsp + 0x80]
cmp edi, 6
jbe 0x14001ad3d
mov al, byte [r14 + 6]
mov byte [r15 + 6], al
jmp 0x14001b90e
mov r9d, dword [rsp + 0x78]
mov eax, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x88]
test edi, edi
je 0x14001ad3d
mov rax, qword [rbx + 0xe970]
mov rcx, qword [rbx + 0x4ba8]
and rax, r8
inc r8
mov al, byte [rax + rcx]
mov byte [rdx + rcx], al
mov rdx, qword [rbx + 0xd8]
mov rax, qword [rbx + 0xe970]
inc rdx
and rdx, rax
mov qword [rbx + 0xd8], rdx
add edi, 0xffffffff
jne 0x14001b48c
jmp 0x14001b90e
cmp edx, 0x100
jne 0x14001b4fe
lea r8, [rsp + 0x20]
mov rdx, rbp
mov rcx, rbx
call fcn.140016638
test al, al
je 0x14001b921
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140014524
test al, al
je 0x14001b921
jmp 0x14001aed6
cmp edx, 0x101
jne 0x14001b645
mov edi, dword [rbx + 0xcc]
mov r9d, dword [rsp + 0x78]
mov eax, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x88]
test edi, edi
je 0x14001ad3d
mov rdx, qword [rbx + 0xd8]
mov ecx, dword [rbx + 0xb8]
mov r8, rdx
mov rax, qword [rbx + 0xe968]
sub r8, rcx
add rax, 0xffffffffffffeffc
cmp r8, rax
jae 0x14001b606
cmp rdx, rax
jae 0x14001b606
mov rax, qword [rbx + 0x4ba8]
lea r14, [rax + r8]
lea r15, [rax + rdx]
lea rax, [rdx + rdi]
mov qword [rbx + 0xd8], rax
cmp edi, r13d
jb 0x14001b3b2
cmp ecx, edi
jae 0x14001b5dd
mov ecx, edi
shr rcx, 3
mov al, byte [r14]
add edi, 0xfffffff8
mov byte [r15], al
mov al, byte [r14 + 1]
mov byte [r15 + 1], al
mov al, byte [r14 + 2]
mov byte [r15 + 2], al
mov al, byte [r14 + 3]
mov byte [r15 + 3], al
mov al, byte [r14 + 4]
mov byte [r15 + 4], al
mov al, byte [r14 + 5]
mov byte [r15 + 5], al
mov al, byte [r14 + 6]
mov byte [r15 + 6], al
mov al, byte [r14 + 7]
add r14, r13
mov byte [r15 + 7], al
add r15, r13
sub rcx, 1
jne 0x14001b58b
jmp 0x14001b3b2
mov r12, rdi
shr r12, 3
mov r8, r13
mov rdx, r14
mov rcx, r15
call fcn.140024920
add r14, r13
add r15, r13
add edi, 0xfffffff8
sub r12, 1
jne 0x14001b5e4
jmp 0x14001b3b2
mov rax, qword [rbx + 0xe970]
mov rcx, qword [rbx + 0x4ba8]
and rax, r8
inc r8
mov al, byte [rax + rcx]
mov byte [rdx + rcx], al
mov rdx, qword [rbx + 0xd8]
mov rax, qword [rbx + 0xe970]
inc rdx
and rdx, rax
mov qword [rbx + 0xd8], rdx
add edi, 0xffffffff
jne 0x14001b60d
jmp 0x14001b90e
add edx, 0xfffffefe
lea r8, [rbx + 0xb8]
lea r8, [r8 + rdx*4]
mov r12d, dword [r8]
je 0x14001b66e
sub edx, 1
mov ecx, dword [rbx + rdx*4 + 0xb8]
mov dword [r8], ecx
lea r8, [r8 - 4]
jne 0x14001b65b
mov dword [rbx + 0xb8], r12d
mov ecx, r13d
movsxd r10, dword [rbp]
mov r11, qword [rbp + 0x10]
mov edi, dword [rbp + 4]
sub ecx, edi
movzx eax, byte [r10 + r11]
movzx edx, byte [r10 + r11 + 1]
shl eax, 8
or edx, eax
movzx eax, byte [r10 + r11 + 2]
shl edx, 8
or edx, eax
shr edx, cl
mov ecx, dword [rsi + 0x2d84]
and edx, 0xfffe
cmp edx, dword [rsi + rcx*4 + 0x2d04]
jae 0x14001b6ee
mov eax, 0x10
sub eax, ecx
mov cl, al
shr rdx, cl
movzx r8d, byte [rdx + rsi + 0x2d88]
add r8d, edi
mov eax, r8d
shr eax, 3
add r10d, eax
and r8d, 7
mov dword [rbp], r10d
mov dword [rbp + 4], r8d
movzx eax, word [rsi + rdx*2 + 0x3188]
jmp 0x14001b768
mov r9d, 0xf
inc ecx
cmp ecx, r9d
jae 0x14001b71e
mov r8d, ecx
add r8, 0xb41
lea r8, [rsi + r8*4]
cmp edx, dword [r8]
jb 0x14001b71b
inc ecx
add r8, 4
cmp ecx, r9d
jb 0x14001b709
jmp 0x14001b71e
mov r9d, ecx
lea r8d, [r9 + rdi]
mov ecx, 0x10
mov eax, r8d
sub ecx, r9d
shr eax, 3
and r8d, 7
add r10d, eax
mov dword [rbp + 4], r8d
mov dword [rbp], r10d
lea eax, [r9 - 1]
sub edx, dword [rsi + rax*4 + 0x2d04]
mov eax, r9d
shr edx, cl
add edx, dword [rsi + rax*4 + 0x2d44]
cmp edx, dword [rsi + 0x2d00]
sbb eax, eax
and eax, edx
movzx eax, word [rsi + rax*2 + 0x3988]
movzx edi, ax
cmp edi, r13d
jae 0x14001b775
add edi, 2
jmp 0x14001b7dc
mov r9d, edi
and edi, 3
or edi, 4
shr r9d, 2
dec r9d
mov ecx, r9d
shl edi, cl
add edi, 2
test r9d, r9d
je 0x14001b7dc
movsxd rcx, r10d
movzx eax, byte [rcx + r11]
movzx edx, byte [rcx + r11 + 1]
shl eax, 8
or edx, eax
movzx eax, byte [rcx + r11 + 2]
shl edx, 8
mov ecx, r13d
or edx, eax
sub ecx, r8d
shr edx, cl
mov ecx, 0x10
sub ecx, r9d
movzx edx, dx
shr edx, cl
lea ecx, [r8 + r9]
mov eax, ecx
add edi, edx
shr eax, 3
add eax, r10d
and ecx, 7
mov dword [rbp], eax
mov dword [rbp + 4], ecx
mov rdx, qword [rbx + 0xd8]
mov rax, qword [rbx + 0xe968]
mov r8, rdx
sub r8, r12
mov dword [rbx + 0xcc], edi
add rax, 0xffffffffffffeffc
cmp r8, rax
jae 0x14001b8b8
cmp rdx, rax
jae 0x14001b8b8
mov rax, qword [rbx + 0x4ba8]
lea r14, [rax + r8]
lea r15, [rax + rdx]
mov eax, edi
add rax, rdx
mov qword [rbx + 0xd8], rax
cmp edi, r13d
jb 0x14001b3b2
cmp r12d, edi
jae 0x14001b88f
mov ecx, edi
shr rcx, 3
mov al, byte [r14]
add edi, 0xfffffff8
mov byte [r15], al
mov al, byte [r14 + 1]
mov byte [r15 + 1], al
mov al, byte [r14 + 2]
mov byte [r15 + 2], al
mov al, byte [r14 + 3]
mov byte [r15 + 3], al
mov al, byte [r14 + 4]
mov byte [r15 + 4], al
mov al, byte [r14 + 5]
mov byte [r15 + 5], al
mov al, byte [r14 + 6]
mov byte [r15 + 6], al
mov al, byte [r14 + 7]
add r14, r13
mov byte [r15 + 7], al
add r15, r13
sub rcx, 1
jne 0x14001b83d
jmp 0x14001b3b2
mov r12d, edi
shr r12, 3
mov r8, r13
mov rdx, r14
mov rcx, r15
call fcn.140024920
add r14, r13
add r15, r13
add edi, 0xfffffff8
sub r12, 1
jne 0x14001b896
jmp 0x14001b3b2
mov r9d, dword [rsp + 0x78]
mov eax, dword [rsp + 0x80]
mov r10d, dword [rsp + 0x88]
test edi, edi
je 0x14001ad3d
mov rax, qword [rbx + 0xe970]
mov rcx, qword [rbx + 0x4ba8]
and rax, r8
inc r8
mov al, byte [rax + rcx]
mov byte [rdx + rcx], al
mov rdx, qword [rbx + 0xd8]
mov rax, qword [rbx + 0xe970]
inc rdx
and rdx, rax
mov qword [rbx + 0xd8], rdx
add edi, 0xffffffff
jne 0x14001b8db
mov eax, dword [rsp + 0x80]
jmp 0x14001ad3d
mov byte [rsi + 0x4adf], 1
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret