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

Disassembly:
lea r12, [rsp - 0x58]
cmp r12, qword [r14 + 0x10]
jbe 0x4879b6
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 0x4876ce
mov rdx, qword [rsp + 0x68]
cmp qword [rsp + 0x60], rdx
jg 0x4876dc
jmp 0x48770f
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 0x4876fd
jmp 0x487704
inc qword [rsp + 0x40]
jmp 0x487706
jmp 0x487706
jmp 0x487708
inc qword [rsp + 0x68]
jmp 0x4876ce
mov rcx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x40]
lea rax, [0x004afdc0]
call fcn.00446520
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 0x487790
mov rdx, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rdx
jg 0x4877a5
nop dword [rax]
jmp 0x48796e
mov rdx, qword [rsp + 0x58]
shl rdx, 2
add rdx, qword [rsp + 0xb8]
mov edx, dword [rdx]
mov dword [rsp + 0x1c], edx
test edx, edx
setge byte [rsp + 0x1b]
jge 0x4877c7
jmp 0x4877d6
cmp dword [rsp + 0x1c], 0xd800
setl byte [rsp + 0x1b]
jmp 0x4877d8
jmp 0x4877d8
cmp byte [rsp + 0x1b], 0
jne 0x4877e2
nop
jmp 0x4877e4
jmp 0x487811
cmp dword [rsp + 0x1c], 0xe000
setge byte [rsp + 0x1a]
jge 0x4877f5
jmp 0x487804
cmp dword [rsp + 0x1c], 0x10000
setl byte [rsp + 0x1a]
jmp 0x487806
jmp 0x487806
cmp byte [rsp + 0x1a], 0
jne 0x48780f
jmp 0x487832
jmp 0x487811
mov rdx, qword [rsp + 0x40]
shl rdx, 1
add rdx, qword [rsp + 0x88]
mov esi, dword [rsp + 0x1c]
mov word [rdx], si
inc qword [rsp + 0x40]
jmp 0x487962
cmp dword [rsp + 0x1c], 0x10000
setge byte [rsp + 0x19]
nop
jge 0x487844
jmp 0x487853
cmp dword [rsp + 0x1c], 0x10ffff
setle byte [rsp + 0x19]
jmp 0x487855
jmp 0x487855
cmp byte [rsp + 0x19], 0
jne 0x487865
nop dword [rax]
jmp 0x487942
jmp 0x487867
mov edx, dword [rsp + 0x1c]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x24], 0
cmp edx, 0x10000
setl byte [rsp + 0x18]
jl 0x48788e
jmp 0x487890
jmp 0x48789f
cmp dword [rsp + 0x34], 0x10ffff
setg byte [rsp + 0x18]
jmp 0x48789f
cmp byte [rsp + 0x18], 0
jne 0x4878a8
jmp 0x4878ba
mov dword [rsp + 0x2c], 0xfffd
mov dword [rsp + 0x24], 0xfffd
jmp 0x4878ef
mov edx, dword [rsp + 0x34]
add edx, 0xffff0000
mov dword [rsp + 0x34], edx
mov esi, edx
sar edx, 0xa
and edx, 0x3ff
add edx, 0xd800
mov dword [rsp + 0x2c], edx
and esi, 0x3ff
lea edx, [rsi + 0xdc00]
mov dword [rsp + 0x24], edx
jmp 0x4878ef
mov edx, dword [rsp + 0x2c]
mov dword [rsp + 0x3c], edx
mov esi, dword [rsp + 0x24]
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], esi
mov rsi, qword [rsp + 0x40]
shl rsi, 1
add rsi, qword [rsp + 0x88]
mov word [rsi], dx
mov rdx, qword [rsp + 0x40]
inc rdx
mov qword [rsp + 0x48], rdx
shl rdx, 1
add rdx, qword [rsp + 0x88]
mov esi, dword [rsp + 0x28]
mov word [rdx], si
add qword [rsp + 0x40], 2
nop
jmp 0x487962
jmp 0x487944
mov rdx, qword [rsp + 0x40]
shl rdx, 1
add rdx, qword [rsp + 0x88]
mov word [rdx], 0xfffd
inc qword [rsp + 0x40]
nop
jmp 0x487962
jmp 0x487964
inc qword [rsp + 0x58]
jmp 0x487790
mov rbx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rcx
add rsp, 0xd0
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045ca20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.00487640