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

Disassembly:
sub rsp, 0x80
mov qword [rsp + 0x78], rbp
lea rbp, [rsp + 0x78]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
mov rdx, rax
or rax, rcx
mov rbx, qword [rsp + 0x98]
or rax, rbx
test rax, 7
jne 0x416964
cmp byte [0x014215b4], 0
je 0x416950
nop
nop
nop
movabs rax, 0x800000000000
add rax, rcx
mov rsi, rax
shr rax, 0x16
shr rsi, 0x2a
cmp rsi, 0x40
jb 0x4168fa
xor edi, edi
test rdi, rdi
je 0x416800
cmp byte [rdi + 0x63], 1
jne 0x4167f3
nop
cmp qword [rdi + 0x18], rcx
ja 0x4167f3
cmp qword [rdi + 0x78], rcx
jbe 0x4167f3
mov rdi, qword gs:[0x28]
mov rdi, qword [rdi]
mov rdi, qword [rdi + 0x30]
mov r8, qword [rdi + 0xa0]
test byte [r8], al
test byte [rdi], al
nop
nop
nop
nop
nop
cmp rsi, 0x40
jae 0x41695d
lea rdi, [0x01406a10]
mov rsi, qword [rdi + rsi*8]
test byte [rsi], al
mov rdi, rax
and rax, 0xfffff
mov rax, qword [rsi + rax*8]
test rax, rax
je 0x4167e3
mov rsi, rcx
shr rcx, 5
and rcx, 0x1ffff
add rcx, rax
mov r9, rsi
shr rsi, 3
and rsi, 3
add rax, 0x1ffff
mov qword [rsp + 0x70], r8
test rdx, rdx
jne 0x4166cd
xor edx, edx
jmp 0x4165c4
add rdx, 8
cmp rdx, rbx
jae 0x4166c0
mov qword [rsp + 0x48], rdx
nop
nop
movzx r10d, byte [rcx]
bt r10d, esi
jae 0x416613
lea r10, [rdx + r9]
mov r11, qword [r8 + 0x1320]
nop
mov r10, qword [r10]
mov qword [r11], r10
mov qword [r11 + 8], 0
mov r10, qword [r8 + 0x1320]
add r10, 0x10
mov qword [r8 + 0x1320], r10
cmp qword [r8 + 0x1328], r10
je 0x416671
nop
cmp esi, 3
jae 0x41661d
inc esi
jmp 0x4165c0
cmp rcx, rax
je 0x41662a
nop
inc rcx
xor esi, esi
jmp 0x4165c0
mov qword [rsp], rcx
mov dword [rsp + 8], esi
mov dword [rsp + 0xc], edi
mov qword [rsp + 0x10], rax
call fcn.00416290
mov rax, qword [rsp + 0x28]
mov edi, dword [rsp + 0x24]
mov esi, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x98]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x88]
jmp 0x4165c0
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x3c], edi
mov dword [rsp + 0x34], esi
mov qword [rsp + 0x60], rcx
xorps xmm0, xmm0
movups xmmword [rsp], xmm0
call fcn.0042aeb0
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x98]
mov esi, dword [rsp + 0x34]
mov edi, dword [rsp + 0x3c]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x88]
jmp 0x416613
mov rbp, qword [rsp + 0x78]
add rsp, 0x80
ret
xor r10d, r10d
jmp 0x4166d6
add r10, 8
cmp r10, rbx
jae 0x4166c0
mov qword [rsp + 0x40], r10
nop
nop
movzx r11d, byte [rcx]
bt r11d, esi
jae 0x416726
lea r11, [r10 + r9]
lea r12, [r10 + rdx]
mov r13, qword [r8 + 0x1320]
nop
mov r11, qword [r11]
mov r12, qword [r12]
mov qword [r13], r11
mov qword [r13 + 8], r12
mov r11, qword [r8 + 0x1320]
add r11, 0x10
mov qword [r8 + 0x1320], r11
cmp qword [r8 + 0x1328], r11
je 0x41678c
nop
cmp esi, 3
jae 0x416730
inc esi
jmp 0x4166d2
cmp rcx, rax
je 0x41673d
nop
inc rcx
xor esi, esi
jmp 0x4166d2
mov qword [rsp], rcx
mov dword [rsp + 8], esi
mov dword [rsp + 0xc], edi
mov qword [rsp + 0x10], rax
call fcn.00416290
mov rcx, qword [rsp + 0x18]
mov rax, qword [rsp + 0x28]
mov edi, dword [rsp + 0x24]
mov esi, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x88]
mov r10, qword [rsp + 0x40]
jmp 0x4166d2
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x30], esi
xorps xmm0, xmm0
movups xmmword [rsp], xmm0
call fcn.0042aeb0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
mov esi, dword [rsp + 0x30]
mov edi, dword [rsp + 0x38]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x88]
mov r10, qword [rsp + 0x40]
jmp 0x416726
mov r9, rcx
xor eax, eax
xor edi, edi
xor esi, esi
xor ecx, ecx
jmp 0x4165ae
mov rbp, qword [rsp + 0x78]
add rsp, 0x80
ret
nop
mov rax, qword [0x013ff3c0]
test rax, rax
je 0x4168f1
mov rsi, qword [rax + 8]
mov rax, qword [rax]
xor edi, edi
jmp 0x41681f
inc rdi
cmp rdi, rsi
jge 0x416871
mov r8, qword [rax + rdi*8]
mov r9, qword [r8 + 0x80]
cmp r9, rcx
ja 0x41681c
cmp qword [r8 + 0x88], rcx
jbe 0x41681c
mov rax, qword [r8 + 0x198]
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rbx
sub rcx, r9
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rax
call fcn.00416b90
mov rbp, qword [rsp + 0x78]
add rsp, 0x80
ret
nop
mov rax, qword [0x013ff3c0]
test rax, rax
je 0x4168eb
mov rsi, qword [rax + 8]
mov rax, qword [rax]
xor edi, edi
jmp 0x41688c
inc rdi
cmp rdi, rsi
jge 0x4168de
mov r8, qword [rax + rdi*8]
mov r9, qword [r8 + 0x90]
cmp r9, rcx
ja 0x416889
cmp qword [r8 + 0x98], rcx
jbe 0x416889
mov rax, qword [r8 + 0x1a8]
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rbx
sub rcx, r9
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rax
call fcn.00416b90
mov rbp, qword [rsp + 0x78]
add rsp, 0x80
ret
mov rbp, qword [rsp + 0x78]
add rsp, 0x80
ret
xor esi, esi
xor eax, eax
jmp 0x416885
xor esi, esi
xor eax, eax
jmp 0x416818
lea rdi, [0x01406a10]
mov rdi, qword [rdi + rsi*8]
nop
test rdi, rdi
je 0x416949
mov r8, rax
and rax, 0xfffff
mov rax, qword [rdi + rax*8]
nop
test rax, rax
je 0x41693f
mov r9, rcx
shr rcx, 0xd
and rcx, 0x1ff
mov rdi, qword [rax + rcx*8 + 0x20000]
mov rax, r8
mov rcx, r9
jmp 0x416512
mov rax, r8
xor edi, edi
jmp 0x416512
xor edi, edi
jmp 0x416512
mov rbp, qword [rsp + 0x78]
add rsp, 0x80
ret
call fcn.0042f2a0
ud2
lea rax, [0x00d748fd]
mov qword [rsp], rax
mov qword [rsp + 8], 0x28
call fcn.004308f0
ud2