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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x10084040]
xor eax, esp
mov dword [esp + 0xf4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x10], eax
push esi
mov esi, dword [0x10089f58]
mov dword [esp + 0x1c], esi
push edi
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [esp + 0x48], edi
test ecx, ecx
je 0x10016784
cmp byte [ecx], 0
jne 0x10016798
push 0x14be
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.cpp
push str.name___0__name_0____0
call edi
add esp, 0xc
cmp byte [esi + 0x198c], 0
jne 0x100167b5
push 0x14bf
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.cpp
push str.g.WithinFrameScope
call edi
add esp, 0xc
mov eax, dword [esi + 0x1984]
cmp eax, dword [esi + 0x1980]
jne 0x100167d7
push 0x14c0
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.cpp
push str.g.FrameCountEnded___g.FrameCount
call edi
add esp, 0xc
mov ecx, dword [esp + 0x60]
call fcn.100144c0
mov edi, eax
mov dword [esp + 0x30], eax
test edi, edi
xorps xmm0, xmm0
movss dword [esp + 0x2c], xmm0
sete cl
mov byte [esp + 0x1f], cl
test eax, eax
jne 0x10016869
mov edx, dword [esi + 0x1a4c]
and edx, 2
je 0x1001681d
mov eax, dword [esi + 0x1a6c]
mov ecx, dword [esi + 0x1a70]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
jmp 0x1001682d
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
test edx, edx
lea ecx, [esp + 0x38]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x24]
cmovne eax, ecx
mov ecx, dword [esp + 0x60]
movss xmm0, dword [eax]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x44], xmm0
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.10014560
add esp, 8
mov edi, eax
mov edx, dword [esp + 0x18]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x10016884
or edx, 6
mov dword [esp + 0x18], edx
mov eax, edx
and eax, 0x1800000
cmp eax, 0x800000
jne 0x100168ac
push 0x14d0
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.cpp
push str.flags__ImGuiWindowFlags_ChildWindow
call dword [esp + 0x54]
mov edx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esi + 0x1980]
mov ecx, dword [edi + 0x224]
mov dword [esp + 0x68], eax
dec eax
cmp ecx, eax
mov dword [esp + 0x64], ecx
mov eax, dword [edi + 0x9c]
setl ch
mov dword [esp + 0x58], eax
mov byte [esp + 0x1e], ch
test edx, 0x4000000
je 0x10016940
mov eax, dword [esi + 0x1ae4]
mov dword [esp + 0x38], eax
cmp eax, dword [esi + 0x1ad8]
jl 0x1001690c
push 0x4fc
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.i___Size
call dword [esp + 0x54]
mov eax, dword [esp + 0x44]
add esp, 0xc
mov ch, byte [esp + 0x1e]
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x1ae0]
mov eax, dword [edi + 0x8c]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
setne al
or cl, al
mov eax, dword [esp + 0x58]
or ch, cl
mov byte [esp + 0x1e], ch
test ch, ch
jne 0x10016950
test eax, eax
jg 0x10016950
mov byte [edi + 0x80], ch
jmp 0x1001696c
or dword [edi + 0xa0], 8
or dword [edi + 0xa4], 8
or dword [edi + 0xa8], 8
mov byte [edi + 0x80], 1
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x64], eax
je 0x100169b2
mov dword [edi + 0x224], eax
xor eax, eax
mov dword [edi + 8], edx
movsd xmm0, qword [esi + 0x1978]
cvtpd2ps xmm0, xmm0
mov word [edi + 0x86], ax
movss dword [edi + 0x228], xmm0
movzx eax, word [esi + 0x19cc]
inc dword [esi + 0x19cc]
mov word [edi + 0x88], ax
jmp 0x100169b9
mov eax, dword [edi + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x19b4]
test eax, eax
jne 0x100169c7
xor edx, edx
jmp 0x100169ef
jg 0x100169df
push 0x506
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.Size___0
call dword [esp + 0x54]
add esp, 0xc
mov ecx, dword [esi + 0x19b4]
mov eax, dword [esi + 0x19bc]
mov edx, dword [eax + ecx*4 - 4]
mov eax, dword [esp + 0x64]
cmp eax, dword [esp + 0x68]
mov eax, dword [esp + 0x18]
je 0x10016a0d
mov ecx, eax
and ecx, 0x5000000
neg ecx
sbb ecx, ecx
and ecx, edx
jmp 0x10016a13
mov ecx, dword [edi + 0x2f0]
mov dword [esp + 0x4c], ecx
test ecx, ecx
jne 0x10016a38
test eax, 0x1000000
je 0x10016a38
push 0x14f3
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.cpp
push str.parent_window___0____flags__ImGuiWindowFlags_ChildWindow_
call dword [esp + 0x54]
add esp, 0xc
cmp dword [edi + 0xbc], 0
lea eax, [edi + 0xbc]
jne 0x10016a6d
cmp dword [eax + 4], 0
jne 0x10016a5c
push 8
mov ecx, eax
call fcn.10020cc0
lea eax, [edi + 0xbc]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xbc]
mov eax, dword [esi + 0x19b4]
lea edx, [esi + 0x19b4]
mov ecx, dword [edx + 4]
mov dword [esp + 0x38], eax
cmp eax, ecx
jne 0x10016aba
test ecx, ecx
je 0x10016a99
mov eax, ecx
cdq
sub eax, edx
lea edx, [esi + 0x19b4]
sar eax, 1
add eax, ecx
jmp 0x10016a9e
mov eax, 8
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x20]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10020cc0
lea edx, [esi + 0x19b4]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
mov ecx, edi
inc dword [edx]
mov dl, 1
mov dword [esi + 0x19d0], 0
call fcn.1001a580
mov eax, dword [esp + 0x18]
test eax, 0x4000000
je 0x10016bbc
mov eax, dword [esi + 0x1ae4]
lea ecx, [esi + 0x1ae4]
mov dword [esp + 0x34], eax
cmp eax, dword [esi + 0x1ad8]
jl 0x10016b1e
push 0x4fc
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.i___Size
call dword [esp + 0x54]
mov eax, dword [esp + 0x40]
lea ecx, [esi + 0x1ae4]
add esp, 0xc
mov edx, dword [esi + 0x1ae0]
lea eax, [eax + eax*8]
mov dword [esp + 0x10], edx
mov dword [edx + eax*4 + 4], edi
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x10016b65
inc edx
mov dword [esp + 0x38], edx
test eax, eax
je 0x10016b4f
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10016b54
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10021160
lea ecx, [esi + 0x1ae4]
mov eax, dword [ecx]
mov esi, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
lea edx, [eax + eax*8]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
lea eax, [edx + edx*8]
mov edx, dword [esp + 0x38]
movups xmm0, xmmword [esi + eax*4]
movups xmmword [ecx + edx*4], xmm0
movups xmm0, xmmword [esi + eax*4 + 0x10]
movups xmmword [ecx + edx*4 + 0x10], xmm0
mov eax, dword [esi + eax*4 + 0x20]
mov esi, dword [esp + 0x20]
mov dword [ecx + edx*4 + 0x20], eax
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
inc dword [esi + 0x1ae4]
lea eax, [edx + edx*8]
mov eax, dword [ecx + eax*4]
mov dword [edi + 0x8c], eax
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x58], 0
jle 0x10016bd4
test eax, 0x1000000
jne 0x10016bd4
mov dword [edi + 0x304], 0
xor dl, dl
mov byte [esp + 0x17], 0
test byte [esi + 0x1a4c], 1
mov byte [esp + 0x1d], dl
mov byte [esp + 0x16], dl
je 0x10016c7a
mov ecx, dword [esi + 0x1a50]
mov edx, dword [edi + 0xa0]
test ecx, edx
mov eax, edx
setne byte [esp + 0x17]
test ecx, eax
je 0x10016c69
movss xmm1, dword [esi + 0x1a68]
movss xmm0, dword [esi + 0x1a64]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x1007d168]
jbe 0x10016c69
mov eax, dword [esi + 0x1a5c]
and edx, 0xfffffff1
mov ecx, dword [esi + 0x1a60]
mov dword [edi + 0xac], eax
mov dword [edi + 0xb0], ecx
mov eax, dword [esi + 0x1a64]
mov ecx, dword [esi + 0x1a68]
mov dword [edi + 0xb4], eax
mov dword [edi + 0xb8], ecx
mov dword [edi + 0xa0], edx
jmp 0x10016c7a
push ecx
lea edx, [esi + 0x1a5c]
mov ecx, edi
call fcn.10019c50
add esp, 4
test byte [esi + 0x1a4c], 2
je 0x10016cdf
mov eax, dword [edi + 0xa4]
mov ecx, dword [esi + 0x1a54]
movss xmm1, dword [esp + 0x2c]
and eax, ecx
je 0x10016cad
movss xmm0, dword [esi + 0x1a6c]
comiss xmm0, xmm1
jbe 0x10016cad
mov byte [esp + 0x1d], 1
jmp 0x10016cb7
xor dl, dl
mov byte [esp + 0x1d], dl
test eax, eax
je 0x10016cc9
movss xmm0, dword [esi + 0x1a70]
comiss xmm0, xmm1
mov byte [esp + 0x16], 1
ja 0x10016cce
mov byte [esp + 0x16], 0
push ecx
lea edx, [esi + 0x1a6c]
mov ecx, edi
call fcn.10019d50
add esp, 4
test byte [esi + 0x1a4c], 4
je 0x10016cfc
mov eax, dword [esi + 0x1a74]
mov ecx, dword [esi + 0x1a78]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
jmp 0x10016d14
mov eax, dword [esp + 0x64]
cmp eax, dword [esp + 0x68]
je 0x10016d14
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
test byte [esi + 0x1a4c], 8
je 0x10016d3f
mov eax, dword [esi + 0x1a58]
mov cl, byte [esi + 0x1a7c]
test eax, eax
je 0x10016d35
test dword [edi + 0xa8], eax
je 0x10016d3f
and dword [edi + 0xa8], 0xfffffff1
mov byte [edi + 0x7d], cl
test byte [esi + 0x1a4c], 0x20
je 0x10016d4f
mov ecx, edi
call fcn.100191e0
cmp byte [edi + 0x80], 0
je 0x10016d6d
and dword [edi + 0xa0], 0xfffffff7
and dword [edi + 0xa4], 0xfffffff7
and dword [edi + 0xa8], 0xfffffff7
mov eax, dword [esp + 0x64]
cmp eax, dword [esp + 0x68]
je 0x10018d0b
mov ecx, dword [esp + 0x18]
mov edx, ecx
mov eax, dword [esp + 0x4c]
and edx, 0x3000000
mov dword [esp + 0x50], edx
mov dword [edi + 0x2f0], eax
mov dword [edi + 0x2fc], edi
mov dword [edi + 0x2f8], edi
mov dword [edi + 0x2f4], edi
test eax, eax
je 0x10016ddf
cmp edx, 0x1000000
jne 0x10016dc3
mov eax, dword [eax + 0x2f4]
mov dword [edi + 0x2f4], eax
mov eax, dword [esp + 0x4c]
test ecx, 0x8000000
jne 0x10016ddf
test ecx, 0x5000000
je 0x10016ddf
mov eax, dword [eax + 0x2f8]
mov dword [edi + 0x2f8], eax
test dword [edi + 8], 0x800000
je 0x10016e2c
mov esi, dword [esp + 0x48]
mov eax, edi
nop
cmp dword [eax + 0x2f0], 0
jne 0x10016e0d
push 0x14ae
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.cpp
push str.window__RootWindowForNav__ParentWindow___0
call esi
add esp, 0xc
mov eax, dword [edi + 0x2fc]
mov eax, dword [eax + 0x2f0]
mov dword [edi + 0x2fc], eax
test dword [eax + 8], 0x800000
jne 0x10016df0
mov esi, dword [esp + 0x20]
mov byte [edi + 0x7a], 1
mov byte [edi + 0x82], 0
mov dword [edi + 0x204], 0xff7fffff
mov dword [edi + 0x208], 0xff7fffff
mov dword [edi + 0x20c], 0x7f7fffff
mov dword [edi + 0x210], 0x7f7fffff
mov eax, dword [edi + 0xc0]
cmp eax, 1
jge 0x10016e9d
test eax, eax
je 0x10016e80
cdq
sub eax, edx
lea edx, [edi + 0xbc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10016e8b
mov ecx, 8
lea edx, [edi + 0xbc]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10020cc0
mov dword [edi + 0xbc], 1
cmp byte [edi + 0x32c], 0
je 0x10016ef3
mov ecx, dword [edi + 0x274]
push dword [edi + 0x330]
add ecx, 0xc
mov byte [edi + 0x32c], 0
call fcn.100210e0
mov ecx, dword [edi + 0x274]
push dword [edi + 0x334]
add ecx, 0x18
call fcn.10020ec0
mov dword [edi + 0x334], 0
mov dword [edi + 0x330], 0
cmp dword [esi + 0x1b38], 0
je 0x10016fd7
test dword [edi + 8], 0x80000
jne 0x10016fd7
cmp dword [esp + 0x30], 0
je 0x10016fd7
mov eax, dword [edi]
mov ecx, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10016f44
test dl, dl
je 0x10016f40
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10016f44
add eax, 2
add ecx, 2
test dl, dl
jne 0x10016f24
xor eax, eax
jmp 0x10016f49
sbb eax, eax
or eax, 1
test eax, eax
je 0x10016fd7
mov ecx, dword [esp + 0x60]
mov edx, dword [edi + 0x44]
mov dword [esp + 0x54], edx
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10016f63
sub ecx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
cmp edx, eax
jae 0x10016fc0
test ecx, ecx
je 0x10016f90
mov eax, dword [0x10089f58]
test eax, eax
je 0x10016f90
dec dword [eax + 0x374]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x10089f58]
add esp, 4
test eax, eax
je 0x10016fa9
inc dword [eax + 0x374]
push dword [esp + 0x10]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
push eax
push dword [esp + 0x64]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi], eax
add esp, 0xc
mov eax, dword [esp + 0x54]
mov dword [edi + 0x44], eax
mov edx, edi
lea ecx, [esp + 0x40]
call fcn.10014ba0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [edi + 0x98]
movss dword [edi + 0x24], xmm0
movss dword [edi + 0x28], xmm1
test eax, eax
jle 0x10017006
dec eax
mov dword [edi + 0x98], eax
mov eax, dword [edi + 0x9c]
test eax, eax
jle 0x10017017
dec eax
mov dword [edi + 0x9c], eax
cmp dword [esp + 0x30], 0
mov al, byte [esp + 0x1d]
mov cl, byte [esp + 0x16]
jne 0x10017038
test al, al
je 0x1001702e
test cl, cl
jne 0x10017038
mov dword [edi + 0x9c], 1
cmp byte [esp + 0x1e], 0
mov edx, dword [esp + 0x18]
je 0x1001708c
test edx, 0x6000000
je 0x1001708c
mov dword [edi + 0x9c], 1
test dl, 0x40
je 0x1001708c
test al, al
jne 0x1001706c
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test cl, cl
jne 0x1001707e
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov eax, dword [0x10089f58]
mov dword [esp + 0x10], eax
movss xmm0, dword [eax + 0x18e8]
mov dword [eax + 0x19d0], edi
mov ecx, dword [edi + 0x2f0]
mulss xmm0, dword [edi + 0x26c]
test ecx, ecx
je 0x100170bd
mulss xmm0, dword [ecx + 0x26c]
movss dword [eax + 0x18f8], xmm0
movss dword [eax + 0x18e4], xmm0
test edx, 0x1000000
je 0x100170df
movss xmm0, dword [esi + 0x153c]
jmp 0x10017101
test edx, 0x6000000
je 0x100170f9
test edx, 0x8000000
jne 0x100170f9
movss xmm0, dword [esi + 0x1544]
jmp 0x10017101
movss xmm0, dword [esi + 0x1520]
mov eax, edi
movss dword [eax + 0x40], xmm0
mov eax, dword [esi + 0x1514]
mov ecx, dword [esi + 0x1518]
movss xmm2, dword [esp + 0x2c]
mov dword [edi + 0x34], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x38], ecx
cmp eax, 0x1000000
jne 0x10017158
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10017158
test edx, 0x400
je 0x10017149
movss xmm0, dword [esi + 0x1518]
jmp 0x1001714c
movaps xmm0, xmm2
mov dword [edi + 0x34], 0
movss dword [edi + 0x38], xmm0
movss xmm0, dword [edi + 0x34]
maxss xmm0, dword [esi + 0x1558]
maxss xmm0, dword [esi + 0x1a9c]
movss dword [edi + 0x144], xmm0
mov eax, dword [esi + 0x1aa0]
mov dword [edi + 0x148], eax
test dl, 0x21
jne 0x100172b3
test byte [edi + 8], 1
mov ecx, dword [esp + 0x10]
je 0x10017199
movaps xmm3, xmm2
jmp 0x100171cb
movss xmm0, dword [ecx + 0x18e8]
mov eax, dword [edi + 0x2f0]
mulss xmm0, dword [edi + 0x26c]
test eax, eax
je 0x100171bb
mulss xmm0, dword [eax + 0x26c]
movss xmm3, dword [ecx + 0x154c]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm5, dword [edi + 0xc]
movaps xmm4, xmm5
movss xmm6, dword [edi + 0x10]
addss xmm4, dword [edi + 0x1c]
addss xmm3, dword [edi + 0x10]
cmp dword [esi + 0x19d4], edi
jne 0x1001727f
cmp dword [esi + 0x19f0], 0
jne 0x1001727f
cmp dword [esi + 0x19f8], 0
jne 0x1001727f
mov eax, dword [ecx + 0x19d0]
movss xmm1, dword [ecx + 0x1568]
movss xmm0, dword [ecx + 0x156c]
maxss xmm5, dword [eax + 0x204]
minss xmm4, dword [eax + 0x20c]
maxss xmm6, dword [eax + 0x208]
minss xmm3, dword [eax + 0x210]
subss xmm5, xmm1
addss xmm4, xmm1
movss xmm1, dword [ecx + 0xe8]
subss xmm6, xmm0
addss xmm3, xmm0
comiss xmm1, xmm5
jb 0x1001727f
movss xmm0, dword [ecx + 0xec]
comiss xmm0, xmm6
jb 0x1001727f
comiss xmm4, xmm1
jbe 0x1001727f
comiss xmm3, xmm0
jbe 0x1001727f
cmp byte [esi + 0x3dd], 0
je 0x1001727f
mov byte [edi + 0x7e], 1
cmp byte [edi + 0x7e], 0
je 0x100172b7
cmp byte [edi + 0x7d], 0
sete al
test dword [edi + 8], 0x100
mov byte [edi + 0x7d], al
jne 0x100172aa
comiss xmm2, dword [ecx + 0x2d50]
jb 0x100172aa
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2d50], eax
mov ecx, edi
call fcn.100191e0
jmp 0x100172b7
mov byte [edi + 0x7d], 0
lea eax, [edi + 0x24]
mov byte [edi + 0x7e], 0
push eax
mov edx, edi
lea ecx, [esp + 0x28]
call fcn.10014c50
mov al, byte [esp + 0x23]
add esp, 4
test byte [esp + 0x18], 0x40
mov byte [esp + 0xf], al
je 0x10017319
cmp byte [edi + 0x7d], 0
jne 0x10017319
cmp byte [esp + 0x1d], 0
jne 0x100172f9
movss xmm0, dword [esp + 0x24]
movss dword [edi + 0x1c], xmm0
mov byte [esp + 0x1f], 1
cmp byte [esp + 0x16], 0
jne 0x100173c4
movss xmm0, dword [esp + 0x28]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0xf], 1
jmp 0x100173c4
mov al, byte [edi + 0x90]
test al, al
jg 0x10017330
cmp byte [edi + 0x91], 0
jle 0x100173c4
cmp byte [esp + 0x1d], 0
jne 0x10017361
test al, al
jle 0x10017361
cmp byte [edi + 0x93], 0
je 0x10017351
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [esp + 0x24]
jmp 0x10017357
movss xmm0, dword [esp + 0x24]
movss dword [edi + 0x1c], xmm0
mov byte [esp + 0x1f], 1
cmp byte [esp + 0x16], 0
jne 0x10017397
cmp byte [edi + 0x91], 0
jle 0x10017397
cmp byte [edi + 0x93], 0
je 0x10017387
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [esp + 0x28]
jmp 0x1001738d
movss xmm0, dword [esp + 0x28]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0xf], 1
cmp byte [edi + 0x7d], 0
jne 0x100173c4
test dword [edi + 8], 0x100
mov ecx, dword [0x10089f58]
jne 0x100173c4
movss xmm1, dword [esp + 0x2c]
comiss xmm1, dword [ecx + 0x2d50]
jb 0x100173c4
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2d50], eax
push dword [edi + 0x20]
mov edx, edi
lea ecx, [esp + 0x94]
push dword [edi + 0x1c]
call fcn.10014990
mov edx, dword [esp + 0x20]
add esp, 8
cmp byte [edi + 0x7d], 0
movss xmm2, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [edi + 0x1c], xmm2
movss dword [edi + 0x20], xmm0
je 0x10017468
test edx, 0x1000000
jne 0x10017468
test byte [edi + 8], 1
mov ecx, dword [0x10089f58]
je 0x10017414
movss xmm1, dword [esp + 0x2c]
jmp 0x10017446
movss xmm0, dword [ecx + 0x18e8]
mov eax, dword [edi + 0x2f0]
mulss xmm0, dword [edi + 0x26c]
test eax, eax
je 0x10017436
mulss xmm0, dword [eax + 0x26c]
movss xmm1, dword [ecx + 0x154c]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [edi + 0xc]
addss xmm1, dword [edi + 0x10]
subss xmm2, dword [edi + 0xc]
subss xmm1, dword [edi + 0x10]
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x44], xmm1
jmp 0x10017476
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x40]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x18], ecx
mov ecx, dword [edi + 8]
mov dword [edi + 0x14], eax
mov eax, dword [0x10089f58]
test cl, 1
je 0x1001749d
movss xmm0, dword [esp + 0x2c]
movaps xmm1, xmm0
jmp 0x100174d8
movss xmm0, dword [eax + 0x18e8]
mov ecx, dword [edi + 0x2f0]
mulss xmm0, dword [edi + 0x26c]
test ecx, ecx
je 0x100174bf
mulss xmm0, dword [ecx + 0x26c]
movss xmm1, dword [eax + 0x154c]
mov ecx, dword [edi + 8]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [esp + 0x2c]
test ecx, 0x400
je 0x1001751c
movss xmm2, dword [eax + 0x18e8]
mov ecx, dword [edi + 0x2f0]
mulss xmm2, dword [edi + 0x26c]
test ecx, ecx
je 0x10017502
mulss xmm2, dword [ecx + 0x26c]
movss xmm0, dword [eax + 0x154c]
addss xmm2, dword [edi + 0x148]
addss xmm0, xmm0
addss xmm2, xmm0
jmp 0x1001751f
movaps xmm2, xmm0
cmp byte [esp + 0x1e], 0
addss xmm2, xmm1
movss dword [esp + 0x54], xmm2
je 0x10017591
mov dword [edi + 0x94], 0xffffffff
test edx, 0x4000000
je 0x10017591
cmp byte [esp + 0x17], 0
jne 0x10017591
cmp dword [esi + 0x1ae4], 0
jg 0x1001756c
push 0x506
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.Size___0
call dword [esp + 0x54]
mov edx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esi + 0x1ae4]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1aec]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
test edx, 0x1000000
je 0x10017659
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x100175ab
cmp byte [eax + 0x7a], 0
jne 0x100175c9
push 0x15c3
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.cpp
push str.parent_window__parent_window__Active
call dword [esp + 0x54]
mov edx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esp + 0x4c]
lea ecx, [eax + 0x14c]
mov ax, word [ecx]
mov word [edi + 0x86], ax
mov eax, dword [ecx + 4]
mov dword [esp + 0x34], ecx
cmp dword [ecx], eax
jne 0x10017615
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x38], edx
test eax, eax
je 0x100175fd
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10017602
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10020cc0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x34]
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov dword [eax + ecx*4], edi
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
inc dword [eax]
mov al, byte [esp + 0x17]
test edx, 0x4000000
jne 0x10017661
test al, al
jne 0x10017661
cmp ecx, 0x3000000
je 0x10017661
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xcc]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0x50]
mov al, byte [esp + 0x17]
movss xmm7, dword [edi + 0xac]
ucomiss xmm7, dword [0x1007d328]
lahf
test ah, 0x44
jnp 0x1001776c
cmp dword [edi + 0x9c], 0
jne 0x1001776c
movss xmm1, dword [edi + 0xb4]
movss xmm5, dword [edi + 0xb8]
movss xmm2, dword [edi + 0xb0]
and dword [edi + 0xa0], 0xfffffff1
mov dword [edi + 0xac], 0x7f7fffff
mov dword [edi + 0xb0], 0x7f7fffff
mulss xmm1, dword [edi + 0x1c]
mulss xmm5, dword [edi + 0x20]
movss xmm4, dword [edi + 0xc]
subss xmm7, xmm1
movss xmm6, dword [edi + 0x10]
subss xmm2, xmm5
cvttss2si eax, xmm7
movd xmm7, eax
cvttss2si eax, xmm2
cvtdq2ps xmm7, xmm7
movd xmm1, eax
movss dword [edi + 0xc], xmm7
subss xmm7, xmm4
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm7
movss dword [edi + 0x10], xmm1
subss xmm1, xmm6
addss xmm0, dword [edi + 0xc8]
movss dword [edi + 0xc8], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0xcc]
movss dword [edi + 0xcc], xmm0
movaps xmm0, xmm7
addss xmm0, dword [edi + 0xe0]
addss xmm7, dword [edi + 0xd8]
movss dword [edi + 0xe0], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0xe4]
addss xmm1, dword [edi + 0xdc]
movss dword [edi + 0xd8], xmm7
movss dword [edi + 0xe4], xmm0
movss dword [edi + 0xdc], xmm1
jmp 0x100177b9
test edx, 0x10000000
jne 0x1001779b
test edx, 0x4000000
je 0x10017787
test al, al
jne 0x10017787
cmp dword [esp + 0x58], 0
jg 0x1001779b
test edx, 0x2000000
je 0x100177b9
test al, al
jne 0x100177b9
cmp ecx, 0x3000000
je 0x100177b9
mov edx, edi
lea ecx, [esp + 0x58]
call fcn.1001ba40
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
cmp byte [esp + 0x17], 0
mov eax, dword [0x10089f58]
movss xmm4, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
movss dword [esp + 0xd0], xmm4
movss xmm2, dword [eax + 0x10]
movss xmm7, dword [eax + 0x14]
movss dword [esp + 0xd4], xmm4
movss dword [esp + 0x6c], xmm2
movss dword [esp + 0xd8], xmm2
movss dword [esp + 0x38], xmm7
movss dword [esp + 0xdc], xmm7
jne 0x1001791e
test edx, 0x1000000
jne 0x1001791e
cmp byte [edi + 0x90], 0
jg 0x1001791e
cmp byte [edi + 0x91], 0
jg 0x1001791e
movss xmm0, dword [esi + 0x10]
comiss xmm0, xmm4
jbe 0x1001791e
movss xmm0, dword [esi + 0x14]
comiss xmm0, xmm4
jbe 0x1001791e
cmp byte [eax + 0xb4], 0
movss xmm6, dword [esi + 0x15a8]
movss xmm5, dword [esi + 0x15a4]
maxss xmm6, dword [esi + 0x15b0]
maxss xmm5, dword [esi + 0x15ac]
je 0x100178c3
test byte [edi + 8], 1
jne 0x100178c3
movss xmm0, dword [eax + 0x18e8]
mov ecx, dword [edi + 0x2f0]
mulss xmm0, dword [edi + 0x26c]
test ecx, ecx
je 0x100178a0
mulss xmm0, dword [ecx + 0x26c]
movss xmm1, dword [eax + 0x154c]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x14]
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm1
jmp 0x100178d1
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
lea eax, [esp + 0x40]
movaps xmm1, xmm7
movss xmm0, dword [eax]
subss xmm2, xmm5
addss xmm0, dword [edi + 0xc]
addss xmm5, xmm4
subss xmm1, xmm6
addss xmm6, xmm4
maxss xmm0, xmm5
subss xmm0, dword [eax]
minss xmm2, xmm0
movss xmm0, dword [eax + 4]
addss xmm0, dword [edi + 0x10]
movss dword [edi + 0xc], xmm2
maxss xmm0, xmm6
subss xmm0, dword [eax + 4]
minss xmm1, xmm0
movss dword [edi + 0x10], xmm1
cvttss2si eax, dword [edi + 0xc]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0xc], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm0
test edx, 0x1000000
je 0x10017952
movss xmm2, dword [esi + 0x1538]
jmp 0x10017972
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1001796a
movss xmm2, dword [esi + 0x1540]
jmp 0x10017972
movss xmm2, dword [esi + 0x151c]
xor cl, cl
movss dword [edi + 0x3c], xmm2
mov dword [esp + 0x34], ecx
cmp byte [esp + 0x1e], cl
je 0x100179af
test edx, 0x1000
jne 0x100179af
test edx, 0x4000000
je 0x1001799a
mov byte [esp + 0x34], 1
jmp 0x100179af
test edx, 0x3000000
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [esp + 0x34], ecx
movss xmm1, dword [esi + 0x18e4]
xorps xmm0, xmm0
addss xmm2, dword [0x1007d1fc]
movaps xmmword [esp + 0xe0], xmm0
xor eax, eax
cmp byte [esi + 0xb3], al
movaps xmm0, xmm1
mulss xmm1, dword [0x1007d1ac]
setne al
mov dword [esp + 0x10], 0xffffffff
mulss xmm0, dword [0x1007d218]
inc eax
cmp byte [edi + 0x7d], 0
addss xmm2, xmm1
mov dword [esp + 0x40], eax
maxss xmm0, xmm2
cvttss2si esi, xmm0
jne 0x10017a37
lea ecx, [esp + 0xe0]
push ecx
push eax
lea eax, [esp + 0x18]
mov ecx, edi
push eax
lea edx, [esp + 0x30]
call fcn.10015000
movss xmm4, dword [esp + 0x38]
add esp, 0xc
mov edx, dword [esp + 0x18]
test al, al
je 0x10017a37
mov cl, 1
mov ch, cl
jmp 0x10017a3f
mov ch, byte [esp + 0x1f]
mov cl, byte [esp + 0xf]
cmp byte [edi + 0x7d], 0
mov al, byte [esp + 0x10]
movss xmm3, dword [esp + 0x54]
mov byte [edi + 0x83], al
jne 0x10017ba7
cmp dword [esp + 0x30], 0
lea eax, [esp + 0x24]
movss xmm2, dword [edi + 0x1dc]
movss xmm5, dword [edi + 0x1e0]
subss xmm2, dword [edi + 0x1d4]
subss xmm5, dword [edi + 0x1d8]
movss xmm6, dword [edi + 0x20]
movss xmm7, dword [edi + 0x1c]
subss xmm6, xmm3
mov dword [esp + 0x10], eax
addss xmm2, dword [edi + 0x70]
addss xmm5, dword [edi + 0x74]
jne 0x10017ab2
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
jmp 0x10017ada
movss xmm0, dword [edi + 0x34]
movss xmm1, dword [edi + 0x38]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edi + 0x24]
addss xmm1, dword [edi + 0x28]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x28], xmm1
movss xmm1, dword [eax + 4]
test ch, ch
jne 0x10017ae6
movaps xmm7, xmm2
test cl, cl
jne 0x10017aed
movaps xmm6, xmm5
test edx, 0x4000
jne 0x10017b03
comiss xmm1, xmm6
jbe 0x10017aff
test dl, 8
je 0x10017b03
xor al, al
jmp 0x10017b05
mov al, 1
mov byte [esp + 0xf], al
mov byte [edi + 0x79], al
test edx, 0x8000
jne 0x10017b59
mov ecx, dword [esp + 0x20]
test al, al
je 0x10017b26
movss xmm0, dword [ecx + 0x1578]
jmp 0x10017b29
movaps xmm0, xmm4
mov edx, dword [esp + 0x10]
subss xmm7, xmm0
movss xmm0, dword [edx]
comiss xmm0, xmm7
mov edx, dword [esp + 0x18]
jbe 0x10017b50
mov eax, edx
and eax, 0x808
cmp eax, 0x800
mov al, byte [esp + 0xf]
je 0x10017b59
mov byte [edi + 0x78], 0
movaps xmm1, xmm4
jmp 0x10017b80
mov byte [edi + 0x78], 1
test al, al
jne 0x10017b74
comiss xmm1, xmm6
jbe 0x10017b6f
test dl, 8
jne 0x10017b6f
mov al, 1
jmp 0x10017b71
xor al, al
mov byte [edi + 0x79], al
mov ecx, dword [esp + 0x20]
movss xmm1, dword [ecx + 0x1578]
test al, al
je 0x10017b98
movss xmm0, dword [ecx + 0x1578]
movss dword [edi + 0x70], xmm0
movss dword [edi + 0x74], xmm1
jmp 0x10017bab
movaps xmm0, xmm4
movss dword [edi + 0x74], xmm1
movss dword [edi + 0x70], xmm0
jmp 0x10017bab
mov ecx, dword [esp + 0x20]
mov eax, edx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x10017bce
cmp dword [esp + 0x50], 0x3000000
je 0x10017bce
mov eax, dword [esp + 0x4c]
add eax, 0x204
jmp 0x10017bd5
lea eax, [esp + 0xd0]
test byte [edi + 8], 1
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi + 0x10]
movaps xmm6, xmm1
movups xmm5, xmmword [eax]
addss xmm6, dword [edi + 0x14]
movaps xmm7, xmm0
movaps xmmword [esp + 0xc0], xmm5
addss xmm7, dword [edi + 0x18]
movss dword [esp + 0x10], xmm1
movss dword [esp + 0x30], xmm0
je 0x10017c11
movaps xmm2, xmm4
jmp 0x10017c53
mov eax, dword [0x10089f58]
movss xmm0, dword [eax + 0x18e8]
mov eax, dword [edi + 0x2f0]
mulss xmm0, dword [edi + 0x26c]
test eax, eax
je 0x10017c38
mulss xmm0, dword [eax + 0x26c]
mov eax, dword [0x10089f58]
movss xmm2, dword [eax + 0x154c]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [esp + 0x30]
addss xmm1, dword [edi + 0x1c]
addss xmm2, xmm0
mov eax, edx
movss xmm0, dword [esp + 0x10]
and eax, 0x401
movss dword [esp + 0x70], xmm0
movss xmm0, dword [edi + 0x10]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x10]
movss dword [esp + 0x7c], xmm2
movss xmm2, dword [esp + 0x30]
movss dword [esp + 0x78], xmm1
movaps xmm1, xmm5
movss dword [edi + 0x1c4], xmm0
movss dword [edi + 0x1c8], xmm2
movss dword [edi + 0x1cc], xmm6
movss dword [edi + 0x1d0], xmm7
movss xmm0, dword [edi + 0x1c4]
shufps xmm1, xmm5, 0x55
maxss xmm0, xmm5
maxss xmm2, xmm1
movups xmmword [esp + 0xb0], xmm1
movss dword [edi + 0x1c4], xmm0
movaps xmm0, xmm5
movss dword [edi + 0x1c8], xmm2
movaps xmm2, xmm5
movss xmm1, dword [edi + 0x1cc]
shufps xmm0, xmm5, 0xaa
shufps xmm2, xmm5, 0xff
minss xmm1, xmm0
movups xmmword [esp + 0xa0], xmm0
movss xmm0, dword [edi + 0x1d0]
minss xmm0, xmm2
movss dword [edi + 0x1cc], xmm1
movups xmmword [esp + 0x80], xmm2
movss dword [edi + 0x1d0], xmm0
movss xmm6, dword [edi + 0x10]
movss xmm7, dword [edi + 0xc]
movaps xmm0, xmm6
movss dword [edi + 0x1d4], xmm7
addss xmm0, xmm3
movaps xmm3, xmm7
addss xmm3, dword [edi + 0x14]
addss xmm6, dword [edi + 0x18]
movss dword [esp + 0x30], xmm0
movss dword [edi + 0x1d8], xmm0
subss xmm3, dword [edi + 0x70]
subss xmm6, dword [edi + 0x74]
movss dword [edi + 0x1dc], xmm3
movss dword [edi + 0x1e0], xmm6
cmp eax, 1
jne 0x10017d81
movss xmm0, dword [edi + 0x40]
jmp 0x10017d89
movss xmm0, dword [ecx + 0x1554]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [edi + 0x34]
mulss xmm0, dword [0x1007d1c4]
addss xmm7, dword [0x1007d1c4]
addss xmm3, dword [0x1007d1c4]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [0x1007d1c4]
addss xmm6, dword [0x1007d1c4]
movups xmm2, xmmword [esp + 0xb0]
movd xmm1, eax
addss xmm0, dword [esp + 0x10]
cvtdq2ps xmm1, xmm1
subss xmm6, dword [edi + 0x40]
maxss xmm1, dword [edi + 0x40]
addss xmm7, xmm1
subss xmm3, xmm1
cvttss2si eax, xmm7
movd xmm7, eax
cvttss2si eax, xmm0
cvtdq2ps xmm7, xmm7
movd xmm0, eax
cvttss2si eax, xmm3
cvtdq2ps xmm0, xmm0
movups xmm3, xmmword [esp + 0x80]
movss dword [edi + 0x1e8], xmm0
movd xmm0, eax
cvttss2si eax, xmm6
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e4], xmm7
movss dword [edi + 0x1ec], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f0], xmm0
movss xmm0, dword [edi + 0x1e8]
comiss xmm2, xmm0
jbe 0x10017e53
movaps xmm1, xmm2
jmp 0x10017e5a
movaps xmm1, xmm3
minss xmm1, xmm0
comiss xmm5, xmm7
movups xmm6, xmmword [esp + 0xa0]
jbe 0x10017e6c
movaps xmm0, xmm5
jmp 0x10017e73
movaps xmm0, xmm6
minss xmm0, xmm7
movss dword [edi + 0x1e4], xmm0
movss dword [edi + 0x1e8], xmm1
movss xmm0, dword [edi + 0x1f0]
comiss xmm2, xmm0
jbe 0x10017e95
movaps xmm1, xmm2
jmp 0x10017e9c
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm2, dword [edi + 0x1ec]
comiss xmm5, xmm2
jbe 0x10017eae
movaps xmm0, xmm5
jmp 0x10017eb5
movaps xmm0, xmm6
minss xmm0, xmm2
movss dword [edi + 0x1ec], xmm0
movss dword [edi + 0x1f0], xmm1
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm4
jbe 0x10017ee1
test edx, 0x2000040
jne 0x10017ee1
mulss xmm0, dword [0x1007d1d0]
jmp 0x10017ef1
movss xmm0, dword [ecx + 0x18e4]
mulss xmm0, dword [0x1007d2b0]
cvttss2si eax, xmm0
mov ecx, edi
movaps xmm7, xmm4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x22c], xmm0
movss xmm2, dword [edi + 0x34]
movss xmm0, dword [edi + 0x1dc]
movaps xmm5, xmm2
subss xmm0, dword [edi + 0x1d4]
addss xmm5, xmm2
movss xmm6, dword [0x1007d328]
movss xmm3, dword [edi + 0x50]
addss xmm5, dword [edi + 0x24]
movaps xmm1, xmm5
subss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x38]
addss xmm1, xmm1
movss dword [edi + 0x58], xmm0
movss xmm0, dword [edi + 0x1e0]
subss xmm0, dword [edi + 0x1d8]
addss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
movss xmm0, dword [edi + 0x60]
comiss xmm6, xmm0
maxss xmm7, xmm1
movss xmm1, dword [edi + 0x54]
movss dword [esp + 0x10], xmm7
movss dword [edi + 0x5c], xmm7
jbe 0x10017fd6
movss xmm6, dword [edi + 0x68]
movaps xmm3, xmm0
comiss xmm4, xmm6
jb 0x10017fa1
comiss xmm2, xmm3
jb 0x10017fa1
movaps xmm3, xmm4
jmp 0x10017fc4
comiss xmm6, dword [0x1007d1fc]
jb 0x10017fc4
addss xmm2, dword [edi + 0x24]
mov eax, dword [0x10089f58]
addss xmm2, dword [eax + 0x1558]
comiss xmm3, xmm2
jb 0x10017fc4
movaps xmm3, xmm5
movss xmm0, dword [edi + 0x1c]
subss xmm0, dword [edi + 0x70]
mulss xmm0, xmm6
subss xmm3, xmm0
movss xmm5, dword [edi + 0x64]
movss xmm0, dword [0x1007d328]
comiss xmm0, xmm5
jbe 0x100180e8
mov edx, dword [edi + 8]
mov eax, dword [0x10089f58]
test dl, 1
je 0x10017ffe
movaps xmm1, xmm4
jmp 0x10018030
movss xmm0, dword [eax + 0x18e8]
mov ecx, dword [edi + 0x2f0]
mulss xmm0, dword [edi + 0x26c]
test ecx, ecx
je 0x10018020
mulss xmm0, dword [ecx + 0x26c]
movss xmm1, dword [eax + 0x154c]
addss xmm1, xmm1
addss xmm1, xmm0
test edx, 0x400
je 0x10018074
movss xmm2, dword [eax + 0x18e8]
mov ecx, dword [edi + 0x2f0]
mulss xmm2, dword [edi + 0x26c]
test ecx, ecx
je 0x1001805a
mulss xmm2, dword [ecx + 0x26c]
movss xmm0, dword [eax + 0x154c]
addss xmm2, dword [edi + 0x148]
addss xmm0, xmm0
addss xmm2, xmm0
jmp 0x10018077
movaps xmm2, xmm4
movss xmm6, dword [edi + 0x6c]
addss xmm2, xmm1
comiss xmm4, xmm6
movaps xmm1, xmm5
jb 0x10018095
movss xmm0, dword [edi + 0x38]
comiss xmm0, xmm1
jb 0x10018095
movaps xmm1, xmm4
comiss xmm6, dword [0x1007d1fc]
jb 0x100180d2
movss xmm7, dword [edi + 0x28]
movss xmm5, dword [edi + 0x38]
movaps xmm0, xmm7
mov eax, dword [0x10089f58]
addss xmm0, xmm5
addss xmm0, dword [eax + 0x155c]
comiss xmm1, xmm0
jb 0x100180cc
movaps xmm1, xmm5
addss xmm1, xmm5
addss xmm1, xmm7
movss xmm7, dword [esp + 0x10]
movss xmm0, dword [edi + 0x20]
subss xmm0, dword [edi + 0x74]
subss xmm0, xmm2
mulss xmm0, xmm6
subss xmm1, xmm0
cmp byte [edi + 0x7d], 0
maxss xmm3, xmm4
maxss xmm1, xmm4
jne 0x10018111
cmp byte [edi + 0x7f], 0
jne 0x10018111
movss xmm0, dword [edi + 0x58]
comiss xmm0, xmm3
ja 0x10018109
movaps xmm3, xmm0
comiss xmm7, xmm1
ja 0x10018111
movaps xmm1, xmm7
mov ecx, dword [edi + 0x274]
movss dword [edi + 0x50], xmm3
movss dword [edi + 0x54], xmm1
mov dword [edi + 0x60], 0x7f7fffff
mov dword [edi + 0x64], 0x7f7fffff
call fcn.100282f0
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + 0x274]
mov dword [esp + 0x24], ecx
add ecx, 0x4c
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 0x18e0]
mov edx, dword [ecx]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x1001818d
inc edx
mov dword [esp + 0x30], edx
test eax, eax
je 0x10018179
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1001817e
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10020cc0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x58]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x10]
inc dword [ecx]
mov ecx, dword [esp + 0x24]
call fcn.10028790
mov ecx, dword [0x10089f58]
movaps xmm0, xmmword [esp + 0xc0]
comiss xmm0, dword [esp + 0xa0]
mov eax, dword [ecx + 0x19d0]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19d0]
mov dword [esp + 0x10], eax
movaps xmmword [esp + 0x90], xmm0
mov eax, dword [eax + 0x274]
mov dword [esp + 0x58], eax
jb 0x100181ef
movss dword [esp + 0x98], xmm0
movups xmm0, xmmword [esp + 0xb0]
comiss xmm0, dword [esp + 0x80]
jb 0x1001820a
movss dword [esp + 0x9c], xmm0
mov edx, dword [eax + 0x40]
lea ecx, [eax + 0x40]
mov eax, dword [ecx + 4]
mov dword [esp + 0x30], ecx
cmp edx, eax
jne 0x10018246
inc edx
mov dword [esp + 0x24], edx
test eax, eax
je 0x10018232
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10018237
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1002fb40
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
movups xmm0, xmmword [esp + 0x90]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, dword [esp + 0x58]
call fcn.10028660
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x274]
add eax, 0x40
mov dword [esp + 0x24], eax
cmp dword [eax], 0
jg 0x10018294
push 0x506
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.Size___0
call dword [esp + 0x54]
mov eax, dword [esp + 0x30]
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [eax + 8]
add ecx, ecx
test dword [esp + 0x18], 0x8000000
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x204], eax
movss dword [ecx + 0x208], xmm0
movss dword [ecx + 0x20c], xmm1
movss dword [ecx + 0x210], xmm2
je 0x100182f3
call fcn.1001ae80
cmp edi, eax
jne 0x100182f3
cmp dword [edi + 0x9c], 0
jg 0x100182f3
mov cl, 1
jmp 0x100182f5
xor cl, cl
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x1b34]
test eax, eax
je 0x1001830f
cmp edi, dword [eax + 0x2f4]
jne 0x1001830f
mov al, 1
jmp 0x10018311
xor al, al
mov byte [esp + 0xf], al
test cl, cl
jne 0x10018321
test al, al
je 0x1001842f
movss xmm1, dword [edx + 0x1c5c]
push 0xf
push ecx
movzx ecx, cl
add ecx, 0x30
mov dword [esp], 0
call fcn.1000e250
mov ecx, dword [edi + 0x274]
push eax
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.1002a1a0
cmp byte [esp + 0xf], 0
je 0x1001842f
mov edx, dword [esp + 0x20]
cmp edi, dword [edx + 0x1b34]
jne 0x1001842f
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm2
movss xmm0, dword [edx + 0x18e4]
movaps xmm4, xmm3
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
subss xmm1, xmm0
subss xmm4, xmm0
addss xmm2, xmm0
addss xmm3, xmm0
movss xmm0, dword [esp + 0x2c]
comiss xmm0, xmm1
movss dword [esp + 0xd0], xmm1
movss dword [esp + 0xd4], xmm4
movss dword [esp + 0xd8], xmm2
movss dword [esp + 0xdc], xmm3
jb 0x100183e9
comiss xmm0, xmm4
jb 0x100183e9
comiss xmm2, dword [esp + 0x6c]
jb 0x100183e9
comiss xmm3, dword [esp + 0x38]
jae 0x1001842f
movss xmm1, dword [edx + 0x1b40]
mulss xmm1, dword [0x1007d1b0]
push 0xf
movss xmm0, dword [edx + 0x151c]
push ecx
mov ecx, 0x2f
movss dword [esp], xmm0
call fcn.1000e250
mov ecx, dword [edi + 0x274]
push eax
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.1002a1a0
mov eax, dword [esp + 0x18]
and eax, 0x5000000
mov byte [esp + 0xf], 0
cmp eax, 0x1000000
jne 0x100184a1
cmp dword [esp + 0x50], 0x3000000
je 0x100184a1
mov edx, dword [edi + 0x274]
mov dword [esp + 0x24], edx
cmp dword [edx], 0
jg 0x10018477
push 0x506
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.Size___0
call dword [esp + 0x54]
mov edx, dword [esp + 0x30]
add esp, 0xc
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0x28], 0
jne 0x100184a1
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x274]
cmp dword [eax + 0x18], 0
jle 0x100184a1
mov byte [esp + 0xf], 1
mov dword [edi + 0x274], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x1b30]
test ecx, ecx
jne 0x100184b5
mov ecx, dword [eax + 0x1af0]
cmp byte [esp + 0x34], 0
jne 0x100184d5
test ecx, ecx
je 0x100184ce
mov eax, dword [edi + 0x2f8]
cmp eax, dword [ecx + 0x2f8]
je 0x100184d5
mov byte [esp + 0x10], 0
jmp 0x100184da
mov byte [esp + 0x10], 1
movd xmm0, esi
lea eax, [esp + 0xe0]
cvtdq2ps xmm0, xmm0
push ecx
lea edx, [esp + 0x74]
mov ecx, edi
movss dword [esp], xmm0
push eax
push dword [esp + 0x48]
push dword [esp + 0x1c]
call fcn.10015ca0
add esp, 0x10
cmp byte [esp + 0xf], 0
je 0x10018518
lea eax, [edi + 0x278]
mov dword [edi + 0x274], eax
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x1b34], edi
jne 0x100186c2
movss xmm1, dword [edi + 0xc]
movss xmm5, dword [edi + 0x3c]
movaps xmm4, xmm1
movss xmm2, dword [esi + 0x18e4]
movaps xmm0, xmm5
addss xmm1, dword [edi + 0x14]
maxss xmm0, dword [esi + 0x151c]
movss xmm7, dword [edi + 0x10]
subss xmm4, xmm2
movaps xmm3, xmm7
addss xmm7, dword [edi + 0x18]
subss xmm3, xmm2
addss xmm1, xmm2
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x2c]
comiss xmm0, xmm4
movss dword [esp + 0x58], xmm4
addss xmm7, xmm2
movss dword [esp + 0x50], xmm3
movss dword [esp + 0x30], xmm1
jb 0x100185da
comiss xmm0, xmm3
jb 0x100185da
comiss xmm1, dword [esp + 0x6c]
jb 0x100185da
comiss xmm7, dword [esp + 0x38]
jb 0x100185da
xorps xmm2, xmmword [0x1007d610]
subss xmm2, dword [0x1007d1fc]
movss dword [esp + 0x20], xmm5
movaps xmm0, xmm2
subss xmm4, xmm2
subss xmm3, xmm2
addss xmm0, xmm1
addss xmm7, xmm2
movss dword [esp + 0x58], xmm4
movss dword [esp + 0x50], xmm3
movss dword [esp + 0x30], xmm0
mov eax, dword [edi + 0x274]
mov ecx, 0x2f
movss xmm1, dword [esi + 0x1b40]
mov dword [esp + 0x10], eax
call fcn.1000e250
mov dword [esp + 0x40], eax
test eax, 0xff000000
je 0x100186c2
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
movss xmm1, dword [esp + 0x30]
movss xmm0, dword [esp + 0x58]
movss xmm3, dword [esp + 0x20]
test byte [eax + 0x24], 1
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
je 0x10018655
movss xmm2, dword [0x1007d1c4]
addss xmm0, xmm2
subss xmm1, xmm2
subss xmm7, xmm2
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x5c]
addss xmm0, xmm2
jmp 0x10018681
addss xmm0, dword [0x1007d1c4]
subss xmm1, dword [0x1007d1c0]
subss xmm7, dword [0x1007d1c0]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x5c]
addss xmm0, dword [0x1007d1c4]
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x34], xmm7
movss dword [esp + 0x48], xmm0
call fcn.10029c60
mov eax, dword [esp + 0x10]
push ecx
mov dword [esp], 0x40400000
mov ecx, eax
push 1
push dword [esp + 0x48]
push dword [eax + 0x58]
push dword [eax + 0x60]
call fcn.10028aa0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x58], 0
mov ecx, dword [esp + 0x18]
mov edx, ecx
movss xmm7, dword [edi + 0x2c]
movss xmm4, dword [esp + 0x2c]
shr edx, 3
not dl
and dl, 1
ucomiss xmm7, xmm4
lahf
test ah, 0x44
jnp 0x100186ec
movss dword [esp + 0x38], xmm7
jmp 0x10018725
movss xmm0, dword [edi + 0x34]
mov eax, ecx
movss xmm1, dword [edi + 0x14]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [edi + 0x70]
cmp eax, 0x800
jne 0x10018718
movss xmm0, dword [edi + 0x24]
jmp 0x1001871b
movaps xmm0, xmm4
maxss xmm0, xmm1
movss dword [esp + 0x38], xmm0
movss xmm5, dword [edi + 0x30]
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x1001873b
movss dword [esp + 0x6c], xmm5
jmp 0x10018770
movss xmm0, dword [edi + 0x38]
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [esp + 0x54]
subss xmm1, dword [edi + 0x74]
test dl, dl
je 0x10018763
movss xmm0, dword [edi + 0x28]
jmp 0x10018766
movaps xmm0, xmm4
maxss xmm0, xmm1
movss dword [esp + 0x6c], xmm0
movss xmm6, dword [edi + 0x34]
movss xmm1, dword [edi + 0x1d4]
movaps xmm0, xmm6
maxss xmm0, dword [edi + 0x40]
subss xmm1, dword [edi + 0x50]
movss xmm3, dword [edi + 0x10]
ucomiss xmm7, xmm4
addss xmm1, xmm0
movss xmm0, dword [edi + 0x38]
movss dword [esp + 0x40], xmm0
maxss xmm0, dword [edi + 0x40]
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x54]
movss dword [esp + 0x10], xmm1
movss xmm1, dword [edi + 0x1d8]
subss xmm1, dword [esp + 0x10]
subss xmm3, dword [esp + 0x10]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm1, xmm0
movss dword [edi + 0x1f4], xmm2
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x38]
addss xmm1, xmm2
movss xmm2, dword [esp + 0x54]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1fc], xmm1
movss xmm1, dword [esp + 0x40]
movss dword [edi + 0x1f8], xmm0
addss xmm3, xmm1
addss xmm0, dword [esp + 0x6c]
lahf
addss xmm3, xmm2
movss dword [edi + 0x200], xmm0
movss xmm0, dword [edi + 0xc]
movss dword [esp + 0x38], xmm0
subss xmm0, dword [edi + 0x50]
movss dword [edi + 0x218], xmm3
addss xmm0, xmm6
movss dword [esp + 0x24], xmm0
movss dword [edi + 0x214], xmm0
test ah, 0x44
jp 0x1001886e
movss xmm7, dword [edi + 0x14]
movaps xmm0, xmm6
addss xmm0, xmm6
subss xmm7, xmm0
movss xmm0, dword [esp + 0x24]
subss xmm7, dword [edi + 0x70]
ucomiss xmm5, xmm4
addss xmm7, xmm0
lahf
movss dword [edi + 0x21c], xmm7
test ah, 0x44
jp 0x1001889c
movss xmm5, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, xmm1
subss xmm5, xmm0
subss xmm5, xmm2
subss xmm5, dword [edi + 0x74]
mov dword [edi + 0x1b8], 0
addss xmm6, xmm4
addss xmm1, xmm2
addss xmm5, xmm3
subss xmm6, dword [edi + 0x50]
subss xmm1, dword [esp + 0x10]
movss dword [edi + 0x220], xmm5
movss dword [edi + 0x1b4], xmm6
addss xmm6, xmm4
mov dword [edi + 0x1bc], 0
addss xmm1, dword [edi + 0x10]
addss xmm6, dword [esp + 0x38]
movss dword [edi + 0xd8], xmm6
movss dword [edi + 0xdc], xmm1
movss dword [edi + 0xc8], xmm6
movss dword [edi + 0xcc], xmm1
movss dword [edi + 0xd0], xmm6
movss dword [edi + 0xd4], xmm1
movss dword [edi + 0xe0], xmm6
movss dword [edi + 0xe4], xmm1
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0xf8], 0
mov byte [edi + 0x140], 0
movss xmm0, dword [edi + 0x5c]
comiss xmm0, xmm4
seta al
mov byte [edi + 0x141], al
mov eax, dword [edi + 0x13c]
mov dword [edi + 0x138], eax
lea eax, [edi + 0x14c]
mov dword [edi + 0x13c], 0
mov byte [edi + 0x142], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100189c6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x14c]
call fcn.10020cc0
lea eax, [edi + 0x14c]
mov ecx, dword [esp + 0x4c]
mov dword [eax], 0
mov dword [edi + 0x15c], 1
test ecx, ecx
je 0x10018a06
mov eax, dword [ecx + 0x15c]
mov dword [edi + 0x160], eax
mov dword [edi + 0x168], 0xffffffff
mov dword [edi + 0x164], 0xffffffff
mov eax, dword [ecx + 0x16c]
jmp 0x10018a26
mov dword [edi + 0x160], 1
xor eax, eax
mov dword [edi + 0x168], 0xffffffff
mov dword [edi + 0x164], 0xffffffff
mov dword [edi + 0x16c], eax
mov eax, dword [edi + 0x22c]
mov dword [edi + 0x170], eax
lea eax, [edi + 0x178]
mov dword [edi + 0x174], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10018a71
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x178]
call fcn.10020cc0
lea eax, [edi + 0x178]
mov dword [eax], 0
lea eax, [edi + 0x184]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10018aa6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x184]
call fcn.10020cc0
lea eax, [edi + 0x184]
mov dword [eax], 0
lea eax, [edi + 0x190]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10018adb
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x190]
call fcn.10020cc0
lea eax, [edi + 0x190]
mov dword [eax], 0
lea ecx, [edi + 0x19c]
mov dword [edi + 0x1c0], 0
lea eax, [edi + 0x254]
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 0
push 0
mov dword [edi + 0x158], eax
call fcn.100207f0
cmp byte [esp + 0x1e], 0
lea ecx, [edi + 0x248]
movss xmm0, dword [esi + 0x1558]
mov dword [edi + 0x238], 0
mov dword [edi + 0x234], 0
movss dword [edi + 0x230], xmm0
je 0x10018b57
xorps xmm0, xmm0
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
movss xmm1, dword [esp + 0x2c]
xor edx, edx
nop
test edx, edx
je 0x10018b85
movss xmm0, dword [ecx]
comiss xmm0, xmm1
jbe 0x10018b85
movss xmm0, dword [edi + 0x230]
addss xmm0, dword [edi + 0x234]
movss dword [edi + 0x234], xmm0
cvttss2si eax, dword [edi + 0x234]
inc edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0xc], xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [edi + 0x234]
movss dword [edi + 0x234], xmm0
mov dword [ecx], 0
add ecx, 4
cmp edx, 3
jl 0x10018b60
test dword [esp + 0x18], 0x1000000
je 0x10018c2e
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x16c]
cmp dword [edi + 0x16c], eax
je 0x10018c2e
lea ecx, [edi + 0x178]
mov dword [edi + 0x16c], eax
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x10018c1a
inc edx
mov dword [esp + 0x40], edx
test eax, eax
je 0x10018c04
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10018c09
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10020cc0
lea ecx, [edi + 0x178]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [edi + 0x16c]
mov dword [ecx + edx*4], eax
inc dword [edi + 0x178]
mov al, byte [edi + 0x90]
test al, al
jle 0x10018c40
dec al
mov byte [edi + 0x90], al
mov al, byte [edi + 0x91]
test al, al
jle 0x10018c52
dec al
mov byte [edi + 0x91], al
cmp byte [esp + 0x34], 0
je 0x10018c69
mov ecx, edi
call fcn.100191e0
xor dl, dl
mov ecx, edi
call fcn.1001c7e0
test byte [esp + 0x18], 1
jne 0x10018c83
push ecx
push dword [esp + 0x64]
lea edx, [esp + 0x78]
mov ecx, edi
call fcn.10016250
add esp, 8
mov ecx, dword [0x10089f58]
mov eax, dword [edi + 0x48]
movss xmm2, dword [esp + 0x70]
movss xmm3, dword [esp + 0x78]
movss xmm4, dword [esp + 0x7c]
mov dword [edi + 0x108], eax
movss xmm1, dword [ecx + 0x1568]
movss xmm0, dword [ecx + 0x156c]
subss xmm2, xmm1
movss xmm5, dword [ecx + 0xe8]
addss xmm3, xmm1
movss xmm1, dword [esp + 0x74]
addss xmm4, xmm0
subss xmm1, xmm0
comiss xmm5, xmm2
jb 0x10018cf5
movss xmm0, dword [ecx + 0xec]
comiss xmm0, xmm1
jb 0x10018cf5
comiss xmm3, xmm5
jbe 0x10018cf5
comiss xmm4, xmm0
jbe 0x10018cf5
mov eax, 1
jmp 0x10018cf7
xor eax, eax
movups xmm0, xmmword [esp + 0x70]
mov dword [edi + 0x10c], eax
movups xmmword [edi + 0x110], xmm0
jmp 0x10018d49
mov ecx, dword [0x10089f58]
movss xmm0, dword [ecx + 0x18e8]
mov dword [ecx + 0x19d0], edi
mov eax, dword [edi + 0x2f0]
mulss xmm0, dword [edi + 0x26c]
test eax, eax
je 0x10018d39
mulss xmm0, dword [eax + 0x26c]
movss dword [ecx + 0x18f8], xmm0
movss dword [ecx + 0x18e4], xmm0
mov eax, dword [ecx + 0x19d0]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19d0]
movss xmm3, dword [edi + 0x1ec]
movss xmm2, dword [edi + 0x1f0]
movss xmm1, dword [edi + 0x1e4]
movss xmm0, dword [edi + 0x1e8]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 0x274]
mov dword [esp + 0x10], eax
movss dword [esp + 0x70], xmm1
movss dword [esp + 0x74], xmm0
mov ecx, dword [eax + 0x40]
movss dword [esp + 0x78], xmm3
movss dword [esp + 0x7c], xmm2
test ecx, ecx
je 0x10018e0f
mov eax, dword [eax + 0x48]
add ecx, ecx
movups xmm4, xmmword [eax + ecx*8 - 0x10]
comiss xmm4, xmm1
movaps xmmword [esp + 0x80], xmm4
jbe 0x10018dc6
movaps xmm1, xmm4
movss dword [esp + 0x70], xmm1
movss xmm4, dword [esp + 0x84]
comiss xmm4, xmm0
jbe 0x10018ddd
movaps xmm0, xmm4
movss dword [esp + 0x74], xmm0
movss xmm4, dword [esp + 0x88]
comiss xmm3, xmm4
jbe 0x10018df4
movaps xmm3, xmm4
movss dword [esp + 0x78], xmm3
movss xmm4, dword [esp + 0x8c]
comiss xmm2, xmm4
mov eax, dword [esp + 0x10]
jbe 0x10018e0f
movaps xmm2, xmm4
movss dword [esp + 0x7c], xmm2
comiss xmm1, xmm3
jb 0x10018e1a
movss dword [esp + 0x78], xmm1
comiss xmm0, xmm2
jb 0x10018e25
movss dword [esp + 0x7c], xmm0
mov edx, dword [eax + 0x40]
lea ecx, [eax + 0x40]
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], ecx
cmp edx, eax
jne 0x10018e61
inc edx
mov dword [esp + 0x40], edx
test eax, eax
je 0x10018e4d
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10018e52
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1002fb40
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
movups xmm0, xmmword [esp + 0x70]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, dword [esp + 0x10]
call fcn.10028660
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x274]
add eax, 0x40
mov dword [esp + 0x40], eax
cmp dword [eax], 0
jg 0x10018eac
push 0x506
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.Size___0
call dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [eax + 8]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x204], eax
mov eax, dword [esp + 0x64]
movss dword [ecx + 0x208], xmm0
movss dword [ecx + 0x20c], xmm1
movss dword [ecx + 0x210], xmm2
cmp eax, dword [esp + 0x68]
je 0x10018ef9
mov byte [edi + 0x7c], 0
inc word [edi + 0x84]
mov eax, dword [esp + 0x18]
mov dword [esi + 0x1a4c], 0
test eax, 0x1000000
je 0x10018fb3
test al, 1
jne 0x10018f37
push 0x16f8
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.cpp
push str._flags__ImGuiWindowFlags_NoTitleBar____0
call dword [esp + 0x54]
mov eax, dword [esp + 0x24]
add esp, 0xc
test al, 0x40
jne 0x10018f79
cmp byte [edi + 0x90], 0
jg 0x10018f79
cmp byte [edi + 0x91], 0
jg 0x10018f79
movss xmm0, dword [edi + 0x1c4]
comiss xmm0, dword [edi + 0x1cc]
jae 0x10018f6f
movss xmm0, dword [edi + 0x1c8]
comiss xmm0, dword [edi + 0x1d0]
jb 0x10018f79
mov dword [edi + 0x98], 1
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10018fb3
cmp byte [eax + 0x7d], 0
jne 0x10018f90
cmp dword [eax + 0x98], 0
jle 0x10018f9a
mov dword [edi + 0x98], 1
cmp byte [eax + 0x7d], 0
jne 0x10018fa9
cmp dword [eax + 0x9c], 0
jle 0x10018fb3
mov dword [edi + 0x9c], 1
movss xmm0, dword [esp + 0x2c]
comiss xmm0, dword [esi + 0x1510]
jb 0x10018fcc
mov dword [edi + 0x98], 1
cmp dword [edi + 0x98], 0
jg 0x10018fe2
cmp dword [edi + 0x9c], 0
jg 0x10018fe2
xor cl, cl
jmp 0x10018fe4
mov cl, 1
xor al, al
mov byte [edi + 0x81], cl
cmp byte [edi + 0x7d], al
jne 0x10018ffa
cmp byte [edi + 0x7a], al
je 0x10018ffa
test cl, cl
je 0x1001901e
cmp byte [edi + 0x90], 0
jg 0x1001901e
cmp byte [edi + 0x91], 0
jg 0x1001901e
cmp dword [edi + 0x9c], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov ecx, dword [esp + 0xfc]
mov byte [edi + 0x7f], al
xor al, 1
pop edi
pop esi
xor ecx, esp
call fcn.1006c1ab
mov esp, ebp
pop ebp
ret