Function at 0x411f70
Capabilities:
Create thread
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x6f4
mov eax, dword [0x4e2204]
xor eax, esp
mov dword [esp + 0x6f0], eax
push ebx
push esi
push edi
lea eax, [esp + 0x3c]
xor edi, edi
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], vtable.ytBaseThread.0
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xorps xmm0, xmm0
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x30], vtable.FluxUI::LoremTest.0
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x5c], xmm0
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x34], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [esp + 0x2c]
push edx
push edi
push 0x43cce0
call fcn.0049d7be
mov dword [esp + 0x44], eax
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea esi, [esp + 0x68]
call fcn.0044a610
xor bl, bl
cmp dword [esp + 0x38], edi
je 0x4121a0
lea esi, [esp + 0x68]
call fcn.0044a720
fmul qword [0x4d33d0]
call fcn.004b2650
fmul qword [0x4d3668]
movsd xmm1, qword [0x4bab50]
xorps xmm0, xmm0
fsubr qword [0x4d3638]
mov edx, dword [esp + 0x1c]
mov edi, dword [edx + 0xe28]
test bl, bl
sete bl
fstp qword [esp + 0x20]
movsd qword [esp + 0x80], xmm1
movsd qword [esp + 0xa0], xmm1
movsd qword [esp + 0xb0], xmm1
xorps xmm1, xmm1
movsx ecx, bl
movsd qword [esp + 0x90], xmm0
movsd qword [esp + 0x98], xmm0
movss dword [esp + 0xbc], xmm1
movss dword [esp + 0xc0], xmm1
movss dword [esp + 0xc4], xmm1
movss dword [esp + 0xc8], xmm1
movss xmm1, dword [0x4d3384]
movsd qword [esp + 0xd0], xmm0
movsd qword [esp + 0xd8], xmm0
movsd qword [esp + 0xf0], xmm0
movsd xmm0, qword [esp + 0x20]
lea esi, [edi + 0xda8]
mov byte [esp + 0x78], 0
mov byte [esp + 0xb8], 0
movss dword [esp + 0xe0], xmm1
movss dword [esp + 0xe4], xmm1
movss dword [esp + 0xe8], xmm1
movsd qword [esp + 0x88], xmm0
mov dword [esp + 0xa8], ecx
call fcn.00404d40
mov eax, dword [esi + 4]
test eax, eax
je 0x412130
dec eax
mov dword [esi + 4], eax
xor eax, eax
cmp dword [esi], eax
sete al
mov dword [esi], eax
mov ecx, dword [esi]
movsd xmm1, qword [esp + 0x88]
mov dword [esp + 0xa8], ecx
movsd xmm0, qword [edi + 0xdd0]
comisd xmm0, xmm1
jbe 0x41215b
movsd qword [esp + 0xf0], xmm0
jmp 0x41217d
movsd xmm0, qword [edi + 0xdd8]
comisd xmm1, xmm0
jbe 0x412174
movsd qword [esp + 0xf0], xmm0
jmp 0x41217d
movsd qword [esp + 0xf0], xmm1
lea edx, [esp + 0x78]
push edx
push edi
call fcn.00439e80
test eax, eax
je 0x412193
mov ecx, edi
call fcn.0043a7e0
cmp dword [esp + 0x38], 0
jne 0x41201b
xor edi, edi
mov eax, dword [esp + 0x5c]
fild dword [esp + 0x5c]
mov dword [esp + 0x1c], edi
test eax, eax
jge 0x4121b6
fadd qword [0x4d3588]
mov ecx, dword [esp + 0x64]
fild dword [esp + 0x64]
test ecx, ecx
jge 0x4121c8
fadd qword [0x4d3588]
fld qword [0x4d3508]
mov edx, dword [esp + 0x60]
fmul st(1), st(0)
sub esp, 0x20
fxch st(1)
fdiv st(2)
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fstp qword [esp + 0x18]
fild dword [esp + 0x80]
test edx, edx
jge 0x4121f8
fadd qword [0x4d3588]
fmulp st(1)
movss xmm0, dword [esp + 0x78]
movsd xmm1, qword [0x4c8918]
cvtps2pd xmm0, xmm0
fdivrp st(1)
divsd xmm1, xmm0
movss xmm0, dword [esp + 0x74]
cvtps2pd xmm0, xmm0
lea ecx, [esp + 0x3c]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fstp qword [esp + 0x10]
movsd qword [esp + 8], xmm1
movsd qword [esp], xmm0
push str.Average:__.1f_FPS._Worst_.1f_FPS._Missed_60hz:__.0f____Missed_30hz:__.0f___n
call fcn.00401480
mov eax, dword [0x566ac8]
add esp, 0x24
cmp eax, edi
je 0x41226e
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41226e
mov eax, dword [0x566ac8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41226e
mov ecx, dword [0x566ac8]
jmp 0x412270
xor ecx, ecx
mov esi, dword [esp + 0x1c]
cmp esi, edi
je 0x41227d
lea eax, [esi + 4]
jmp 0x41227f
xor eax, eax
inc dword [0x566acc]
push 0x40
push str.Note
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00446500
cmp esi, edi
je 0x4122c2
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x80
jl 0x4122b9
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4122c2
cmp eax, edi
jne 0x4122c2
call fcn.0045f130
mov dword [esp + 0x2c], vtable.ytBaseThread.0
cmp dword [esp + 0x38], edi
je 0x4122da
push edi
lea edi, [esp + 0x30]
call fcn.0043cdd0
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [esp + 0x6fc]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0049ca20
mov esp, ebp
pop ebp
ret