Function at 0x1002be90
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 0x1006da31
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x210
mov eax, dword [0x10084040]
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 0x1002beff
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 0x1002bf71
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 0x1002bf65
mov dword [ebp - 0x1b0], 0x20002
call fcn.1002fa60
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.1002b320
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 0x1002c05e
cmp edx, 8
mov ecx, edx
cmovl ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x11c], ecx
test ecx, ecx
jle 0x1002c05e
mov eax, dword [0x10089f58]
test eax, eax
je 0x1002c02a
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 0x1002c0cd
cmp ecx, 8
mov eax, ecx
cmovl eax, dword [ebp - 0x12c]
mov dword [ebp - 0x11c], eax
test eax, eax
jle 0x1002c0cd
mov ecx, dword [0x10089f58]
test ecx, ecx
je 0x1002c097
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 0x1002c39a
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 0x1002c169
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 0x1002c188
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 0x1002c1a9
mov ecx, dword [ecx + 0x38]
test ecx, ecx
je 0x1002c1bd
cmp ecx, eax
je 0x1002c1bd
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 0x1002c237
mov edi, dword [ebp - 0x130]
cmp dword [eax - 4], 0xffffffff
jne 0x1002c231
cmp edx, ecx
jl 0x1002c209
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 0x1002c223
mov dword [eax - 4], edx
mov ecx, dword [edi + 0x34]
inc edx
mov dword [ebp - 0x12c], edx
cmp edx, ecx
jl 0x1002c1e5
mov edi, dword [ebp - 0x14c]
add eax, 0xffffff5c
mov dword [ebp - 0x13c], eax
cmp dword [eax + 0xa0], 0xffffffff
jne 0x1002c272
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 0x1002c42e
mov eax, dword [ebp - 0x120]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax]
call fcn.10022220
mov dword [ebp - 0x11c], eax
test eax, eax
jns 0x1002c2a6
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.10022520
add esp, 4
test eax, eax
je 0x1002c42e
mov eax, dword [ebp - 0x13c]
mov eax, dword [eax + 0xa0]
mov dword [ebp - 0x11c], eax
cmp eax, dword [ebp - 0x15c]
jl 0x1002c2f9
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, 0x10079cac
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 0x1002c34d
mov edi, eax
movzx eax, word [edx + 2]
test ax, ax
je 0x1002c341
mov ecx, eax
cmp dword [edi], ecx
cmovge ecx, dword [edi]
add edx, 4
mov dword [edi], ecx
cmp word [edx], 0
jne 0x1002c326
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 0x1002c141
xor eax, eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x138], eax
jle 0x1002c884
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 0x1002c3ff
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 0x1002c455
test eax, eax
je 0x1002c43a
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esi + 8]
jmp 0x1002c43f
mov byte [ebp - 0x145], 0
jmp 0x1002da1b
mov edx, 8
cmp edx, ecx
mov eax, ecx
lea ecx, [esi + 4]
cmovg eax, edx
push eax
call fcn.10020cc0
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 0x1002c500
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 0x1002c4dd
test edx, edx
je 0x1002c4b9
mov eax, edx
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [ebp - 0x11c]
jmp 0x1002c4be
mov edx, 8
cmp edx, ecx
mov eax, ecx
mov ecx, dword [ebp - 0x134]
cmovg eax, edx
push eax
call fcn.10020cc0
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 0x1002c66d
movzx ecx, word [eax + 2]
test cx, cx
je 0x1002c661
movzx edi, word [eax]
cmp edi, ecx
ja 0x1002c648
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 0x1002c577
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 0x1002c635
mov ecx, dword [ebp - 0x120]
mov edx, edi
lea ecx, [ecx - 0xa8]
call fcn.10022ac0
mov edx, dword [ebp - 0x124]
test eax, eax
je 0x1002c635
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 0x1002c5e6
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 0x1002c628
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 0x1002c530
mov eax, dword [ebp - 0x13c]
add eax, 4
mov dword [ebp - 0x13c], eax
cmp word [eax], 0
jne 0x1002c513
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 0x1002c3d0
mov esi, dword [ebp - 0x160]
mov dword [ebp - 0x13c], 0
add esi, 0xb8
mov edi, dword [esi - 0x10]
cmp edi, dword [esi + 4]
jle 0x1002c719
mov eax, dword [0x10089f58]
test eax, eax
je 0x1002c6bf
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 0x1002c713
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 0x1002c703
mov eax, dword [0x10089f58]
test eax, eax
je 0x1002c703
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 0x1002c803
xor ecx, ecx
mov dword [ebp - 0x134], ecx
nop
mov edi, dword [edx]
mov dword [ebp - 0x16c], edi
test edi, edi
je 0x1002c7e9
xor eax, eax
mov edx, 1
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x144], edx
test edx, edi
je 0x1002c7c9
mov edi, ecx
mov ecx, dword [esi + 4]
and edi, 0xffffffe0
add edi, eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x1002c7ad
lea edx, [eax + 1]
mov dword [ebp - 0x11c], edx
test ecx, ecx
je 0x1002c795
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x11c]
sar eax, 1
add eax, ecx
jmp 0x1002c79a
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10020cc0
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 0x1002c763
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 0x1002c740
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x1002c838
mov eax, dword [0x10089f58]
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
test eax, eax
je 0x1002c827
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 0x1002c857
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 0x1002c6a8
mov edi, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x140]
jmp 0x1002c88c
xor eax, eax
mov dword [ebp - 0x128], eax
xor ecx, ecx
mov dword [ebp - 0x12c], ecx
cmp dword [ebp - 0x15c], ecx
jle 0x1002c90c
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 0x1002c8ec
mov dword [eax - 4], 0
mov dword [eax - 8], 0
mov eax, dword [0x10089f58]
test eax, eax
je 0x1002c8d4
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 0x1002c8b1
mov edi, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x140]
test edi, edi
je 0x1002c94b
mov eax, dword [0x10089f58]
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1c0], 0
test eax, eax
je 0x1002c933
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 0x1002c9d1
cmp edi, edx
mov eax, edi
cmovl eax, edx
mov dword [ebp - 0x11c], eax
test eax, eax
jle 0x1002c9d1
mov ecx, dword [0x10089f58]
test ecx, ecx
je 0x1002c9a7
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 0x1002ca2a
cmp edi, 8
mov ecx, edi
cmovl ecx, edx
mov dword [ebp - 0x11c], ecx
test ecx, ecx
jle 0x1002ca2a
mov eax, dword [0x10089f58]
test eax, eax
je 0x1002c9fc
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 0x1002cf88
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 0x1002cab6
mov esi, dword [ebp - 0x140]
cmp dword [edi], 0
mov edx, eax
mov dword [ebp - 0x11c], edx
je 0x1002cf5a
mov ecx, edx
mov dword [ebp - 0x128], edx
cmp dword [ebp - 0x120], edx
jl 0x1002caf7
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 0x1002cb2d
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 0x1002cb89
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 [0x1007d148]
jbe 0x1002cc2f
mov eax, dword [edi - 0x8c]
mov edi, dword [edi - 0xa4]
movzx edx, byte [eax + edi + 7]
movzx ecx, byte [eax + edi + 6]
mov eax, 0x100
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, 0x100
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 0x1002cc55
mov ecx, dword [edi - 0x94]
mov eax, dword [edi - 0xa4]
xorps xmm1, xmmword [0x1007d610]
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 0x1002cf4e
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 0x1002ccc4
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.10022ac0
mov dword [ebp - 0x16c], eax
test eax, eax
jne 0x1002ccf9
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.10022f40
add esp, 0x10
test eax, eax
jne 0x1002cd86
mov dword [ebp - 0x17c], eax
xor edx, edx
mov dword [ebp - 0x16c], eax
jmp 0x1002ced6
xorps xmm0, xmm0
sub esp, 8
cvtsi2ss xmm0, dword [ebp - 0x17c]
mulss xmm0, dword [ebp - 0x184]
addss xmm0, dword [0x1007d148]
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 [0x1007d148]
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 0x1002cca0
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 0x1002cab0
mov eax, dword [ebp - 0x12c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
call fcn.10001cf0
mov edi, dword [ebp - 0x130]
cvttss2si ecx, xmm0
mov eax, dword [edi + 0xc]
mov dword [edi + 0x20], 0
inc ecx
test eax, eax
jg 0x1002cfe8
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1007d318]
jb 0x1002cfc4
mov eax, 0x1000
jmp 0x1002cfe8
comiss xmm0, dword [0x1007d314]
jb 0x1002cfd4
mov eax, 0x800
jmp 0x1002cfe8
comiss xmm0, dword [0x1007d308]
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 [0x10089f58]
test eax, eax
je 0x1002d021
inc dword [eax + 0x374]
push 0x30
call dword [ebp - 0x158]
mov ecx, dword [0x10089f58]
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 0x1002d056
inc dword [ecx + 0x374]
shl eax, 3
push eax
call dword [ebp - 0x158]
add esp, 4
test esi, esi
je 0x1002d0e1
test eax, eax
je 0x1002d0cf
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.10021260
add esp, 0xc
jmp 0x1002d10b
mov eax, dword [0x10089f58]
test eax, eax
je 0x1002d0de
dec dword [eax + 0x374]
push esi
jmp 0x1002d0f6
test eax, eax
je 0x1002d0ff
mov ecx, dword [0x10089f58]
test ecx, ecx
je 0x1002d0f5
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.1002da90
mov ecx, dword [ebp - 0x138]
xor eax, eax
mov dword [ebp - 0x124], eax
test ecx, ecx
jle 0x1002d1d7
mov esi, dword [ebp - 0x160]
add esi, 0xa8
cmp eax, ecx
jl 0x1002d158
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 0x1002d1b4
mov edx, dword [esi - 0x14]
push ecx
mov ecx, dword [ebp - 0x120]
call fcn.10021870
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x1002d1ae
xor edx, edx
nop dword [eax + eax]
mov eax, dword [esi - 0x14]
cmp dword [edx + eax + 0xc], 0
je 0x1002d1a6
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 0x1002d180
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x138]
inc eax
add esi, 0xc4
mov dword [ebp - 0x124], eax
cmp eax, ecx
jl 0x1002d158
mov edi, dword [ebp - 0x130]
mov esi, dword [ebp - 0x120]
test byte [edi + 4], 1
mov eax, dword [edi + 0x20]
jne 0x1002d205
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 [0x1007d1fc]
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 [0x10089f58]
movss dword [edi + 0x24], xmm2
divss xmm1, xmm0
movss dword [edi + 0x28], xmm1
test eax, eax
je 0x1002d249
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 0x1002d4be
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 0x1002d2ce
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 0x1002d307
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 0x1002d48a
push dword [ecx + 0x94]
lea eax, [ecx + 0x7c]
mov edx, ecx
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.10027440
mov eax, dword [ebp - 0x164]
add esp, 0xc
movss xmm1, dword [eax + 0x44]
ucomiss xmm1, dword [0x1007d1fc]
movss dword [ebp - 0x164], xmm1
lahf
test ah, 0x44
jnp 0x1002d474
xor esi, esi
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1007d5d0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.1006d310
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 0x1002d355
mov ecx, dword [ebp - 0x128]
xor eax, eax
mov dword [ebp - 0x144], eax
mov edx, dword [ecx + 0x94]
cmp dword [ecx + 0xa8], eax
jle 0x1002d47a
lea ecx, [edx + 6]
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x150], ecx
nop dword [eax]
cmp dword [ecx + 6], 0
je 0x1002d458
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 0x1002d446
mov eax, dword [ebp - 0x12c]
xor ecx, ecx
test esi, esi
je 0x1002d439
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 0x1002d420
mov eax, dword [ebp - 0x12c]
dec edi
add edx, eax
test edi, edi
jg 0x1002d414
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 0x1002d3d0
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 0x1002d2a3
mov esi, dword [ebp - 0x218]
cmp dword [ebp - 0x1f4], 0
je 0x1002d4d6
mov eax, dword [0x10089f58]
test eax, eax
je 0x1002d4d6
dec dword [eax + 0x374]
push dword [ebp - 0x1f4]
mov edi, dword [ebp - 0x154]
call edi
add esp, 4
test esi, esi
je 0x1002d4fa
mov eax, dword [0x10089f58]
test eax, eax
je 0x1002d4fa
dec dword [eax + 0x374]
push esi
call edi
mov edx, dword [ebp - 0x15c]
add esp, 4
test edx, edx
je 0x1002d541
mov eax, dword [0x10089f58]
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1cc], 0
test eax, eax
je 0x1002d52d
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 0x1002d931
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 0x1002d5a0
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 0x1002d90d
mov eax, dword [ebp - 0x130]
cmp ecx, dword [eax + 0x4c]
jl 0x1002d5d2
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 xmm3, xmm3
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, 0x100
cwde
movzx ecx, byte [edi + edx + 4]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + edx + 5]
add cx, ax
mov eax, 0x100
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 xmm1, esi
cvtdq2ps xmm1, xmm1
add cx, ax
mov eax, esi
movsx ecx, cx
sub eax, ecx
movss xmm2, dword [edx + 0x10]
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm3
divss xmm2, xmm0
seta al
lea eax, [eax*2 - 1]
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm2
addss xmm0, xmm1
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mov ecx, dword [ebp - 0x12c]
cvttss2si esi, xmm0
comiss xmm1, xmm3
mulss xmm1, xmm2
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, xmm1
cvttss2si edi, xmm0
jne 0x1002d6f1
call fcn.1002e3a0
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 [0x1007d1c4]
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 0x1002d8fb
xor esi, esi
cmp eax, dword [edi + 0xb4]
jl 0x1002d77c
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 [0x1007d1c4]
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 0x1002d7b0
movss xmm7, dword [edx + 0x38]
minss xmm7, xmm0
ucomiss xmm0, xmm7
movaps xmm6, xmm1
lahf
test ah, 0x44
jnp 0x1002d7dc
cmp byte [edx + 0x1c], 0
movaps xmm6, xmm7
subss xmm6, xmm0
mulss xmm6, xmm2
je 0x1002d7d8
cvttss2si eax, xmm6
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm6, xmm1
mov eax, dword [ebp - 0x130]
sub esp, 0x1c
movss xmm2, dword [0x1007d1fc]
movss xmm3, dword [0x1007d1fc]
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.1002e930
mov eax, dword [ebp - 0x144]
add esi, 0x1c
movss xmm1, dword [ebp - 0x11c]
inc eax
movss xmm2, dword [0x1007d1c4]
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x144], eax
cmp eax, dword [edi + 0xa4]
jl 0x1002d746
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 0x1002d570
xor esi, esi
test edx, edx
jle 0x1002d9b7
mov edi, dword [ebp - 0x160]
add edi, 0xb4
cmp esi, edx
jl 0x1002d963
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 0x1002d983
mov eax, dword [0x10089f58]
test eax, eax
je 0x1002d979
dec dword [eax + 0x374]
push ecx
call dword [ebp - 0x154]
add esp, 4
mov ecx, dword [edi]
test ecx, ecx
je 0x1002d9a2
mov eax, dword [0x10089f58]
test eax, eax
je 0x1002d998
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 0x1002d963
mov ecx, dword [ebp - 0x130]
call fcn.1002dfe0
mov byte [ebp - 0x145], 1
mov ecx, dword [ebp - 0x13c]
test ecx, ecx
je 0x1002d9f0
mov eax, dword [0x10089f58]
test eax, eax
je 0x1002d9e2
dec dword [eax + 0x374]
mov esi, dword [ebp - 0x154]
push ecx
call esi
add esp, 4
jmp 0x1002d9f6
mov esi, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x15c]
test ecx, ecx
je 0x1002da15
mov eax, dword [0x10089f58]
test eax, eax
je 0x1002da0f
dec dword [eax + 0x374]
push ecx
call esi
add esp, 4
mov edi, dword [ebp - 0x14c]
test edi, edi
je 0x1002da3c
mov eax, dword [0x10089f58]
test eax, eax
je 0x1002da2e
dec dword [eax + 0x374]
mov esi, dword [ebp - 0x154]
push edi
call esi
add esp, 4
jmp 0x1002da42
mov esi, dword [ebp - 0x154]
mov eax, dword [ebp - 0x160]
test eax, eax
je 0x1002da62
mov ecx, dword [0x10089f58]
test ecx, ecx
je 0x1002da5c
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.1006c1ab
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret