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

Disassembly:
lea r12, [rsp - 0x58]
cmp r12, qword [r14 + 0x10]
jbe 0x491253
sub rsp, 0xd8
mov qword [rsp + 0xd0], rbp
lea rbp, [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 0x490f5a
mov rdx, qword [rsp + 0x68]
nop
cmp qword [rsp + 0x60], rdx
jg 0x490f69
jmp 0x490f9c
mov rdx, qword [rsp + 0x68]
shl rdx, 2
add rdx, qword [rsp + 0xb8]
mov edx, dword [rdx]
mov dword [rsp + 0x24], edx
cmp edx, 0x10000
jge 0x490f8a
jmp 0x490f91
inc qword [rsp + 0x40]
jmp 0x490f93
jmp 0x490f93
jmp 0x490f95
inc qword [rsp + 0x68]
jmp 0x490f5a
mov rcx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x40]
lea rax, [0x004b23c0]
call fcn.0044c920
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 0x49101d
mov rsi, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rsi
jg 0x49102e
jmp 0x4911c6
mov rsi, qword [rsp + 0x58]
shl rsi, 2
add rsi, qword [rsp + 0xb8]
mov esi, dword [rsi]
mov dword [rsp + 0x20], esi
test esi, esi
setge byte [rsp + 0x1f]
jge 0x491050
jmp 0x49105f
cmp dword [rsp + 0x20], 0xd800
setl byte [rsp + 0x1f]
jmp 0x491062
nop
jmp 0x491062
cmp byte [rsp + 0x1f], 0
jne 0x49106b
jmp 0x49106d
jmp 0x49109a
cmp dword [rsp + 0x20], 0xe000
setge byte [rsp + 0x1e]
jge 0x49107e
jmp 0x49108d
cmp dword [rsp + 0x20], 0x10000
setl byte [rsp + 0x1e]
jmp 0x49108f
jmp 0x49108f
cmp byte [rsp + 0x1e], 0
jne 0x491098
jmp 0x4910ce
jmp 0x49109a
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
mov edi, dword [rsp + 0x20]
cmp rax, rcx
jb 0x4910bd
jmp 0x49124d
lea rsi, [rsi + rax*2]
mov word [rsi], di
inc qword [rsp + 0x40]
jmp 0x4911ba
cmp dword [rsp + 0x20], 0x10000
setge byte [rsp + 0x1d]
jge 0x4910df
jmp 0x4910ee
cmp dword [rsp + 0x20], 0x10ffff
setle byte [rsp + 0x1d]
jmp 0x4910f0
jmp 0x4910f0
cmp byte [rsp + 0x1d], 0
jne 0x4910fc
jmp 0x491186
jmp 0x4910fe
mov eax, dword [rsp + 0x20]
call fcn.00490e00
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x28], ebx
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x40]
cmp rbx, rcx
jb 0x49113e
jmp 0x491245
lea rsi, [rdx + rbx*2]
mov word [rsi], ax
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]
cmp rcx, rsi
ja 0x491172
jmp 0x491238
lea rsi, [rdi + rax*2]
lea rsi, [rsi + 2]
mov word [rsi], r8w
add qword [rsp + 0x40], 2
jmp 0x4911ba
jmp 0x491188
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
nop dword [rax]
cmp rcx, rax
ja 0x4911aa
jmp 0x491233
lea rsi, [rsi + rax*2]
mov word [rsi], 0xfffd
inc qword [rsp + 0x40]
jmp 0x4911ba
jmp 0x4911bc
inc qword [rsp + 0x58]
jmp 0x49101d
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x88]
nop dword [rax + rax]
cmp rcx, rdx
jbe 0x4911e7
jmp 0x49122e
jmp 0x4911e9
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
mov rbp, qword [rsp + 0xd0]
add rsp, 0xd8
ret
call fcn.00466700
call fcn.00466680
mov rax, rsi
nop dword [rax + rax]
call fcn.00466680
mov rax, rbx
call fcn.00466680
call fcn.00466680
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00464020
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.00490ec0