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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov eax, dword [0x4c900c]
xor eax, esp
mov dword [esp + 0xc4], eax
push esi
mov esi, dword [0x4c9c24]
mov edx, ecx
movss xmm4, dword [0x4c1a08]
push edi
mov dword [esp + 0xc], edx
mov edi, esi
mov eax, dword [esi + 0x3e38]
movss xmm1, dword [edx + 0x578]
mov dword [esp + 0x50], 0x41700000
mov dword [esp + 0x54], 0x41700000
movss xmm0, dword [eax + 0xec]
mov byte [eax + 0xa8], 1
mov eax, dword [esi + 0x3e38]
mov dword [esp + 8], 0
movss dword [eax + 0xec], xmm0
movss dword [eax + 0xf0], xmm1
mov byte [eax + 0x12d], 1
mov eax, dword [esi + 0x3e38]
mov byte [eax + 0xa8], 1
mov eax, dword [esi + 0x3e38]
mov eax, dword [eax + 0x260]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x3e38]
mov ecx, dword [eax + 0xec]
mov eax, dword [eax + 0xf0]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0xbc]
mov dword [esp + 0x10], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0xe070381d
sub ecx, edx
mov dword [esp + 0x1c], edx
imul ecx
add edx, ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0xc0]
cmp eax, ecx
jbe 0x4a51a2
imul eax, ecx, 0x124
mov ecx, dword [esp + 0x1c]
add eax, dword [esp + 8]
mov eax, dword [ecx + eax*4 + 0x410]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x3e38]
mov byte [eax + 0xa8], 1
mov eax, dword [edi + 0x3e38]
cmp byte [eax + 0xab], 0
jne 0x4a4864
movss xmm0, dword [eax + 0xf0]
lea ecx, [esp + 0x50]
movss xmm2, dword [eax + 0xec]
movaps xmm1, xmm0
addss xmm1, xmm4
movss dword [esp + 0xbc], xmm2
movaps xmm3, xmm2
movss dword [esp + 0xc0], xmm0
addss xmm3, xmm4
movss dword [esp + 0xc8], xmm1
movss xmm1, dword [0x4c1ae0]
movss dword [esp + 0xc4], xmm3
call fcn.004375f0
push 0
push 0
xor edx, edx
lea ecx, [esp + 0xc4]
call fcn.00437750
mov esi, dword [0x4c9c24]
add esp, 8
cmp byte [esi + 0x47f7], 0
mov edi, dword [esi + 0x3e38]
je 0x4a4aa7
cmp byte [esi + 0x47f6], 0
jne 0x4a4aa7
test byte [esi + 0x46b0], 4
jne 0x4a48a3
mov eax, dword [esi + 0x47bc]
cmp eax, dword [esi + 0x46ac]
jne 0x4a48a3
test eax, eax
jne 0x4a4b2a
mov edi, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
xorps xmm3, xmm3
movzx eax, cl
movss xmm2, dword [0x4c188c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4c1f00]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x4c1f00]
mov eax, ecx
shr eax, 0x10
movzx eax, al
cvtpd2ps xmm5, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm5, xmm2
addsd xmm0, qword [eax*8 + 0x4c1f00]
cvtpd2ps xmm4, xmm0
mulss xmm4, xmm2
movaps xmm2, xmm5
comiss xmm4, xmm5
jbe 0x4a4937
movss xmm3, dword [0x4c1ae0]
movaps xmm2, xmm4
movaps xmm4, xmm5
comiss xmm2, xmm1
movaps xmm5, xmm1
movss dword [esp + 0x18], xmm5
jbe 0x4a4960
movss xmm0, dword [0x4c1acc]
movaps xmm5, xmm2
subss xmm0, xmm3
movss dword [esp + 0x18], xmm5
movaps xmm2, xmm1
movaps xmm3, xmm0
movaps xmm1, xmm2
movaps xmm6, xmm5
minss xmm1, xmm4
subss xmm2, xmm4
subss xmm6, xmm1
movaps xmm1, xmm6
mulss xmm1, dword [0x4c19e4]
addss xmm1, dword [0x4c1874]
divss xmm2, xmm1
addss xmm2, xmm3
movaps xmm0, xmm2
call fcn.004231d0
movss dword [esp + 0x1c], xmm0
lea eax, [esp + 0x48]
movaps xmm0, xmm5
addss xmm0, dword [0x4c1874]
push 0
push ecx
mov dword [esp], 0
push ecx
divss xmm6, xmm0
mov ecx, dword [esp + 0x30]
push eax
lea eax, [esp + 0x20]
push eax
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [0x4c1a08]
movss dword [esp + 0x40], xmm6
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x34], xmm0
addss xmm0, dword [0x4c1a08]
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x60], xmm0
call fcn.0044b780
mov eax, dword [esi + 0xbc]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0xe070381d
sub ecx, edx
mov dword [esp + 0x30], edx
imul ecx
add edx, ecx
mov ecx, dword [esi + 0xc0]
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jbe 0x4a51a2
imul eax, ecx, 0x490
add eax, dword [esp + 0x30]
cmp byte [eax + edi + 0x400], 0
je 0x4a4d8a
movss xmm3, dword [0x4c194c]
subss xmm3, dword [esp + 0x18]
movss xmm2, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0xa0]
mov dword [esp], 0x3f800000
call fcn.00441980
movss xmm3, dword [0x4c194c]
xorps xmm2, xmm2
add esp, 4
movups xmm1, xmmword [eax]
comiss xmm2, xmm1
movaps xmmword [esp + 0x70], xmm1
jbe 0x4a4cb2
xorps xmm0, xmm0
jmp 0x4a4cb9
mov eax, dword [esi + 0x46b4]
test al, 1
je 0x4a48a3
cmp dword [esi + 0x3e3c], edi
je 0x4a4ac5
test al, al
jns 0x4a48a3
mov eax, dword [esi + 0x3e84]
test eax, eax
je 0x4a4ae9
cmp eax, dword [esi + 0x46ac]
je 0x4a4ae9
cmp byte [esi + 0x3e91], 0
jne 0x4a4ae9
cmp eax, dword [edi + 0x6c]
jne 0x4a48a3
xor edx, edx
mov ecx, edi
call fcn.0042abc0
test al, al
jne 0x4a4b06
test dword [esi + 0x46b0], 0x100
je 0x4a48a3
test byte [esi + 0x46b0], 4
jne 0x4a48a3
mov eax, dword [esi + 0x46ac]
cmp eax, dword [edi + 0x6c]
jne 0x4a4b2a
cmp byte [edi + 0xa8], dl
jne 0x4a48a3
xor ecx, ecx
call fcn.00438950
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 0xc0]
mov eax, dword [eax + 0xbc]
mov edi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0xe070381d
sub ecx, edi
mov dword [esp + 0x2c], edi
imul ecx
add edx, ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x4a51a2
imul eax, esi, 0x124
mov dword [esp + 0x18], 0
add eax, dword [esp + 8]
mov eax, dword [edi + eax*4 + 0x450]
xor edi, edi
mov esi, eax
and esi, 0x80000001
jns 0x4a4b91
dec esi
or esi, 0xfffffffe
inc esi
movsd xmm0, qword [0x4c19a8]
sar eax, 1
movd xmm1, edi
mov dword [esp + 0x1c], eax
mov eax, edi
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4c1f00]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
mov ecx, dword [esp + 0x18]
inc edi
cvttsd2si eax, xmm0
imul eax, esi
add ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
cmp edi, 4
jb 0x4a4b82
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 8]
push ecx
mov ecx, str._04i_NO_OR
imul eax, dword [esi + 0xc0], 0x490
add eax, dword [esp + 0x30]
cmp byte [eax + edi + 0x400], 0
mov eax, str._04i_OR_set
cmovne ecx, eax
push ecx
call fcn.0045f880
mov eax, dword [0x4c9c24]
add esp, 8
mov eax, dword [eax + 0x3e38]
test dword [eax + 8], 0x2000000
jne 0x4a4c36
push 0x26b1
push str.d:CProjectsSCUMSX2_srcimguiimgui.cpp
push str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
call fcn.00433830
xor ecx, ecx
call fcn.0042e2e0
test al, al
je 0x4a48ab
mov eax, dword [esi + 0xbc]
mov edi, dword [esi + 0xc0]
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0xe070381d
imul ecx
add edx, ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x4a51a2
mov ecx, dword [esp + 8]
imul eax, edi, 0x490
add eax, esi
cmp byte [eax + ecx + 0x400], 0
sete cl
imul eax, edi, 0x490
mov edi, dword [esp + 8]
add eax, esi
mov esi, dword [esp + 0xc]
mov byte [eax + edi + 0x400], cl
mov byte [esi + 0x80], 1
jmp 0x4a48ab
movaps xmm0, xmm3
minss xmm0, xmm1
movss xmm4, dword [0x4c1a6c]
movss xmm5, dword [0x4c18fc]
movss xmm1, dword [esp + 0x74]
comiss xmm2, xmm1
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x4a4ce5
xorps xmm0, xmm0
jmp 0x4a4cec
movaps xmm0, xmm3
minss xmm0, xmm1
movss xmm1, dword [esp + 0x78]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm2, xmm1
jbe 0x4a4d0d
xorps xmm0, xmm0
jmp 0x4a4d14
movaps xmm0, xmm3
minss xmm0, xmm1
movss xmm1, dword [esp + 0x28]
and ecx, 0xffffff
mulss xmm0, xmm4
movss xmm2, dword [esp + 0x34]
movss dword [esp + 0x58], xmm1
addss xmm0, xmm5
movss dword [esp + 0x60], xmm1
movss xmm1, dword [esp + 0x20]
movss dword [esp + 0x64], xmm1
movss xmm1, dword [esp + 0x10]
movss dword [esp + 0x5c], xmm2
cvttss2si eax, xmm0
movss dword [esp + 0x68], xmm1
movzx eax, al
or eax, 0x7f00
movss dword [esp + 0x6c], xmm2
shl eax, 0x10
or eax, ecx
mov ecx, dword [esp + 0x24]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.0044bce0
jmp 0x4a4dee
movss xmm1, dword [esp + 0x28]
lea eax, [esp + 0x38]
movss xmm0, dword [esp + 0x10]
sub esp, 8
movss xmm2, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
movss dword [esp + 0x48], xmm1
movss xmm1, dword [esp + 0x28]
mov dword [esp + 4], 0x3f800000
push eax
lea eax, [esp + 0x54]
movss dword [esp + 0x44], xmm0
push eax
lea eax, [esp + 0x50]
movss dword [esp + 0x4c], xmm2
push eax
lea eax, [esp + 0x24]
movss dword [esp + 0x58], xmm1
push eax
call fcn.0044ba70
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0x20], xmm0
movss xmm3, dword [0x4c194c]
subss xmm3, dword [esp + 0x18]
movss xmm2, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0xb0]
mov dword [esp], 0x3f800000
call fcn.00441980
mov esi, dword [0x4c9c24]
add esp, 4
mov dword [esp + 0x88], 0
movups xmm0, xmmword [eax]
lea eax, [esp + 0x88]
push eax
movaps xmmword [esp + 0x74], xmm0
lea ecx, [esi + 0x4748]
movups xmm0, xmmword [esi + 0x3874]
movups xmmword [esp + 0x90], xmm0
call fcn.004406b0
mov ecx, dword [0x4c9c24]
movaps xmm0, xmmword [esp + 0x70]
movups xmmword [esi + 0x3874], xmm0
mov eax, dword [ecx + 0x3e38]
movss xmm0, dword [esp + 0x10]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x3e38]
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [eax + 0xf0], xmm0
mov byte [eax + 0x12d], 1
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 0xc0]
mov eax, dword [eax + 0xbc]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0xe070381d
sub ecx, edx
mov dword [esp + 0x30], edx
imul ecx
add edx, ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x4a51a2
mov ecx, dword [esp + 0x30]
imul eax, esi, 0x124
add eax, edi
push dword [ecx + eax*4 + 0x450]
push str._02i
call fcn.0045f880
add esp, 8
mov ecx, 1
call fcn.00427aa0
mov esi, dword [0x4c9c24]
mov edi, esi
movss xmm0, dword [esp + 0x20]
movss xmm4, dword [0x4c1a08]
movss xmm1, dword [esp + 0x10]
addss xmm0, xmm4
mov eax, dword [edi + 0x3e38]
mov edx, dword [esp + 0xc]
mov byte [eax + 0xa8], 1
mov eax, dword [edi + 0x3e38]
movss dword [eax + 0xec], xmm1
movss dword [eax + 0xf0], xmm0
mov byte [eax + 0x12d], 1
mov eax, dword [esp + 8]
inc eax
mov dword [esp + 8], eax
cmp eax, 0x10
jb 0x4a4771
mov eax, dword [esi + 0x3e38]
movss xmm3, dword [0x4c1ab0]
push 0
push 0
movss xmm0, dword [eax + 0xec]
movss xmm1, dword [eax + 0xf0]
addss xmm0, dword [0x4c19d0]
addss xmm1, dword [0x4c19ec]
mov byte [eax + 0xa8], 1
mov eax, dword [esi + 0x3e38]
push 0x4ba050
movss dword [eax + 0xec], xmm0
movss dword [eax + 0xf0], xmm1
mov byte [eax + 0x12d], 1
mov eax, dword [esi + 0x3e38]
movss xmm2, dword [edi + 0x3bc8]
mov ecx, dword [eax + 0xec]
mov eax, dword [eax + 0xf0]
push ecx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0x3bc4]
mov dword [esp], 0xbf800000
push eax
call fcn.00450c80
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x4c1944]
movss xmm2, dword [esp + 0x14]
movss xmm1, dword [esp + 0x10]
subss xmm2, dword [0x4c19a0]
subss xmm1, dword [0x4c19a0]
cvttss2si eax, xmm0
push 0
push ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp], 0
push 0xff0000ff
movss dword [esp + 0x20], xmm2
addss xmm2, dword [esp + 0x50]
movss dword [esp + 0x1c], xmm1
movd xmm0, eax
lea eax, [esp + 0x44]
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0x20]
push eax
addss xmm2, dword [0x4c19d4]
addss xmm0, xmm1
movss dword [esp + 0x50], xmm2
addss xmm0, dword [0x4c19d4]
movss dword [esp + 0x4c], xmm0
call fcn.0044b780
push 0x4ba050
call fcn.0045f880
mov esi, dword [0x4c9c24]
add esp, 4
cmp byte [esi + 0x47f7], 0
mov edi, dword [esi + 0x3e38]
je 0x4a50de
cmp byte [esi + 0x47f6], 0
jne 0x4a50de
test byte [esi + 0x46b0], 4
jne 0x4a50ca
mov eax, dword [esi + 0x47bc]
cmp eax, dword [esi + 0x46ac]
jne 0x4a50ca
test eax, eax
jne 0x4a5149
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.004a7a88
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x46b4]
test al, 1
je 0x4a50ca
cmp dword [esi + 0x3e3c], edi
je 0x4a50f4
test al, al
jns 0x4a50ca
mov eax, dword [esi + 0x3e84]
test eax, eax
je 0x4a5114
cmp eax, dword [esi + 0x46ac]
je 0x4a5114
cmp byte [esi + 0x3e91], 0
jne 0x4a5114
cmp eax, dword [edi + 0x6c]
jne 0x4a50ca
xor edx, edx
mov ecx, edi
call fcn.0042abc0
test al, al
jne 0x4a512d
test dword [esi + 0x46b0], 0x100
je 0x4a50ca
test byte [esi + 0x46b0], 4
jne 0x4a50ca
mov eax, dword [esi + 0x46ac]
cmp eax, dword [edi + 0x6c]
jne 0x4a5149
cmp byte [edi + 0xa8], dl
jne 0x4a50ca
xor ecx, ecx
call fcn.00438950
push str.Click_in_Color_ID_to_Toogle_OR_Color_bit
call fcn.0045f880
mov eax, dword [0x4c9c24]
add esp, 4
mov eax, dword [eax + 0x3e38]
test dword [eax + 8], 0x2000000
jne 0x4a5189
push 0x26b1
push str.d:CProjectsSCUMSX2_srcimguiimgui.cpp
push str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
call fcn.00433830
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
xor ecx, esp
call fcn.004a7a88
mov esp, ebp
pop ebp
ret
call fcn.00499cc0
int3