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

Disassembly:
lea r12, [rsp - 0x58]
cmp r12, qword [r14 + 0x10]
jbe 0x48847f
push rbp
mov rbp, rsp
sub rsp, 0xd0
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0x70], 0
movups xmmword [rsp + 0x78], xmm15
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x40], rdx
mov rdx, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xf0]
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], rdx
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x60], rdx
jmp 0x48810e
mov rdx, qword [rsp + 0x68]
cmp qword [rsp + 0x60], rdx
jg 0x48811c
jmp 0x48814f
mov rdx, qword [rsp + 0x68]
shl rdx, 2
add rdx, qword [rsp + 0xb8]
mov edx, dword [rdx]
mov dword [rsp + 0x20], edx
cmp edx, 0x10000
jge 0x48813d
jmp 0x488144
inc qword [rsp + 0x40]
jmp 0x488146
jmp 0x488146
jmp 0x488148
inc qword [rsp + 0x68]
jmp 0x48810e
mov rcx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x40]
lea rax, [0x004b5bc0]
call sym.runtime.makeslice
mov rdx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x40]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x40], 0
mov rdx, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xf0]
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], rdx
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], rdx
jmp 0x4881d0
mov rsi, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rsi
jg 0x4881e5
nop dword [rax]
jmp 0x488405
mov rsi, qword [rsp + 0x58]
shl rsi, 2
add rsi, qword [rsp + 0xb8]
mov esi, dword [rsi]
mov dword [rsp + 0x1c], esi
test esi, esi
setge byte [rsp + 0x1b]
jge 0x488207
jmp 0x488216
cmp dword [rsp + 0x1c], 0xd800
setl byte [rsp + 0x1b]
jmp 0x488218
jmp 0x488218
cmp byte [rsp + 0x1b], 0
jne 0x488222
nop
jmp 0x488224
jmp 0x488251
cmp dword [rsp + 0x1c], 0xe000
setge byte [rsp + 0x1a]
jge 0x488235
jmp 0x488244
cmp dword [rsp + 0x1c], 0x10000
setl byte [rsp + 0x1a]
jmp 0x488246
jmp 0x488246
cmp byte [rsp + 0x1a], 0
jne 0x48824f
jmp 0x488285
jmp 0x488251
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
mov edi, dword [rsp + 0x1c]
cmp rax, rcx
jb 0x488274
jmp 0x488479
lea rsi, [rsi + rax*2]
mov word [rsi], di
inc qword [rsp + 0x40]
jmp 0x4883f5
cmp dword [rsp + 0x1c], 0x10000
setge byte [rsp + 0x19]
jge 0x488296
jmp 0x4882a5
cmp dword [rsp + 0x1c], 0x10ffff
setle byte [rsp + 0x19]
jmp 0x4882a7
jmp 0x4882a7
cmp byte [rsp + 0x19], 0
jne 0x4882b3
jmp 0x4883c0
jmp 0x4882b5
mov esi, dword [rsp + 0x1c]
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x24], 0
cmp esi, 0x10000
setl byte [rsp + 0x18]
jl 0x4882dc
jmp 0x4882de
jmp 0x4882ed
cmp dword [rsp + 0x34], 0x10ffff
setg byte [rsp + 0x18]
jmp 0x4882ed
cmp byte [rsp + 0x18], 0
jne 0x4882f6
jmp 0x488308
mov dword [rsp + 0x2c], 0xfffd
mov dword [rsp + 0x24], 0xfffd
jmp 0x48833d
mov esi, dword [rsp + 0x34]
add esi, 0xffff0000
mov dword [rsp + 0x34], esi
mov edi, esi
sar esi, 0xa
and esi, 0x3ff
add esi, 0xd800
mov dword [rsp + 0x2c], esi
and edi, 0x3ff
lea esi, [rdi + 0xdc00]
mov dword [rsp + 0x24], esi
jmp 0x48833d
mov esi, dword [rsp + 0x2c]
mov dword [rsp + 0x3c], esi
mov edi, dword [rsp + 0x24]
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], edi
mov rcx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rax, qword [rsp + 0x40]
cmp rax, rcx
jb 0x488374
jmp 0x488474
lea rdi, [rdi + rax*2]
mov word [rdi], si
mov rax, qword [rsp + 0x40]
lea rsi, [rax + 1]
mov qword [rsp + 0x48], rsi
mov rcx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov r8d, dword [rsp + 0x28]
nop
cmp rcx, rsi
ja 0x4883aa
jmp 0x48846c
lea rsi, [rdi + rax*2]
lea rsi, [rsi + 2]
mov word [rsi], r8w
add qword [rsp + 0x40], 2
jmp 0x4883f5
jmp 0x4883c2
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
cmp rax, rcx
jb 0x4883e5
nop dword [rax]
jmp 0x488467
lea rsi, [rsi + rax*2]
mov word [rsi], 0xfffd
inc qword [rsp + 0x40]
jmp 0x4883f5
jmp 0x4883f7
inc qword [rsp + 0x58]
nop dword [rax]
jmp 0x4881d0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x88]
cmp rcx, rdx
jbe 0x488422
nop
jmp 0x488462
jmp 0x488424
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rdx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rdx
mov rax, qword [rsp + 0x70]
mov rbx, rcx
mov rcx, rdx
add rsp, 0xd0
pop rbp
ret
call sym.runtime.panicSliceAcap
call sym.runtime.panicIndex
mov rax, rsi
call sym.runtime.panicIndex
call sym.runtime.panicIndex
call sym.runtime.panicIndex
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp sym.unicode_utf16.Encode