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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
mov eax, dword [0x10084040]
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 [0x10089f58]
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 0x1003c73f
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.1006c1ab
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x1aa4], 1
mov eax, dword [esi + 0x274]
mov dword [esp + 0x44], eax
je 0x1003c75c
movss xmm1, dword [ecx + 0x1aa8]
jmp 0x1003c764
movss xmm1, dword [esi + 0x170]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1003c79f
mov eax, esi
cmp dword [eax + 0x1c0], 0
movss xmm0, dword [eax + 0x21c]
je 0x1003c787
movss xmm0, dword [eax + 0x1fc]
subss xmm0, dword [esi + 0xc8]
addss xmm0, xmm1
movss xmm1, dword [0x1007d1fc]
maxss xmm1, xmm0
mov dword [ecx + 0x1aa4], 0
mov ecx, edx
cvttss2si esi, xmm1
call fcn.10019f90
call fcn.1001a0f0
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 0x1003c7e6
mov edx, ecx
mov ecx, edi
call fcn.1003fda0
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x14]
test ecx, 0x6000000
jne 0x1003c812
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 0x1003c83d
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 0x1003c84e
lea eax, [edx - 1]
test edx, eax
je 0x1003c86a
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 0x1003c87b
lea eax, [edx - 1]
test edx, eax
je 0x1003c897
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 0x1003c8b1
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 [0x10089f58]
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 [0x1007d1ac]
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 [0x1007d1c4]
mulss xmm2, dword [0x1007d19c]
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 [0x1007d18c]
movaps xmm1, xmm3
mulss xmm2, dword [0x1007d1c4]
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 [0x1007d344]
movaps xmm2, xmm1
mov eax, dword [esp + 0xc]
mulss xmm2, dword [0x1007d350]
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 [0x1007d1f0]
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 [0x1007d290]
movss dword [esp + 0x50], xmm3
movss dword [esp + 0x54], xmm2
movss dword [esp + 0xcc], xmm1
test eax, 0x8000000
je 0x1003cc07
comiss xmm2, xmm3
xorps xmm1, xmm1
xorps xmm6, xmm6
movaps xmm5, xmm3
movaps xmm7, xmm2
jbe 0x1003cb4b
movss xmm6, dword [0x1007d354]
movaps xmm5, xmm2
movaps xmm7, xmm3
comiss xmm5, xmm0
movaps xmm4, xmm0
movss dword [esp + 0x54], xmm4
jbe 0x1003cb74
movaps xmm4, xmm5
movaps xmm5, xmm0
movss xmm0, dword [0x1007d340]
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 [0x1007d290]
addss xmm0, dword [0x1007d15c]
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x1007d15c]
addss xmm2, xmm6
divss xmm3, xmm0
andps xmm2, xmmword [0x1007d5f0]
ucomiss xmm3, xmm1
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x50], xmm3
lahf
test ah, 0x44
jp 0x1003cc53
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x2cfc]
cmp eax, dword [edi]
jne 0x1003cc53
mov eax, dword [ecx + 0x2d00]
cmp eax, dword [edi + 4]
jne 0x1003cc53
mov eax, dword [ecx + 0x2d04]
cmp eax, dword [edi + 8]
jne 0x1003cc53
movss xmm0, dword [ecx + 0x2cf8]
movss dword [esp + 0x1c], xmm0
jmp 0x1003cc53
test eax, 0x10000000
je 0x1003cc53
lea eax, [esp + 0x7c]
movaps xmm1, xmm3
push eax
lea edx, [esp + 0x90]
lea ecx, [esp + 0x68]
call fcn.1000e0f0
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.100199c0
mov eax, dword [esp + 0xc]
test eax, 0x4000000
je 0x1003d2d7
movss xmm1, dword [esp + 0x20]
lea edx, [esp + 0x38]
mov eax, dword [esp + 0x14]
movaps xmm0, xmm1
mov ecx, 0x1007b298
movss dword [esp + 0x3c], xmm1
addss xmm0, dword [eax + 0x1560]
addss xmm0, dword [esp + 0x70]
movss dword [esp + 0x38], xmm0
call fcn.100325c0
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x1a04]
test ecx, ecx
je 0x1003d165
mov eax, dword [eax + 0x19d0]
cmp ecx, dword [eax + 0x108]
jne 0x1003d165
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 [0x1007d1fc]
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 0x1003cdec
movss xmm0, dword [esp + 0x94]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm4
jb 0x1003cdec
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 [0x1007d278]
xorps xmm0, xmm0
fstp qword [esp + 0x38]
movsd xmm1, qword [esp + 0x38]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x1007d1c4]
comiss xmm0, xmm1
movss dword [esp + 0x1c], xmm1
jbe 0x1003cde4
addss xmm1, dword [0x1007d1fc]
movss dword [esp + 0x1c], xmm1
mov al, 1
mov byte [esp + 0xb], al
jmp 0x1003cdfe
mov al, byte [esp + 0xb]
movss xmm2, dword [0x1007d278]
movss xmm1, dword [esp + 0x1c]
movaps xmm0, xmm1
mov byte [esp + 0x1b], al
xorps xmm0, xmmword [0x1007d610]
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 0x1003d15d
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 0x1003d15d
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 0x1003d05d
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 0x1003d0a0
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.1000d6c0
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 [0x1007d1fc]
movaps xmm5, xmm1
subss xmm6, xmm7
divss xmm0, xmm3
divss xmm6, xmm3
subss xmm5, xmm0
movss xmm0, dword [0x1007d17c]
movss dword [esp + 0x50], xmm0
comiss xmm0, xmm5
movaps xmm3, xmm5
subss xmm3, xmm6
jbe 0x1003d12e
movaps xmm2, xmm0
movss dword [esp + 0x54], xmm0
jmp 0x1003d13b
movaps xmm2, xmm1
minss xmm2, xmm5
movss dword [esp + 0x54], xmm2
divss xmm3, xmm2
comiss xmm0, xmm3
ja 0x1003d151
movaps xmm0, xmm1
minss xmm0, xmm3
movss dword [esp + 0x50], xmm0
mov byte [esp + 0x1a], 1
mov byte [esp + 0xb], 1
jmp 0x1003d165
mov al, byte [esp + 0xb]
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0xc]
test al, 8
mov eax, dword [0x10089f58]
jne 0x1003d52a
cmp byte [eax + 0x3e3], 0
mov ecx, dword [eax + 0x19d0]
mov dword [esp + 0x68], ecx
je 0x1003d53b
mov ecx, 8
call fcn.10010d50
test al, al
je 0x1003d1d5
push ecx
mov ecx, dword [esp + 0x6c]
push str.context
call fcn.10010490
mov dword [esp + 0x68], eax
test eax, eax
jne 0x1003d1ce
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.1001aec0
movss xmm3, dword [esp + 0x24]
movss xmm4, dword [esp + 0x20]
mov eax, dword [0x10089f58]
cmp dword [esp + 0x98], 0x10000
jne 0x1003d564
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 [0x10089f58]
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.100325c0
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x1a04]
test ecx, ecx
je 0x1003d564
mov eax, dword [eax + 0x19d0]
cmp ecx, dword [eax + 0x108]
jne 0x1003d564
mov eax, dword [esp + 0x14]
movss xmm0, dword [esp + 0x20]
movss xmm1, dword [0x1007d1fc]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xec]
subss xmm2, dword [esp + 0x24]
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x1003d54c
xorps xmm3, xmm3
jmp 0x1003d553
test eax, 0x2000000
je 0x1003d1d5
movss xmm0, dword [esp + 0x20]
lea edx, [esp + 0xfc]
mov ecx, 0x1007b29c
movss dword [esp + 0xfc], xmm0
movss dword [esp + 0x100], xmm0
call fcn.100325c0
mov ecx, dword [0x10089f58]
mov edx, dword [ecx + 0x1a04]
test edx, edx
je 0x1003d3aa
mov eax, dword [ecx + 0x19d0]
cmp edx, dword [eax + 0x108]
jne 0x1003d3aa
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x20]
movss xmm1, dword [0x1007d1fc]
subss xmm4, xmm1
movss xmm3, dword [eax + 0xe8]
subss xmm3, dword [esp + 0x58]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x1003d365
movss dword [esp + 0x50], xmm0
jmp 0x1003d372
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 0x1003d38e
xorps xmm3, xmm3
jmp 0x1003d395
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 0x1003d3ae
mov al, byte [esp + 0xb]
mov byte [esp + 0x1a], al
mov byte [esp + 0x13], al
mov eax, dword [esp + 0xc]
test al, 8
jne 0x1003d41f
cmp byte [ecx + 0x3e3], 0
mov eax, dword [ecx + 0x19d0]
mov dword [esp + 0x68], eax
je 0x1003d41f
mov ecx, 8
call fcn.10010d50
test al, al
je 0x1003d419
push ecx
mov ecx, dword [esp + 0x6c]
push str.context
call fcn.10010490
mov dword [esp + 0x68], eax
test eax, eax
jne 0x1003d412
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.1001aec0
mov ecx, dword [0x10089f58]
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, 0x1007b2a0
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.100325c0
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x1a04]
test ecx, ecx
je 0x1003d53b
mov eax, dword [eax + 0x19d0]
mov dl, byte [esp + 0xb]
mov byte [esp + 0x1a], dl
cmp ecx, dword [eax + 0x108]
jne 0x1003d1d5
mov eax, dword [esp + 0x14]
movss xmm4, dword [esp + 0x20]
movss xmm3, dword [esp + 0x24]
movaps xmm0, xmm4
movss xmm1, dword [0x1007d1fc]
movss xmm2, dword [eax + 0xec]
subss xmm0, xmm1
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x1003d50d
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 0x1003d1e1
movss xmm3, dword [esp + 0x24]
movss xmm4, dword [esp + 0x20]
jmp 0x1003d1e6
movss xmm4, dword [esp + 0x20]
movss xmm3, dword [esp + 0x24]
jmp 0x1003d1e6
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov byte [esp + 0xb], 1
subss xmm0, xmm3
movss dword [edi + 0xc], xmm0
call fcn.10019a30
mov eax, dword [esp + 0xc]
test eax, 0x100
jne 0x1003d591
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1560]
call fcn.1001a4d0
call fcn.1001a0f0
mov eax, dword [esp + 0xc]
test al, al
js 0x1003d5f5
mov edx, dword [esp + 0x4c]
cmp edx, 0xffffffff
jae 0x1003d5f5
nop
mov cl, byte [edx]
mov byte [esp + 0x13], cl
test cl, cl
je 0x1003d5ba
cmp cl, 0x23
jne 0x1003d5b4
cmp byte [edx + 1], cl
je 0x1003d5ba
inc edx
cmp edx, 0xffffffff
jb 0x1003d5a0
mov dword [esp + 0x2c], edx
cmp dword [esp + 0x4c], edx
je 0x1003d5f5
test eax, 0x100
je 0x1003d5e3
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1560]
call fcn.1001a4d0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
push 0
call fcn.100316a0
mov eax, dword [esp + 0x10]
add esp, 4
test eax, 0x100
jne 0x1003d79f
mov ecx, 0x10
call fcn.100199c0
mov eax, dword [esp + 0xc]
test al, 2
je 0x1003d61c
movss xmm1, dword [0x1007d1fc]
jmp 0x1003d621
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 0x1003d668
push str.Current
call fcn.10031c60
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 [0x1007d26c]
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.1003ef70
add esp, 0xc
cmp dword [esp + 0x74], 0
je 0x1003d791
push str.Original
call fcn.10031c60
mov eax, dword [esp + 0x10]
add esp, 4
test al, 2
mov eax, dword [esp + 0x74]
je 0x1003d6f2
movss xmm1, dword [0x1007d1fc]
jmp 0x1003d6f7
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.1003ef70
add esp, 0xc
test al, al
je 0x1003d791
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.10019a30
call fcn.1001a230
mov eax, dword [esp + 0xc]
cmp byte [esp + 0x1b], 0
jne 0x1003d7b1
cmp byte [esp + 0x1a], 0
je 0x1003d864
test eax, 0x8000000
je 0x1003d83d
movss xmm1, dword [esp + 0x54]
lea eax, [edi + 8]
xorps xmm0, xmm0
lea edx, [edi + 4]
comiss xmm1, xmm0
jbe 0x1003d7d5
movaps xmm3, xmm1
jmp 0x1003d7dd
movss xmm3, dword [0x1007d164]
movss xmm1, dword [esp + 0x50]
comiss xmm1, xmm0
movss xmm2, dword [0x1007d168]
ja 0x1003d7f3
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x1c]
comiss xmm0, dword [0x1007d1fc]
jb 0x1003d806
subss xmm0, xmm2
push eax
mov ecx, edi
movaps xmm2, xmm3
call fcn.1000e0f0
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 0x1003d864
test eax, 0x10000000
je 0x1003d864
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 0x1003da6f
cmp dword [esp + 0x98], 0x10000
jne 0x1003d88d
movss xmm0, dword [esp + 0xbc]
jmp 0x1003d893
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [esp + 0x70]
subss xmm0, dword [esp + 0x58]
call fcn.100195c0
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0x198e001a
mov dword [esp + 0x4c], ecx
test eax, 0x100000
jne 0x1003d8c2
test eax, 0x700000
jne 0x1003d909
or ecx, 0x100004
mov edx, edi
push ecx
mov ecx, str.rgb
call fcn.1003af60
add esp, 4
test al, al
je 0x1003d901
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x1a04], 0
je 0x1003d8f7
cmp byte [eax + 0x1a11], 0
mov byte [esp + 0x13], 1
je 0x1003d8fc
mov byte [esp + 0x13], 0
mov byte [esp + 0xb], 1
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0xc]
test eax, 0x200000
jne 0x1003d917
test eax, 0x700000
jne 0x1003d935
or ecx, 0x200004
mov edx, edi
push ecx
mov ecx, str.hsv
call fcn.1003af60
add esp, 4
or byte [esp + 0xb], al
mov eax, dword [esp + 0xc]
test eax, 0x400000
jne 0x1003d943
test eax, 0x700000
jne 0x1003d960
mov eax, dword [esp + 0x4c]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.1003af60
add esp, 4
or byte [esp + 0xb], al
call fcn.10019650
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0xc]
je 0x1003da6f
xorps xmm2, xmm2
test eax, 0x8000000
je 0x1003da72
movss xmm3, dword [edi + 4]
xorps xmm6, xmm6
movss xmm5, dword [edi + 8]
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x1003d9a9
movss xmm6, dword [0x1007d354]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1003d9c6
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x1007d340]
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 [0x1007d15c]
movaps xmm7, xmm1
mulss xmm1, dword [0x1007d290]
divss xmm7, xmm0
addss xmm1, dword [0x1007d15c]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x1007d5f0]
comiss xmm2, xmm3
jb 0x1003da72
movss xmm0, dword [esp + 0x1c]
comiss xmm0, xmm2
jbe 0x1003da72
comiss xmm2, xmm4
jb 0x1003da44
movss xmm1, dword [esp + 0x54]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1003da40
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x50]
mulss xmm2, dword [0x1007d1c4]
jmp 0x1003da5a
mov eax, dword [esp + 0xc]
comiss xmm2, xmm7
jb 0x1003da72
movss xmm1, dword [esp + 0x50]
movaps xmm2, xmm4
mulss xmm1, dword [0x1007d1c4]
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
call fcn.1000e0f0
mov eax, dword [esp + 0x10]
add esp, 4
xorps xmm2, xmm2
cmp byte [esp + 0xb], 0
je 0x1003dc01
test eax, 0x8000000
je 0x1003db98
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 0x1003dac7
movss xmm5, dword [0x1007d354]
movaps xmm3, xmm1
movaps xmm6, xmm0
comiss xmm3, xmm7
movaps xmm4, xmm7
movss dword [esp + 0x54], xmm4
jbe 0x1003daf0
movss xmm0, dword [0x1007d340]
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 [0x1007d290]
addss xmm0, dword [0x1007d15c]
divss xmm3, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x1007d15c]
addss xmm3, xmm5
divss xmm1, xmm0
andps xmm3, xmmword [0x1007d5f0]
ucomiss xmm1, xmm2
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x50], xmm1
lahf
test ah, 0x44
mov eax, dword [esp + 0x14]
jp 0x1003dc0b
mov eax, dword [eax + 0x2cfc]
cmp eax, dword [edi]
mov eax, dword [esp + 0x14]
jne 0x1003dc0b
mov eax, dword [eax + 0x2d00]
cmp eax, dword [edi + 4]
mov eax, dword [esp + 0x14]
jne 0x1003dc0b
mov eax, dword [eax + 0x2d04]
cmp eax, dword [edi + 8]
mov eax, dword [esp + 0x14]
jne 0x1003dc0b
movss xmm3, dword [eax + 0x2cf8]
movss dword [esp + 0x1c], xmm3
jmp 0x1003dc0b
test eax, 0x10000000
je 0x1003dc01
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.1000e0f0
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 [0x1007d1fc]
jbe 0x1003dc28
xorps xmm1, xmm1
jmp 0x1003dc2f
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x1007d2e8]
mov dword [esp + 0xfc], 0x3f800000
movss dword [esp + 0x108], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x100], 0x3f800000
addss xmm1, dword [0x1007d1c4]
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.1000e0f0
movss xmm3, dword [esp + 0x100]
xorps xmm1, xmm1
movss xmm2, dword [0x1007d1fc]
add esp, 4
comiss xmm1, xmm3
jbe 0x1003dd2e
xorps xmm0, xmm0
jmp 0x1003dd35
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm3, dword [0x1007d2e8]
movss xmm5, dword [0x1007d1c4]
movss xmm4, dword [esp + 0x100]
comiss xmm1, xmm4
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x1003dd64
xorps xmm0, xmm0
jmp 0x1003dd6b
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 0x1003dd8f
xorps xmm0, xmm0
jmp 0x1003dd96
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 0x1003ddba
xorps xmm0, xmm0
jmp 0x1003ddc1
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 0x1003dde9
xorps xmm0, xmm0
jmp 0x1003ddf0
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [esp + 0x78]
comiss xmm1, xmm4
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x1003de0c
xorps xmm0, xmm0
jmp 0x1003de13
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 0x1003de34
xorps xmm0, xmm0
jmp 0x1003de3b
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 0x1003de62
xorps xmm0, xmm0
jmp 0x1003de69
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 0x1003e7f5
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 [0x1007d290]
divss xmm1, dword [0x1007d290]
addss xmm0, xmm0
movaps xmm2, xmm4
addss xmm1, xmm1
mulss xmm0, dword [0x1007d278]
mulss xmm1, dword [0x1007d278]
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.10029af0
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.10028aa0
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 [0x1007d1fc]
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 0x1003e1f2
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 0x1003e13e
xorps xmm2, xmm2
jmp 0x1003e142
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 [0x1007d1fc]
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 0x1003e110
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 0x1003df00
movss xmm0, dword [esp + 0x1c]
addss xmm0, xmm0
mulss xmm0, dword [0x1007d278]
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 [0x1007d1c4]
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 0x1003e2cd
mulss xmm5, dword [0x1007d1d0]
jmp 0x1003e2d5
mulss xmm5, dword [0x1007d1c8]
movaps xmm0, xmm5
movss dword [esp + 0x84], xmm5
divss xmm0, dword [0x1007d21c]
cvttss2si eax, xmm0
cmp eax, 9
jge 0x1003e2f9
mov eax, 9
jmp 0x1003e303
mov ecx, 0x20
cmp eax, ecx
cmovg eax, ecx
test dword [esp + 0x7c], 0xff000000
movss xmm2, dword [0x1007d294]
mov esi, dword [esp + 0xb4]
mov dword [esp + 0x48], eax
je 0x1003e38a
cmp eax, 2
jle 0x1003e38a
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 [0x1007d1fc]
mulss xmm0, xmm2
movaps xmm2, xmm5
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10029af0
push dword [esp + 0x7c]
mov ecx, edi
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.100295f0
movss xmm4, dword [0x1007d1c4]
movss xmm2, dword [0x1007d294]
movss xmm5, dword [esp + 0x84]
mov dword [edi + 0x58], 0
test dword [esp + 0x74], 0xff000000
mov eax, dword [esp + 0x48]
je 0x1003e403
cmp eax, 2
jle 0x1003e403
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 [0x1007d1fc]
mulss xmm0, xmm2
movaps xmm2, xmm5
addss xmm2, dword [0x1007d1fc]
divss xmm0, xmm1
subss xmm2, xmm4
movss dword [esp], xmm0
push eax
call fcn.10029af0
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.10028aa0
mov eax, dword [esp + 0x48]
mov dword [edi + 0x58], 0
test dword [esp + 0x64], 0xff000000
je 0x1003e47a
cmp eax, 2
jle 0x1003e47a
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 [0x1007d1fc]
subss xmm2, dword [0x1007d1c4]
mulss xmm0, dword [0x1007d294]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.10029af0
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.10028aa0
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 [0x10089f58]
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.100288a0
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.1002a470
movss xmm0, dword [0x1007d1fc]
movaps xmm2, xmm0
xorps xmm1, xmm1
subss xmm2, dword [esp + 0x54]
comiss xmm1, xmm2
jbe 0x1003e770
xorps xmm5, xmm5
jmp 0x1003e777
movaps xmm5, xmm0
minss xmm5, xmm2
movss xmm2, dword [esp + 0x50]
comiss xmm1, xmm2
jbe 0x1003e787
xorps xmm4, xmm4
jmp 0x1003e78e
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 0x1003eb4d
test eax, 0x2000000
je 0x1003eb54
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.1002a2f0
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.1002a2f0
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.1000f3b0
movss xmm2, dword [esp + 0x60]
xorps xmm0, xmm0
movss xmm1, dword [0x1007d1fc]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x1003e8dd
xorps xmm3, xmm3
jmp 0x1003e8e4
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm6, dword [esp + 0x20]
movss xmm5, dword [esp + 0x58]
movss xmm4, dword [0x1007d1c4]
movaps xmm2, xmm5
mulss xmm3, xmm6
movss xmm7, dword [0x1007d24c]
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 0x1003e933
movss dword [esp + 0x38], xmm2
jmp 0x1003e946
comiss xmm3, xmm5
jbe 0x1003e940
movss dword [esp + 0x38], xmm5
jmp 0x1003e946
movss dword [esp + 0x38], xmm3
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x54]
comiss xmm0, xmm2
jbe 0x1003e959
xorps xmm1, xmm1
jmp 0x1003e95d
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 0x1003e998
movss dword [esp + 0x3c], xmm1
jmp 0x1003e9ab
comiss xmm2, xmm0
jbe 0x1003e9a5
movss dword [esp + 0x3c], xmm0
jmp 0x1003e9ab
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 [0x1007d290]
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.1002a2f0
movss xmm1, dword [esp + 0x68]
lea eax, [esp + 0xe4]
movss xmm3, dword [esp + 0x24]
mov ecx, edi
cmp ecx, 6
jl 0x1003e9f0
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.1000f3b0
mov esi, dword [esp + 0xc4]
movss xmm1, dword [esp + 0x80]
addss xmm1, dword [0x1007d24c]
mov ecx, dword [esp + 0x54]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x44], xmm2
addss xmm0, dword [0x1007d1fc]
movss xmm2, dword [esp + 0x38]
push dword [esp + 0x44]
subss xmm2, dword [0x1007d1fc]
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 [0x1007d1c4]
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.1003c4c0
add esp, 0x20
mov edi, dword [esp + 0xc0]
cmp byte [esp + 0x1a], 0
je 0x1003eb6e
movss xmm2, dword [0x1007d29c]
movss dword [esp + 0xcc], xmm2
jmp 0x1003eb76
movss xmm2, dword [0x1007d290]
test dword [esp + 0x78], 0xff000000
je 0x1003ebbd
push 0xb
push ecx
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x40]
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
call fcn.10029af0
mov eax, dword [esp + 0x44]
mov ecx, eax
push dword [esp + 0x78]
push dword [eax + 0x58]
push dword [eax + 0x60]
call fcn.100295f0
mov eax, dword [esp + 0x44]
mov dword [eax + 0x58], 0
jmp 0x1003ebc1
mov eax, dword [esp + 0x44]
test dword [esp + 0x74], 0xff000000
je 0x1003ec27
movss xmm2, dword [esp + 0xcc]
xorps xmm3, xmm3
addss xmm2, dword [0x1007d1fc]
push 0xb
push ecx
lea ecx, [esp + 0x40]
mov dword [esp], 0x40b84e89
push ecx
subss xmm2, dword [0x1007d1c4]
mov ecx, eax
call fcn.10029af0
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.10028aa0
mov eax, dword [esp + 0x44]
mov dword [eax + 0x58], 0
test dword [esp + 0x64], 0xff000000
je 0x1003ec85
movss xmm2, dword [esp + 0xcc]
xorps xmm3, xmm3
subss xmm2, dword [0x1007d1c4]
push 0xb
push ecx
lea ecx, [esp + 0x40]
mov dword [esp], 0x40b84e89
push ecx
mov ecx, eax
call fcn.10029af0
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.10028aa0
mov eax, dword [esp + 0x44]
mov dword [eax + 0x58], 0
cmp dword [esp + 0x98], 0x10000
jne 0x1003ee38
movss xmm1, dword [edi + 0xc]
xorps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x1003ecae
movss dword [esp + 0xb4], xmm2
jmp 0x1003ecc3
movss xmm0, dword [0x1007d1fc]
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 [0x1007d1c4]
push dword [esp + 0x120]
movss dword [esp + 0x11c], xmm3
push dword [esp + 0x120]
mov edi, dword [esp + 0x120]
push edi
call fcn.1003c1f0
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.1002a2f0
push dword [esp + 0x118]
xorps xmm0, xmm0
push dword [esp + 0x118]
push dword [esp + 0x118]
push edi
call fcn.1000f3b0
movss xmm1, dword [0x1007d1fc]
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 [0x1007d1c4]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x88]
addss xmm1, dword [0x1007d24c]
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.1003c4c0
add esp, 0x20
call fcn.1001a230
cmp byte [esp + 0xb], 0
je 0x1003ef18
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 0x1003ee81
nop
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x1003ee8a
add esi, 4
add ecx, 4
sub edx, 4
jae 0x1003ee70
cmp edx, 0xfffffffc
je 0x1003ef13
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x1003eebb
cmp edx, 0xfffffffd
je 0x1003ef13
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x1003eebb
cmp edx, 0xfffffffe
je 0x1003ef13
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x1003eebb
cmp edx, 0xffffffff
je 0x1003ef13
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x1003ef13
mov esi, dword [0x10089f58]
mov ecx, dword [esp + 0xdc]
mov eax, dword [esi + 0x1a04]
cmp eax, dword [ecx + 0x108]
je 0x1003eefb
test eax, eax
je 0x1003eefb
cmp byte [esi + 0x1d54], 0
jne 0x1003eefb
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 0x1003ef18
mov byte [esp + 0xb], 0
mov eax, dword [0x10089f58]
mov esi, dword [eax + 0x19d0]
cmp dword [esi + 0xbc], 0
jg 0x1003ef44
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.1006c1ab
mov esp, ebp
pop ebp
ret