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

Disassembly:
lea r12, [rsp - 0x70]
cmp r12, qword [r14 + 0x10]
jbe 0x49887c
push rbp
mov rbp, rsp
sub rsp, 0xe8
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x108], rcx
mov qword [rsp + 0x88], 0
movups xmmword [rsp + 0x90], xmm15
mov rdx, qword [rsp + 0x100]
mov qword [rsp + 0x50], rdx
mov rdx, qword [rsp + 0x100]
mov rsi, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x108]
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd8], rdx
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x78], rdx
jmp 0x498537
mov rdx, qword [rsp + 0x80]
nop
cmp qword [rsp + 0x78], rdx
jg 0x498549
jmp 0x498582
mov rdx, qword [rsp + 0x80]
shl rdx, 2
add rdx, qword [rsp + 0xd0]
mov edx, dword [rdx]
mov dword [rsp + 0x34], edx
cmp edx, 0x10000
jge 0x49856d
jmp 0x498574
inc qword [rsp + 0x50]
jmp 0x498576
jmp 0x498576
jmp 0x498578
inc qword [rsp + 0x80]
jmp 0x498537
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x50]
lea rax, [0x004c4b20]
call fcn.00461e00
mov rdx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x50]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rdx
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0x50], 0
mov rdx, qword [rsp + 0x100]
mov rsi, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x108]
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd8], rdx
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x68], rdx
jmp 0x498603
mov rdx, qword [rsp + 0x70]
cmp qword [rsp + 0x68], rdx
jg 0x498614
jmp 0x49882e
mov rdx, qword [rsp + 0x70]
shl rdx, 2
add rdx, qword [rsp + 0xd0]
mov edx, dword [rdx]
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x2c], edx
mov qword [rsp + 0x48], 0
cmp dword [rsp + 0x2c], 0
setge byte [rsp + 0x1f]
jge 0x498646
jmp 0x498655
cmp dword [rsp + 0x2c], 0xd800
setl byte [rsp + 0x1f]
jmp 0x498657
jmp 0x498657
cmp byte [rsp + 0x1f], 0
jne 0x498662
nop
jmp 0x498664
jmp 0x498691
cmp dword [rsp + 0x2c], 0xe000
setge byte [rsp + 0x1e]
jge 0x498675
jmp 0x498684
cmp dword [rsp + 0x2c], 0x10000
setl byte [rsp + 0x1e]
jmp 0x498686
jmp 0x498686
cmp byte [rsp + 0x1e], 0
jne 0x49868f
jmp 0x49869c
jmp 0x498691
mov qword [rsp + 0x48], 1
jmp 0x4986e2
cmp dword [rsp + 0x2c], 0x10000
setge byte [rsp + 0x1d]
jge 0x4986ad
jmp 0x4986bc
cmp dword [rsp + 0x2c], 0x10ffff
setle byte [rsp + 0x1d]
jmp 0x4986be
jmp 0x4986be
cmp byte [rsp + 0x1d], 0
jne 0x4986c7
jmp 0x4986d4
jmp 0x4986c9
mov qword [rsp + 0x48], 2
jmp 0x4986e2
jmp 0x4986d6
mov qword [rsp + 0x48], 0xffffffffffffffff
nop
jmp 0x4986e2
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x60], rdx
cmp rdx, 1
je 0x4986f4
jmp 0x498717
jmp 0x4986f6
mov rdx, qword [rsp + 0x50]
shl rdx, 1
add rdx, qword [rsp + 0xa0]
mov esi, dword [rsp + 0x30]
mov word [rdx], si
inc qword [rsp + 0x50]
jmp 0x498822
cmp rdx, 2
je 0x498725
nop dword [rax]
jmp 0x498802
jmp 0x498727
mov edx, dword [rsp + 0x30]
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x20], 0
cmp edx, 0x10000
setl byte [rsp + 0x1d]
jl 0x49874e
jmp 0x498750
jmp 0x49875f
cmp dword [rsp + 0x28], 0x10ffff
setg byte [rsp + 0x1d]
jmp 0x49875f
cmp byte [rsp + 0x1d], 0
jne 0x498768
jmp 0x49877a
mov dword [rsp + 0x38], 0xfffd
mov dword [rsp + 0x20], 0xfffd
jmp 0x4987af
mov edx, dword [rsp + 0x28]
add edx, 0xffff0000
mov dword [rsp + 0x28], edx
mov esi, edx
sar edx, 0xa
and edx, 0x3ff
add edx, 0xd800
mov dword [rsp + 0x38], edx
and esi, 0x3ff
lea edx, [rsi + 0xdc00]
mov dword [rsp + 0x20], edx
jmp 0x4987af
mov edx, dword [rsp + 0x38]
mov dword [rsp + 0x44], edx
mov esi, dword [rsp + 0x20]
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x3c], edx
mov dword [rsp + 0x24], esi
mov rsi, qword [rsp + 0x50]
shl rsi, 1
add rsi, qword [rsp + 0xa0]
mov word [rsi], dx
mov rdx, qword [rsp + 0x50]
inc rdx
mov qword [rsp + 0x58], rdx
shl rdx, 1
add rdx, qword [rsp + 0xa0]
mov esi, dword [rsp + 0x24]
mov word [rdx], si
add qword [rsp + 0x50], 2
nop
jmp 0x498822
jmp 0x498804
jmp 0x498806
mov rdx, qword [rsp + 0x50]
shl rdx, 1
add rdx, qword [rsp + 0xa0]
mov word [rdx], 0xfffd
inc qword [rsp + 0x50]
jmp 0x498822
jmp 0x498824
inc qword [rsp + 0x70]
jmp 0x498603
mov rbx, qword [rsp + 0x50]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rcx
add rsp, 0xe8
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00465ca0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop
jmp fcn.004984a0