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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp], 0
cmp dword [rsp + 0x88], 0
je 0x14002581f
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
imul eax, eax, 0x100
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
add eax, ecx
mov word [rsp + 4], ax
movzx eax, word [rsp + 4]
cmp eax, 0x80
jge 0x1400254ad
mov eax, dword [rsp + 0x78]
cmp dword [rsp], eax
jl 0x140025472
mov eax, 0xffffffff
jmp 0x140025822
movsxd rax, dword [rsp]
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x14], eax
movzx eax, word [rsp + 4]
mov dword [rsp + 0x10], eax
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x10]
cmp dword [rsp + 0x14], eax
je 0x1400254a8
mov eax, 0xffffffff
jmp 0x140025822
jmp 0x1400257f5
movzx eax, word [rsp + 4]
cmp eax, 0x800
jge 0x140025553
mov eax, dword [rsp]
inc eax
cmp eax, dword [rsp + 0x78]
jl 0x1400254d2
mov eax, 0xffffffff
jmp 0x140025822
movsxd rax, dword [rsp]
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x1c], eax
movzx eax, word [rsp + 4]
sar eax, 6
add eax, 0xc0
mov dword [rsp + 0x18], eax
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0x1c], eax
je 0x140025510
mov eax, 0xffffffff
jmp 0x140025822
movsxd rax, dword [rsp]
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x24], eax
movzx eax, word [rsp + 4]
and eax, 0x3f
add eax, 0x80
mov dword [rsp + 0x20], eax
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
je 0x14002554e
mov eax, 0xffffffff
jmp 0x140025822
jmp 0x1400257f5
movzx eax, word [rsp + 4]
cmp eax, 0xd800
jl 0x140025701
movzx eax, word [rsp + 4]
cmp eax, 0xdc00
jge 0x140025701
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
imul eax, eax, 0x100
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
add eax, ecx
mov word [rsp + 0xc], ax
mov eax, dword [rsp]
add eax, 3
cmp eax, dword [rsp + 0x78]
jl 0x1400255c0
mov eax, 0xffffffff
jmp 0x140025822
movzx eax, word [rsp + 4]
sub eax, 0xd800
shl eax, 0xa
movzx ecx, word [rsp + 0xc]
lea eax, [rax + rcx + 0x2400]
mov dword [rsp + 8], eax
movsxd rax, dword [rsp]
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 8]
shr eax, 0x12
add eax, 0xf0
mov dword [rsp + 0x28], eax
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x2c], eax
je 0x14002561a
mov eax, 0xffffffff
jmp 0x140025822
movsxd rax, dword [rsp]
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 8]
shr eax, 0xc
and eax, 0x3f
add eax, 0x80
mov dword [rsp + 0x30], eax
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x34], eax
je 0x14002565a
mov eax, 0xffffffff
jmp 0x140025822
movsxd rax, dword [rsp]
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 8]
shr eax, 6
and eax, 0x3f
add eax, 0x80
mov dword [rsp + 0x38], eax
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x3c], eax
je 0x14002569a
mov eax, 0xffffffff
jmp 0x140025822
movsxd rax, dword [rsp]
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 8]
and eax, 0x3f
add eax, 0x80
mov dword [rsp + 0x40], eax
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
je 0x1400256d7
mov eax, 0xffffffff
jmp 0x140025822
mov rax, qword [rsp + 0x80]
add rax, 2
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x88]
sub eax, 2
mov dword [rsp + 0x88], eax
jmp 0x1400257f5
movzx eax, word [rsp + 4]
cmp eax, 0xdc00
jl 0x140025728
movzx eax, word [rsp + 4]
cmp eax, 0xe000
jge 0x140025728
mov eax, 0xffffffff
jmp 0x140025822
mov eax, dword [rsp]
add eax, 2
cmp eax, dword [rsp + 0x78]
jl 0x14002573e
mov eax, 0xffffffff
jmp 0x140025822
movsxd rax, dword [rsp]
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x4c], eax
movzx eax, word [rsp + 4]
sar eax, 0xc
add eax, 0xe0
mov dword [rsp + 0x48], eax
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x4c], eax
je 0x14002577c
mov eax, 0xffffffff
jmp 0x140025822
movsxd rax, dword [rsp]
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x54], eax
movzx eax, word [rsp + 4]
sar eax, 6
and eax, 0x3f
add eax, 0x80
mov dword [rsp + 0x50], eax
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x54], eax
je 0x1400257ba
mov eax, 0xffffffff
jmp 0x140025822
movsxd rax, dword [rsp]
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x5c], eax
movzx eax, word [rsp + 4]
and eax, 0x3f
add eax, 0x80
mov dword [rsp + 0x58], eax
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x5c], eax
je 0x1400257f5
mov eax, 0xffffffff
jmp 0x140025822
mov rax, qword [rsp + 0x80]
add rax, 2
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x88]
sub eax, 2
mov dword [rsp + 0x88], eax
jmp 0x14002540e
mov eax, dword [rsp]
add rsp, 0x68
ret