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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax]
sar eax, 3
cdqe
lea rcx, [0x140264080]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x140123f33
mov dword [rsp + 0x30], 1
jmp 0x140123f3b
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
cmp qword [rsp + 0x90], 0
jne 0x140123f71
movsxd rax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x88], rax
jae 0x140123f9e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x34], eax
jmp 0x140123fa6
mov dword [rsp + 0x34], 0
mov eax, 1
imul rax, rax, 0
movzx ecx, byte [rsp + 0x34]
mov byte [rsp + rax + 0x24], cl
mov rax, qword [rsp + 0x88]
inc rax
cmp rax, qword [rsp + 0x90]
jae 0x140123fe8
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x38], eax
jmp 0x140123ff0
mov dword [rsp + 0x38], 0
mov eax, 1
imul rax, rax, 1
movzx ecx, byte [rsp + 0x38]
mov byte [rsp + rax + 0x24], cl
mov rax, qword [rsp + 0x88]
add rax, 2
cmp rax, qword [rsp + 0x90]
jae 0x140124033
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x3c], eax
jmp 0x14012403b
mov dword [rsp + 0x3c], 0
mov eax, 1
imul rax, rax, 2
movzx ecx, byte [rsp + 0x3c]
mov byte [rsp + rax + 0x24], cl
mov rax, qword [rsp + 0x88]
add rax, 3
cmp rax, qword [rsp + 0x90]
jae 0x14012407e
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x40], eax
jmp 0x140124086
mov dword [rsp + 0x40], 0
mov eax, 1
imul rax, rax, 3
movzx ecx, byte [rsp + 0x40]
mov byte [rsp + rax + 0x24], cl
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x24]
movsxd rcx, dword [rsp + 0x28]
lea rdx, [0x1402640a0]
and eax, dword [rdx + rcx*4]
shl eax, 0x12
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x24]
and eax, 0x3f
shl eax, 0xc
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov eax, 1
imul rax, rax, 2
movzx eax, byte [rsp + rax + 0x24]
and eax, 0x3f
shl eax, 6
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov eax, 1
imul rax, rax, 3
movzx eax, byte [rsp + rax + 0x24]
and eax, 0x3f
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
movsxd rax, dword [rsp + 0x28]
lea rcx, [0x1402640d0]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x60], rcx
movzx ecx, al
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
shr eax, cl
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov dword [rsp + 0x20], 0
movsxd rax, dword [rsp + 0x28]
lea rcx, [0x1402640b8]
mov rdx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*4]
cmp dword [rdx], eax
jae 0x1401241a2
mov dword [rsp + 0x44], 1
jmp 0x1401241aa
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
shl eax, 6
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
shr eax, 0xb
cmp eax, 0x1b
jne 0x1401241d1
mov dword [rsp + 0x48], 1
jmp 0x1401241d9
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
shl eax, 7
mov ecx, dword [rsp + 0x20]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0xffff
jbe 0x140124206
mov dword [rsp + 0x4c], 1
jmp 0x14012420e
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
shl eax, 8
mov ecx, dword [rsp + 0x20]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x24]
and eax, 0xc0
sar eax, 2
mov ecx, dword [rsp + 0x20]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, 1
imul rax, rax, 2
movzx eax, byte [rsp + rax + 0x24]
and eax, 0xc0
sar eax, 4
mov ecx, dword [rsp + 0x20]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, 1
imul rax, rax, 3
movzx eax, byte [rsp + rax + 0x24]
sar eax, 6
mov ecx, dword [rsp + 0x20]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
xor eax, 0x2a
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x28]
lea rcx, [0x1402640e8]
mov eax, dword [rcx + rax*4]
movzx ecx, al
mov eax, dword [rsp + 0x20]
sar eax, cl
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140124375
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x24]
test eax, eax
je 0x1401242d0
mov dword [rsp + 0x54], 1
jmp 0x1401242d8
mov dword [rsp + 0x54], 0
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x24]
test eax, eax
je 0x1401242f4
mov dword [rsp + 0x50], 1
jmp 0x1401242fc
mov dword [rsp + 0x50], 0
mov eax, 1
imul rax, rax, 2
movzx eax, byte [rsp + rax + 0x24]
test eax, eax
je 0x140124318
mov dword [rsp + 0x58], 1
jmp 0x140124320
mov dword [rsp + 0x58], 0
mov eax, 1
imul rax, rax, 3
movzx eax, byte [rsp + rax + 0x24]
test eax, eax
je 0x14012433c
mov dword [rsp + 0x5c], 1
jmp 0x140124344
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
add ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x58]
add eax, dword [rsp + 0x5c]
mov edx, eax
mov ecx, dword [rsp + 0x2c]
call fcn.1400f1de0
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0xfffd
mov eax, dword [rsp + 0x2c]
add rsp, 0x78
ret