Function at 0x1400054d0
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 0x140005506
test byte [rdi + 0xc], 2
jne 0x140005506
mov byte [rdi + 0xcb], 0
xor esi, esi
mov qword [rsp + 0x88], rbp
cmp byte [rdi + 0x2f90], sil
jne 0x140005571
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x14000556a
lea r8, [rsp + 0x80]
mov qword [rsp + 0x80], rsi
call fcn.1400028a0
mov rbp, rax
test rax, rax
je 0x14000556a
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call fcn.140010f50
mov rcx, qword [0x14004e070]
test rcx, rcx
je 0x140005561
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 0x1400055b0
subss xmm0, dword [rdi + 0x18]
comiss xmm6, xmm0
movss dword [rdi + 0x2f94], xmm0
jb 0x1400055b0
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1400055a3
call fcn.1400111b0
jmp 0x1400055aa
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 0x140005607
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.1400123f0
movss xmm8, dword [0x1400341b4]
movss xmm9, dword [0x14003412c]
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 0x140005695
divss xmm1, dword [0x14003418c]
movaps xmm0, xmm9
divss xmm0, xmm1
jmp 0x140005699
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 0x1400056cc
mov rax, qword [rax + 0xa8]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
mov qword [rsp + 0x90], r14
call fcn.14000c220
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 0x14000571d
je 0x14000579b
movaps xmmword [rsp + 0x40], xmm7
lea r14, [rdi + 0x19c0]
movss xmm7, dword [0x14003415c]
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 0x140005777
mov edx, 0xc
jmp 0x14000577c
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 0x140005740
movaps xmm7, xmmword [rsp + 0x40]
mov eax, esi
mov rbp, qword [rsp + 0x88]
mov dword [rdi + 0x195c], esi
cmp byte [rdi + 0x1610], sil
je 0x1400057bf
mov eax, 1
mov dword [rdi + 0x195c], eax
cmp byte [rdi + 0x1611], sil
je 0x1400057d1
or eax, 2
mov dword [rdi + 0x195c], eax
test byte [rdi + 0xc], 8
je 0x1400057e0
or eax, 4
mov dword [rdi + 0x195c], eax
lea rcx, [rdi + 0x1dc8]
call fcn.14001a0d0
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1dc8]
mov rdx, qword [rdx + 8]
call fcn.14001a6d0
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.14001a5a0
lea rcx, [rdi + 0x1e70]
call fcn.14001a0d0
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1e70]
mov rdx, qword [rdx + 8]
call fcn.14001a6d0
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.14001a5a0
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 0x140005909
mov eax, dword [rdi + 0x1f3c]
cmp eax, dword [rdi + 0x1ac8]
jne 0x140005909
cmp dword [r8 + 0x1ac8], eax
jne 0x1400058f8
mov dword [r8 + 0x1acc], eax
cmp dword [r8 + 0x1b08], eax
jne 0x140005909
mov byte [r8 + 0x1b0c], 1
cmp dword [rdi + 0x1abc], esi
jne 0x140005919
mov dword [rdi + 0x1ac0], esi
jmp 0x14000592b
mov eax, dword [rdi + 0x1ab4]
test eax, eax
je 0x140005931
cmp dword [rdi + 0x1ac8], eax
jne 0x140005931
mov dword [rdi + 0x1ac4], esi
mov eax, dword [rdi + 0x1ab4]
test eax, eax
je 0x14000596b
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1ac0]
movss dword [rdi + 0x1ac0], xmm0
cmp dword [rdi + 0x1ac8], eax
je 0x14000596b
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 0x1400059e8
cmp dword [rdi + 0x1b08], eax
jne 0x1400059e8
test eax, eax
je 0x1400059e8
mov ecx, dword [r8 + 0x1ac8]
test ecx, ecx
setne al
mov byte [r8 + 0x1ad4], al
test ecx, ecx
je 0x1400059be
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 0x140005a07
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 0x140005a6c
cmp ecx, eax
je 0x140005a6c
mov dword [rdi + 0x2f20], esi
test ecx, ecx
jne 0x140005a7e
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 [0x1400341c0]
lea rcx, [rdi + 0x14d]
lea rax, [rdi + 0x4ac]
mov r8d, 0x80
cmp byte [rcx - 1], sil
je 0x140005b32
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x140005b2b
movaps xmm0, xmm6
jmp 0x140005b35
addss xmm0, dword [rdi + 0x18]
jmp 0x140005b35
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], sil
je 0x140005b54
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x140005b4d
movaps xmm0, xmm6
jmp 0x140005b57
addss xmm0, dword [rdi + 0x18]
jmp 0x140005b57
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], sil
je 0x140005b77
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x140005b70
movaps xmm0, xmm6
jmp 0x140005b7a
addss xmm0, dword [rdi + 0x18]
jmp 0x140005b7a
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], sil
je 0x140005b9b
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x140005b94
movaps xmm0, xmm6
jmp 0x140005b9e
addss xmm0, dword [rdi + 0x18]
jmp 0x140005b9e
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x140005b16
call fcn.14000e4b0
call fcn.140004770
call fcn.140005060
call fcn.1400042e0
mov r10, qword [0x14004e070]
mov eax, dword [r10 + 0x1bd8]
sub eax, 1
js 0x140005c10
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 0x140005c06
test dword [rax + 0xc], 0x8000000
jne 0x140005c26
sub r8, 0x30
sub rdx, 1
jns 0x140005bf5
cmp qword [rdi + 0x1d18], rsi
je 0x140005c42
movss xmm0, dword [rdi + 0x1d34]
comiss xmm0, xmm6
jbe 0x140005c42
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x140034158]
addss xmm1, dword [rdi + 0x1dc0]
minss xmm1, xmm9
jmp 0x140005c5f
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x140034164]
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.140004b20
mov r8, qword [r10 + 0x1bf8]
movaps xmm9, xmmword [rsp + 0x20]
test r8, r8
je 0x140005cdb
cmp byte [r8 + 0x7e], sil
je 0x140005cdb
test dword [r8 + 0xc], 0x40000
jne 0x140005cdb
cmp byte [r10 + 0x148], sil
jne 0x140005cdb
mov ecx, dword [r10 + 0x3c]
test ecx, ecx
js 0x140005cdb
call fcn.1400073d0
test al, al
je 0x140005cdb
mov al, 1
jmp 0x140005cdd
xor al, al
mov byte [r10 + 0x1d60], al
cmp dword [r10 + 0x1ac8], esi
jne 0x140005d48
test al, al
je 0x140005d48
mov qword [r10 + 0x1d48], r8
mov dword [r10 + 0x1d58], 0x7fffffff
cmp dword [r10 + 0x1c00], esi
je 0x140005d35
mov ecx, dword [r10 + 0x1c48]
cmp ecx, 0x7fffffff
je 0x140005d35
cmp byte [r10 + 0x149], sil
mov eax, 2
cmovne eax, esi
add eax, ecx
mov dword [r10 + 0x1d5c], eax
jmp 0x140005d48
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 0x140005de5
mov eax, dword [r10 + 0x1d58]
mov qword [r10 + 0x1d40], r8
cmp eax, 0x7fffffff
je 0x140005da0
mov ecx, dword [r8 + 0x1b0]
cmp ecx, 0xffffffff
je 0x140005da0
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r10 + 0x1d50], edx
mov eax, dword [r10 + 0x1d5c]
cmp eax, 0x7fffffff
je 0x140005dc8
mov ecx, dword [r8 + 0x1b4]
cmp ecx, 0xffffffff
je 0x140005dc8
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 0x140005e10
movsd xmm8, qword [rdi + 0x1a00]
cvtpd2ps xmm8, xmm8
subss xmm8, xmm0
mov ebx, esi
cmp dword [rdi + 0x1a28], esi
je 0x140005e75
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 0x140005e60
cmp byte [rcx + 0x3b0], sil
jne 0x140005e60
comiss xmm8, dword [rcx + 0x27c]
jbe 0x140005e60
call fcn.140003df0
inc ebx
add r14, 8
cmp ebx, dword [rdi + 0x1a28]
jne 0x140005e20
mov r10, qword [0x14004e070]
mov rax, qword [rdi + 0x1bf8]
movaps xmm8, xmmword [rsp + 0x30]
mov r14, qword [rsp + 0x90]
test rax, rax
je 0x140005ef1
cmp byte [rax + 0x7f], sil
jne 0x140005ef1
mov eax, dword [r10 + 0x1a38]
sub eax, 1
js 0x140005eea
movsxd r9, eax
mov rax, qword [r10 + 0x1a40]
lea r10, [rax + r9*8]
nop
mov r8, qword [r10]
test r8, r8
je 0x140005ee0
cmp byte [r8 + 0x7f], sil
je 0x140005ee0
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x140006073
sub r10, 8
sub r9, 1
jns 0x140005eb0
xor ecx, ecx
call fcn.14000bf20
mov ecx, dword [rdi + 0x1a5c]
test ecx, ecx
jns 0x140005f17
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.140011eb0
mov dword [rdi + 0x1a58], esi
mov ecx, dword [rdi + 0x1bec]
test ecx, ecx
jns 0x140005f43
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.140012480
mov dword [rdi + 0x1be8], esi
xor edx, edx
mov rcx, qword [rdi + 0x1bf8]
call fcn.14000ced0
mov r8, qword [0x14004e070]
mov dword [r8 + 0x3000], esi
cmp byte [r8 + 0x2ffc], sil
je 0x140006026
mov ebx, dword [r8 + 0x1abc]
mov dword [r8 + 0x1f18], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x140005f9c
call fcn.1400073d0
test al, al
je 0x140005f9c
mov byte [r8 + 0x2ffc], sil
movss xmm0, dword [r8 + 0x444]
ucomiss xmm0, xmm6
jp 0x140005fbe
jne 0x140005fbe
test ebx, ebx
je 0x140005fbe
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.14000cd20
mov edx, ebx
lea rcx, str.HoveredId:_0x_08X
call fcn.140023500
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.140023500
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.140023600
call fcn.14000be30
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.140009b50
mov rax, qword [r8 + 0x380]
test rax, rax
cmovne r8, rax
mov rcx, r8
jmp 0x140005eec