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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
mov eax, dword [0x10069040]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, edx
mov dword [esp + 0x74], eax
mov edx, ecx
mov dword [esp + 0xc0], edi
mov ecx, dword [0x1006ee70]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 0x19d0]
mov byte [eax + 0x7c], 1
mov esi, dword [ecx + 0x19d0]
mov dword [esp + 0xdc], esi
cmp byte [esi + 0x7f], 0
je 0x1003204f
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.1005465b
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x1aa4], 1
mov eax, dword [esi + 0x274]
mov dword [esp + 0x44], eax
je 0x1003206c
movss xmm1, dword [ecx + 0x1aa8]
jmp 0x10032074
movss xmm1, dword [esi + 0x170]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x100320af
mov eax, esi
cmp dword [eax + 0x1c0], 0
movss xmm0, dword [eax + 0x21c]
je 0x10032097
movss xmm0, dword [eax + 0x1fc]
subss xmm0, dword [esi + 0xc8]
addss xmm0, xmm1
movss xmm1, dword [0x10062f60]
maxss xmm1, xmm0
mov dword [ecx + 0x1aa4], 0
mov ecx, edx
cvttss2si esi, xmm1
call fcn.1000f8e0
call fcn.1000fa40
mov edx, dword [ebp + 8]
mov ecx, edx
or ecx, 0x10
test edx, 0x100
cmovne ecx, edx
mov dword [esp + 0x98], ecx
test cl, 8
jne 0x100320f6
mov edx, ecx
mov ecx, edi
call fcn.100356a0
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x14]
test ecx, 0x6000000
jne 0x10032122
mov eax, dword [edx + 0x2cf4]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0x98]
mov dword [esp + 0xc], ecx
test ecx, 0x18000000
jne 0x1003214d
mov eax, dword [edx + 0x2cf4]
test eax, 0x18000000
mov edx, 0xa900000
cmovne edx, eax
and edx, 0x18000000
or ecx, edx
mov dword [esp + 0xc], ecx
mov edx, ecx
and edx, 0x6000000
je 0x1003215e
lea eax, [edx - 1]
test edx, eax
je 0x1003217a
push 0x11a5
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_widgets.cpp
push str.ImIsPowerOfTwo_flags__ImGuiColorEditFlags__PickerMask_
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, ecx
and edx, 0x18000000
je 0x1003218b
lea eax, [edx - 1]
test edx, eax
je 0x100321a7
push 0x11a6
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_widgets.cpp
push str.ImIsPowerOfTwo_flags__ImGuiColorEditFlags__InputMask_
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [esp + 0x18]
add esp, 0xc
test cl, 8
jne 0x100321c1
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x2cf4]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xdc]
mov edx, ecx
and ecx, 0x10002
and edx, 2
mov dword [esp + 0xd8], edx
mov dword [esp + 0x98], ecx
movss xmm0, dword [eax + 0xcc]
movss xmm2, dword [eax + 0xc8]
mov eax, dword [0x1006ee70]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x58], xmm2
movss xmm3, dword [eax + 0x154c]
addss xmm3, xmm3
addss xmm3, dword [eax + 0x18e4]
mov eax, dword [esp + 0x14]
movss xmm4, dword [eax + 0x1560]
xor eax, eax
cmp ecx, 0x10000
movss dword [esp + 0x70], xmm3
movaps xmm0, xmm4
sete al
addss xmm0, xmm3
inc eax
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
test edx, edx
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0x130]
push edi
push eax
subss xmm0, xmm1
movaps xmm1, xmm3
maxss xmm1, xmm0
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0x2c], xmm1
addss xmm0, xmm4
movss dword [esp + 0x34], xmm0
addss xmm0, xmm3
addss xmm4, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x10062f14]
cvttss2si esi, xmm0
movss dword [esp + 0xc8], xmm4
mov dword [esp + 0xc0], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [esp + 0x2c]
add esp, 0xc
movaps xmm4, xmm1
movaps xmm2, xmm1
mulss xmm4, dword [0x10062f2c]
mulss xmm2, dword [0x10062f04]
movaps xmm0, xmm4
movss dword [esp + 0x94], xmm4
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0x84], xmm2
movaps xmm3, xmm4
subss xmm3, xmm2
movaps xmm2, xmm1
addss xmm2, dword [esp + 0x70]
movss dword [esp + 0xa8], xmm0
movss dword [esp + 0x110], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x10062ef8]
movaps xmm1, xmm3
mulss xmm2, dword [0x10062f2c]
cvttss2si eax, xmm0
addss xmm2, dword [esp + 0x58]
movss dword [esp + 0x80], xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xb0], xmm2
movss dword [esp + 0x10c], xmm2
subss xmm1, xmm0
movss xmm3, dword [edi + 4]
movaps xmm0, xmm1
mulss xmm0, dword [0x1006306c]
movaps xmm2, xmm1
mov eax, dword [esp + 0xc]
mulss xmm2, dword [0x10063078]
mov dword [esp + 0x34], 0
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x90], xmm0
movss dword [esp + 0xfc], xmm0
movss dword [esp + 0x11c], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x10062f58]
movss dword [esp + 0xa4], xmm2
movss dword [esp + 0x100], xmm2
movss xmm2, dword [edi + 8]
movss dword [esp + 0x9c], xmm0
movss dword [esp + 0x120], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x1c], xmm0
movaps xmm1, xmm0
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x64], xmm1
movaps xmm1, xmm3
movss dword [esp + 0x78], xmm1
movss dword [esp + 0x8c], xmm1
movaps xmm1, xmm2
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x7c], xmm1
movss xmm1, dword [0x10062fd4]
movss dword [esp + 0x50], xmm3
movss dword [esp + 0x54], xmm2
movss dword [esp + 0xcc], xmm1
test eax, 0x8000000
je 0x10032517
comiss xmm2, xmm3
xorps xmm1, xmm1
xorps xmm6, xmm6
movaps xmm5, xmm3
movaps xmm7, xmm2
jbe 0x1003245b
movss xmm6, dword [0x1006307c]
movaps xmm5, xmm2
movaps xmm7, xmm3
comiss xmm5, xmm0
movaps xmm4, xmm0
movss dword [esp + 0x54], xmm4
jbe 0x10032484
movaps xmm4, xmm5
movaps xmm5, xmm0
movss xmm0, dword [0x10063068]
subss xmm0, xmm6
movss dword [esp + 0x54], xmm4
movaps xmm6, xmm0
movaps xmm0, xmm5
movaps xmm3, xmm4
minss xmm0, xmm7
movaps xmm2, xmm5
subss xmm2, xmm7
subss xmm3, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x10062fd4]
addss xmm0, dword [0x10062ed4]
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x10062ed4]
addss xmm2, xmm6
divss xmm3, xmm0
andps xmm2, xmmword [0x100631c0]
ucomiss xmm3, xmm1
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x50], xmm3
lahf
test ah, 0x44
jp 0x10032563
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x2cfc]
cmp eax, dword [edi]
jne 0x10032563
mov eax, dword [ecx + 0x2d00]
cmp eax, dword [edi + 4]
jne 0x10032563
mov eax, dword [ecx + 0x2d04]
cmp eax, dword [edi + 8]
jne 0x10032563
movss xmm0, dword [ecx + 0x2cf8]
movss dword [esp + 0x1c], xmm0
jmp 0x10032563
test eax, 0x10000000
je 0x10032563
lea eax, [esp + 0x7c]
movaps xmm1, xmm3
push eax
lea edx, [esp + 0x90]
lea ecx, [esp + 0x68]
call fcn.10003d60
movss xmm0, dword [esp + 0x68]
add esp, 4
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x48], xmm0
mov ecx, 8
mov byte [esp + 0xb], 0
mov byte [esp + 0x1b], 0
mov byte [esp + 0x1a], 0
call fcn.1000f310
mov eax, dword [esp + 0xc]
test eax, 0x4000000
je 0x10032be7
movss xmm1, dword [esp + 0x20]
lea edx, [esp + 0x38]
mov eax, dword [esp + 0x14]
movaps xmm0, xmm1
mov ecx, 0x10061e48
movss dword [esp + 0x3c], xmm1
addss xmm0, dword [eax + 0x1560]
addss xmm0, dword [esp + 0x70]
movss dword [esp + 0x38], xmm0
call fcn.10027ed0
mov eax, dword [0x1006ee70]
mov ecx, dword [eax + 0x1a04]
test ecx, ecx
je 0x10032a75
mov eax, dword [eax + 0x19d0]
cmp ecx, dword [eax + 0x108]
jne 0x10032a75
mov eax, dword [esp + 0x14]
movss xmm0, dword [eax + 0x38c]
subss xmm0, dword [esp + 0xa8]
movss xmm1, dword [eax + 0x388]
subss xmm1, dword [esp + 0xb0]
movss xmm2, dword [eax + 0xe8]
movss xmm3, dword [eax + 0xec]
subss xmm2, dword [esp + 0xb0]
subss xmm3, dword [esp + 0xa8]
movaps xmm4, xmm0
movss dword [esp + 0xb8], xmm0
mulss xmm4, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0xa0], xmm1
movss xmm1, dword [0x10062f60]
addss xmm4, xmm0
movss dword [esp + 0xd4], xmm2
movss xmm0, dword [esp + 0x80]
subss xmm0, xmm1
movss dword [esp + 0xd0], xmm3
mulss xmm0, xmm0
comiss xmm4, xmm0
jb 0x100326fc
movss xmm0, dword [esp + 0x94]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm4
jb 0x100326fc
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x38], xmm0
fld qword [esp + 0x38]
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x38], xmm0
fld qword [esp + 0x38]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x10062fc0]
xorps xmm0, xmm0
fstp qword [esp + 0x38]
movsd xmm1, qword [esp + 0x38]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x10062f2c]
comiss xmm0, xmm1
movss dword [esp + 0x1c], xmm1
jbe 0x100326f4
addss xmm1, dword [0x10062f60]
movss dword [esp + 0x1c], xmm1
mov al, 1
mov byte [esp + 0xb], al
jmp 0x1003270e
mov al, byte [esp + 0xb]
movss xmm2, dword [0x10062fc0]
movss xmm1, dword [esp + 0x1c]
movaps xmm0, xmm1
mov byte [esp + 0x1b], al
xorps xmm0, xmmword [0x100631e0]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x38], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x2c], xmm0
movsd xmm0, qword [esp + 0x38]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0xa0]
xorps xmm5, xmm5
movss xmm1, dword [esp + 0xb8]
movaps xmm4, xmm3
mulss xmm4, dword [esp + 0x2c]
cvtsd2ss xmm5, xmm0
movaps xmm0, xmm1
movss xmm7, dword [esp + 0x30]
mulss xmm1, dword [esp + 0x2c]
movaps xmm6, xmm7
mulss xmm0, xmm5
mulss xmm3, xmm5
subss xmm4, xmm0
movss dword [esp + 0xac], xmm5
movss xmm0, dword [esp + 0xa4]
subss xmm0, dword [esp + 0x9c]
addss xmm3, xmm1
movss xmm1, dword [esp + 0x90]
movaps xmm5, xmm1
subss xmm5, xmm1
movaps xmm2, xmm4
subss xmm6, dword [esp + 0x90]
movss dword [esp + 0xb8], xmm0
subss xmm2, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, dword [esp + 0x9c]
movss dword [esp + 0xa0], xmm5
movss dword [esp + 0x68], xmm6
mulss xmm1, xmm2
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xa4]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0xc4], xmm0
movaps xmm0, xmm3
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xa4]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x10032a6d
movss xmm0, dword [esp + 0x9c]
subss xmm4, xmm7
subss xmm0, xmm5
subss xmm3, xmm5
mulss xmm4, xmm0
movss xmm0, dword [esp + 0x90]
subss xmm0, xmm7
mulss xmm0, xmm3
subss xmm4, xmm0
comiss xmm5, xmm4
seta al
cmp cl, al
jne 0x10032a6d
movss xmm6, dword [esp + 0xd4]
movss xmm1, dword [esp + 0xd0]
movaps xmm7, xmm6
mulss xmm7, dword [esp + 0x2c]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x2c]
mulss xmm0, dword [esp + 0xac]
mulss xmm6, dword [esp + 0xac]
movss xmm4, dword [esp + 0x90]
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0x38], xmm7
subss xmm1, xmm4
movaps xmm0, xmm6
movss dword [esp + 0x3c], xmm6
subss xmm0, dword [esp + 0x9c]
mulss xmm1, dword [esp + 0xb8]
mulss xmm0, dword [esp + 0xa0]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0xa4]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x68]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0xc4]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x1003296d
movss xmm3, dword [esp + 0x30]
movaps xmm2, xmm7
movss xmm0, dword [esp + 0x9c]
subss xmm2, xmm3
subss xmm0, xmm5
movaps xmm1, xmm4
subss xmm1, xmm3
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x100329b0
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x104]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0xd0]
call fcn.10003330
movss xmm3, dword [esp + 0x3c]
add esp, 0xc
movss xmm4, dword [esp + 0x90]
xorps xmm5, xmm5
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm1, dword [esp + 0x9c]
subss xmm7, xmm3
movaps xmm2, xmm4
subss xmm1, xmm5
movss xmm4, dword [esp + 0xa4]
subss xmm2, xmm3
subss xmm4, xmm5
subss xmm6, xmm5
movaps xmm3, xmm2
mulss xmm3, xmm1
movaps xmm0, xmm4
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm3, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x10062f60]
movaps xmm5, xmm1
subss xmm6, xmm7
divss xmm0, xmm3
divss xmm6, xmm3
subss xmm5, xmm0
movss xmm0, dword [0x10062eec]
movss dword [esp + 0x50], xmm0
comiss xmm0, xmm5
movaps xmm3, xmm5
subss xmm3, xmm6
jbe 0x10032a3e
movaps xmm2, xmm0
movss dword [esp + 0x54], xmm0
jmp 0x10032a4b
movaps xmm2, xmm1
minss xmm2, xmm5
movss dword [esp + 0x54], xmm2
divss xmm3, xmm2
comiss xmm0, xmm3
ja 0x10032a61
movaps xmm0, xmm1
minss xmm0, xmm3
movss dword [esp + 0x50], xmm0
mov byte [esp + 0x1a], 1
mov byte [esp + 0xb], 1
jmp 0x10032a75
mov al, byte [esp + 0xb]
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0xc]
test al, 8
mov eax, dword [0x1006ee70]
jne 0x10032e3a
cmp byte [eax + 0x3e3], 0
mov ecx, dword [eax + 0x19d0]
mov dword [esp + 0x68], ecx
je 0x10032e4b
mov ecx, 8
call fcn.10006700
test al, al
je 0x10032ae5
push ecx
mov ecx, dword [esp + 0x6c]
push str.context
call fcn.10005e40
mov dword [esp + 0x68], eax
test eax, eax
jne 0x10032ade
push 0x1dd0
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.cpp
push str.id___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esp + 0x74]
add esp, 0xc
mov ecx, eax
call fcn.10010810
movss xmm3, dword [esp + 0x24]
movss xmm4, dword [esp + 0x20]
mov eax, dword [0x1006ee70]
cmp dword [esp + 0x98], 0x10000
jne 0x10032e74
mov eax, dword [eax + 0x19d0]
lea edx, [esp + 0xfc]
movss xmm0, dword [esp + 0xbc]
mov ecx, str.alpha
movss dword [esp + 0x100], xmm4
mov byte [eax + 0x7c], 1
mov eax, dword [0x1006ee70]
mov eax, dword [eax + 0x19d0]
movss dword [eax + 0xc8], xmm0
movss dword [eax + 0xcc], xmm3
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe4]
maxss xmm0, xmm3
movss dword [eax + 0xe0], xmm1
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0xfc], xmm0
call fcn.10027ed0
mov eax, dword [0x1006ee70]
mov ecx, dword [eax + 0x1a04]
test ecx, ecx
je 0x10032e74
mov eax, dword [eax + 0x19d0]
cmp ecx, dword [eax + 0x108]
jne 0x10032e74
mov eax, dword [esp + 0x14]
movss xmm0, dword [esp + 0x20]
movss xmm1, dword [0x10062f60]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xec]
subss xmm2, dword [esp + 0x24]
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x10032e5c
xorps xmm3, xmm3
jmp 0x10032e63
test eax, 0x2000000
je 0x10032ae5
movss xmm0, dword [esp + 0x20]
lea edx, [esp + 0xfc]
mov ecx, 0x10061e4c
movss dword [esp + 0xfc], xmm0
movss dword [esp + 0x100], xmm0
call fcn.10027ed0
mov ecx, dword [0x1006ee70]
mov edx, dword [ecx + 0x1a04]
test edx, edx
je 0x10032cba
mov eax, dword [ecx + 0x19d0]
cmp edx, dword [eax + 0x108]
jne 0x10032cba
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x20]
movss xmm1, dword [0x10062f60]
subss xmm4, xmm1
movss xmm3, dword [eax + 0xe8]
subss xmm3, dword [esp + 0x58]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x10032c75
movss dword [esp + 0x50], xmm0
jmp 0x10032c82
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x50], xmm2
movss xmm2, dword [eax + 0xec]
subss xmm2, dword [esp + 0x24]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x10032c9e
xorps xmm3, xmm3
jmp 0x10032ca5
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov al, 1
subss xmm0, xmm3
mov byte [esp + 0xb], al
movss dword [esp + 0x54], xmm0
jmp 0x10032cbe
mov al, byte [esp + 0xb]
mov byte [esp + 0x1a], al
mov byte [esp + 0x13], al
mov eax, dword [esp + 0xc]
test al, 8
jne 0x10032d2f
cmp byte [ecx + 0x3e3], 0
mov eax, dword [ecx + 0x19d0]
mov dword [esp + 0x68], eax
je 0x10032d2f
mov ecx, 8
call fcn.10006700
test al, al
je 0x10032d29
push ecx
mov ecx, dword [esp + 0x6c]
push str.context
call fcn.10005e40
mov dword [esp + 0x68], eax
test eax, eax
jne 0x10032d22
push 0x1dd0
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.cpp
push str.id___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esp + 0x74]
add esp, 0xc
mov ecx, eax
call fcn.10010810
mov ecx, dword [0x1006ee70]
mov eax, dword [ecx + 0x19d0]
lea edx, [esp + 0xfc]
movss xmm0, dword [esp + 0x28]
movss xmm2, dword [esp + 0x24]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19d0]
mov ecx, 0x10061e50
movss dword [eax + 0xc8], xmm0
movss dword [eax + 0xcc], xmm2
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe4]
maxss xmm0, xmm2
movss dword [eax + 0xe0], xmm1
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0xfc], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x100], xmm0
call fcn.10027ed0
mov eax, dword [0x1006ee70]
mov ecx, dword [eax + 0x1a04]
test ecx, ecx
je 0x10032e4b
mov eax, dword [eax + 0x19d0]
mov dl, byte [esp + 0xb]
mov byte [esp + 0x1a], dl
cmp ecx, dword [eax + 0x108]
jne 0x10032ae5
mov eax, dword [esp + 0x14]
movss xmm4, dword [esp + 0x20]
movss xmm3, dword [esp + 0x24]
movaps xmm0, xmm4
movss xmm1, dword [0x10062f60]
movss xmm2, dword [eax + 0xec]
subss xmm0, xmm1
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x10032e1d
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0x13]
movss dword [esp + 0x1c], xmm0
mov byte [esp + 0x1b], 1
mov byte [esp + 0xb], 1
mov byte [esp + 0x1a], al
jmp 0x10032af1
movss xmm3, dword [esp + 0x24]
movss xmm4, dword [esp + 0x20]
jmp 0x10032af6
movss xmm4, dword [esp + 0x20]
movss xmm3, dword [esp + 0x24]
jmp 0x10032af6
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov byte [esp + 0xb], 1
subss xmm0, xmm3
movss dword [edi + 0xc], xmm0
call fcn.1000f380
mov eax, dword [esp + 0xc]
test eax, 0x100
jne 0x10032ea1
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1560]
call fcn.1000fe20
call fcn.1000fa40
mov eax, dword [esp + 0xc]
test al, al
js 0x10032f05
mov edx, dword [esp + 0x4c]
cmp edx, 0xffffffff
jae 0x10032f05
nop
mov cl, byte [edx]
mov byte [esp + 0x13], cl
test cl, cl
je 0x10032eca
cmp cl, 0x23
jne 0x10032ec4
cmp byte [edx + 1], cl
je 0x10032eca
inc edx
cmp edx, 0xffffffff
jb 0x10032eb0
mov dword [esp + 0x2c], edx
cmp dword [esp + 0x4c], edx
je 0x10032f05
test eax, 0x100
je 0x10032ef3
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1560]
call fcn.1000fe20
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
push 0
call fcn.10026df0
mov eax, dword [esp + 0x10]
add esp, 4
test eax, 0x100
jne 0x100330af
mov ecx, 0x10
call fcn.1000f310
mov eax, dword [esp + 0xc]
test al, 2
je 0x10032f2c
movss xmm1, dword [0x10062f60]
jmp 0x10032f31
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
movss dword [esp + 0xfc], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x100], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x104], xmm0
movss dword [esp + 0x108], xmm1
test al, al
jns 0x10032f78
push str.Current
call fcn.10027570
mov eax, dword [esp + 0x10]
add esp, 4
movss xmm1, dword [esp + 0x70]
lea edx, [esp + 0xfc]
movaps xmm0, xmm1
and eax, 0x180e0040
mulss xmm0, dword [0x10062fb4]
mov ecx, str.current
mov dword [esp + 0xac], eax
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x68], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
movss dword [esp + 0xc8], xmm0
push dword [esp + 0x3c]
push eax
call fcn.10034880
add esp, 0xc
cmp dword [esp + 0x74], 0
je 0x100330a1
push str.Original
call fcn.10027570
mov eax, dword [esp + 0x10]
add esp, 4
test al, 2
mov eax, dword [esp + 0x74]
je 0x10033002
movss xmm1, dword [0x10062f60]
jmp 0x10033007
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x11c]
movss dword [esp + 0x11c], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x120], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x124], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
movss dword [esp + 0x12c], xmm1
push dword [esp + 0x3c]
push dword [esp + 0xb4]
call fcn.10034880
add esp, 0xc
test al, al
je 0x100330a1
xor eax, eax
cmp dword [esp + 0xd8], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x78]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xb], 1
call fcn.1000f380
call fcn.1000fb80
mov eax, dword [esp + 0xc]
cmp byte [esp + 0x1b], 0
jne 0x100330c1
cmp byte [esp + 0x1a], 0
je 0x10033174
test eax, 0x8000000
je 0x1003314d
movss xmm1, dword [esp + 0x54]
lea eax, [edi + 8]
xorps xmm0, xmm0
lea edx, [edi + 4]
comiss xmm1, xmm0
jbe 0x100330e5
movaps xmm3, xmm1
jmp 0x100330ed
movss xmm3, dword [0x10062ed8]
movss xmm1, dword [esp + 0x50]
comiss xmm1, xmm0
movss xmm2, dword [0x10062edc]
ja 0x10033103
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x1c]
comiss xmm0, dword [0x10062f60]
jb 0x10033116
subss xmm0, xmm2
push eax
mov ecx, edi
movaps xmm2, xmm3
call fcn.10003d60
mov ecx, dword [esp + 0x18]
add esp, 4
movss xmm1, dword [esp + 0x1c]
movss dword [ecx + 0x2cf8], xmm1
movq xmm0, qword [edi]
movq qword [ecx + 0x2cfc], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 0x2d04], eax
jmp 0x10033174
test eax, 0x10000000
je 0x10033174
movss xmm0, dword [esp + 0x50]
movss xmm1, dword [esp + 0x1c]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [edi], xmm1
movss dword [edi + 8], xmm0
mov eax, dword [esp + 0xc]
mov byte [esp + 0x13], 0
test al, 0x20
jne 0x1003337f
cmp dword [esp + 0x98], 0x10000
jne 0x1003319d
movss xmm0, dword [esp + 0xbc]
jmp 0x100331a3
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [esp + 0x70]
subss xmm0, dword [esp + 0x58]
call fcn.1000ef10
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0x198e001a
mov dword [esp + 0x4c], ecx
test eax, 0x100000
jne 0x100331d2
test eax, 0x700000
jne 0x10033219
or ecx, 0x100004
mov edx, edi
push ecx
mov ecx, str.rgb
call fcn.10030870
add esp, 4
test al, al
je 0x10033211
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x1a04], 0
je 0x10033207
cmp byte [eax + 0x1a11], 0
mov byte [esp + 0x13], 1
je 0x1003320c
mov byte [esp + 0x13], 0
mov byte [esp + 0xb], 1
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0xc]
test eax, 0x200000
jne 0x10033227
test eax, 0x700000
jne 0x10033245
or ecx, 0x200004
mov edx, edi
push ecx
mov ecx, str.hsv
call fcn.10030870
add esp, 4
or byte [esp + 0xb], al
mov eax, dword [esp + 0xc]
test eax, 0x400000
jne 0x10033253
test eax, 0x700000
jne 0x10033270
mov eax, dword [esp + 0x4c]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.10030870
add esp, 4
or byte [esp + 0xb], al
call fcn.1000efa0
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0xc]
je 0x1003337f
xorps xmm2, xmm2
test eax, 0x8000000
je 0x10033382
movss xmm3, dword [edi + 4]
xorps xmm6, xmm6
movss xmm5, dword [edi + 8]
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x100332b9
movss xmm6, dword [0x1006307c]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x100332d6
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x10063068]
subss xmm0, xmm6
movaps xmm6, xmm0
movaps xmm0, xmm3
movaps xmm1, xmm4
minss xmm0, xmm5
subss xmm3, xmm5
subss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x10062ed4]
movaps xmm7, xmm1
mulss xmm1, dword [0x10062fd4]
divss xmm7, xmm0
addss xmm1, dword [0x10062ed4]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x100631c0]
comiss xmm2, xmm3
jb 0x10033382
movss xmm0, dword [esp + 0x1c]
comiss xmm0, xmm2
jbe 0x10033382
comiss xmm2, xmm4
jb 0x10033354
movss xmm1, dword [esp + 0x54]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10033350
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x50]
mulss xmm2, dword [0x10062f2c]
jmp 0x1003336a
mov eax, dword [esp + 0xc]
comiss xmm2, xmm7
jb 0x10033382
movss xmm1, dword [esp + 0x50]
movaps xmm2, xmm4
mulss xmm1, dword [0x10062f2c]
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
call fcn.10003d60
mov eax, dword [esp + 0x10]
add esp, 4
xorps xmm2, xmm2
cmp byte [esp + 0xb], 0
je 0x10033511
test eax, 0x8000000
je 0x100334a8
movss xmm0, dword [edi + 4]
xorps xmm5, xmm5
movss xmm1, dword [edi + 8]
movaps xmm3, xmm0
comiss xmm1, xmm0
movss xmm7, dword [edi]
movaps xmm6, xmm1
movss dword [esp + 0x88], xmm7
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x48], xmm1
jbe 0x100333d7
movss xmm5, dword [0x1006307c]
movaps xmm3, xmm1
movaps xmm6, xmm0
comiss xmm3, xmm7
movaps xmm4, xmm7
movss dword [esp + 0x54], xmm4
jbe 0x10033400
movss xmm0, dword [0x10063068]
movaps xmm4, xmm3
subss xmm0, xmm5
movss dword [esp + 0x54], xmm4
movaps xmm3, xmm7
movaps xmm5, xmm0
movaps xmm0, xmm3
movaps xmm1, xmm4
minss xmm0, xmm6
subss xmm3, xmm6
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x10062fd4]
addss xmm0, dword [0x10062ed4]
divss xmm3, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x10062ed4]
addss xmm3, xmm5
divss xmm1, xmm0
andps xmm3, xmmword [0x100631c0]
ucomiss xmm1, xmm2
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x50], xmm1
lahf
test ah, 0x44
mov eax, dword [esp + 0x14]
jp 0x1003351b
mov eax, dword [eax + 0x2cfc]
cmp eax, dword [edi]
mov eax, dword [esp + 0x14]
jne 0x1003351b
mov eax, dword [eax + 0x2d00]
cmp eax, dword [edi + 4]
mov eax, dword [esp + 0x14]
jne 0x1003351b
mov eax, dword [eax + 0x2d04]
cmp eax, dword [edi + 8]
mov eax, dword [esp + 0x14]
jne 0x1003351b
movss xmm3, dword [eax + 0x2cf8]
movss dword [esp + 0x1c], xmm3
jmp 0x1003351b
test eax, 0x10000000
je 0x10033511
movss xmm0, dword [edi]
lea eax, [esp + 0x7c]
movss xmm1, dword [edi + 4]
lea edx, [esp + 0x8c]
movss xmm2, dword [edi + 8]
lea ecx, [esp + 0x64]
push eax
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x58], xmm2
call fcn.10003d60
movss xmm0, dword [esp + 0x68]
add esp, 4
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x48], xmm0
mov eax, dword [esp + 0x14]
movss xmm3, dword [esp + 0x1c]
movss xmm2, dword [eax + 0x1510]
xorps xmm0, xmm0
comiss xmm0, xmm2
movss xmm0, dword [0x10062f60]
jbe 0x10033538
xorps xmm1, xmm1
jmp 0x1003353f
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x10063018]
mov dword [esp + 0xfc], 0x3f800000
movss dword [esp + 0x108], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x100], 0x3f800000
addss xmm1, dword [0x10062f2c]
mov dword [esp + 0x104], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0xa0], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x64], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0xe0], ecx
or eax, 0x808080
mov dword [esp + 0xf8], ecx
mov dword [esp + 0x74], eax
lea ecx, [esp + 0xfc]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0xe4], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0xe8], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0xec], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0xf0], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x100]
mov dword [esp + 0xf4], eax
lea eax, [esp + 0x104]
push eax
call fcn.10003d60
movss xmm3, dword [esp + 0x100]
xorps xmm1, xmm1
movss xmm2, dword [0x10062f60]
add esp, 4
comiss xmm1, xmm3
jbe 0x1003363e
xorps xmm0, xmm0
jmp 0x10033645
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm3, dword [0x10063018]
movss xmm5, dword [0x10062f2c]
movss xmm4, dword [esp + 0x100]
comiss xmm1, xmm4
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x10033674
xorps xmm0, xmm0
jmp 0x1003367b
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x104]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x1003369f
xorps xmm0, xmm0
jmp 0x100336a6
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x108]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm4
jbe 0x100336ca
xorps xmm0, xmm0
jmp 0x100336d1
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x88]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
comiss xmm1, xmm4
mov dword [esp + 0x7c], edx
jbe 0x100336f9
xorps xmm0, xmm0
jmp 0x10033700
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x78]
comiss xmm1, xmm4
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x1003371c
xorps xmm0, xmm0
jmp 0x10033723
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x48]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm4
jbe 0x10033744
xorps xmm0, xmm0
jmp 0x1003374b
movaps xmm0, xmm2
minss xmm0, xmm4
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x14]
movss xmm4, dword [eax + 0x1510]
comiss xmm1, xmm4
jbe 0x10033772
xorps xmm0, xmm0
jmp 0x10033779
movaps xmm0, xmm2
minss xmm0, xmm4
mulss xmm0, xmm3
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xc]
test eax, 0x4000000
je 0x10034105
movss xmm0, dword [esp + 0x94]
movaps xmm3, xmm5
movss xmm4, dword [esp + 0x80]
mov eax, 0x2aaaaaab
divss xmm3, xmm0
mov edi, dword [esp + 0x44]
addss xmm4, xmm0
cvttss2si ecx, xmm0
mulss xmm4, xmm5
imul ecx
movss dword [esp + 0xd4], xmm3
movss dword [esp + 0xd0], xmm4
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x4c], eax
nop
movd xmm1, eax
lea eax, [esp + 0x10c]
cvtdq2ps xmm1, xmm1
mov esi, dword [edi + 0x18]
push ecx
push ecx
mov ecx, edi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x10062fd4]
divss xmm1, dword [0x10062fd4]
addss xmm0, xmm0
movaps xmm2, xmm4
addss xmm1, xmm1
mulss xmm0, dword [0x10062fc0]
mulss xmm1, dword [0x10062fc0]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x34], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x54], xmm1
call fcn.1001f640
movss xmm0, dword [esp + 0x84]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 0
push dword [esp + 0x6c]
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.1001e5d0
movss xmm0, dword [esp + 0x2c]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x58], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x2c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x80]
addss xmm0, dword [esp + 0xb0]
movss dword [esp + 0xc4], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x80]
addss xmm0, dword [esp + 0xa8]
movss dword [esp + 0xac], xmm0
movss xmm0, dword [esp + 0x48]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x48]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x80]
addss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x68], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm3, dword [esp + 0x68]
lea eax, [esp + 0xe4]
movss xmm5, dword [esp + 0xc4]
xorps xmm4, xmm4
movss xmm6, dword [esp + 0xac]
subss xmm3, xmm5
cvtsd2ss xmm4, xmm0
mov edx, dword [esp + 0x4c]
mov ecx, dword [edi + 0x20]
movss xmm2, dword [0x10062f60]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x80]
movaps xmm7, xmm2
mov eax, dword [eax + edx*4]
mov edx, dword [esp + edx*4 + 0xe0]
mulss xmm0, xmm3
mov dword [esp + 0x2c], eax
addss xmm4, dword [esp + 0xa8]
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
mov eax, dword [edi + 0x18]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x88], eax
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x88]
jae 0x10033b02
movzx eax, dl
mov dword [esp + 0x48], eax
mov eax, edx
shr eax, 8
movzx esi, al
mov eax, dword [esp + 0x2c]
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x2c]
shr edx, 0x10
movzx edx, dl
shr eax, 8
sub ecx, edx
mov dword [esp + 0x8c], edx
movzx edx, al
mov eax, dword [esp + 0x2c]
sub edx, esi
movzx edi, al
sub edi, dword [esp + 0x48]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x8c]
nop
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
subss xmm0, xmm5
subss xmm1, xmm6
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm7
comiss xmm0, xmm1
jbe 0x10033a4e
xorps xmm2, xmm2
jmp 0x10033a52
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm2
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov esi, dword [esp + 0x28]
addss xmm0, xmm1
movd xmm1, edx
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
shl eax, 8
movd xmm1, dword [esp + 0x68]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0xc], eax
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, edi
or dword [esp + 0xc], eax
shl dword [esp + 0xc], 8
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm0
movd xmm0, dword [esp + 0x48]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x10062f60]
or dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x10]
and eax, 0xff000000
or dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov esi, dword [esp + 0x8c]
add eax, 0x14
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x88]
jb 0x10033a20
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
movss xmm4, dword [esp + 0xd0]
inc eax
movss xmm3, dword [esp + 0xd4]
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x4c], eax
cmp eax, 6
jl 0x10033810
movss xmm0, dword [esp + 0x1c]
addss xmm0, xmm0
mulss xmm0, dword [0x10062fc0]
movss dword [esp + 0x1c], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x1c]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x28], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x1b], 0
xorps xmm1, xmm1
movss xmm2, dword [esp + 0x80]
addss xmm2, dword [esp + 0x94]
movss xmm4, dword [0x10062f2c]
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x28]
mulss xmm0, xmm2
movss xmm5, dword [esp + 0x84]
movss dword [esp + 0x68], xmm1
mulss xmm0, xmm4
addss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x5c], xmm0
je 0x10033bdd
mulss xmm5, dword [0x10062f38]
jmp 0x10033be5
mulss xmm5, dword [0x10062f30]
movaps xmm0, xmm5
movss dword [esp + 0x84], xmm5
divss xmm0, dword [0x10062f78]
cvttss2si eax, xmm0
cmp eax, 9
jge 0x10033c09
mov eax, 9
jmp 0x10033c13
mov ecx, 0x20
cmp eax, ecx
cmovg eax, ecx
test dword [esp + 0x7c], 0xff000000
movss xmm2, dword [0x10062fd8]
mov esi, dword [esp + 0xb4]
mov dword [esp + 0x48], eax
je 0x10033c9a
cmp eax, 2
jle 0x10033c9a
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
push ecx
lea eax, [esp + 0x60]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x10062f60]
mulss xmm0, xmm2
movaps xmm2, xmm5
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1001f640
push dword [esp + 0x7c]
mov ecx, edi
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.1001f140
movss xmm4, dword [0x10062f2c]
movss xmm2, dword [0x10062fd8]
movss xmm5, dword [esp + 0x84]
mov dword [edi + 0x58], 0
test dword [esp + 0x74], 0xff000000
mov eax, dword [esp + 0x48]
je 0x10033d13
cmp eax, 2
jle 0x10033d13
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
push ecx
lea eax, [esp + 0x60]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x10062f60]
mulss xmm0, xmm2
movaps xmm2, xmm5
addss xmm2, dword [0x10062f60]
divss xmm0, xmm1
subss xmm2, xmm4
movss dword [esp], xmm0
push eax
call fcn.1001f640
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x7c]
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.1001e5d0
mov eax, dword [esp + 0x48]
mov dword [edi + 0x58], 0
test dword [esp + 0x64], 0xff000000
je 0x10033d8a
cmp eax, 2
jle 0x10033d8a
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x5c]
push ecx
movss xmm2, dword [esp + 0x8c]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x10062f60]
subss xmm2, dword [0x10062f2c]
mulss xmm0, dword [0x10062fd8]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1001f640
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x6c]
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.1001e5d0
mov dword [edi + 0x58], 0
movss xmm3, dword [esp + 0x28]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x68]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x30]
movaps xmm0, xmm5
mov eax, dword [0x1006ee70]
mov ecx, edi
movss xmm6, dword [esp + 0xb0]
movaps xmm4, xmm3
mulss xmm0, xmm1
push 6
movss xmm7, dword [esp + 0xac]
mulss xmm4, dword [esp + 0x94]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0x98]
addss xmm2, xmm6
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x104], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x38]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xac]
mulss xmm5, dword [esp + 0xa4]
addss xmm2, xmm7
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x108], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xac]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xa4]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0x9c], xmm4
addss xmm3, xmm7
movss dword [esp + 0x114], xmm4
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax + 0x18ec]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [eax + 0x18f0]
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x118], xmm3
movss dword [esp + 0xcc], xmm0
call fcn.1001e3d0
mov ecx, dword [edi + 0x3c]
mov ax, word [edi + 0x34]
movss xmm2, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x4c]
movss xmm0, dword [esp + 0x68]
movss xmm1, dword [esp + 0xc4]
mov word [ecx], ax
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
mov edx, dword [esp + 0x7c]
movss xmm5, dword [esp + 0x30]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], edx
mov eax, dword [edi + 0x3c]
inc dword [edi + 0x34]
add dword [edi + 0x38], 0x14
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
movss dword [eax], xmm5
movss xmm4, dword [esp + 0x34]
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x38]
movss xmm7, dword [esp + 0x94]
movss xmm6, dword [esp + 0x28]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], edx
add dword [edi + 0x38], 0x14
inc dword [edi + 0x34]
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
mov ecx, dword [esp + 0x64]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], ecx
add dword [edi + 0x38], 0x14
mov eax, dword [edi + 0x3c]
inc dword [edi + 0x34]
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], 0
add dword [edi + 0x38], 0x14
mov eax, dword [edi + 0x3c]
inc dword [edi + 0x34]
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
mov ecx, dword [esp + 0xa0]
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x3c]
add dword [edi + 0x38], 0x14
inc dword [edi + 0x34]
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
push ecx
mov dword [esp], 0x3fc00000
mov ecx, edi
push dword [esp + 0x78]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], 0
lea eax, [esp + 0x114]
add dword [edi + 0x38], 0x14
inc dword [edi + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x10c]
push eax
call fcn.1001ffb0
movss xmm0, dword [0x10062f60]
movaps xmm2, xmm0
xorps xmm1, xmm1
subss xmm2, dword [esp + 0x54]
comiss xmm1, xmm2
jbe 0x10034080
xorps xmm5, xmm5
jmp 0x10034087
movaps xmm5, xmm0
minss xmm5, xmm2
movss xmm2, dword [esp + 0x50]
comiss xmm1, xmm2
jbe 0x10034097
xorps xmm4, xmm4
jmp 0x1003409e
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [esp + 0x94]
movss xmm3, dword [esp + 0x30]
movss xmm2, dword [esp + 0x34]
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x94]
subss xmm3, xmm0
mulss xmm3, xmm5
addss xmm3, xmm0
movss xmm0, dword [esp + 0x4c]
subss xmm0, dword [esp + 0x28]
movss dword [esp + 0x38], xmm3
mulss xmm0, xmm4
addss xmm0, dword [esp + 0x28]
subss xmm2, xmm0
mulss xmm2, xmm5
addss xmm2, xmm0
movss dword [esp + 0x3c], xmm2
jmp 0x1003445d
test eax, 0x2000000
je 0x10034464
movss xmm1, dword [esp + 0x58]
movss xmm2, dword [esp + 0x20]
movaps xmm0, xmm1
mov eax, dword [esp + 0x64]
addss xmm0, xmm2
mov ecx, dword [esp + 0x44]
addss xmm1, xmm2
push eax
push edx
push edx
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x30]
push eax
addss xmm0, xmm2
movss dword [esp + 0x3c], xmm1
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x6c]
push eax
movss dword [esp + 0x4c], xmm0
call fcn.1001fe30
mov ecx, dword [esp + 0xa0]
lea eax, [esp + 0x10c]
movss xmm0, dword [esp + 0x2c]
push ecx
push ecx
mov ecx, dword [esp + 0x4c]
push 0
push 0
push eax
movss dword [esp + 0x120], xmm0
lea eax, [esp + 0x6c]
movss xmm0, dword [esp + 0x48]
push eax
movss dword [esp + 0x128], xmm0
call fcn.1001fe30
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x6c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.10004dc0
movss xmm2, dword [esp + 0x60]
xorps xmm0, xmm0
movss xmm1, dword [0x10062f60]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x100341ed
xorps xmm3, xmm3
jmp 0x100341f4
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm6, dword [esp + 0x20]
movss xmm5, dword [esp + 0x58]
movss xmm4, dword [0x10062f2c]
movaps xmm2, xmm5
mulss xmm3, xmm6
movss xmm7, dword [0x10062f9c]
addss xmm2, xmm7
addss xmm3, xmm5
addss xmm5, xmm6
addss xmm3, xmm4
subss xmm5, xmm7
cvttss2si eax, xmm3
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm2, xmm3
jbe 0x10034243
movss dword [esp + 0x38], xmm2
jmp 0x10034256
comiss xmm3, xmm5
jbe 0x10034250
movss dword [esp + 0x38], xmm5
jmp 0x10034256
movss dword [esp + 0x38], xmm3
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x54]
comiss xmm0, xmm2
jbe 0x10034269
xorps xmm1, xmm1
jmp 0x1003426d
minss xmm1, xmm2
movss xmm3, dword [esp + 0x24]
mulss xmm1, xmm6
movss xmm0, dword [esp + 0x34]
subss xmm0, xmm7
addss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
movaps xmm1, xmm3
addss xmm1, xmm7
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x100342a8
movss dword [esp + 0x3c], xmm1
jmp 0x100342bb
comiss xmm2, xmm0
jbe 0x100342b5
movss dword [esp + 0x3c], xmm0
jmp 0x100342bb
movss dword [esp + 0x3c], xmm2
movss xmm2, dword [esp + 0x28]
lea eax, [esp + 0xe4]
movaps xmm1, xmm6
mov esi, dword [esp + 0x44]
divss xmm1, dword [0x10062fd4]
xor ecx, ecx
movaps xmm0, xmm2
movss dword [esp + 0xfc], xmm2
addss xmm0, dword [esp + 0x70]
movss dword [esp + 0x68], xmm1
movss dword [esp + 0x10c], xmm0
nop word [eax + eax]
mov eax, dword [eax + ecx*4]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x114]
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0x118], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0xe8]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x110]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0x118], xmm0
call fcn.1001fe30
movss xmm1, dword [esp + 0x68]
lea eax, [esp + 0xe4]
movss xmm3, dword [esp + 0x24]
mov ecx, edi
cmp ecx, 6
jl 0x10034300
movss xmm2, dword [esp + 0x24]
movss xmm3, dword [esp + 0x28]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x20]
movaps xmm1, xmm3
movss dword [esp + 0x5c], xmm2
addss xmm1, dword [esp + 0x70]
movss dword [esp + 0x58], xmm3
movss dword [esp + 0x34], xmm0
xorps xmm0, xmm0
push dword [esp + 0x34]
movss dword [esp + 0x34], xmm1
push dword [esp + 0x34]
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.10004dc0
mov esi, dword [esp + 0xc4]
movss xmm1, dword [esp + 0x80]
addss xmm1, dword [0x10062f9c]
mov ecx, dword [esp + 0x54]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x44], xmm2
addss xmm0, dword [0x10062f60]
movss xmm2, dword [esp + 0x38]
push dword [esp + 0x44]
subss xmm2, dword [0x10062f60]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, dword [esp + 0x34]
push dword [esp + 0x44]
movss dword [esp + 0x70], xmm2
addss xmm0, dword [esp + 0x3c]
addss xmm0, dword [0x10062f2c]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x2c]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x1510]
movss dword [esp + 0x74], xmm0
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.10031dd0
add esp, 0x20
mov edi, dword [esp + 0xc0]
cmp byte [esp + 0x1a], 0
je 0x1003447e
movss xmm2, dword [0x10062fe0]
movss dword [esp + 0xcc], xmm2
jmp 0x10034486
movss xmm2, dword [0x10062fd4]
test dword [esp + 0x78], 0xff000000
je 0x100344cd
push 0xb
push ecx
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x40]
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
call fcn.1001f640
mov eax, dword [esp + 0x44]
mov ecx, eax
push dword [esp + 0x78]
push dword [eax + 0x58]
push dword [eax + 0x60]
call fcn.1001f140
mov eax, dword [esp + 0x44]
mov dword [eax + 0x58], 0
jmp 0x100344d1
mov eax, dword [esp + 0x44]
test dword [esp + 0x74], 0xff000000
je 0x10034537
movss xmm2, dword [esp + 0xcc]
xorps xmm3, xmm3
addss xmm2, dword [0x10062f60]
push 0xb
push ecx
lea ecx, [esp + 0x40]
mov dword [esp], 0x40b84e89
push ecx
subss xmm2, dword [0x10062f2c]
mov ecx, eax
call fcn.1001f640
mov eax, dword [esp + 0x44]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x7c]
push dword [eax + 0x58]
push dword [eax + 0x60]
call fcn.1001e5d0
mov eax, dword [esp + 0x44]
mov dword [eax + 0x58], 0
test dword [esp + 0x64], 0xff000000
je 0x10034595
movss xmm2, dword [esp + 0xcc]
xorps xmm3, xmm3
subss xmm2, dword [0x10062f2c]
push 0xb
push ecx
lea ecx, [esp + 0x40]
mov dword [esp], 0x40b84e89
push ecx
mov ecx, eax
call fcn.1001f640
mov eax, dword [esp + 0x44]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x6c]
push dword [eax + 0x58]
push dword [eax + 0x60]
call fcn.1001e5d0
mov eax, dword [esp + 0x44]
mov dword [eax + 0x58], 0
cmp dword [esp + 0x98], 0x10000
jne 0x10034748
movss xmm1, dword [edi + 0xc]
xorps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x100345be
movss dword [esp + 0xb4], xmm2
jmp 0x100345d3
movss xmm0, dword [0x10062f60]
minss xmm0, xmm1
movss dword [esp + 0xb4], xmm0
movss xmm3, dword [esp + 0xbc]
or edx, 0xffffffff
movss xmm0, dword [esp + 0x24]
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x70]
movss dword [esp + 0x110], xmm0
xor ecx, ecx
addss xmm0, dword [esp + 0x20]
mov dword [esp + 0x34], 0
push dword [esp + 0x34]
movss dword [esp + 0x118], xmm1
subss xmm1, xmm3
mov dword [esp + 0x34], 0
push dword [esp + 0x34]
movss dword [esp + 0x120], xmm0
push dword [esp + 0x120]
mulss xmm1, dword [0x10062f2c]
push dword [esp + 0x120]
movss dword [esp + 0x11c], xmm3
push dword [esp + 0x120]
mov edi, dword [esp + 0x120]
push edi
call fcn.10031b00
mov ecx, dword [esp + 0x90]
add esp, 0x18
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x120]
push eax
call fcn.1001fe30
push dword [esp + 0x118]
xorps xmm0, xmm0
push dword [esp + 0x118]
push dword [esp + 0x118]
push edi
call fcn.10004dc0
movss xmm1, dword [0x10062f60]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x54]
movaps xmm0, xmm2
movss dword [esp + 0x44], xmm2
movss xmm2, dword [esp + 0xcc]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0xc4]
push dword [esp + 0x44]
movss dword [esp + 0x44], xmm0
push dword [esp + 0x44]
mulss xmm1, dword [esp + 0x38]
movss dword [esp + 0x70], xmm2
addss xmm1, dword [esp + 0x3c]
addss xmm1, dword [0x10062f2c]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x88]
addss xmm1, dword [0x10062f9c]
movd xmm0, eax
mov eax, dword [esp + 0x2c]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x1510]
movss dword [esp + 0x74], xmm0
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.10031dd0
add esp, 0x20
call fcn.1000fb80
cmp byte [esp + 0xb], 0
je 0x10034828
mov ecx, dword [esp + 0xc0]
lea esi, [esp + 0x12c]
xor edx, edx
cmp dword [esp + 0xd8], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x10034791
nop
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x1003479a
add esi, 4
add ecx, 4
sub edx, 4
jae 0x10034780
cmp edx, 0xfffffffc
je 0x10034823
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x100347cb
cmp edx, 0xfffffffd
je 0x10034823
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x100347cb
cmp edx, 0xfffffffe
je 0x10034823
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x100347cb
cmp edx, 0xffffffff
je 0x10034823
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x10034823
mov esi, dword [0x1006ee70]
mov ecx, dword [esp + 0xdc]
mov eax, dword [esi + 0x1a04]
cmp eax, dword [ecx + 0x108]
je 0x1003480b
test eax, eax
je 0x1003480b
cmp byte [esi + 0x1d54], 0
jne 0x1003480b
push 0xb10
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.cpp
push str.g.ActiveId__id__g.ActiveId__0__g.DragDropActive
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [esi + 0x19d0]
mov word [esi + 0x1a13], 0x101
or dword [eax + 0x10c], 4
jmp 0x10034828
mov byte [esp + 0xb], 0
mov eax, dword [0x1006ee70]
mov esi, dword [eax + 0x19d0]
cmp dword [esi + 0xbc], 0
jg 0x10034854
push 0x512
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
dec dword [esi + 0xbc]
mov ecx, dword [esp + 0x13c]
mov al, byte [esp + 0xb]
pop edi
pop esi
xor ecx, esp
call fcn.1005465b
mov esp, ebp
pop ebp
ret