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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rdi, qword [0x14004e070]
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x30], xmm8
movaps xmmword [rsp + 0x20], xmm9
cmp byte [rdi + 0xcb], 0
je 0x1400055a6
test byte [rdi + 0xc], 2
jne 0x1400055a6
mov byte [rdi + 0xcb], 0
xor esi, esi
mov qword [rsp + 0x88], rbp
cmp byte [rdi + 0x2f90], sil
jne 0x140005611
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x14000560a
lea r8, [rsp + 0x80]
mov qword [rsp + 0x80], rsi
call fcn.140002940
mov rbp, rax
test rax, rax
je 0x14000560a
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call fcn.140010ff0
mov rcx, qword [0x14004e070]
test rcx, rcx
je 0x140005601
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 0x140005650
subss xmm0, dword [rdi + 0x18]
comiss xmm6, xmm0
movss dword [rdi + 0x2f94], xmm0
jb 0x140005650
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140005643
call fcn.140011250
jmp 0x14000564a
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 0x1400056a7
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.140012490
movss xmm8, dword [0x1400341c4]
movss xmm9, dword [0x14003413c]
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 0x140005735
divss xmm1, dword [0x14003419c]
movaps xmm0, xmm9
divss xmm0, xmm1
jmp 0x140005739
movaps xmm0, xmm8
mov rax, qword [rdi + 0xa8]
movss dword [rdi + 0x3a8], xmm0
mov byte [rax], 1
mov rax, qword [0x14004e070]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
jne 0x14000576c
mov rax, qword [rax + 0xa8]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
mov qword [rsp + 0x90], r14
call fcn.14000c2c0
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 0x1400057bd
je 0x14000583b
movaps xmmword [rsp + 0x40], xmm7
lea r14, [rdi + 0x19c0]
movss xmm7, dword [0x14003416c]
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 0x140005817
mov edx, 0xc
jmp 0x14000581c
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 0x1400057e0
movaps xmm7, xmmword [rsp + 0x40]
mov eax, esi
mov rbp, qword [rsp + 0x88]
mov dword [rdi + 0x195c], esi
cmp byte [rdi + 0x1610], sil
je 0x14000585f
mov eax, 1
mov dword [rdi + 0x195c], eax
cmp byte [rdi + 0x1611], sil
je 0x140005871
or eax, 2
mov dword [rdi + 0x195c], eax
test byte [rdi + 0xc], 8
je 0x140005880
or eax, 4
mov dword [rdi + 0x195c], eax
lea rcx, [rdi + 0x1dc8]
call fcn.14001a170
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1dc8]
mov rdx, qword [rdx + 8]
call fcn.14001a770
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.14001a640
lea rcx, [rdi + 0x1e70]
call fcn.14001a170
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1e70]
mov rdx, qword [rdx + 8]
call fcn.14001a770
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.14001a640
mov r8, qword [0x14004e070]
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 0x1400059a9
mov eax, dword [rdi + 0x1f3c]
cmp eax, dword [rdi + 0x1ac8]
jne 0x1400059a9
cmp dword [r8 + 0x1ac8], eax
jne 0x140005998
mov dword [r8 + 0x1acc], eax
cmp dword [r8 + 0x1b08], eax
jne 0x1400059a9
mov byte [r8 + 0x1b0c], 1
cmp dword [rdi + 0x1abc], esi
jne 0x1400059b9
mov dword [rdi + 0x1ac0], esi
jmp 0x1400059cb
mov eax, dword [rdi + 0x1ab4]
test eax, eax
je 0x1400059d1
cmp dword [rdi + 0x1ac8], eax
jne 0x1400059d1
mov dword [rdi + 0x1ac4], esi
mov eax, dword [rdi + 0x1ab4]
test eax, eax
je 0x140005a0b
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1ac0]
movss dword [rdi + 0x1ac0], xmm0
cmp dword [rdi + 0x1ac8], eax
je 0x140005a0b
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 0x140005a88
cmp dword [rdi + 0x1b08], eax
jne 0x140005a88
test eax, eax
je 0x140005a88
mov ecx, dword [r8 + 0x1ac8]
test ecx, ecx
setne al
mov byte [r8 + 0x1ad4], al
test ecx, ecx
je 0x140005a5e
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 0x140005aa7
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 0x140005b0c
cmp ecx, eax
je 0x140005b0c
mov dword [rdi + 0x2f20], esi
test ecx, ecx
jne 0x140005b1e
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 [0x1400341d0]
lea rcx, [rdi + 0x14d]
lea rax, [rdi + 0x4ac]
mov r8d, 0x80
cmp byte [rcx - 1], sil
je 0x140005bd2
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x140005bcb
movaps xmm0, xmm6
jmp 0x140005bd5
addss xmm0, dword [rdi + 0x18]
jmp 0x140005bd5
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], sil
je 0x140005bf4
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x140005bed
movaps xmm0, xmm6
jmp 0x140005bf7
addss xmm0, dword [rdi + 0x18]
jmp 0x140005bf7
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], sil
je 0x140005c17
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x140005c10
movaps xmm0, xmm6
jmp 0x140005c1a
addss xmm0, dword [rdi + 0x18]
jmp 0x140005c1a
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], sil
je 0x140005c3b
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x140005c34
movaps xmm0, xmm6
jmp 0x140005c3e
addss xmm0, dword [rdi + 0x18]
jmp 0x140005c3e
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x140005bb6
call fcn.14000e550
call fcn.140004810
call fcn.140005100
call fcn.140004380
mov r10, qword [0x14004e070]
mov eax, dword [r10 + 0x1bd8]
sub eax, 1
js 0x140005cb0
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 0x140005ca6
test dword [rax + 0xc], 0x8000000
jne 0x140005cc6
sub r8, 0x30
sub rdx, 1
jns 0x140005c95
cmp qword [rdi + 0x1d18], rsi
je 0x140005ce2
movss xmm0, dword [rdi + 0x1d34]
comiss xmm0, xmm6
jbe 0x140005ce2
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x140034168]
addss xmm1, dword [rdi + 0x1dc0]
minss xmm1, xmm9
jmp 0x140005cff
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x140034174]
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.140004bc0
mov r8, qword [r10 + 0x1bf8]
movaps xmm9, xmmword [rsp + 0x20]
test r8, r8
je 0x140005d7b
cmp byte [r8 + 0x7e], sil
je 0x140005d7b
test dword [r8 + 0xc], 0x40000
jne 0x140005d7b
cmp byte [r10 + 0x148], sil
jne 0x140005d7b
mov ecx, dword [r10 + 0x3c]
test ecx, ecx
js 0x140005d7b
call fcn.140007470
test al, al
je 0x140005d7b
mov al, 1
jmp 0x140005d7d
xor al, al
mov byte [r10 + 0x1d60], al
cmp dword [r10 + 0x1ac8], esi
jne 0x140005de8
test al, al
je 0x140005de8
mov qword [r10 + 0x1d48], r8
mov dword [r10 + 0x1d58], 0x7fffffff
cmp dword [r10 + 0x1c00], esi
je 0x140005dd5
mov ecx, dword [r10 + 0x1c48]
cmp ecx, 0x7fffffff
je 0x140005dd5
cmp byte [r10 + 0x149], sil
mov eax, 2
cmovne eax, esi
add eax, ecx
mov dword [r10 + 0x1d5c], eax
jmp 0x140005de8
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 0x140005e85
mov eax, dword [r10 + 0x1d58]
mov qword [r10 + 0x1d40], r8
cmp eax, 0x7fffffff
je 0x140005e40
mov ecx, dword [r8 + 0x1b0]
cmp ecx, 0xffffffff
je 0x140005e40
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r10 + 0x1d50], edx
mov eax, dword [r10 + 0x1d5c]
cmp eax, 0x7fffffff
je 0x140005e68
mov ecx, dword [r8 + 0x1b4]
cmp ecx, 0xffffffff
je 0x140005e68
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 0x140005eb0
movsd xmm8, qword [rdi + 0x1a00]
cvtpd2ps xmm8, xmm8
subss xmm8, xmm0
mov ebx, esi
cmp dword [rdi + 0x1a28], esi
je 0x140005f15
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 0x140005f00
cmp byte [rcx + 0x3b0], sil
jne 0x140005f00
comiss xmm8, dword [rcx + 0x27c]
jbe 0x140005f00
call fcn.140003e90
inc ebx
add r14, 8
cmp ebx, dword [rdi + 0x1a28]
jne 0x140005ec0
mov r10, qword [0x14004e070]
mov rax, qword [rdi + 0x1bf8]
movaps xmm8, xmmword [rsp + 0x30]
mov r14, qword [rsp + 0x90]
test rax, rax
je 0x140005f91
cmp byte [rax + 0x7f], sil
jne 0x140005f91
mov eax, dword [r10 + 0x1a38]
sub eax, 1
js 0x140005f8a
movsxd r9, eax
mov rax, qword [r10 + 0x1a40]
lea r10, [rax + r9*8]
nop
mov r8, qword [r10]
test r8, r8
je 0x140005f80
cmp byte [r8 + 0x7f], sil
je 0x140005f80
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x140006113
sub r10, 8
sub r9, 1
jns 0x140005f50
xor ecx, ecx
call fcn.14000bfc0
mov ecx, dword [rdi + 0x1a5c]
test ecx, ecx
jns 0x140005fb7
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.140011f50
mov dword [rdi + 0x1a58], esi
mov ecx, dword [rdi + 0x1bec]
test ecx, ecx
jns 0x140005fe3
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.140012520
mov dword [rdi + 0x1be8], esi
xor edx, edx
mov rcx, qword [rdi + 0x1bf8]
call fcn.14000cf70
mov r8, qword [0x14004e070]
mov dword [r8 + 0x3000], esi
cmp byte [r8 + 0x2ffc], sil
je 0x1400060c6
mov ebx, dword [r8 + 0x1abc]
mov dword [r8 + 0x1f18], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x14000603c
call fcn.140007470
test al, al
je 0x14000603c
mov byte [r8 + 0x2ffc], sil
movss xmm0, dword [r8 + 0x444]
ucomiss xmm0, xmm6
jp 0x14000605e
jne 0x14000605e
test ebx, ebx
je 0x14000605e
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.14000cdc0
mov edx, ebx
lea rcx, str.HoveredId:_0x_08X
call fcn.1400235a0
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.1400235a0
mov rcx, qword [0x14004e070]
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.1400236a0
call fcn.14000bed0
mov r8, qword [0x14004e070]
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.140009bf0
mov rax, qword [r8 + 0x380]
test rax, rax
cmovne r8, rax
mov rcx, r8
jmp 0x140005f8c