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

Disassembly:
sub rsp, 0x88
mov qword [rsp + 0x80], rbp
lea rbp, [rsp + 0x80]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
mov rdx, rax
or rax, rcx
mov rbx, qword [rsp + 0xa0]
or rax, rbx
test rax, 7
jne 0x413c85
lea rax, [0x00862f74]
cmp byte [rax], 0
je 0x413c6e
movabs rax, 0x800000000000
add rax, rcx
mov rsi, rax
shr rax, 0x16
shr rsi, 0x2a
cmp rsi, 0x40
jb 0x413c1a
xor edi, edi
test rdi, rdi
je 0x413b13
cmp byte [rdi + 0x64], 1
jne 0x413b03
mov r8, qword [rdi + 0x18]
cmp rcx, r8
jb 0x413b03
mov rdi, qword [rdi + 0x80]
cmp rdi, rcx
jbe 0x413b03
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
cmp rsi, 0x40
jae 0x413c7e
lea rdi, [0x0084c718]
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 0x413af3
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 + 0x78], r8
lea r10, [r8 + 0x1290]
mov qword [rsp + 0x70], r10
test rdx, rdx
jne 0x4139d2
xor edx, edx
jmp 0x4138b9
add rdx, 8
cmp rdx, rbx
jae 0x4139c2
mov qword [rsp + 0x48], rdx
movzx r11d, byte [rcx]
bt r11d, esi
jae 0x41390d
lea r11, [rdx + r9]
test byte [r10], al
mov r12, qword [r8 + 0x1290]
mov r11, qword [r11]
mov qword [r12], r11
mov qword [r12 + 8], 0
mov r11, qword [r8 + 0x1290]
add r11, 0x10
mov qword [r8 + 0x1290], r11
mov r12, qword [r8 + 0x1298]
cmp r12, r11
je 0x41396e
cmp esi, 3
jae 0x413916
inc esi
jmp 0x4138b5
cmp rcx, rax
je 0x413922
inc rcx
xor esi, esi
jmp 0x4138b5
mov qword [rsp], rcx
mov dword [rsp + 8], esi
mov dword [rsp + 0xc], edi
mov qword [rsp + 0x10], rax
call fcn.00413570
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 + 0xa0]
mov r8, qword [rsp + 0x78]
mov r9, qword [rsp + 0x90]
mov r10, qword [rsp + 0x70]
jmp 0x4138b5
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x60], rcx
xorps xmm0, xmm0
movups xmmword [rsp], xmm0
call fcn.00426d80
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0xa0]
mov esi, dword [rsp + 0x30]
mov edi, dword [rsp + 0x38]
mov r8, qword [rsp + 0x78]
mov r9, qword [rsp + 0x90]
mov r10, qword [rsp + 0x70]
jmp 0x41390d
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
xor r11d, r11d
jmp 0x4139db
add r11, 8
cmp r11, rbx
jae 0x4139c2
mov qword [rsp + 0x40], r11
movzx r12d, byte [rcx]
bt r12d, esi
jae 0x413a2e
lea r12, [r11 + r9]
lea r13, [r11 + rdx]
test byte [r10], al
mov r14, qword [r8 + 0x1290]
mov r12, qword [r12]
mov r13, qword [r13]
mov qword [r14], r12
mov qword [r14 + 8], r13
mov r12, qword [r8 + 0x1290]
add r12, 0x10
mov qword [r8 + 0x1290], r12
mov r13, qword [r8 + 0x1298]
cmp r13, r12
je 0x413a97
cmp esi, 3
jae 0x413a37
inc esi
jmp 0x4139d7
cmp rcx, rax
je 0x413a43
inc rcx
xor esi, esi
jmp 0x4139d7
mov qword [rsp], rcx
mov dword [rsp + 8], esi
mov dword [rsp + 0xc], edi
mov qword [rsp + 0x10], rax
call fcn.00413570
mov esi, dword [rsp + 0x20]
mov edi, dword [rsp + 0x24]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xa0]
mov r8, qword [rsp + 0x78]
mov r9, qword [rsp + 0x90]
mov r10, qword [rsp + 0x70]
mov r11, qword [rsp + 0x40]
jmp 0x4139d7
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x34], esi
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x3c], edi
xorps xmm0, xmm0
movups xmmword [rsp], xmm0
call fcn.00426d80
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xa0]
mov esi, dword [rsp + 0x34]
mov edi, dword [rsp + 0x3c]
mov r8, qword [rsp + 0x78]
mov r9, qword [rsp + 0x90]
mov r10, qword [rsp + 0x70]
mov r11, qword [rsp + 0x40]
jmp 0x413a2e
mov r9, rcx
xor eax, eax
xor edi, edi
xor esi, esi
xor ecx, ecx
jmp 0x413897
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
mov rax, qword [0x00845ac8]
test rax, rax
je 0x413c11
mov rsi, qword [rax + 8]
mov rax, qword [rax]
xor edi, edi
jmp 0x413b31
inc rdi
cmp rdi, rsi
jge 0x413b89
mov r8, qword [rax + rdi*8]
mov r9, qword [r8 + 0x80]
cmp r9, rcx
ja 0x413b2e
mov r10, qword [r8 + 0x88]
cmp rcx, r10
jae 0x413b2e
mov rax, qword [r8 + 0x198]
mov qword [rsp + 0x20], rax
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rbx
sub rcx, r9
mov qword [rsp + 0x18], rcx
call fcn.00413ca0
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
mov rax, qword [0x00845ac8]
test rax, rax
je 0x413c0b
mov rsi, qword [rax + 8]
mov rax, qword [rax]
xor edi, edi
jmp 0x413ba3
inc rdi
cmp rdi, rsi
jge 0x413bfb
mov r8, qword [rax + rdi*8]
mov r9, qword [r8 + 0x90]
cmp r9, rcx
ja 0x413ba0
mov r10, qword [r8 + 0x98]
cmp rcx, r10
jae 0x413ba0
mov rax, qword [r8 + 0x1a8]
mov qword [rsp + 0x20], rax
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rbx
sub rcx, r9
mov qword [rsp + 0x18], rcx
call fcn.00413ca0
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
xor esi, esi
xor eax, eax
jmp 0x413b9c
xor esi, esi
xor eax, eax
jmp 0x413b2a
lea rdi, [0x0084c718]
mov rdi, qword [rdi + rsi*8]
test rdi, rdi
je 0x413c67
mov r8, rax
and rax, 0xfffff
mov rax, qword [rdi + rax*8]
test rax, rax
je 0x413c5d
mov r9, rcx
shr rcx, 0xd
and rcx, 0x1ff
mov rdi, qword [rax + rcx*8 + 0x20000]
mov rax, r8
mov rcx, r9
jmp 0x4137f8
mov rax, r8
xor edi, edi
jmp 0x4137f8
xor edi, edi
jmp 0x4137f8
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
ret
call fcn.0042b370
ud2
lea rax, [0x00684d94]
mov qword [rsp], rax
mov qword [rsp + 8], 0x28
call fcn.0042caf0
ud2