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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rdi, qword [0x140046e70]
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x30], xmm8
movaps xmmword [rsp + 0x20], xmm9
cmp byte [rdi + 0xcb], 0
je 0x140005756
test byte [rdi + 0xc], 2
jne 0x140005756
mov byte [rdi + 0xcb], 0
xor esi, esi
mov qword [rsp + 0x88], rbp
cmp byte [rdi + 0x2f90], sil
jne 0x1400057c1
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1400057ba
lea r8, [rsp + 0x80]
mov qword [rsp + 0x80], rsi
call fcn.140002af0
mov rbp, rax
test rax, rax
je 0x1400057ba
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call fcn.1400111a0
mov rcx, qword [0x140046e70]
test rcx, rcx
je 0x1400057b1
dec dword [rcx + 0x3bc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rdi + 0x2f90], 1
movss xmm0, dword [rdi + 0x2f94]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x140005800
subss xmm0, dword [rdi + 0x18]
comiss xmm6, xmm0
movss dword [rdi + 0x2f94], xmm0
jb 0x140005800
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1400057f3
call fcn.140011400
jmp 0x1400057fa
mov byte [rdi + 0x3a4], 1
mov dword [rdi + 0x2f94], esi
inc dword [rdi + 0x1a08]
movss xmm0, dword [rdi + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rdi + 0x1a14], 1
mov dword [rdi + 0x2f5c], esi
mov dword [rdi + 0x1a78], esi
addsd xmm0, qword [rdi + 0x1a00]
movsd qword [rdi + 0x1a00], xmm0
mov ecx, dword [rdi + 0x2f74]
test ecx, ecx
jns 0x140005857
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x2f70]
test eax, eax
cmovg edx, eax
call fcn.140012640
movss xmm8, dword [0x14002ea54]
movss xmm9, dword [0x14002e9cc]
mov dword [rdi + 0x2f70], esi
movsxd rax, dword [rdi + 0x31e4]
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x3004]
addss xmm0, dword [rdi + 0x31e8]
movss dword [rdi + 0x31e8], xmm0
movss dword [rdi + rax*4 + 0x3004], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x31e4]
movss xmm1, dword [rdi + 0x31e8]
inc ecx
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x78
sub ecx, eax
comiss xmm1, xmm6
mov dword [rdi + 0x31e4], ecx
jbe 0x1400058e5
divss xmm1, dword [0x14002ea2c]
movaps xmm0, xmm9
divss xmm0, xmm1
jmp 0x1400058e9
movaps xmm0, xmm8
mov rax, qword [rdi + 0xa8]
movss dword [rdi + 0x3a8], xmm0
mov byte [rax], 1
mov rax, qword [0x140046e70]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
jne 0x14000591c
mov rax, qword [rax + 0xa8]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
mov qword [rsp + 0x90], r14
call fcn.14000c470
movss xmm2, dword [rdi + 0x10]
movss xmm3, dword [rdi + 0x14]
mov qword [rdi + 0x194c], rsi
movss dword [rdi + 0x1954], xmm2
movss dword [rdi + 0x1958], xmm3
mov eax, dword [rdi + 0x1614]
movss xmm1, dword [rdi + 0x1618]
mov dword [rdi + 0x1944], eax
movss xmm0, dword [rdi + 0x1948]
ucomiss xmm0, xmm1
jp 0x14000596d
je 0x1400059eb
movaps xmmword [rsp + 0x40], xmm7
lea r14, [rdi + 0x19c0]
movss xmm7, dword [0x14002e9fc]
mov ebx, esi
movss dword [rdi + 0x1948], xmm1
mov ebp, 0x200
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
addss xmm1, xmm9
movaps xmm0, xmm1
subss xmm0, dword [rdi + 0x1948]
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
movaps xmm1, xmm7
divss xmm1, xmm0
cvttss2si edx, xmm1
cmp edx, 0xc
jge 0x1400059c7
mov edx, 0xc
jmp 0x1400059cc
cmp edx, ebp
cmovg edx, ebp
mov ecx, 0xff
movzx eax, dl
cmp edx, ecx
cmovl ecx, eax
inc ebx
mov byte [r14], cl
inc r14
cmp ebx, 0x40
jl 0x140005990
movaps xmm7, xmmword [rsp + 0x40]
mov eax, esi
mov rbp, qword [rsp + 0x88]
mov dword [rdi + 0x195c], esi
cmp byte [rdi + 0x1610], sil
je 0x140005a0f
mov eax, 1
mov dword [rdi + 0x195c], eax
cmp byte [rdi + 0x1611], sil
je 0x140005a21
or eax, 2
mov dword [rdi + 0x195c], eax
test byte [rdi + 0xc], 8
je 0x140005a30
or eax, 4
mov dword [rdi + 0x195c], eax
lea rcx, [rdi + 0x1dc8]
call fcn.14001a320
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1dc8]
mov rdx, qword [rdx + 8]
call fcn.14001a920
mov rax, qword [rdi + 0x1e00]
lea rcx, [rdi + 0x1dc8]
xor r9d, r9d
movss xmm1, dword [rax + 0x28]
movss xmm0, dword [rax + 0x24]
movss xmm2, dword [rax + 0x20]
unpcklps xmm0, xmm1
movss xmm1, dword [rax + 0x1c]
movq r8, xmm0
unpcklps xmm1, xmm2
movq rdx, xmm1
call fcn.14001a7f0
lea rcx, [rdi + 0x1e70]
call fcn.14001a320
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1e70]
mov rdx, qword [rdx + 8]
call fcn.14001a920
mov rax, qword [rdi + 0x1ea8]
lea rcx, [rdi + 0x1e70]
xor r9d, r9d
movss xmm1, dword [rax + 0x28]
movss xmm0, dword [rax + 0x24]
movss xmm2, dword [rax + 0x20]
unpcklps xmm0, xmm1
movss xmm1, dword [rax + 0x1c]
movq r8, xmm0
unpcklps xmm1, xmm2
movq rdx, xmm1
call fcn.14001a7f0
mov r8, qword [0x140046e70]
mov byte [rdi + 0x1d68], sil
mov qword [rdi + 0x1d70], rsi
mov qword [rdi + 0x1d7c], rsi
mov dword [rdi + 0x1d78], esi
mov qword [rdi + 0x1d94], rsi
mov qword [rdi + 0x1d8c], rsi
mov qword [rdi + 0x1d84], rsi
cmp byte [rdi + 0x1f1c], sil
je 0x140005b59
mov eax, dword [rdi + 0x1f3c]
cmp eax, dword [rdi + 0x1ac8]
jne 0x140005b59
cmp dword [r8 + 0x1ac8], eax
jne 0x140005b48
mov dword [r8 + 0x1acc], eax
cmp dword [r8 + 0x1b08], eax
jne 0x140005b59
mov byte [r8 + 0x1b0c], 1
cmp dword [rdi + 0x1abc], esi
jne 0x140005b69
mov dword [rdi + 0x1ac0], esi
jmp 0x140005b7b
mov eax, dword [rdi + 0x1ab4]
test eax, eax
je 0x140005b81
cmp dword [rdi + 0x1ac8], eax
jne 0x140005b81
mov dword [rdi + 0x1ac4], esi
mov eax, dword [rdi + 0x1ab4]
test eax, eax
je 0x140005bbb
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1ac0]
movss dword [rdi + 0x1ac0], xmm0
cmp dword [rdi + 0x1ac8], eax
je 0x140005bbb
addss xmm1, dword [rdi + 0x1ac4]
movss dword [rdi + 0x1ac4], xmm1
mov dword [rdi + 0x1abc], eax
mov eax, dword [rdi + 0x1ac8]
mov dword [rdi + 0x1ab4], esi
mov byte [rdi + 0x1ab8], sil
cmp dword [rdi + 0x1acc], eax
je 0x140005c38
cmp dword [rdi + 0x1b08], eax
jne 0x140005c38
test eax, eax
je 0x140005c38
mov ecx, dword [r8 + 0x1ac8]
test ecx, ecx
setne al
mov byte [r8 + 0x1ad4], al
test ecx, ecx
je 0x140005c0e
mov dword [r8 + 0x1ad0], esi
mov word [r8 + 0x1ad6], si
mov dword [r8 + 0x1ac8], esi
mov byte [r8 + 0x1ad5], sil
mov qword [r8 + 0x1af8], rsi
mov byte [r8 + 0x1ad8], sil
mov qword [r8 + 0x1adc], rsi
mov qword [r8 + 0x1ae8], rsi
mov ecx, dword [rdi + 0x1ac8]
test ecx, ecx
je 0x140005c57
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x1ad0]
movss dword [rdi + 0x1ad0], xmm0
mov rax, qword [rdi + 0x1af8]
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x1b1c]
mov qword [rdi + 0x1b10], rax
movzx eax, byte [rdi + 0x1ad7]
mov byte [rdi + 0x1b0d], al
mov eax, dword [rdi + 0x2f20]
movss dword [rdi + 0x1b1c], xmm0
mov dword [rdi + 0x1b08], ecx
mov dword [rdi + 0x1acc], esi
mov byte [rdi + 0x1ad8], sil
mov byte [rdi + 0x1b0c], sil
mov byte [rdi + 0x1ad4], sil
test eax, eax
je 0x140005cbc
cmp ecx, eax
je 0x140005cbc
mov dword [rdi + 0x2f20], esi
test ecx, ecx
jne 0x140005cce
mov qword [rdi + 0x1adc], rsi
mov qword [rdi + 0x1ae8], rsi
mov eax, dword [rdi + 0x1f8c]
mov dword [rdi + 0x1f90], eax
mov eax, esi
mov qword [rdi + 0x1f88], 0x7f7fffff
mov word [rdi + 0x1f1d], si
mov dword [rdi + 0x1f98], esi
cmp byte [r8 + 0x148], sil
setne al
mov ecx, eax
or ecx, 2
cmp byte [r8 + 0x149], sil
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [r8 + 0x14a], sil
cmove edx, ecx
lea rcx, [rdi + 0xca8]
mov eax, edx
or eax, 8
cmp byte [r8 + 0x14b], sil
mov r8d, 0x800
cmove eax, edx
lea rdx, [rdi + 0x4a8]
mov dword [rdi + 0x3c8], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x14002ea60]
lea rcx, [rdi + 0x14d]
lea rax, [rdi + 0x4ac]
mov r8d, 0x80
cmp byte [rcx - 1], sil
je 0x140005d82
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x140005d7b
movaps xmm0, xmm6
jmp 0x140005d85
addss xmm0, dword [rdi + 0x18]
jmp 0x140005d85
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], sil
je 0x140005da4
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x140005d9d
movaps xmm0, xmm6
jmp 0x140005da7
addss xmm0, dword [rdi + 0x18]
jmp 0x140005da7
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], sil
je 0x140005dc7
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x140005dc0
movaps xmm0, xmm6
jmp 0x140005dca
addss xmm0, dword [rdi + 0x18]
jmp 0x140005dca
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], sil
je 0x140005deb
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x140005de4
movaps xmm0, xmm6
jmp 0x140005dee
addss xmm0, dword [rdi + 0x18]
jmp 0x140005dee
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x140005d66
call fcn.14000e700
call fcn.1400049c0
call fcn.1400052b0
call fcn.140004530
mov r10, qword [0x140046e70]
mov eax, dword [r10 + 0x1bd8]
sub eax, 1
js 0x140005e60
movsxd rdx, eax
mov rax, qword [r10 + 0x1be0]
add rax, 8
lea r8, [rdx + rdx*2]
shl r8, 4
add r8, rax
mov rax, qword [r8]
test rax, rax
je 0x140005e56
test dword [rax + 0xc], 0x8000000
jne 0x140005e76
sub r8, 0x30
sub rdx, 1
jns 0x140005e45
cmp qword [rdi + 0x1d18], rsi
je 0x140005e92
movss xmm0, dword [rdi + 0x1d34]
comiss xmm0, xmm6
jbe 0x140005e92
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x14002e9f8]
addss xmm1, dword [rdi + 0x1dc0]
minss xmm1, xmm9
jmp 0x140005eaf
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x14002ea04]
movss xmm1, dword [rdi + 0x1dc0]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x1dc0], xmm1
mov dword [rdi + 0x1f18], esi
mov qword [rdi + 0x31f0], 0xffffffffffffffff
mov dword [rdi + 0x31ec], 0xffffffff
mov dword [rdi + 0x2f80], 0x3f800000
mov dword [rdi + 0x2f84], 0x3f800000
call fcn.140004d70
mov r8, qword [r10 + 0x1bf8]
movaps xmm9, xmmword [rsp + 0x20]
test r8, r8
je 0x140005f2b
cmp byte [r8 + 0x7e], sil
je 0x140005f2b
test dword [r8 + 0xc], 0x40000
jne 0x140005f2b
cmp byte [r10 + 0x148], sil
jne 0x140005f2b
mov ecx, dword [r10 + 0x3c]
test ecx, ecx
js 0x140005f2b
call fcn.140007620
test al, al
je 0x140005f2b
mov al, 1
jmp 0x140005f2d
xor al, al
mov byte [r10 + 0x1d60], al
cmp dword [r10 + 0x1ac8], esi
jne 0x140005f98
test al, al
je 0x140005f98
mov qword [r10 + 0x1d48], r8
mov dword [r10 + 0x1d58], 0x7fffffff
cmp dword [r10 + 0x1c00], esi
je 0x140005f85
mov ecx, dword [r10 + 0x1c48]
cmp ecx, 0x7fffffff
je 0x140005f85
cmp byte [r10 + 0x149], sil
mov eax, 2
cmovne eax, esi
add eax, ecx
mov dword [r10 + 0x1d5c], eax
jmp 0x140005f98
movzx eax, byte [r10 + 0x149]
neg al
sbb ecx, ecx
mov dword [r10 + 0x1d5c], ecx
mov r8, qword [r10 + 0x1d48]
mov qword [r10 + 0x1d40], rsi
mov dword [r10 + 0x1d54], 0x7fffffff
mov dword [r10 + 0x1d50], 0x7fffffff
test r8, r8
je 0x140006035
mov eax, dword [r10 + 0x1d58]
mov qword [r10 + 0x1d40], r8
cmp eax, 0x7fffffff
je 0x140005ff0
mov ecx, dword [r8 + 0x1b0]
cmp ecx, 0xffffffff
je 0x140005ff0
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r10 + 0x1d50], edx
mov eax, dword [r10 + 0x1d5c]
cmp eax, 0x7fffffff
je 0x140006018
mov ecx, dword [r8 + 0x1b4]
cmp ecx, 0xffffffff
je 0x140006018
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r10 + 0x1d54], edx
mov qword [r10 + 0x1d48], rsi
mov dword [r10 + 0x1d5c], 0x7fffffff
mov dword [r10 + 0x1d58], 0x7fffffff
mov dword [r10 + 0x1c48], 0x7fffffff
movss xmm0, dword [rdi + 0xd0]
comiss xmm0, xmm6
jb 0x140006060
movsd xmm8, qword [rdi + 0x1a00]
cvtpd2ps xmm8, xmm8
subss xmm8, xmm0
mov ebx, esi
cmp dword [rdi + 0x1a28], esi
je 0x1400060c5
mov r14, rsi
nop dword [rax]
mov rax, qword [rdi + 0x1a30]
mov rcx, qword [r14 + rax]
movzx eax, byte [rcx + 0x7e]
mov byte [rcx + 0x7f], al
mov word [rcx + 0x8a], si
mov byte [rcx + 0x7e], sil
mov byte [rcx + 0x80], sil
test al, al
jne 0x1400060b0
cmp byte [rcx + 0x3b0], sil
jne 0x1400060b0
comiss xmm8, dword [rcx + 0x27c]
jbe 0x1400060b0
call fcn.140004040
inc ebx
add r14, 8
cmp ebx, dword [rdi + 0x1a28]
jne 0x140006070
mov r10, qword [0x140046e70]
mov rax, qword [rdi + 0x1bf8]
movaps xmm8, xmmword [rsp + 0x30]
mov r14, qword [rsp + 0x90]
test rax, rax
je 0x140006141
cmp byte [rax + 0x7f], sil
jne 0x140006141
mov eax, dword [r10 + 0x1a38]
sub eax, 1
js 0x14000613a
movsxd r9, eax
mov rax, qword [r10 + 0x1a40]
lea r10, [rax + r9*8]
nop
mov r8, qword [r10]
test r8, r8
je 0x140006130
cmp byte [r8 + 0x7f], sil
je 0x140006130
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x1400062c3
sub r10, 8
sub r9, 1
jns 0x140006100
xor ecx, ecx
call fcn.14000c170
mov ecx, dword [rdi + 0x1a5c]
test ecx, ecx
jns 0x140006167
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1a58]
test eax, eax
cmovg edx, eax
call fcn.140012100
mov dword [rdi + 0x1a58], esi
mov ecx, dword [rdi + 0x1bec]
test ecx, ecx
jns 0x140006193
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1be8]
test eax, eax
cmovg edx, eax
call fcn.1400126d0
mov dword [rdi + 0x1be8], esi
xor edx, edx
mov rcx, qword [rdi + 0x1bf8]
call fcn.14000d120
mov r8, qword [0x140046e70]
mov dword [r8 + 0x3000], esi
cmp byte [r8 + 0x2ffc], sil
je 0x140006276
mov ebx, dword [r8 + 0x1abc]
mov dword [r8 + 0x1f18], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x1400061ec
call fcn.140007620
test al, al
je 0x1400061ec
mov byte [r8 + 0x2ffc], sil
movss xmm0, dword [r8 + 0x444]
ucomiss xmm0, xmm6
jp 0x14000620e
jne 0x14000620e
test ebx, ebx
je 0x14000620e
mov dword [r8 + 0x3000], ebx
mov byte [r8 + 0x2ffc], sil
or dword [r8 + 0x1b20], 0x40
xor edx, edx
mov dword [r8 + 0x1b80], 0x3f19999a
call fcn.14000cf70
mov edx, ebx
lea rcx, str.HoveredId:_0x_08X
call fcn.140023750
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.140023750
mov rcx, qword [0x140046e70]
lea rdx, str.Click_to_break_in_debugger_
mov eax, 0x10
test ebx, ebx
cmove rsi, rax
add rcx, 0x161c
add rcx, rsi
call fcn.140023850
call fcn.14000c080
mov r8, qword [0x140046e70]
mov byte [rdi + 0x1a15], 1
lea rcx, str.DebugDefault
or dword [r8 + 0x1b20], 2
xor edx, edx
mov dword [r8 + 0x1b40], 0x43c80000
mov dword [r8 + 0x1b44], 0x43c80000
mov dword [r8 + 0x1b28], 4
xor r8d, r8d
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
pop rsi
pop rbx
jmp fcn.140009da0
mov rax, qword [r8 + 0x380]
test rax, rax
cmovne r8, rax
mov rcx, r8
jmp 0x14000613c