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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x57d040]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
push edi
mov edi, ecx
sub esp, 0x28
mov eax, esp
mov dword [esp + 0x64], edi
mov dword [edi + 0x4bc], 3
lea ecx, [edi + 0x4b8]
mov dword [eax + 0x24], 0
call fcn.00486060
mov al, byte [edi + 0x4b8]
sub esp, 0x28
mov byte [edi], al
mov ecx, 0x5ad364
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_CSapphireMenu::toggle_void_::_2::_lambda_1___void___.0
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
call fcn.00486060
sub esp, 0x28
mov ecx, 0x5ad300
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_CSapphireMenu::toggle_void_::_2::_lambda_2___void___.0
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
call fcn.00486060
sub esp, 0x28
mov ecx, 0x5ad2d0
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_CSapphireMenu::toggle_void_::_2::_lambda_3___void___.0
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
call fcn.00486060
mov eax, dword [0x5af950]
xor edx, edx
movss xmm0, dword [edi + 0x4d8]
push str.Background
mulss xmm0, dword [eax + 0x18]
movss dword [edi + 0x460], xmm0
movss xmm0, dword [eax + 0x10]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [eax + 0x14]
mov eax, dword [eax + 0x47dc]
movss dword [esp + 0x28], xmm0
mov ecx, dword [eax]
call fcn.004239d0
mov ecx, dword [0x5ad3b8]
add esp, 4
sub ecx, dword [0x5ad3b4]
mov dword [esp + 0x1c], eax
mov eax, 0x4bda12f7
imul ecx
mov dword [esp + 0x18], 0
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4560d5
xor esi, esi
mov dword [esp + 0xc], esi
mov edi, dword [0x5ad3b4]
push dword [esp + 0x24]
add edi, esi
push dword [esp + 0x24]
mov ecx, edi
call fcn.0045d8e0
test al, al
je 0x455fc3
push dword [esp + 0x1c]
mov ecx, edi
call fcn.0045dc00
mov ecx, dword [0x5ad3b8]
jmp 0x4560a2
mov ecx, dword [0x5ad3b4]
mov edx, dword [0x5ad3b8]
add ecx, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 8], edx
lea eax, [ecx + 0x6c]
mov dword [esp + 0x14], eax
cmp eax, edx
je 0x45608b
lea esi, [ecx + 0x30]
lea edi, [eax + 0x30]
nop
push eax
call fcn.00409510
lea eax, [edi - 0x18]
push eax
lea ecx, [esi - 0x18]
call fcn.00409510
mov eax, dword [edi]
lea esi, [esi + 0x6c]
mov ecx, dword [edi + 4]
lea edi, [edi + 0x6c]
mov dword [esi - 0x6c], eax
mov dword [esi - 0x68], ecx
mov eax, dword [edi - 0x64]
mov ecx, dword [edi - 0x60]
mov dword [esi - 0x64], eax
mov dword [esi - 0x60], ecx
mov eax, dword [edi - 0x5c]
mov dword [esi - 0x5c], eax
mov eax, dword [edi - 0x58]
mov ecx, dword [esp + 0x10]
mov dword [esi - 0x58], eax
add ecx, 0x6c
mov eax, dword [edi - 0x54]
mov dword [esi - 0x54], eax
mov eax, dword [edi - 0x50]
mov dword [esi - 0x50], eax
mov eax, dword [edi - 0x4c]
mov dword [esi - 0x4c], eax
mov eax, dword [edi - 0x48]
mov dword [esi - 0x48], eax
mov eax, dword [edi - 0x44]
mov dword [esi - 0x44], eax
mov eax, dword [edi - 0x40]
mov dword [esi - 0x40], eax
mov eax, dword [edi - 0x3c]
mov dword [esi - 0x3c], eax
mov eax, dword [edi - 0x38]
mov dword [esi - 0x38], eax
mov eax, dword [edi - 0x34]
mov dword [esi - 0x34], eax
mov eax, dword [esp + 0x14]
add eax, 0x6c
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 8]
jne 0x455ff0
mov edx, dword [0x5ad3b8]
mov esi, dword [esp + 0xc]
lea ecx, [edx - 0x6c]
call fcn.0040cc30
mov ecx, dword [0x5ad3b8]
sub ecx, 0x6c
mov dword [0x5ad3b8], ecx
sub ecx, dword [0x5ad3b4]
mov eax, 0x4bda12f7
mov edi, dword [esp + 0x18]
add esi, 0x6c
imul ecx
inc edi
mov dword [esp + 0xc], esi
sar edx, 5
mov eax, edx
mov dword [esp + 0x18], edi
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x455f92
mov edi, dword [esp + 0x3c]
cmp byte [edi], 0
mov esi, dword [0x5af950]
movss xmm2, dword [esi + 0x18]
mulss xmm2, dword [0x5735b0]
je 0x4560f7
movss xmm1, dword [0x5734f8]
jmp 0x4560fa
xorps xmm1, xmm1
subss xmm1, dword [edi + 4]
movss xmm0, dword [0x573464]
mulss xmm1, xmm2
addss xmm1, dword [edi + 4]
comiss xmm0, xmm1
movss dword [edi + 4], xmm1
ja 0x4569a8
cmp dword [edi + 0x14], 0
jne 0x45613b
add esi, 0x3798
mov ecx, 0x112
mov dword [edi + 0x14], esi
add edi, 0x18
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
cmp ecx, eax
je 0x456241
lea eax, [ecx + 0x24]
mov dword [esp + 0x54], eax
lea eax, [ecx + 0x30]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov edi, dword [eax]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edi
cmp edi, ecx
je 0x456211
nop
mov eax, dword [edi + 0x30]
test eax, eax
je 0x4561a6
mov ecx, dword [eax + 0xbc]
test ecx, ecx
je 0x4561a2
sub esp, 0x28
mov eax, esp
mov dword [eax + 0x24], 0
call fcn.00486060
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x28]
mov esi, dword [edi + 0x24]
mov dword [esp + 8], eax
cmp esi, eax
je 0x456202
mov edi, eax
nop word [eax + eax]
push 0
push 0x5ade20
push 0x5ae718
push 0
push dword [esi]
call sub.VCRUNTIME140.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x4561f3
mov ecx, dword [eax + 0xbc]
sub esp, 0x28
mov eax, esp
mov dword [eax + 0x24], 0
call fcn.00486060
add esi, 4
cmp esi, edi
jne 0x4561c0
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
add edi, 0x68
mov dword [esp + 0xc], edi
cmp edi, ecx
jne 0x456180
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x5c]
add eax, 4
mov dword [esp + 0x18], eax
cmp eax, ecx
jne 0x456167
mov ecx, dword [esp + 0x14]
add ecx, 0x3c
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x1c]
jne 0x456151
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 0x464]
cmp eax, 5
ja case.0x45624c.1
jmp dword [eax*4 + 0x4569bc]
mov ecx, dword [edi + 0x4f4]
jmp 0x456281
mov ecx, dword [edi + 0x514]
jmp 0x456281
mov ecx, dword [edi + 0x524]
jmp 0x456281
mov ecx, dword [edi + 0x534]
jmp 0x456281
mov ecx, dword [edi + 0x544]
jmp 0x456281
mov ecx, dword [edi + 0x504]
call fcn.0042c190
mov esi, dword [0x5af950]
mov dword [esp + 0x40], 0
or dword [esi + 0x4710], 2
mov eax, dword [edi + 0x4c4]
mov ecx, dword [edi + 0x4c8]
mov dword [esi + 0x4730], eax
lea eax, [esp + 0x40]
mov dword [esi + 0x4734], ecx
lea ecx, [esi + 0x477c]
mov dword [esi + 0x4718], 1
movss xmm0, dword [edi + 4]
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0x3798]
push eax
movss dword [esp + 0x48], xmm0
call fcn.00435fb0
movss xmm0, dword [esp + 8]
lea eax, [esp + 0x20]
movss dword [esi + 0x3798], xmm0
mov esi, dword [0x5af950]
push eax
mov dword [esp + 0x24], 2
movss xmm1, dword [esi + 0x37a0]
lea ecx, [esi + 0x477c]
movss xmm0, dword [esi + 0x37a4]
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x2c], xmm0
call fcn.00435fb0
mov eax, dword [0x5af950]
xor edx, edx
movss xmm1, dword [0x5734b0]
mov ecx, str.sapphire.ac
mov dword [esi + 0x37a0], 0
mov dword [esi + 0x37a4], 0
movss xmm0, dword [edi + 0x4c4]
movss xmm3, dword [eax + 0x10]
movss xmm2, dword [eax + 0x14]
mulss xmm0, xmm1
push 0x2003
mulss xmm3, xmm1
mulss xmm2, xmm1
subss xmm3, xmm0
movss xmm0, dword [edi + 0x4c8]
or dword [eax + 0x4710], 1
mulss xmm0, xmm1
mov dword [eax + 0x4728], 0
mov dword [eax + 0x472c], 0
movss dword [eax + 0x4720], xmm3
subss xmm2, xmm0
mov dword [eax + 0x4714], 2
movss dword [eax + 0x4724], xmm2
call fcn.00429380
add esp, 4
test al, al
je 0x456999
mov eax, dword [0x5af950]
mov eax, dword [eax + 0x3e60]
movss xmm0, dword [eax + 0x10]
movss xmm1, dword [eax + 0x14]
mov eax, dword fs:[0x2c]
movss dword [edi + 0x4a4], xmm0
movss dword [edi + 0x4a8], xmm1
mov ecx, dword [eax]
mov eax, dword [0x5afa10]
cmp eax, dword [ecx + 4]
jle 0x45644f
push 0x5afa10
call fcn.00493c13
add esp, 4
cmp dword [0x5afa10], 0xffffffff
jne 0x45644f
movss xmm0, dword [edi + 0x4a4]
movss dword [0x5afa14], xmm0
movss xmm0, dword [edi + 0x4a8]
push 0x5afa10
movss dword [0x5afa18], xmm0
call fcn.00493bc2
add esp, 4
movss xmm0, dword [edi + 0x4a8]
subss xmm0, dword [0x5afa18]
movss xmm1, dword [edi + 0x4a4]
subss xmm1, dword [0x5afa14]
mov esi, dword [0x5af950]
mov dword [esp + 0x20], 2
movss dword [edi + 0x4b0], xmm0
movss xmm0, dword [edi + 0x4a4]
movss dword [edi + 0x4ac], xmm1
lea ecx, [esi + 0x477c]
movss dword [0x5afa14], xmm0
movss xmm0, dword [edi + 0x4a8]
movss dword [0x5afa18], xmm0
cmp dword [edi + 0x49c], 0
movss xmm1, dword [edi + 0x4d4]
setne al
mov byte [edi + 0x488], al
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm1
mulss xmm0, dword [0x5735b0]
mulss xmm0, dword [edi + 0x460]
addss xmm0, xmm1
movss dword [edi + 0x4d4], xmm0
mov eax, dword [0x5ad2c8]
movss xmm1, dword [esi + 0x37a0]
movss dword [esp + 0x24], xmm1
movss xmm0, dword [eax + 0x468]
lea eax, [esp + 0x20]
mulss xmm0, dword [0x573588]
push eax
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0x37a4]
movss dword [esp + 0x2c], xmm0
call fcn.00435fb0
movss xmm0, dword [esp + 8]
lea eax, [esp + 0x40]
movss dword [esi + 0x37a0], xmm0
movss dword [esi + 0x37a4], xmm0
mov esi, dword [0x5af950]
push eax
mov dword [esp + 0x44], 7
movss xmm0, dword [esi + 0x37c4]
lea ecx, [esi + 0x477c]
movss dword [esp + 0x48], xmm0
call fcn.00435fb0
mov ecx, edi
mov dword [esi + 0x37c4], 0
call fcn.00481e80
mov ecx, 1
call fcn.004214d0
movss xmm1, dword [0x5736c8]
xorps xmm0, xmm0
call fcn.0042ec10
call fcn.0042ee40
call fcn.0042ee40
mov esi, dword [0x5af950]
movss xmm0, dword [edi + 0x468]
mulss xmm0, dword [0x573650]
mov eax, dword [esi + 0x3e60]
mov byte [eax + 0xa8], 1
mov eax, dword [esi + 0x3e60]
movss xmm1, dword [eax + 0x10]
subss xmm1, dword [eax + 0x74]
addss xmm1, xmm0
movss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0x78]
mov byte [eax + 0x12d], 1
movss dword [eax + 0xec], xmm1
addss xmm0, dword [0x5735b4]
movss dword [eax + 0xf0], xmm0
mov eax, dword [0x5ad2c8]
movss xmm1, dword [eax + 0x468]
movaps xmm0, xmm1
mulss xmm1, dword [0x573580]
mulss xmm0, dword [0x573588]
movss dword [esp + 0x1c], xmm1
movss xmm1, dword [esi + 0x37d4]
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0x37d8]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0xb
push eax
lea ecx, [esi + 0x477c]
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x2c], xmm0
call fcn.00435fb0
movss xmm0, dword [esp + 8]
lea ecx, [edi + 0x48c]
mov eax, dword [0x5af950]
movss dword [esi + 0x37d4], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esi + 0x37d8], xmm0
movss xmm0, dword [edi + 0x4d4]
mulss xmm0, dword [0x573670]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
addss xmm0, dword [0x573628]
addss xmm0, xmm0
mulss xmm0, dword [edi + 0x468]
or dword [eax + 0x46c0], 1
movss dword [eax + 0x46c4], xmm0
mov eax, dword [ecx + 0x14]
lea edx, [eax + 1]
cmp eax, 0xf
jbe 0x4566e8
mov ecx, dword [ecx]
lea eax, [esp + 0x40]
mov dword [esp + 0x20], 0
push eax
push fcn.004921b0
push 0x40000
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], 0
push eax
push edx
push ecx
mov edx, str.___Search_items...
mov ecx, str.search
call fcn.0043c550
add esp, 0x18
mov ecx, 1
call fcn.004214d0
call fcn.0042ef70
movss xmm0, dword [0x5734f8]
subss xmm0, dword [edi + 0x4d4]
movss xmm1, dword [0x573464]
mulss xmm0, dword [edi + 4]
comiss xmm0, xmm1
movss dword [esp + 0xc], xmm0
jbe 0x45696a
mov esi, dword [0x5af950]
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], 0
movss xmm0, dword [esi + 0x3798]
lea ecx, [esi + 0x477c]
movss dword [esp + 0x48], xmm0
call fcn.00435fb0
movss xmm0, dword [esp + 0xc]
movss dword [esi + 0x3798], xmm0
mov eax, dword [0x5ad2c8]
mov esi, dword [0x5af950]
movss xmm0, dword [edi + 0x468]
mulss xmm0, dword [0x573650]
mov dword [esp + 0x20], 3
movss xmm2, dword [eax + 0x468]
lea ecx, [esi + 0x4770]
mov eax, dword [esi + 0x3e60]
mulss xmm2, dword [0x573618]
mov byte [eax + 0xa8], 1
mov eax, dword [esi + 0x3e60]
movss xmm1, dword [eax + 0x10]
subss xmm1, dword [eax + 0x74]
addss xmm1, xmm0
movss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0x78]
mov byte [eax + 0x12d], 1
movss dword [eax + 0xec], xmm1
addss xmm0, xmm2
movss dword [eax + 0xf0], xmm0
xorps xmm0, xmm0
mulps xmm0, xmmword [0x573900]
lea eax, [esp + 0x20]
push eax
movaps xmmword [esp + 0x44], xmm0
movups xmm0, xmmword [esi + 0x38b0]
movups xmmword [esp + 0x28], xmm0
call fcn.00436070
movaps xmm0, xmmword [esp + 0x40]
xor edx, edx
movups xmmword [esi + 0x38b0], xmm0
mov eax, dword [0x5ad2c8]
mov esi, dword [0x5af950]
movss xmm1, dword [eax + 0x468]
mov eax, dword [esi + 0x3e60]
movaps xmm0, xmm1
mulss xmm0, dword [0x5736d4]
mulss xmm1, dword [0x5736d8]
mov byte [eax + 0xa8], 1
mov eax, dword [esi + 0x3e60]
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x24], xmm1
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, str.contents
call fcn.00420b60
add esp, 4
mov dword [esp + 8], eax
cmp dword [esi + 0x3e94], eax
jne 0x4568ce
push ecx
push str.contents
mov edx, 0xb
mov ecx, eax
call fcn.00435960
mov eax, dword [esp + 0x10]
add esp, 8
push 0
lea ecx, [esp + 0x24]
mov edx, eax
push 0
push ecx
mov ecx, str.contents
call fcn.00426740
add esp, 0xc
mov ecx, 1
call fcn.00421400
movss xmm1, dword [esp + 0xc]
mov ecx, edi
call fcn.00481b30
mov ecx, dword [0x5af950]
xorps xmm2, xmm2
mov eax, dword [ecx + 0x3e60]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x3e60]
mov ecx, edi
movss xmm1, dword [eax + 0x10]
movss xmm0, dword [eax + 0x14]
subss xmm1, dword [eax + 0x74]
subss xmm0, dword [eax + 0x78]
mov byte [eax + 0x12d], 1
addss xmm1, xmm2
addss xmm0, xmm2
movss dword [eax + 0xec], xmm1
movss dword [eax + 0xf0], xmm0
call fcn.004177e0
call fcn.00426940
mov ecx, 1
call fcn.004214d0
movss xmm1, dword [0x573464]
movss xmm0, dword [edi + 0x4d4]
comiss xmm0, xmm1
jbe 0x45697e
mov ecx, edi
call fcn.00455960
call fcn.0042ef70
mov ecx, 1
call fcn.004214d0
mov ecx, edi
call fcn.00458ab0
call fcn.0042bb90
mov ecx, 2
call fcn.004214d0
call fcn.0042c250
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.00492c21
mov esp, ebp
pop ebp
ret