Function at 0x4177e0
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495672
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2d8
mov eax, dword [0x57d040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b4], ecx
cmp dword [0x5a2600], 0
jne 0x417a88
mov esi, dword [0x5ad2c8]
push 0xdc
call fcn.00492ca9
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push 0xdc
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, edi
push dword [esi + 0x4a8]
push dword [esi + 0x4a4]
push dword [esi + 0x4c8]
push dword [esi + 0x4c4]
push 0x5a2608
call fcn.00418060
mov esi, dword [0x5a2600]
mov dword [0x5a2600], eax
test esi, esi
je 0x4178d9
lea ecx, [esi + 0x48]
call fcn.004027c0
lea ecx, [esi + 0x3c]
call fcn.004027c0
lea ecx, [esi + 0x30]
call fcn.004027c0
lea ecx, [esi + 0x24]
call fcn.004027c0
lea ecx, [esi + 0x18]
call fcn.004027c0
lea ecx, [esi + 0xc]
call fcn.00402840
mov ecx, esi
call fcn.004028c0
push 0xdc
push esi
call fcn.00493044
mov eax, dword [0x5a2600]
add esp, 8
mov ecx, eax
call fcn.00402360
push 0x10
call fcn.00492ca9
mov esi, eax
mov dword [ebp - 0x18], esi
sub esp, 0x14
mov dword [ebp - 4], 0
mov ecx, esp
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push 8
movups xmmword [ecx], xmm0
push str.implTest
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00403d60
mov ecx, esi
call fcn.00486370
mov dword [ebp - 4], 0xffffffff
mov esi, dword [0x5ad3c4]
mov dword [0x5ad3c4], eax
test esi, esi
je 0x41794b
lea ecx, [esi + 4]
call fcn.004158c0
push 0x10
push esi
call fcn.00493044
add esp, 8
push 0x40
call fcn.00492ca9
mov esi, eax
add esp, 4
mov dword [ebp - 0x2b8], esi
push 0x40
push 0
push esi
mov dword [ebp - 4], 1
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
add esp, 0xc
movsd qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 2
mov eax, dword [0x5af950]
mov byte [esi + 0x24], 1
mov dword [esi + 0x28], 0x40a00000
mov dword [esi + 0x2c], 0x40a00000
mov dword [esi + 0x30], 0x40a00000
mov dword [esi + 0x34], 0x40a00000
mov dword [esi + 0x38], 0x41480000
movsd xmm0, qword [eax + 0x3df8]
push 4
movsd qword [esi], xmm0
call fcn.00492ca9
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], esi
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 3
push ecx
push 0
push eax
push 0x45d3b0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x2c0], eax
test eax, eax
je 0x417d21
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2bc]
test ecx, ecx
je 0x417d19
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
jne 0x417d19
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x5ad3c0]
mov dword [0x5ad3c0], esi
test eax, eax
je 0x417a63
push eax
call fcn.004092a0
mov ecx, dword [0x5a2600]
call fcn.0041c710
mov eax, dword [0x5a2600]
mov dword [eax + 0x9c], 0x14
mov ecx, dword [0x5a2600]
call fcn.0041b890
movss xmm0, dword [0x5ad324]
sub esp, 0xc
movss xmm3, dword [0x5ad318]
movss xmm2, dword [0x5ad314]
mov ecx, dword [0x5ad3c0]
movss dword [esp + 8], xmm0
movss xmm0, dword [0x5ad320]
movss dword [esp + 4], xmm0
movss xmm0, dword [0x5ad31c]
movss dword [esp], xmm0
push 0
call fcn.0045bf70
mov ecx, dword [0x5a2600]
sub esp, 8
call fcn.004188f0
mov ecx, dword [ebp - 0x2b4]
push 3
call fcn.00471990
movss xmm2, dword [0x573678]
lea esi, [ebp - 0xa0]
movss xmm1, dword [0x573634]
xorps xmm0, xmm0
movups xmmword [ebp - 0x84], xmm0
mov ecx, 0x21
mov edi, 0x5a2cd0
movups xmmword [ebp - 0x5c], xmm0
mov byte [ebp - 0xa0], 1
movups xmmword [ebp - 0x4c], xmm0
push 8
movups xmmword [ebp - 0x3c], xmm0
push str.Player_1
movups xmmword [ebp - 0x2c], xmm0
movaps xmm0, xmmword [0x5739b0]
movups xmmword [ebp - 0x6c], xmm0
movss xmm0, dword [0x57368c]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [0x57360c]
movss dword [ebp - 0x9c], xmm0
movss xmm0, dword [0x57364c]
movss dword [ebp - 0x8c], xmm1
movss dword [ebp - 0x88], xmm2
movss dword [ebp - 0x74], xmm1
movss dword [ebp - 0x98], xmm2
movss dword [ebp - 0x94], xmm0
movss dword [ebp - 0x90], xmm2
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x5a2f30
call fcn.00402690
push 5
push str.AK_47
mov ecx, 0x5a2f48
call fcn.00402690
mov esi, dword [0x5af9e0]
mov dword [0x5a2d68], 0x64
mov dword [0x5a2d74], 0x3e19999a
mov dword [0x5a2d6c], 0x3f0ccccd
mov dword [0x5a2d70], 0x3f800000
cmp dword [esi], 0
jne 0x417c3e
mov eax, dword [0x5af950]
xor edx, edx
push str.Background
mov eax, dword [eax + 0x47dc]
mov ecx, dword [eax]
call fcn.004239d0
mov dword [esi], eax
add esp, 4
mov eax, dword [0x5af950]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esi + 4], ecx
movss xmm2, dword [esi + 4]
mulss xmm2, dword [0x5734b0]
mov dword [esi + 8], eax
movss xmm1, dword [esi + 8]
mulss xmm1, dword [0x5734b0]
movss dword [esi + 0xc], xmm2
movss dword [esi + 0x14], xmm2
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x18], xmm1
cmp byte [0x5a2608], 0
je 0x417ca5
mov esi, 0x5a2cc8
nop dword [eax]
push esi
lea ecx, [ebp - 0x2b0]
call fcn.00401790
mov dword [ebp - 4], 5
cmp byte [ebp - 0x2a8], 0
je 0x417c85
sub esp, 0x298
lea eax, [ebp - 0x2b0]
mov ecx, esp
push eax
call fcn.00401790
call fcn.00401910
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 4], 0xffffffff
call fcn.00401410
add esi, 0x298
cmp esi, 0x5ad2c8
jne 0x417c50
mov ecx, dword [ebp - 0x2b4]
mov dword [ebp - method.std::_Func_impl_no_alloc_class__private:_void___thiscall_CSapphireMenu::renderCustomContent_void_::_2::_lambda_1___void___.virtual_0], vtable.std::_Func_impl_no_alloc_class__private:_void___thiscall_CSapphireMenu::renderCustomContent_void_::_2::_lambda_1___void___.0
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0x34]
mov dword [eax - 0x34], 0x96
mov eax, dword [ecx + 8]
lea ecx, [ebp - 0x2e8]
mov dword [ebp - 0x2c4], ecx
mov eax, dword [eax + 0x34]
sub eax, 0x30
push eax
call fcn.00409310
mov ecx, dword [ebp - 0x2c4]
test ecx, ecx
je 0x417cfb
mov edx, dword [ecx]
lea eax, [ebp - 0x2e8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00492c21
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x2bc], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3