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

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
cmp dword [rsp + 0x88], 0x10ffff
ja 0x14014db6a
cmp dword [rsp + 0x88], 0xd800
jb 0x14014dbb0
cmp dword [rsp + 0x88], 0xdbff
ja 0x14014dbb0
movzx eax, byte [rsp + 0x98]
test eax, eax
je 0x14014dbab
mov al, byte [rsp + 0x98]
mov byte [rsp + 0x20], al
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x90]
call fcn.14002d354
mov rcx, rax
call fcn.14000824c
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.14002cf00
jmp 0x14014de54
mov dword [rsp + 0x2c], 1
cmp dword [rsp + 0x88], 0x80
jae 0x14014dbcf
mov dword [rsp + 0x2c], 1
jmp 0x14014dc12
cmp dword [rsp + 0x88], 0x800
jae 0x14014dbe6
mov dword [rsp + 0x2c], 2
jmp 0x14014dc12
cmp dword [rsp + 0x88], 0x10000
jae 0x14014dbfd
mov dword [rsp + 0x2c], 3
jmp 0x14014dc12
cmp dword [rsp + 0x88], 0x10ffff
ja 0x14014dc12
mov dword [rsp + 0x2c], 4
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 1
je 0x14014dcc9
cmp dword [rsp + 0x38], 2
je 0x14014dc9b
cmp dword [rsp + 0x38], 3
je 0x14014dc6d
cmp dword [rsp + 0x38], 4
je 0x14014dc3f
jmp 0x14014dcf1
mov eax, dword [rsp + 0x88]
bts eax, 7
and eax, 0xbf
mov ecx, 1
imul rcx, rcx, 3
mov byte [rsp + rcx + 0x3c], al
mov eax, dword [rsp + 0x88]
shr eax, 6
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x88]
bts eax, 7
and eax, 0xbf
mov ecx, 1
imul rcx, rcx, 2
mov byte [rsp + rcx + 0x3c], al
mov eax, dword [rsp + 0x88]
shr eax, 6
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x88]
bts eax, 7
and eax, 0xbf
mov ecx, 1
imul rcx, rcx, 1
mov byte [rsp + rcx + 0x3c], al
mov eax, dword [rsp + 0x88]
shr eax, 6
mov dword [rsp + 0x88], eax
movsxd rax, dword [rsp + 0x2c]
lea rcx, [0x140202618]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x88]
or ecx, eax
mov eax, ecx
mov ecx, 1
imul rcx, rcx, 0
mov byte [rsp + rcx + 0x3c], al
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 1
je 0x14014de0a
cmp dword [rsp + 0x40], 2
je 0x14014ddc0
cmp dword [rsp + 0x40], 3
je 0x14014dd76
cmp dword [rsp + 0x40], 4
je 0x14014dd2c
jmp 0x14014de54
mov rax, qword [rsp + 0x30]
mov al, byte [rax]
mov byte [rsp + 0x21], al
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov al, byte [rsp + 0x21]
mov byte [rsp + 0x22], al
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x90]
call fcn.14002d354
mov rcx, rax
call fcn.14000824c
lea rdx, [rsp + 0x22]
mov rcx, rax
call fcn.14002cf00
mov rax, qword [rsp + 0x30]
mov al, byte [rax]
mov byte [rsp + 0x23], al
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov al, byte [rsp + 0x23]
mov byte [rsp + 0x24], al
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x90]
call fcn.14002d354
mov rcx, rax
call fcn.14000824c
lea rdx, [rsp + 0x24]
mov rcx, rax
call fcn.14002cf00
mov rax, qword [rsp + 0x30]
mov al, byte [rax]
mov byte [rsp + 0x25], al
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov al, byte [rsp + 0x25]
mov byte [rsp + 0x26], al
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x90]
call fcn.14002d354
mov rcx, rax
call fcn.14000824c
lea rdx, [rsp + 0x26]
mov rcx, rax
call fcn.14002cf00
mov rax, qword [rsp + 0x30]
mov al, byte [rax]
mov byte [rsp + 0x27], al
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov al, byte [rsp + 0x27]
mov byte [rsp + 0x28], al
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x90]
call fcn.14002d354
mov rcx, rax
call fcn.14000824c
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.14002cf00
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x90]
mov qword [rax], rcx
mov rax, qword [rsp + 0x80]
add rsp, 0x78
ret