Function at 0x413c20
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 0x4140d3
cmp byte [0x006106c4], 0
je 0x4140bc
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rbx]
mov rdx, rax
shr rax, 0x16
shr rdx, 0x2a
cmp rdx, 0x40
jb 0x414068
xor ecx, ecx
test rcx, rcx
je 0x413f79
mov r8b, byte [rcx + 0x63]
nop dword [rax]
cmp r8b, 1
jne 0x413f6f
cmp qword [rcx + 0x18], rbx
ja 0x413f6f
cmp qword [rcx + 0x70], rbx
jbe 0x413f6f
mov r8, qword gs:[0x28]
mov r8, qword [r8]
mov r8, qword [r8 + 0x30]
mov r8, qword [r8 + 0xa0]
test byte [r8], al
nop dword [rax]
cmp rdx, 0x40
jae 0x4140c6
lea rcx, [0x005f22d8]
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 0x413f5e
mov rcx, rbx
shr rbx, 5
and rbx, 0x1ffff
add rbx, rax
mov r9, rcx
shr rcx, 3
and rcx, 3
lea r10, [rax + 0x1ffff]
mov qword [rsp + 0x70], r8
test rsi, rsi
jne 0x413e45
xor eax, eax
jmp 0x413d46
add rax, 8
cmp rdi, rax
jbe 0x413e3b
mov qword [rsp + 0x48], rax
movzx esi, byte [rbx]
bt esi, ecx
jae 0x413d90
lea rsi, [rax + r9]
mov r11, qword [r8 + 0x16c0]
mov rsi, qword [rsi]
mov qword [r11], rsi
mov qword [r11 + 8], 0
mov rsi, qword [r8 + 0x16c0]
add rsi, 0x10
mov qword [r8 + 0x16c0], rsi
cmp qword [r8 + 0x16c8], rsi
je 0x413dec
cmp ecx, 3
jae 0x413d99
inc ecx
jmp 0x413d42
cmp rbx, r10
je 0x413da5
inc rbx
xor ecx, ecx
jmp 0x413d42
mov qword [rsp], rbx
mov dword [rsp + 8], ecx
mov dword [rsp + 0xc], edx
mov qword [rsp + 0x10], r10
call fcn.004139a0
mov rbx, qword [rsp + 0x18]
mov ecx, dword [rsp + 0x20]
mov edx, dword [rsp + 0x24]
mov r10, qword [rsp + 0x28]
mov rax, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x98]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x88]
jmp 0x413d42
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], r10
xorps xmm0, xmm0
movups xmmword [rsp], xmm0
call fcn.0042f620
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x30]
mov edx, dword [rsp + 0x38]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x98]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x88]
mov r10, qword [rsp + 0x50]
jmp 0x413d90
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
xor eax, eax
jmp 0x413e4d
add rax, 8
cmp rdi, rax
jbe 0x413e3b
mov qword [rsp + 0x40], rax
movzx r11d, byte [rbx]
bt r11d, ecx
nop
jae 0x413e9b
lea r11, [rax + r9]
lea r12, [rax + rsi]
mov r13, qword [r8 + 0x16c0]
mov r11, qword [r11]
mov r12, qword [r12]
mov qword [r13], r11
mov qword [r13 + 8], r12
mov r11, qword [r8 + 0x16c0]
add r11, 0x10
mov qword [r8 + 0x16c0], r11
cmp qword [r8 + 0x16c8], r11
je 0x413f05
nop dword [rax + rax]
cmp ecx, 3
jae 0x413ea9
inc ecx
jmp 0x413e49
cmp rbx, r10
je 0x413eb5
inc rbx
xor ecx, ecx
jmp 0x413e49
mov qword [rsp], rbx
mov dword [rsp + 8], ecx
mov dword [rsp + 0xc], edx
mov qword [rsp + 0x10], r10
call fcn.004139a0
mov rbx, qword [rsp + 0x18]
mov ecx, dword [rsp + 0x20]
mov edx, dword [rsp + 0x24]
mov r10, qword [rsp + 0x28]
mov rax, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x98]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x88]
nop
jmp 0x413e49
mov dword [rsp + 0x3c], edx
mov dword [rsp + 0x34], ecx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x58], r10
xorps xmm0, xmm0
movups xmmword [rsp], xmm0
nop
call fcn.0042f620
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x3c]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x98]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x88]
mov r10, qword [rsp + 0x58]
jmp 0x413e9b
mov r9, rbx
xor edx, edx
xor ecx, ecx
xor r10d, r10d
xor ebx, ebx
jmp 0x413d30
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rax, qword [0x005cca88]
test rax, rax
je 0x41405f
mov rcx, qword [rax]
mov rax, qword [rax + 8]
xor edx, edx
jmp 0x413f97
inc rdx
cmp rdx, rax
jge 0x413fe6
mov r8, qword [rcx + rdx*8]
mov r9, qword [r8 + 0xd0]
cmp rbx, r9
jb 0x413f94
cmp qword [r8 + 0xd8], rbx
jbe 0x413f94
mov rax, qword [r8 + 0x1e8]
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.00414320
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rax, qword [0x005cca88]
test rax, rax
je 0x414059
mov rcx, qword [rax]
mov rax, qword [rax + 8]
xor edx, edx
jmp 0x414000
inc rdx
cmp rdx, rax
jge 0x41404f
mov r8, qword [rcx + rdx*8]
mov r9, qword [r8 + 0xe0]
cmp rbx, r9
jb 0x413ffd
cmp qword [r8 + 0xe8], rbx
jbe 0x413ffd
mov rax, qword [r8 + 0x1f8]
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.00414320
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
xor eax, eax
xor ecx, ecx
jmp 0x413ff9
xor eax, eax
xor ecx, ecx
jmp 0x413f90
lea r8, [0x005f22d8]
mov r8, qword [r8 + rdx*8]
test r8, r8
je 0x4140b5
mov r9, rax
and rax, 0xfffff
mov r8, qword [r8 + rax*8]
test r8, r8
je 0x4140ab
mov r10, rbx
shr rbx, 0xd
and rbx, 0x1ff
mov rcx, qword [r8 + rbx*8 + 0x20000]
mov rax, r9
mov rbx, r10
jmp 0x413c8f
mov rax, r9
xor ecx, ecx
jmp 0x413c8f
xor ecx, ecx
jmp 0x413c8f
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rax, rdx
mov ecx, 0x40
call fcn.00466d60
lea rax, [0x00513cf8]
mov qword [rsp], rax
mov qword [rsp + 8], 0x28
call fcn.00436520
nop
int3