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

Disassembly:
add rsp, 0xffffffffffffff80
mov qword [rsp + 0x78], rbp
lea rbp, [rsp + 0x78]
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
mov rsi, rdx
or rdx, rbx
mov rdi, qword [rsp + 0x98]
or rdx, rdi
test rdx, 7
jne 0x412b23
cmp byte [0x005abf04], 0
je 0x412b0c
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rbx]
mov rdx, rax
shr rax, 0x16
shr rdx, 0x2a
cmp rdx, 0x40
jb 0x412ab8
xor ecx, ecx
test rcx, rcx
je 0x4129c9
mov r8b, byte [rcx + 0x63]
cmp r8b, 1
jne 0x4129bf
cmp qword [rcx + 0x18], rbx
ja 0x4129bf
cmp qword [rcx + 0x70], rbx
jbe 0x4129bf
mov r8, qword gs:[0x28]
mov r8, qword [r8]
mov r8, qword [r8 + 0x30]
mov r8, qword [r8 + 0xa0]
test byte [r8], al
cmp rdx, 0x40
jae 0x412b16
lea rcx, [0x005a9770]
mov rcx, qword [rcx + rdx*8]
test byte [rcx], al
mov rdx, rax
and rax, 0xfffff
mov rax, qword [rcx + rax*8]
test rax, rax
je 0x4129af
mov rcx, rbx
shr rbx, 5
and rbx, 0x1ffff
add rbx, rax
mov r9, rcx
shr rcx, 3
and rcx, 3
add rax, 0x1ffff
mov qword [rsp + 0x70], r8
test rsi, rsi
jne 0x41289e
xor esi, esi
jmp 0x41279d
add rsi, 8
cmp rsi, rdi
jae 0x412894
mov qword [rsp + 0x40], rsi
movzx r10d, byte [rbx]
bt r10d, ecx
jae 0x4127e9
lea r10, [rsi + r9]
mov r11, qword [r8 + 0x1748]
mov r10, qword [r10]
mov qword [r11], r10
mov qword [r11 + 8], 0
mov r10, qword [r8 + 0x1748]
add r10, 0x10
mov qword [r8 + 0x1748], r10
cmp qword [r8 + 0x1750], r10
je 0x412845
cmp ecx, 3
jae 0x4127f2
inc ecx
jmp 0x412799
cmp rbx, rax
je 0x4127fe
inc rbx
xor ecx, ecx
jmp 0x412799
mov qword [rsp], rbx
mov dword [rsp + 8], ecx
mov dword [rsp + 0xc], edx
mov qword [rsp + 0x10], rax
call fcn.00412420
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
mov rbx, qword [rsp + 0x18]
mov rax, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x98]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x88]
jmp 0x412799
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x68], rbx
xorps xmm0, xmm0
movups xmmword [rsp], xmm0
call fcn.0042bd40
mov rax, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x30]
mov edx, dword [rsp + 0x38]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x98]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x88]
jmp 0x4127e9
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
xor r10d, r10d
jmp 0x4128a7
add r10, 8
cmp r10, rdi
jae 0x412894
mov qword [rsp + 0x48], r10
movzx r11d, byte [rbx]
bt r11d, ecx
jae 0x4128f4
lea r11, [r10 + r9]
lea r12, [r10 + rsi]
mov r13, qword [r8 + 0x1748]
mov r11, qword [r11]
mov r12, qword [r12]
mov qword [r13], r11
mov qword [r13 + 8], r12
mov r11, qword [r8 + 0x1748]
add r11, 0x10
mov qword [r8 + 0x1748], r11
cmp qword [r8 + 0x1750], r11
je 0x412958
cmp ecx, 3
jae 0x4128fd
inc ecx
jmp 0x4128a3
cmp rbx, rax
je 0x412909
inc rbx
xor ecx, ecx
jmp 0x4128a3
mov qword [rsp], rbx
mov dword [rsp + 8], ecx
mov dword [rsp + 0xc], edx
mov qword [rsp + 0x10], rax
call fcn.00412420
mov rax, qword [rsp + 0x28]
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
mov rbx, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x98]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x88]
mov r10, qword [rsp + 0x48]
jmp 0x4128a3
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x3c], edx
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x34], ecx
xorps xmm0, xmm0
movups xmmword [rsp], xmm0
call fcn.0042bd40
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x3c]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x98]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x88]
mov r10, qword [rsp + 0x48]
jmp 0x4128f4
mov r9, rbx
xor eax, eax
xor edx, edx
xor ecx, ecx
xor ebx, ebx
jmp 0x412787
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rax, qword [0x0057ff18]
test rax, rax
je 0x412aaf
mov rcx, qword [rax + 8]
mov rax, qword [rax]
xor edx, edx
jmp 0x4129e7
inc rdx
cmp rdx, rcx
jge 0x412a36
mov r8, qword [rax + rdx*8]
mov r9, qword [r8 + 0x80]
cmp r9, rbx
ja 0x4129e4
cmp qword [r8 + 0x88], rbx
jbe 0x4129e4
mov rax, qword [r8 + 0x198]
mov qword [rsp], rbx
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
sub rbx, r9
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rax
call fcn.00412d50
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rax, qword [0x0057ff18]
test rax, rax
je 0x412aa9
mov rcx, qword [rax + 8]
mov rax, qword [rax]
xor edx, edx
jmp 0x412a50
inc rdx
cmp rdx, rcx
jge 0x412a9f
mov r8, qword [rax + rdx*8]
mov r9, qword [r8 + 0x90]
cmp r9, rbx
ja 0x412a4d
cmp qword [r8 + 0x98], rbx
jbe 0x412a4d
mov rax, qword [r8 + 0x1a8]
mov qword [rsp], rbx
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
sub rbx, r9
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rax
call fcn.00412d50
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
xor ecx, ecx
xor eax, eax
jmp 0x412a49
xor ecx, ecx
xor eax, eax
jmp 0x4129e0
lea r8, [0x005a9770]
mov r8, qword [r8 + rdx*8]
test r8, r8
je 0x412b05
mov r9, rax
and rax, 0xfffff
mov r8, qword [r8 + rax*8]
test r8, r8
je 0x412afb
mov r10, rbx
shr rbx, 0xd
and rbx, 0x1ff
mov rcx, qword [r8 + rbx*8 + 0x20000]
mov rax, r9
mov rbx, r10
jmp 0x4126ef
mov rax, r9
xor ecx, ecx
jmp 0x4126ef
xor ecx, ecx
jmp 0x4126ef
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rax, rdx
mov ecx, 0x40
call fcn.0045e5e0
lea rax, [0x004d8948]
mov qword [rsp], rax
mov qword [rsp + 8], 0x28
call fcn.00432c30
nop
int3