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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055e81
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x210
mov eax, dword [0x10069040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x130], edi
cmp dword [edi + 0x4c], 0
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [ebp - 0x140], esi
jg 0x100214ef
push 0x75e
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_draw.cpp
push str.atlas__ConfigData.Size___0
call esi
add esp, 0xc
cmp dword [edi + 0x58], 0
jge 0x10021561
test byte [edi + 4], 2
lea eax, [ebp - 0x1b4]
lea ecx, [edi + 0x40]
mov dword [ebp - 0x1ac], 0xffffffff
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x1b4], Ordinal_2
push eax
mov dword [ebp - 0x1b0], 0x1b00d9
je 0x10021555
mov dword [ebp - 0x1b0], 0x20002
call fcn.10025070
mov eax, dword [edi + 0x40]
dec eax
mov dword [edi + 0x58], eax
mov ecx, edi
mov dword [edi + 8], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.10020ad0
xor eax, eax
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 4], eax
xor edi, edi
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x1b8], edi
mov eax, dword [ebp - 0x130]
mov byte [ebp - 4], 1
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [ebp - 0x12c], 8
mov edx, dword [eax + 0x4c]
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x158], ecx
test edx, edx
jle 0x1002164e
cmp edx, 8
mov ecx, edx
cmovl ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x11c], ecx
test ecx, ecx
jle 0x1002164e
mov eax, dword [0x1006ee70]
test eax, eax
je 0x1002161a
inc dword [eax + 0x374]
imul eax, ecx, 0xc4
push eax
call dword [ebp - 0x158]
mov ecx, dword [ebp - 0x11c]
add esp, 4
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x1e0], ecx
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x1e4], edx
mov dword [ebp - 0x15c], ecx
test ecx, ecx
jle 0x100216bd
cmp ecx, 8
mov eax, ecx
cmovl eax, dword [ebp - 0x12c]
mov dword [ebp - 0x11c], eax
test eax, eax
jle 0x100216bd
mov ecx, dword [0x1006ee70]
test ecx, ecx
je 0x10021687
inc dword [ecx + 0x374]
lea eax, [eax + eax*2]
shl eax, 3
push eax
call dword [ebp - 0x158]
mov ecx, dword [ebp - 0x15c]
mov edi, eax
mov eax, dword [ebp - 0x11c]
add esp, 4
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x1b8], edi
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1c0], ecx
imul ecx, edx, 0xc4
push ecx
push 0
push dword [ebp - 0x160]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x15c]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x130]
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x124], ecx
cmp dword [eax + 0x4c], ecx
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [ebp - 0x154], eax
jle 0x1002198a
mov eax, dword [ebp - 0x160]
add eax, 0xa4
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x130]
cmp ecx, dword [ebp - 0x138]
jl 0x10021759
push 0x4fc
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.i___Size
call esi
mov eax, dword [ebp - 0x130]
add esp, 0xc
mov ecx, dword [ebp - 0x124]
cmp ecx, dword [eax + 0x4c]
jl 0x10021778
push 0x4fc
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.i___Size
call esi
mov eax, dword [ebp - 0x130]
add esp, 0xc
mov ecx, dword [eax + 0x54]
add ecx, dword [ebp - 0x134]
mov dword [ebp - 0x120], ecx
mov ecx, dword [ecx + 0x74]
test ecx, ecx
je 0x10021799
mov ecx, dword [ecx + 0x38]
test ecx, ecx
je 0x100217ad
cmp ecx, eax
je 0x100217ad
push 0x776
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_draw.cpp
push str.cfg.DstFont____cfg.DstFont__IsLoaded____cfg.DstFont__ContainerAtlas__atlas_
call esi
add esp, 0xc
mov eax, dword [ebp - 0x128]
xor edx, edx
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x12c], edx
mov dword [eax - 4], 0xffffffff
mov ecx, dword [ecx + 0x34]
test ecx, ecx
jle 0x10021827
mov edi, dword [ebp - 0x130]
cmp dword [eax - 4], 0xffffffff
jne 0x10021821
cmp edx, ecx
jl 0x100217f9
push 0x4fc
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.i___Size
call esi
mov edx, dword [ebp - 0x12c]
add esp, 0xc
mov eax, dword [ebp - 0x120]
mov ecx, dword [edi + 0x3c]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
mov eax, dword [ebp - 0x128]
jne 0x10021813
mov dword [eax - 4], edx
mov ecx, dword [edi + 0x34]
inc edx
mov dword [ebp - 0x12c], edx
cmp edx, ecx
jl 0x100217d5
mov edi, dword [ebp - 0x14c]
add eax, 0xffffff5c
mov dword [ebp - 0x13c], eax
cmp dword [eax + 0xa0], 0xffffffff
jne 0x10021862
push 0x77d
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_draw.cpp
push str.src_tmp.DstIndex____1
call esi
mov eax, dword [ebp - 0x13c]
add esp, 0xc
cmp dword [eax + 0xa0], 0xffffffff
je 0x10021a1e
mov eax, dword [ebp - 0x120]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax]
call fcn.10017b90
mov dword [ebp - 0x11c], eax
test eax, eax
jns 0x10021896
push 0x783
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_draw.cpp
push str.font_offset___0___FontData_is_incorrect__or_FontNo_cannot_be_found._
call esi
mov eax, dword [ebp - 0x11c]
add esp, 0xc
mov ecx, dword [ebp - 0x13c]
push eax
mov eax, dword [ebp - 0x120]
mov edx, dword [eax]
call fcn.10017e90
add esp, 4
test eax, eax
je 0x10021a1e
mov eax, dword [ebp - 0x13c]
mov eax, dword [eax + 0xa0]
mov dword [ebp - 0x11c], eax
cmp eax, dword [ebp - 0x15c]
jl 0x100218e9
push 0x4fc
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.i___Size
call esi
mov eax, dword [ebp - 0x11c]
add esp, 0xc
lea ecx, [eax + eax*2]
mov edx, 0x1006084c
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x13c], ecx
mov eax, dword [eax + 0x30]
test eax, eax
cmovne edx, eax
mov eax, dword [ebp - 0x128]
mov dword [eax - 8], edx
cmp word [edx], 0
je 0x1002193d
mov edi, eax
movzx eax, word [edx + 2]
test ax, ax
je 0x10021931
mov ecx, eax
cmp dword [edi], ecx
cmovge ecx, dword [edi]
add edx, 4
mov dword [edi], ecx
cmp word [edx], 0
jne 0x10021916
mov edi, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x13c]
inc dword [edi + ecx*8]
mov ecx, dword [edx]
cmp dword [edi + eax*8 + 4], ecx
cmovge ecx, dword [edi + eax*8 + 4]
add edx, 0xc4
add dword [ebp - 0x134], 0x78
mov dword [edi + eax*8 + 4], ecx
mov ecx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x130]
inc ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x128], edx
cmp ecx, dword [eax + 0x4c]
jl 0x10021731
xor eax, eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x138], eax
jle 0x10021e74
mov esi, dword [ebp - 0x160]
add esi, 0xa8
mov dword [ebp - 0x120], esi
nop word [eax + eax]
mov eax, dword [esi - 8]
mov dword [ebp - 0x11c], eax
cmp eax, dword [ebp - 0x15c]
jl 0x100219ef
push 0x4fc
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.i___Size
call dword [ebp - 0x140]
mov eax, dword [ebp - 0x11c]
add esp, 0xc
mov ecx, dword [esi - 4]
lea eax, [eax + eax*2]
add ecx, 0x20
mov dword [ebp - 0x124], eax
mov eax, dword [esi + 8]
sar ecx, 5
mov dword [ebp - 0x11c], ecx
cmp ecx, eax
jle 0x10021a45
test eax, eax
je 0x10021a2a
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esi + 8]
jmp 0x10021a2f
mov byte [ebp - 0x145], 0
jmp 0x10023021
mov edx, 8
cmp edx, ecx
mov eax, ecx
lea ecx, [esi + 4]
cmovg eax, edx
push eax
call fcn.10016610
mov ecx, dword [ebp - 0x11c]
lea eax, [ecx*4]
mov dword [esi + 4], ecx
push eax
push 0
push dword [esi + 0xc]
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x124]
add esp, 0xc
lea eax, [edx*8 + 0xc]
add eax, edi
mov dword [ebp - 0x134], eax
cmp dword [eax], 0
jne 0x10021af0
mov ecx, dword [edi + edx*8 + 4]
mov edx, dword [eax + 4]
add ecx, 0x20
sar ecx, 5
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x11c], edx
cmp ecx, edx
jle 0x10021acd
test edx, edx
je 0x10021aa9
mov eax, edx
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [ebp - 0x11c]
jmp 0x10021aae
mov edx, 8
cmp edx, ecx
mov eax, ecx
mov ecx, dword [ebp - 0x134]
cmovg eax, edx
push eax
call fcn.10016610
mov ecx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x134]
mov dword [eax], ecx
lea eax, [ecx*4]
push eax
mov eax, dword [ebp - 0x134]
push 0
push dword [eax + 8]
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x124]
add esp, 0xc
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x13c], eax
cmp word [eax], 0
je 0x10021c5d
movzx ecx, word [eax + 2]
test cx, cx
je 0x10021c51
movzx edi, word [eax]
cmp edi, ecx
ja 0x10021c38
nop dword [eax + eax]
mov ecx, edi
mov eax, 1
and ecx, 0x1f
mov esi, edi
shl eax, cl
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x14c]
sar esi, 5
cmp esi, dword [eax + edx*8 + 0xc]
jl 0x10021b67
push 0x4fd
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.i___Size
call dword [ebp - 0x140]
mov edx, dword [ebp - 0x124]
add esp, 0xc
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax + edx*8 + 0x14]
mov ecx, dword [ebp - 0x134]
test dword [eax + esi*4], ecx
jne 0x10021c25
mov ecx, dword [ebp - 0x120]
mov edx, edi
lea ecx, [ecx - 0xa8]
call fcn.10018430
mov edx, dword [ebp - 0x124]
test eax, eax
je 0x10021c25
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x14c]
inc dword [eax]
inc dword [ecx + edx*8 + 8]
cmp esi, dword [eax + 4]
jl 0x10021bd6
push 0x4fc
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.i___Size
call dword [ebp - 0x140]
mov edx, dword [ebp - 0x124]
add esp, 0xc
mov eax, dword [ebp - 0x120]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x134]
or dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x14c]
cmp esi, dword [eax + edx*8 + 0xc]
jl 0x10021c18
push 0x4fc
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.i___Size
call dword [ebp - 0x140]
mov edx, dword [ebp - 0x124]
add esp, 0xc
mov ecx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax + edx*8 + 0x14]
or dword [eax + esi*4], ecx
inc dword [ebp - 0x128]
mov eax, dword [ebp - 0x13c]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jbe 0x10021b20
mov eax, dword [ebp - 0x13c]
add eax, 4
mov dword [ebp - 0x13c], eax
cmp word [eax], 0
jne 0x10021b03
mov esi, dword [ebp - 0x120]
mov edi, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x12c]
add esi, 0xc4
inc ecx
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x12c], ecx
cmp ecx, dword [ebp - 0x138]
jl 0x100219c0
mov esi, dword [ebp - 0x160]
mov dword [ebp - 0x13c], 0
add esi, 0xb8
mov edi, dword [esi - 0x10]
cmp edi, dword [esi + 4]
jle 0x10021d09
mov eax, dword [0x1006ee70]
test eax, eax
je 0x10021caf
inc dword [eax + 0x374]
lea eax, [edi*4]
push eax
call dword [ebp - 0x158]
mov edx, dword [esi + 8]
add esp, 4
mov dword [ebp - 0x11c], eax
test edx, edx
je 0x10021d03
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 8]
add esp, 0xc
test ecx, ecx
je 0x10021cf3
mov eax, dword [0x1006ee70]
test eax, eax
je 0x10021cf3
dec dword [eax + 0x374]
push ecx
call dword [ebp - 0x154]
mov eax, dword [ebp - 0x11c]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 4], edi
mov edx, dword [esi - 4]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x150], edx
lea eax, [edx + eax*4]
mov dword [ebp - 0x174], eax
cmp edx, eax
jae 0x10021df3
xor ecx, ecx
mov dword [ebp - 0x134], ecx
nop
mov edi, dword [edx]
mov dword [ebp - 0x16c], edi
test edi, edi
je 0x10021dd9
xor eax, eax
mov edx, 1
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x144], edx
test edx, edi
je 0x10021db9
mov edi, ecx
mov ecx, dword [esi + 4]
and edi, 0xffffffe0
add edi, eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x10021d9d
lea edx, [eax + 1]
mov dword [ebp - 0x11c], edx
test ecx, ecx
je 0x10021d85
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x11c]
sar eax, 1
add eax, ecx
jmp 0x10021d8a
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10016610
mov edx, dword [ebp - 0x144]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], edi
inc dword [esi]
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x134]
mov edi, dword [ebp - 0x16c]
inc eax
rol edx, 1
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x144], edx
cmp eax, 0x20
jl 0x10021d53
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x174]
add edx, 4
add ecx, 0x20
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x134], ecx
cmp edx, eax
jb 0x10021d30
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x10021e28
mov eax, dword [0x1006ee70]
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
test eax, eax
je 0x10021e17
dec dword [eax + 0x374]
push ecx
call dword [ebp - 0x154]
add esp, 4
mov dword [esi - 4], 0
mov eax, dword [esi]
cmp eax, dword [esi - 0x10]
je 0x10021e47
push 0x7b2
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_draw.cpp
push str.src_tmp.GlyphsList.Size__src_tmp.GlyphsCount
call dword [ebp - 0x140]
add esp, 0xc
mov eax, dword [ebp - 0x13c]
add esi, 0xc4
inc eax
mov dword [ebp - 0x13c], eax
cmp eax, dword [ebp - 0x138]
jl 0x10021c98
mov edi, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x140]
jmp 0x10021e7c
xor eax, eax
mov dword [ebp - 0x128], eax
xor ecx, ecx
mov dword [ebp - 0x12c], ecx
cmp dword [ebp - 0x15c], ecx
jle 0x10021efc
mov esi, dword [ebp - 0x15c]
lea eax, [edi + 0x14]
mov edi, dword [ebp - 0x154]
mov dword [ebp - 0x144], eax
mov edx, dword [eax]
test edx, edx
je 0x10021edc
mov dword [eax - 4], 0
mov dword [eax - 8], 0
mov eax, dword [0x1006ee70]
test eax, eax
je 0x10021ec4
dec dword [eax + 0x374]
push edx
call edi
mov eax, dword [ebp - 0x144]
add esp, 4
mov ecx, dword [ebp - 0x12c]
mov dword [eax], 0
inc ecx
add eax, 0x18
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x144], eax
cmp ecx, esi
jl 0x10021ea1
mov edi, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x140]
test edi, edi
je 0x10021f3b
mov eax, dword [0x1006ee70]
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1c0], 0
test eax, eax
je 0x10021f23
dec dword [eax + 0x374]
push edi
call dword [ebp - 0x154]
add esp, 4
xor eax, eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x1b8], eax
xor eax, eax
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x1e8], eax
mov edi, dword [ebp - 0x128]
lea edx, [eax + 8]
mov byte [ebp - 4], 7
test edi, edi
jle 0x10021fc1
cmp edi, edx
mov eax, edi
cmovl eax, edx
mov dword [ebp - 0x11c], eax
test eax, eax
jle 0x10021fc1
mov ecx, dword [0x1006ee70]
test ecx, ecx
je 0x10021f97
inc dword [ecx + 0x374]
shl eax, 4
push eax
call dword [ebp - 0x158]
mov ecx, dword [ebp - 0x11c]
add esp, 4
mov dword [ebp - 0x15c], eax
mov edx, 8
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x1c8], ecx
mov dword [ebp - 0x1cc], edi
test edi, edi
jle 0x1002201a
cmp edi, 8
mov ecx, edi
cmovl ecx, edx
mov dword [ebp - 0x11c], ecx
test ecx, ecx
jle 0x1002201a
mov eax, dword [0x1006ee70]
test eax, eax
je 0x10021fec
inc dword [eax + 0x374]
lea eax, [ecx*8]
sub eax, ecx
shl eax, 2
push eax
call dword [ebp - 0x158]
mov ecx, dword [ebp - 0x11c]
add esp, 4
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1ec], ecx
mov ecx, edi
mov dword [ebp - 0x1f0], edi
shl ecx, 4
push ecx
push 0
push dword [ebp - 0x15c]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
push 0
push dword [ebp - 0x13c]
call sub.VCRUNTIME140.dll_memset
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x138], eax
jle 0x10022578
mov edi, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x138]
add edi, 0xa8
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x124], edi
jmp 0x100220a6
mov esi, dword [ebp - 0x140]
cmp dword [edi], 0
mov edx, eax
mov dword [ebp - 0x11c], edx
je 0x1002254a
mov ecx, edx
mov dword [ebp - 0x128], edx
cmp dword [ebp - 0x120], edx
jl 0x100220e7
push 0x4fc
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.i___Size
call esi
mov ecx, dword [ebp - 0x11c]
add esp, 0xc
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x120]
mov eax, edx
shl eax, 4
add eax, dword [ebp - 0x15c]
mov dword [edi - 0x14], eax
cmp dword [ebp - 0x134], ecx
jl 0x1002211d
push 0x4fc
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.i___Size
call esi
mov edx, dword [ebp - 0x120]
add esp, 0xc
mov ecx, dword [ebp - 0x134]
mov esi, dword [ebp - 0x13c]
add edx, dword [edi]
mov dword [ebp - 0x120], edx
lea eax, [ecx*8]
sub eax, ecx
add ecx, dword [edi]
mov dword [ebp - 0x134], ecx
mov ecx, dword [ebp - 0x150]
lea eax, [esi + eax*4]
mov esi, dword [ebp - 0x140]
mov dword [edi - 0x10], eax
mov eax, dword [ebp - 0x130]
cmp ecx, dword [eax + 0x4c]
jl 0x10022179
push 0x4fc
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.i___Size
call esi
mov eax, dword [ebp - 0x130]
add esp, 0xc
mov esi, dword [eax + 0x54]
add esi, dword [ebp - 0x144]
mov dword [ebp - 0x1d0], esi
mov eax, dword [esi + 0x10]
mov dword [edi - 0x2c], eax
mov eax, dword [edi + 0x18]
mov dword [edi - 0x24], eax
mov eax, dword [edi + 0x10]
mov dword [edi - 0x20], eax
mov eax, dword [edi - 0x10]
mov dword [edi - 0x28], 0
mov dword [edi - 0x1c], eax
mov al, byte [esi + 0x14]
mov byte [edi - 0x18], al
mov al, byte [esi + 0x18]
mov byte [edi - 0x17], al
movss xmm1, dword [esi + 0x10]
comiss xmm1, dword [0x10062ec4]
jbe 0x1002221f
mov eax, dword [edi - 0x8c]
mov edi, dword [edi - 0xa4]
movzx edx, byte [eax + edi + 7]
movzx ecx, byte [eax + edi + 6]
mov eax, pe_nt_image_headers32
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
mov ecx, dword [ebp - 0x124]
movsx esi, dx
mov eax, dword [ecx - 0x8c]
movzx edx, byte [eax + edi + 5]
movzx ecx, byte [eax + edi + 4]
mov eax, pe_nt_image_headers32
mov edi, dword [ebp - 0x124]
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movsx eax, dx
sub eax, esi
movd xmm0, eax
jmp 0x10022245
mov ecx, dword [edi - 0x94]
mov eax, dword [edi - 0xa4]
xorps xmm1, xmmword [0x100631e0]
movzx edx, byte [ecx + eax + 0x13]
movzx eax, byte [ecx + eax + 0x12]
shl eax, 8
add edx, eax
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x130]
xor ecx, ecx
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x124], ecx
mov esi, dword [eax + 0x10]
divss xmm1, xmm0
movss dword [ebp - 0x190], xmm1
test edx, edx
jle 0x1002253e
movzx eax, si
mov esi, eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x18c], esi
mov dword [ebp - 0x164], eax
nop word [eax + eax]
mov esi, dword [ebp - 0x140]
cmp ecx, edx
jl 0x100222b4
push 0x4fc
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.i___Size
call esi
mov ecx, dword [ebp - 0x124]
add esp, 0xc
mov edx, dword [edi + 0x18]
mov edx, dword [edx + ecx*4]
lea ecx, [edi - 0xa8]
call fcn.10018430
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x100222e9
push 0x7e1
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_draw.cpp
push str.glyph_index_in_font___0
call esi
mov eax, dword [ebp - 0x16c]
add esp, 0xc
mov esi, dword [ebp - 0x1d0]
lea ecx, [ebp - 0x1d4]
push ecx
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x17c], 0
push ecx
movd xmm1, dword [esi + 0x14]
lea ecx, [ebp - 0x174]
cvtdq2ps xmm1, xmm1
push ecx
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x174], 0
push ecx
mov edx, eax
lea ecx, [edi - 0xa8]
mulss xmm1, dword [ebp - 0x190]
movss dword [ebp - 0x184], xmm1
movd xmm1, dword [esi + 0x18]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [ebp - 0x190]
movss dword [ebp - 0x16c], xmm1
call fcn.100188b0
add esp, 0x10
test eax, eax
jne 0x10022376
mov dword [ebp - 0x17c], eax
xor edx, edx
mov dword [ebp - 0x16c], eax
jmp 0x100224c6
xorps xmm0, xmm0
sub esp, 8
cvtsi2ss xmm0, dword [ebp - 0x17c]
mulss xmm0, dword [ebp - 0x184]
addss xmm0, dword [0x10062ec4]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x198], xmm0
fld qword [ebp - 0x198]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp qword [ebp - 0x198]
movsd xmm0, qword [ebp - 0x198]
xorps xmm1, xmm1
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [ebp - 0x1d4]
mov dword [ebp - 0x194], eax
mulss xmm0, dword [ebp - 0x16c]
subss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [ebp - 0x180], xmm0
fld qword [ebp - 0x180]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp qword [ebp - 0x180]
movsd xmm0, qword [ebp - 0x180]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [ebp - 0x1d8]
mov dword [ebp - 0x17c], eax
mulss xmm0, dword [ebp - 0x184]
addss xmm0, dword [0x10062ec4]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x188], xmm0
fld qword [ebp - 0x188]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x188]
movsd xmm0, qword [ebp - 0x188]
xorps xmm1, xmm1
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [ebp - 0x174]
mov dword [ebp - 0x184], eax
mulss xmm0, dword [ebp - 0x16c]
subss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [ebp - 0x170], xmm0
fld qword [ebp - 0x170]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
mov edx, dword [ebp - 0x184]
add esp, 8
fstp qword [ebp - 0x170]
movsd xmm0, qword [ebp - 0x170]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x194]
mov cx, word [esi + 0x14]
dec dx
sub cx, ax
mov eax, dword [edi - 0x14]
add cx, word [ebp - 0x18c]
add cx, dx
mov edx, dword [ebp - 0x11c]
mov word [eax + edx + 4], cx
mov ecx, dword [ebp - 0x164]
sub ecx, dword [ebp - 0x17c]
add ecx, dword [ebp - 0x16c]
mov eax, dword [edi - 0x14]
dec cx
add cx, word [esi + 0x18]
mov word [eax + edx + 6], cx
mov eax, dword [edi - 0x14]
movzx ecx, word [eax + edx + 6]
movzx eax, word [eax + edx + 4]
add edx, 0x10
imul ecx, eax
mov dword [ebp - 0x11c], edx
mov edx, dword [edi + 0x10]
add dword [ebp - 0x12c], ecx
mov ecx, dword [ebp - 0x124]
inc ecx
mov dword [ebp - 0x124], ecx
cmp ecx, edx
jl 0x10022290
mov ecx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x128]
mov edx, dword [ebp - 0x150]
add edi, 0xc4
add dword [ebp - 0x144], 0x78
inc edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x124], edi
cmp edx, ecx
jl 0x100220a0
mov eax, dword [ebp - 0x12c]
movd xmm0, eax
xorps xmm1, xmm1
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x10022591
sqrtsd xmm0, xmm0
jmp 0x10022596
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
mov edi, dword [ebp - 0x130]
cvtsd2ss xmm0, xmm0
mov eax, dword [edi + 0xc]
mov dword [edi + 0x20], 0
cvttss2si ecx, xmm0
inc ecx
test eax, eax
jg 0x100225ee
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x10063048]
jb 0x100225ca
mov eax, 0x1000
jmp 0x100225ee
comiss xmm0, dword [0x10063044]
jb 0x100225da
mov eax, 0x800
jmp 0x100225ee
comiss xmm0, dword [0x10063038]
mov eax, 0x200
mov ecx, 0x400
cmovae eax, ecx
mov ecx, edi
push 0x2c
push 0
mov dword [ecx + 0x1c], eax
lea eax, [ebp - 0x21c]
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi + 0x10]
add esp, 0xc
mov dword [ebp - 0x16c], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x11c], eax
mov eax, dword [0x1006ee70]
test eax, eax
je 0x10022627
inc dword [eax + 0x374]
push 0x30
call dword [ebp - 0x158]
mov ecx, dword [0x1006ee70]
mov esi, eax
mov eax, dword [ebp - 0x11c]
add esp, 4
sub eax, dword [ebp - 0x16c]
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x164], eax
test ecx, ecx
je 0x1002265c
inc dword [ecx + 0x374]
shl eax, 3
push eax
call dword [ebp - 0x158]
add esp, 4
test esi, esi
je 0x100226e7
test eax, eax
je 0x100226d5
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x20c], edx
mov edx, dword [ebp - 0x164]
push edx
push eax
mov dword [ebp - 0x1f4], eax
mov eax, 0x8000
sub eax, ecx
mov dword [ebp - 0x208], ecx
push eax
mov ecx, esi
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x200], 1
mov dword [ebp - 0x1fc], 1
mov dword [ebp - 0x204], 0
call fcn.10016bd0
add esp, 0xc
jmp 0x10022711
mov eax, dword [0x1006ee70]
test eax, eax
je 0x100226e4
dec dword [eax + 0x374]
push esi
jmp 0x100226fc
test eax, eax
je 0x10022705
mov ecx, dword [0x1006ee70]
test ecx, ecx
je 0x100226fb
dec dword [ecx + 0x374]
push eax
call dword [ebp - 0x154]
add esp, 4
mov esi, dword [ebp - 0x218]
mov dword [ebp - 0x120], esi
mov edx, esi
mov ecx, edi
call fcn.10023090
mov ecx, dword [ebp - 0x138]
xor eax, eax
mov dword [ebp - 0x124], eax
test ecx, ecx
jle 0x100227d7
mov esi, dword [ebp - 0x160]
add esi, 0xa8
cmp eax, ecx
jl 0x1002275e
push 0x4fc
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.i___Size
call dword [ebp - 0x140]
mov eax, dword [ebp - 0x124]
add esp, 0xc
mov ecx, dword [esi]
test ecx, ecx
je 0x100227b4
mov edx, dword [esi - 0x14]
push ecx
mov ecx, dword [ebp - 0x120]
call fcn.100171e0
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x100227ae
xor edx, edx
nop
mov eax, dword [esi - 0x14]
cmp dword [edx + eax + 0xc], 0
je 0x100227a6
movzx ecx, word [edx + eax + 0xa]
movzx eax, word [edx + eax + 6]
add ecx, eax
mov eax, dword [ebp - 0x130]
cmp dword [eax + 0x20], ecx
cmovge ecx, dword [eax + 0x20]
mov dword [eax + 0x20], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x10022780
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x138]
inc eax
add esi, 0xc4
mov dword [ebp - 0x124], eax
cmp eax, ecx
jl 0x1002275e
mov edi, dword [ebp - 0x130]
mov esi, dword [ebp - 0x120]
test byte [edi + 4], 1
mov eax, dword [edi + 0x20]
jne 0x10022805
lea ecx, [eax - 1]
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, ecx
sar eax, 0x10
or eax, ecx
mov ecx, dword [edi + 0x1c]
inc eax
movss xmm1, dword [0x10062f60]
movaps xmm2, xmm1
mov dword [edi + 0x20], eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [0x1006ee70]
movss dword [edi + 0x24], xmm2
divss xmm1, xmm0
movss dword [edi + 0x28], xmm1
test eax, eax
je 0x10022849
inc dword [eax + 0x374]
push ecx
call dword [ebp - 0x158]
mov ecx, dword [edi + 0x20]
add esp, 4
imul ecx, dword [edi + 0x1c]
mov dword [edi + 0x14], eax
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi + 0x14]
add esp, 0xc
mov dword [ebp - 0x1f8], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x210], eax
xor eax, eax
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x138], eax
jle 0x10022abe
mov ecx, dword [ebp - 0x160]
xor edx, edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x128], ecx
mov esi, dword [ebp - 0x140]
cmp eax, dword [edi + 0x4c]
jl 0x100228ce
push 0x4fc
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.i___Size
call esi
mov ecx, dword [ebp - 0x128]
add esp, 0xc
mov edx, dword [ebp - 0x120]
mov eax, dword [edi + 0x54]
add eax, edx
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x138]
cmp dword [ebp - 0x134], eax
jl 0x10022907
push 0x4fc
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.i___Size
call esi
mov ecx, dword [ebp - 0x128]
add esp, 0xc
mov edx, dword [ebp - 0x120]
cmp dword [ecx + 0xa8], 0
je 0x10022a8a
push dword [ecx + 0x94]
lea eax, [ecx + 0x7c]
mov edx, ecx
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.1001cf70
mov eax, dword [ebp - 0x164]
add esp, 0xc
movss xmm1, dword [eax + 0x44]
ucomiss xmm1, dword [0x10062f60]
movss dword [ebp - 0x164], xmm1
lahf
test ah, 0x44
jnp 0x10022a74
xor esi, esi
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100631a0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.10055770
movss xmm1, dword [ebp - 0x164]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + esi - 0x118], dl
inc esi
cmp esi, 0x100
jb 0x10022955
mov ecx, dword [ebp - 0x128]
xor eax, eax
mov dword [ebp - 0x144], eax
mov edx, dword [ecx + 0x94]
cmp dword [ecx + 0xa8], eax
jle 0x10022a7a
lea ecx, [edx + 6]
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x150], ecx
nop dword [eax]
cmp dword [ecx + 6], 0
je 0x10022a58
mov eax, dword [edi + 0x1c]
movzx edx, word [ecx + 4]
movzx edi, word [ecx]
movzx esi, word [ecx - 2]
mov dword [ebp - 0x12c], eax
movzx eax, word [ecx + 2]
imul edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x130]
add edx, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x150]
add edx, eax
test edi, edi
je 0x10022a46
mov eax, dword [ebp - 0x12c]
xor ecx, ecx
test esi, esi
je 0x10022a39
nop word [eax + eax]
movzx eax, byte [ecx + edx]
mov al, byte [ebp + eax - 0x118]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x10022a20
mov eax, dword [ebp - 0x12c]
dec edi
add edx, eax
test edi, edi
jg 0x10022a14
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x144]
mov edi, dword [ebp - 0x130]
inc eax
add ecx, 0x10
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x150], ecx
cmp eax, dword [edx + 0xa8]
jl 0x100229d0
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x120]
mov dword [ecx + 0x94], 0
mov eax, dword [ebp - 0x134]
add edx, 0x78
inc eax
mov dword [ebp - 0x120], edx
add ecx, 0xc4
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x128], ecx
cmp eax, dword [ebp - 0x138]
jl 0x100228a3
mov esi, dword [ebp - 0x218]
cmp dword [ebp - 0x1f4], 0
je 0x10022ad6
mov eax, dword [0x1006ee70]
test eax, eax
je 0x10022ad6
dec dword [eax + 0x374]
push dword [ebp - 0x1f4]
mov edi, dword [ebp - 0x154]
call edi
add esp, 4
test esi, esi
je 0x10022afa
mov eax, dword [0x1006ee70]
test eax, eax
je 0x10022afa
dec dword [eax + 0x374]
push esi
call edi
mov edx, dword [ebp - 0x15c]
add esp, 4
test edx, edx
je 0x10022b41
mov eax, dword [0x1006ee70]
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1cc], 0
test eax, eax
je 0x10022b2d
dec dword [eax + 0x374]
push edx
call edi
add esp, 4
xor edx, edx
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x1c4], edx
mov edx, dword [ebp - 0x138]
xor ecx, ecx
mov dword [ebp - 0x158], ecx
test edx, edx
jle 0x10022f3b
mov edi, dword [ebp - 0x160]
xor eax, eax
add edi, 4
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x150], edi
nop
mov esi, dword [ebp - 0x140]
cmp ecx, edx
jl 0x10022ba0
push 0x4fc
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.i___Size
call esi
mov ecx, dword [ebp - 0x158]
add esp, 0xc
mov eax, dword [ebp - 0x120]
mov edx, dword [ebp - 0x138]
cmp dword [edi + 0xa4], 0
je 0x10022f17
mov eax, dword [ebp - 0x130]
cmp ecx, dword [eax + 0x4c]
jl 0x10022bd2
push 0x4fc
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.i___Size
call esi
mov eax, dword [ebp - 0x130]
add esp, 0xc
mov eax, dword [eax + 0x54]
xorps xmm4, xmm4
add eax, dword [ebp - 0x120]
mov edx, dword [ebp - 0x150]
mov edi, dword [edi + 0x18]
mov dword [ebp - 0x124], eax
mov eax, dword [eax + 0x74]
mov edx, dword [edx]
mov dword [ebp - 0x12c], eax
mov eax, pe_nt_image_headers32
cwde
movzx ecx, byte [edi + edx + 4]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + edx + 5]
add cx, ax
mov eax, pe_nt_image_headers32
movsx esi, cx
movzx ecx, byte [edi + edx + 6]
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + edx + 7]
mov edx, dword [ebp - 0x124]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
add cx, ax
mov eax, esi
movsx ecx, cx
sub eax, ecx
movss xmm3, dword [edx + 0x10]
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm4
divss xmm3, xmm0
seta al
lea eax, [eax*2 - 1]
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm1, xmm0
cvttss2si esi, xmm1
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mov ecx, dword [ebp - 0x12c]
comiss xmm1, xmm4
mulss xmm3, xmm1
seta al
cmp byte [edx + 0x3c], 0
lea eax, [eax*2 - 1]
movd xmm0, eax
lea eax, [ecx + 0x4c]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x164], eax
addss xmm0, xmm3
cvttss2si edi, xmm0
jne 0x10022cf4
call fcn.100239a0
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ebp - 0x124]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x130]
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0x164]
mov dword [ecx + 0x3c], edx
movss dword [eax], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x50], xmm0
movss xmm0, dword [eax]
movss xmm2, dword [0x10062f2c]
inc word [ecx + 0x40]
addss xmm0, xmm2
mov edi, dword [ebp - 0x150]
movss xmm1, dword [edx + 0x28]
movss dword [ebp - 0x11c], xmm1
cvttss2si eax, xmm0
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x144], eax
addss xmm0, dword [edx + 0x2c]
movss dword [ebp - 0x164], xmm0
cmp dword [edi + 0xa4], eax
jle 0x10022f05
xor esi, esi
nop dword [eax]
cmp eax, dword [edi + 0xb4]
jl 0x10022d86
push 0x4fc
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.i___Size
call dword [ebp - 0x140]
movss xmm1, dword [ebp - 0x11c]
add esp, 0xc
movss xmm2, dword [0x10062f2c]
mov edx, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x144]
mov eax, dword [edi + 0xbc]
movss xmm7, dword [edx + 0x34]
mov eax, dword [eax + ecx*4]
mov ecx, dword [edi + 0x94]
mov dword [ebp - 0x18c], eax
movss xmm0, dword [ecx + esi + 0x10]
comiss xmm7, xmm0
ja 0x10022dba
movss xmm7, dword [edx + 0x38]
minss xmm7, xmm0
ucomiss xmm0, xmm7
movaps xmm6, xmm1
lahf
test ah, 0x44
jnp 0x10022de6
cmp byte [edx + 0x1c], 0
movaps xmm6, xmm7
subss xmm6, xmm0
mulss xmm6, xmm2
je 0x10022de2
cvttss2si eax, xmm6
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm6, xmm1
mov eax, dword [ebp - 0x130]
sub esp, 0x1c
movss xmm2, dword [0x10062f60]
movss xmm3, dword [0x10062f60]
movd xmm0, dword [eax + 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x18], xmm7
divss xmm2, xmm0
movd xmm0, dword [eax + 0x20]
movzx eax, word [ecx + esi]
cvtdq2ps xmm0, xmm0
movd xmm5, eax
movzx eax, word [ecx + esi + 2]
divss xmm3, xmm0
movd xmm4, eax
movzx eax, word [ecx + esi + 4]
cvtdq2ps xmm4, xmm4
movd xmm1, eax
movzx eax, word [ecx + esi + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm4, xmm3
mulss xmm0, xmm3
movss xmm3, dword [ecx + esi + 0xc]
mulss xmm1, xmm2
movss dword [esp + 0x14], xmm0
movss xmm0, dword [ecx + esi + 0x18]
movss dword [esp + 0x10], xmm1
movss dword [esp + 0xc], xmm4
xorps xmm4, xmm4
addss xmm0, xmm4
cvtdq2ps xmm5, xmm5
addss xmm0, dword [ebp - 0x164]
mulss xmm5, xmm2
addss xmm3, xmm4
movss xmm2, dword [ecx + esi + 8]
addss xmm2, xmm4
movss dword [esp + 8], xmm5
addss xmm3, dword [ebp - 0x164]
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx + esi + 0x14]
mov ecx, dword [ebp - 0x12c]
addss xmm0, xmm4
addss xmm2, xmm6
addss xmm0, xmm6
movss dword [esp], xmm0
push dword [ebp - 0x18c]
call fcn.10023f30
mov eax, dword [ebp - 0x144]
add esi, 0x1c
movss xmm1, dword [ebp - 0x11c]
inc eax
movss xmm2, dword [0x10062f2c]
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x144], eax
cmp eax, dword [edi + 0xa4]
jl 0x10022d50
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x158]
inc ecx
add edi, 0xc4
add eax, 0x78
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x120], eax
cmp ecx, edx
jl 0x10022b70
xor esi, esi
test edx, edx
jle 0x10022fbd
mov edi, dword [ebp - 0x160]
add edi, 0xb4
cmp esi, edx
jl 0x10022f69
push 0x4fc
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.i___Size
call dword [ebp - 0x140]
add esp, 0xc
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x10022f89
mov eax, dword [0x1006ee70]
test eax, eax
je 0x10022f7f
dec dword [eax + 0x374]
push ecx
call dword [ebp - 0x154]
add esp, 4
mov ecx, dword [edi]
test ecx, ecx
je 0x10022fa8
mov eax, dword [0x1006ee70]
test eax, eax
je 0x10022f9e
dec dword [eax + 0x374]
push ecx
call dword [ebp - 0x154]
add esp, 4
mov byte [ebp - 4], 7
inc esi
mov edx, dword [ebp - 0x138]
add edi, 0xc4
cmp esi, edx
jl 0x10022f69
mov ecx, dword [ebp - 0x130]
call fcn.100235e0
mov byte [ebp - 0x145], 1
mov ecx, dword [ebp - 0x13c]
test ecx, ecx
je 0x10022ff6
mov eax, dword [0x1006ee70]
test eax, eax
je 0x10022fe8
dec dword [eax + 0x374]
mov esi, dword [ebp - 0x154]
push ecx
call esi
add esp, 4
jmp 0x10022ffc
mov esi, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x15c]
test ecx, ecx
je 0x1002301b
mov eax, dword [0x1006ee70]
test eax, eax
je 0x10023015
dec dword [eax + 0x374]
push ecx
call esi
add esp, 4
mov edi, dword [ebp - 0x14c]
test edi, edi
je 0x10023042
mov eax, dword [0x1006ee70]
test eax, eax
je 0x10023034
dec dword [eax + 0x374]
mov esi, dword [ebp - 0x154]
push edi
call esi
add esp, 4
jmp 0x10023048
mov esi, dword [ebp - 0x154]
mov eax, dword [ebp - 0x160]
test eax, eax
je 0x10023068
mov ecx, dword [0x1006ee70]
test ecx, ecx
je 0x10023062
dec dword [ecx + 0x374]
push eax
call esi
add esp, 4
mov al, byte [ebp - 0x145]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1005465b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret