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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x178
mov eax, dword [0x10071040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x164], ecx
mov ecx, dword [0x10076e80]
mov dword [ebp - 0xd8], eax
push esi
push edi
mov eax, dword [ecx + 0x19d0]
mov edi, dword [ebx + 0x10]
mov byte [eax + 0x7c], 1
mov esi, dword [ecx + 0x19d0]
mov dword [ebp - 0xe8], esi
cmp byte [esi + 0x7f], 0
jne 0x1002dce2
mov ecx, dword [ebx + 0x14]
mov eax, ecx
mov edx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
and eax, 0x100080
cmp eax, 0x100080
jne 0x1002d944
push 0xd54
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_widgets.cpp
push str.___flags__ImGuiInputTextFlags_CallbackHistory____flags__ImGuiInputTextFlags_Multiline__
call edx
mov ecx, dword [ebx + 0x14]
add esp, 0xc
mov edx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, ecx
and eax, 0x440
cmp eax, 0x440
jne 0x1002d969
push 0xd55
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_widgets.cpp
push str.___flags__ImGuiInputTextFlags_CallbackCompletion____flags__ImGuiInputTextFlags_AllowTabInput__
call edx
mov ecx, dword [ebx + 0x14]
add esp, 0xc
mov eax, dword [0x10076e80]
mov dword [ebp - 0xc8], eax
mov eax, ecx
shr eax, 0x14
and eax, 0xffffff01
mov dword [ebp - 0xe4], eax
mov eax, ecx
shr eax, 0xe
and eax, 0xffffff01
mov dword [ebp - 0x100], eax
mov eax, ecx
shr eax, 0xf
and eax, 0xffffff01
mov dword [ebp - 0x150], eax
mov eax, ecx
shr eax, 0x10
not al
and eax, 0xffffff01
mov dword [ebp - 0x128], eax
mov eax, ecx
shr eax, 0x12
and al, 1
mov dword [ebp - 0x114], eax
je 0x1002d9dd
push 0xd62
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_widgets.cpp
push str.callback___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
cmp byte [ebp - 0xe4], 0
je 0x1002d9eb
call fcn.1000fdb0
push ecx
push dword [ebp - 0x164]
mov ecx, esi
call fcn.10006150
mov esi, dword [0x10076e80]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x164]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x1002da28
mov dl, byte [ecx]
test dl, dl
je 0x1002da28
cmp dl, 0x23
jne 0x1002da22
cmp byte [ecx + 1], dl
je 0x1002da28
inc ecx
cmp ecx, 0xffffffff
jb 0x1002da12
movss xmm0, dword [esi + 0x18e4]
cmp eax, ecx
jne 0x1002da41
xorps xmm2, xmm2
movss dword [ebp - 0x168], xmm2
jmp 0x1002da97
movss xmm3, dword [0x1006a760]
movaps xmm2, xmm0
push ecx
push ecx
push eax
push ecx
mov ecx, dword [esi + 0x18e0]
lea eax, [ebp - 0x134]
mov dword [esp], 0xbf800000
push eax
call fcn.100248e0
movss xmm0, dword [ebp - 0x134]
xorps xmm2, xmm2
addss xmm0, dword [0x1006a668]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x168], xmm0
movss xmm0, dword [ebp - 0x130]
movss xmm6, dword [edi]
movss xmm7, dword [edi + 4]
mov edx, dword [ebp - 0xe4]
mov edi, dword [ebp - 0xc8]
movss dword [ebp - 0x12c], xmm6
movss dword [ebp - 0x13c], xmm7
test dl, dl
je 0x1002dad0
movss xmm0, dword [edi + 0x18e4]
mulss xmm0, dword [0x1006a6ec]
test byte [esi + 0x1aa4], 1
movss xmm5, dword [edi + 0x154c]
mov ecx, dword [esi + 0x19d0]
movaps xmm3, xmm5
addss xmm3, xmm5
addss xmm3, xmm0
je 0x1002dafc
movss xmm0, dword [esi + 0x1aa8]
jmp 0x1002db04
movss xmm0, dword [ecx + 0x170]
comiss xmm2, xmm0
jbe 0x1002db3c
mov eax, ecx
cmp dword [eax + 0x1c0], 0
movss xmm1, dword [eax + 0x21c]
je 0x1002db24
movss xmm1, dword [eax + 0x1fc]
subss xmm1, dword [ecx + 0xc8]
addss xmm1, xmm0
movss xmm0, dword [0x1006a66c]
maxss xmm0, xmm1
comiss xmm2, xmm6
cvttss2si eax, xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
movd xmm4, eax
cvtdq2ps xmm4, xmm4
ja 0x1002db57
comiss xmm2, xmm7
jbe 0x1002db78
cmp dword [ecx + 0x1c0], 0
movss xmm0, dword [ecx + 0x21c]
movss xmm1, dword [ecx + 0x220]
je 0x1002db78
movss xmm0, dword [ecx + 0x1fc]
ucomiss xmm6, xmm2
movss xmm2, dword [0x1006a6dc]
lahf
test ah, 0x44
jp 0x1002db96
movaps xmm6, xmm4
movss dword [ebp - 0x12c], xmm6
jmp 0x1002dbc2
xorps xmm4, xmm4
comiss xmm4, xmm6
jbe 0x1002dbc2
subss xmm0, dword [ecx + 0xc8]
addss xmm6, xmm0
comiss xmm2, xmm6
movss dword [ebp - 0x12c], xmm6
jb 0x1002dbc2
movaps xmm6, xmm2
movss dword [ebp - 0x12c], xmm2
xorps xmm0, xmm0
ucomiss xmm7, xmm0
lahf
test ah, 0x44
jp 0x1002dbdb
movaps xmm7, xmm3
movss dword [ebp - 0x13c], xmm7
jmp 0x1002dc04
comiss xmm0, xmm7
jbe 0x1002dc04
subss xmm1, dword [ecx + 0xcc]
addss xmm7, xmm1
comiss xmm2, xmm7
movss dword [ebp - 0x13c], xmm7
jb 0x1002dc04
movaps xmm7, xmm2
movss dword [ebp - 0x13c], xmm2
movss xmm1, dword [ebp - 0x168]
comiss xmm1, xmm0
jbe 0x1002dc1e
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x1560]
jmp 0x1002dc21
xorps xmm2, xmm2
mov esi, dword [ebp - 0xe8]
movaps xmm0, xmm7
mov dword [ebp - 0x110], esi
movaps xmm1, xmm6
movss xmm4, dword [esi + 0xcc]
movss xmm3, dword [esi + 0xc8]
addss xmm0, xmm4
movss dword [ebp - 0x60], xmm3
addss xmm1, xmm3
movss dword [ebp - 0x5c], xmm4
movss dword [ebp - 0x40], xmm3
movss dword [ebp - 0x3c], xmm4
movss dword [ebp - 0x54], xmm0
movaps xmm0, xmm6
movss dword [ebp - 0x58], xmm1
addss xmm0, xmm2
movaps xmm1, xmm4
addss xmm1, xmm7
addss xmm0, xmm3
movss dword [ebp - 0x34], xmm1
movss dword [ebp - 0x38], xmm0
test dl, dl
je 0x1002dd6a
mov edx, dword [ebp - 0xe0]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x40]
call fcn.10006850
add esp, 4
test al, al
jne 0x1002dcf7
movss xmm0, dword [ebp - 0x38]
lea ecx, [ebp - 0x134]
subss xmm0, dword [ebp - 0x40]
movss xmm1, dword [edi + 0x154c]
movss dword [ebp - 0x134], xmm0
movss xmm0, dword [ebp - 0x34]
subss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x130], xmm0
call fcn.10006720
call fcn.1000fef0
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005ae5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movss xmm0, dword [ebp - 0x58]
lea edx, [ebp - 0x134]
subss xmm0, dword [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0xe0]
movss dword [ebp - 0x134], xmm0
movss xmm0, dword [ebp - 0x54]
subss xmm0, dword [ebp - 0x5c]
movss dword [ebp - 0x130], xmm0
call fcn.1000a010
add esp, 4
test al, al
jne 0x1002dd3b
call fcn.10009e20
jmp 0x1002dcdd
mov ecx, dword [edi + 0x19d0]
movss xmm0, dword [ebp - 0x12c]
mov dword [ebp - 0x110], ecx
subss xmm0, dword [ecx + 0x70]
mov eax, dword [ecx + 0x134]
or dword [ecx + 0x13c], eax
movss dword [ebp - 0x12c], xmm0
jmp 0x1002ddad
subss xmm1, xmm4
subss xmm0, xmm3
lea ecx, [ebp - 0x134]
movss dword [ebp - 0x130], xmm1
movaps xmm1, xmm5
movss dword [ebp - 0x134], xmm0
call fcn.10006720
mov edx, dword [ebp - 0xe0]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x40]
call fcn.10006850
add esp, 4
test al, al
je 0x1002dce2
mov edx, dword [ebp - 0xe0]
lea ecx, [ebp - 0x60]
call fcn.10006b30
mov byte [ebp - 0xcc], al
test al, al
je 0x1002ddcf
mov dword [edi + 0x1d50], 1
mov eax, dword [ebp - 0xe0]
add edi, 0x1e20
xor ecx, ecx
mov edx, eax
cmp dword [edi], eax
cmovne edi, ecx
mov ecx, esi
mov dword [ebp - 0x10c], edi
call fcn.10006d90
mov edx, dword [ebp - 0xc8]
mov byte [ebp - 0xdc], al
test al, al
je 0x1002de77
cmp dword [edx + 0x1bfc], esi
jne 0x1002de77
mov ecx, dword [edx + 0x1c04]
cmp ecx, dword [esi + 0x164]
jne 0x1002de77
mov byte [ebp - 0xcb], 1
mov byte [ebp - 0xdb], 0
cmp byte [ebp - 0xcc], 0
je 0x1002de3e
cmp byte [edx + 0x3d8], 0
mov byte [ebp - 0xca], 1
jne 0x1002de45
mov byte [ebp - 0xca], 0
mov eax, dword [edx + 0x1a04]
mov ecx, dword [ebp - 0xe0]
cmp eax, ecx
je 0x1002de92
cmp dword [edx + 0x1b04], ecx
je 0x1002de6e
cmp dword [edx + 0x1af8], ecx
jne 0x1002de92
cmp dword [edx + 0x1b18], 3
jne 0x1002de92
mov byte [ebp - 0xc9], 1
jmp 0x1002de99
mov byte [ebp - 0xcb], 0
test al, al
je 0x1002de1e
mov byte [ebp - 0xdb], 1
mov byte [ebp - 0xcb], 0
jmp 0x1002de25
mov byte [ebp - 0xc9], 0
cmp byte [ebp - 0xe4], 0
je 0x1002df0d
test edi, edi
je 0x1002df0d
test eax, eax
jne 0x1002df0d
mov eax, dword [ebp - 0x110]
cmp dword [eax + 0xbc], 0
jg 0x1002ded7
push 0x506
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [ebp - 0x110]
add esp, 0xc
mov ecx, dword [eax + 0xbc]
xor edx, edx
mov eax, dword [eax + 0xc4]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.100037f0
mov edx, dword [ebp - 0xc8]
add esp, 4
cmp dword [edx + 0x1a38], eax
jne 0x1002df0d
mov byte [ebp - 0xc1], 1
jmp 0x1002df28
cmp byte [ebp - 0xe4], 0
mov byte [ebp - 0xc1], 0
je 0x1002df86
mov byte [ebp - 0xc1], 0
test edi, edi
je 0x1002df86
mov eax, dword [ebp - 0x110]
cmp dword [eax + 0xbc], 0
jg 0x1002df55
push 0x506
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [ebp - 0x110]
add esp, 0xc
mov ecx, dword [eax + 0xbc]
xor edx, edx
mov eax, dword [eax + 0xc4]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.100037f0
mov edx, dword [ebp - 0xc8]
add esp, 4
cmp dword [edx + 0x1a04], eax
jne 0x1002df86
mov al, 1
jmp 0x1002df88
xor al, al
mov ecx, dword [ebp - 0xe0]
cmp dword [edx + 0x1a04], ecx
mov cl, byte [ebp - 0xc9]
mov byte [ebp - 0xd9], al
mov byte [ebp - 0xed], 0
je 0x1002dfc3
test byte [ebx + 0x14], 0x10
jne 0x1002dfb3
test cl, cl
je 0x1002dfc3
cmp byte [ebp - 0xe4], 0
mov byte [ebp - 0x104], 1
je 0x1002dfca
mov byte [ebp - 0x104], 0
cmp byte [ebp - 0xdc], 0
jne 0x1002dffe
cmp byte [ebp - 0xca], 0
jne 0x1002dffe
cmp byte [ebp - 0xc1], 0
jne 0x1002dffe
test cl, cl
jne 0x1002dffe
mov byte [ebp - 0xc1], cl
test al, al
jne 0x1002e005
mov byte [ebp - 0xda], al
jmp 0x1002e271
mov byte [ebp - 0xc1], 1
mov eax, dword [ebp - 0xe0]
mov byte [ebp - 0xda], 1
mov dword [ebp - 0x10c], edi
cmp dword [edx + 0x1a04], eax
je 0x1002e34c
mov ecx, dword [ebp - 0xd8]
lea edi, [edx + 0x1e20]
mov dword [ebp - 0x10c], edi
mov dword [edi + 0xe60], 0xbe99999a
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002e043
mov eax, dword [edi + 0x28]
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, eax
jle 0x1002e080
test eax, eax
je 0x1002e069
cdq
sub eax, edx
lea edx, [edi + 0x24]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1002e071
mov ecx, 8
lea edx, [edi + 0x24]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10016d30
push esi
push dword [ebp - 0xd8]
mov dword [edi + 0x24], esi
push dword [edi + 0x2c]
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebx + 0xc]
lea eax, [edi + 0xc]
mov esi, dword [eax + 4]
inc edx
add esp, 0xc
mov dword [ebp - 0xec], edx
cmp edx, esi
jle 0x1002e0de
test esi, esi
je 0x1002e0c0
mov eax, esi
cdq
sub eax, edx
mov edx, dword [ebp - 0xec]
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x1002e0c5
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.10016da0
mov edx, dword [ebp - 0xec]
lea eax, [edi + 0xc]
mov dword [eax], edx
mov ecx, dword [edi + 0x1c]
test ecx, ecx
jns 0x1002e100
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 + 0x18]
call fcn.10016d30
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp - 0xd8]
dec ecx
mov dword [edi + 0x18], 0
mov edx, dword [edi + 0x14]
mov esi, edx
mov byte [edi + 0x30], 0
mov dword [ebp - 0xec], edx
lea ecx, [edx + ecx*2]
cmp edx, ecx
jae 0x1002e18b
mov edi, eax
nop dword [eax]
cmp byte [edi], 0
je 0x1002e179
push 0
mov edx, edi
lea ecx, [ebp - 0xfc]
call fcn.10003c00
add edi, eax
add esp, 4
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x1002e173
cmp eax, 0xffff
ja 0x1002e160
mov word [esi], ax
add esi, 2
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0xec]
dec eax
lea eax, [edx + eax*2]
cmp esi, eax
jb 0x1002e130
jmp 0x1002e179
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xf4], edi
mov edi, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xf4]
sub eax, dword [ebp - 0xd8]
xor ecx, ecx
mov word [esi], cx
sub esi, edx
sar esi, 1
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xe0]
mov dword [edi + 4], esi
cmp dword [edi], eax
jne 0x1002e1ce
cmp dword [edi + 0x3c], esi
mov ecx, esi
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], esi
mov dword [edi + 0x3c], ecx
mov ecx, esi
cmovl ecx, dword [edi + 0x40]
cmp dword [edi + 0x44], esi
mov dword [edi + 0x40], ecx
cmovl esi, dword [edi + 0x44]
mov dword [edi + 0x44], esi
jmp 0x1002e22f
mov dword [edi], eax
mov dword [edi + 0x38], ecx
mov dword [edi + 0xe58], ecx
mov dword [edi + 0x40], ecx
mov dword [edi + 0x44], ecx
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x50], ecx
mov ecx, dword [ebp - 0xe4]
mov al, cl
xor al, 1
mov dword [edi + 0xe52], 0x630000
mov dword [edi + 0xe5c], 0x3e7
mov dword [edi + 0x48], 0x10000
mov byte [edi + 0x4c], al
test cl, cl
jne 0x1002e235
mov ecx, dword [ebp - 0x104]
mov eax, 1
cmp byte [ebp - 0xcb], 0
movzx ecx, cl
cmovne ecx, eax
mov dword [ebp - 0x104], ecx
mov ecx, dword [ebp - 0xe4]
test dword [ebx + 0x14], 0x2000
je 0x1002e242
mov byte [edi + 0x48], 1
mov edx, dword [ebp - 0xc8]
test cl, cl
jne 0x1002e26b
cmp byte [ebp - 0xdb], cl
jne 0x1002e264
cmp byte [ebp - 0xca], cl
je 0x1002e26b
cmp byte [edx + 0x100], cl
je 0x1002e26b
mov byte [ebp - 0x104], 1
mov esi, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xe0]
cmp dword [edx + 0x1a04], eax
je 0x1002e34c
cmp byte [ebp - 0xc1], 0
je 0x1002e34c
test edi, edi
je 0x1002e29a
mov edx, eax
cmp dword [edi], edx
je 0x1002e2b2
push 0xdcc
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_widgets.cpp
push str.state__state__ID__id
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ecx, dword [ebp - 0xe0]
mov edx, esi
call fcn.10006560
call fcn.10006640
mov ecx, esi
call fcn.1000eea0
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x1a18]
or eax, 3
cmp byte [ebp - 0xe4], 0
mov dword [edx + 0x1a18], eax
jne 0x1002e2ef
test byte [ebx + 0x14], 0x80
je 0x1002e2f8
or eax, 0xc
mov dword [edx + 0x1a18], eax
mov eax, dword [edx + 0x1a20]
or dword [edx + 0x1a1c], 2
or eax, 0x180
cmp byte [ebp - 0xe4], 0
mov ecx, dword [edx + 0x1a24]
mov dword [edx + 0x1a20], eax
mov dword [edx + 0x1a24], ecx
je 0x1002e334
or eax, 0x60
mov dword [edx + 0x1a24], ecx
mov dword [edx + 0x1a20], eax
test dword [ebx + 0x14], 0x440
je 0x1002e34c
or eax, 1
mov dword [edx + 0x1a24], ecx
mov dword [edx + 0x1a20], eax
mov esi, dword [ebp - 0xe0]
cmp dword [edx + 0x1a04], esi
jne 0x1002e39b
test edi, edi
jne 0x1002e36d
xor edx, edx
xor ecx, ecx
call fcn.10006560
mov edx, dword [ebp - 0xc8]
cmp dword [edx + 0x1a04], esi
jne 0x1002e39b
cmp byte [edx + 0x3d8], 0
je 0x1002e3a8
cmp byte [ebp - 0xda], 0
jne 0x1002e3a8
cmp byte [ebp - 0xc1], 0
jne 0x1002e3a8
mov byte [ebp - 0xed], 1
mov cl, 1
jmp 0x1002e3ae
test edi, edi
je 0x1002e3ac
cmp byte [ebp - 0xd9], 0
je 0x1002e3ac
mov cl, 1
jmp 0x1002e3ae
xor cl, cl
mov byte [ebp - 0xca], cl
test edi, edi
je 0x1002e3cb
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1002e3cb
test cl, cl
je 0x1002e3cb
mov ecx, 1
jmp 0x1002e3cd
xor cl, cl
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x14c], ecx
mov byte [ebp - 0xdc], cl
mov byte [ebp - 0xda], 0
mov byte [ebp - 0xdb], 0
test al, al
je 0x1002e51f
test edi, edi
je 0x1002e51f
cmp byte [ebp - 0xca], 0
jne 0x1002e40e
test cl, cl
je 0x1002e52c
mov ecx, dword [ebx + 0xc]
mov eax, dword [edi + 0x10]
lea esi, [ecx + 1]
cmp esi, eax
jle 0x1002e448
test eax, eax
je 0x1002e42e
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1002e436
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10016da0
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp - 0xd8]
mov dword [edi + 0xc], esi
mov edx, dword [edi + 0x14]
mov esi, edx
mov dword [ebp - 0xec], edx
lea ecx, [edx + ecx*2]
cmp edx, ecx
jae 0x1002e4bf
mov edi, eax
cmp byte [edi], 0
je 0x1002e4ad
push 0
mov edx, edi
lea ecx, [ebp - 0xfc]
call fcn.10003c00
add edi, eax
add esp, 4
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x1002e4a7
cmp eax, 0xffff
ja 0x1002e495
mov word [esi], ax
add esi, 2
mov edx, dword [ebp - 0xec]
mov ecx, dword [ebx + 0xc]
lea eax, [edx + ecx*2]
cmp esi, eax
jb 0x1002e465
jmp 0x1002e4ad
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xf4], edi
mov edi, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xf4]
sub eax, dword [ebp - 0xd8]
xor ecx, ecx
mov word [esi], cx
sub esi, edx
mov edx, dword [ebp - 0xc8]
sar esi, 1
cmp dword [edi + 0x3c], esi
mov ecx, esi
mov dword [edi + 4], esi
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], esi
mov dword [edi + 0x3c], ecx
mov ecx, esi
cmovl ecx, dword [edi + 0x40]
cmp dword [edi + 0x44], esi
mov dword [edi + 8], eax
cmovl esi, dword [edi + 0x44]
movzx eax, byte [ebp - 0xdc]
cmp ecx, esi
mov dword [edi + 0x40], ecx
mov ecx, 0
cmovne ecx, eax
mov dword [edi + 0x44], esi
mov esi, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x14c], ecx
cmp byte [ebp - 0xca], 0
jne 0x1002e534
test cl, cl
jne 0x1002e534
cmp dword [edx + 0x1a04], esi
jne 0x1002e548
test al, al
jne 0x1002e548
test edi, edi
je 0x1002e548
mov byte [ebp - 0xdc], 1
cmp byte [edi + 0x30], al
jne 0x1002e54f
mov byte [ebp - 0xdc], 0
cmp byte [ebp - 0x150], 0
je 0x1002e62b
mov edx, dword [edx + 0x18e0]
cmp dword [edx + 0x14], 0x2a
jg 0x1002e56d
mov eax, dword [edx + 0x2c]
jmp 0x1002e58c
mov eax, dword [edx + 0x1c]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x1002e583
mov eax, dword [edx + 0x2c]
jmp 0x1002e58c
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x28]
lea eax, [eax + ecx*8]
mov esi, dword [ebp - 0xc8]
mov dword [ebp - 0xf4], eax
add esi, 0x2c94
mov eax, dword [edx + 0x10]
mov edx, dword [ebp - 0xc8]
cmp dword [esi + 0x20], 0
mov dword [esi + 0x10], eax
mov eax, dword [edx + 0x18e0]
mov eax, dword [eax + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edx + 0x18e0]
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ecx
mov eax, dword [edx + 0x18e0]
mov eax, dword [eax + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edx + 0x18e0]
mov eax, dword [eax + 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [edx + 0x18e0]
mov eax, dword [eax + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0xf4]
mov dword [esi + 0x2c], eax
mov eax, dword [eax + 4]
mov dword [esi + 0xc], eax
jne 0x1002e60c
cmp dword [esi], 0
jne 0x1002e60c
cmp dword [esi + 0x14], 0
je 0x1002e624
push 0xe09
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_widgets.cpp
push str.password_font__Glyphs.empty____password_font__IndexAdvanceX.empty____password_font__IndexLookup.empty__
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ecx, esi
call fcn.1000f4a0
mov esi, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x140], 0
cmp dword [esi + 0x1a04], eax
jne 0x1002eaa6
test edi, edi
jne 0x1002e669
push 0xe11
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_widgets.cpp
push str.state___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0x14]
mov dword [edi + 0xe68], edx
mov dword [edi + 0xe6c], 0
mov dword [edi + 0xe70], 0
mov dword [ebp - 0x140], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x34], eax
cmp byte [esi + 0xf0], 0
mov dword [esi + 0x2f9c], 1
sete al
cmp byte [ebp - 0xe4], 0
mov byte [esi + 0x1a11], al
movss xmm7, dword [esi + 0xe8]
subss xmm7, dword [ebp - 0x60]
subss xmm7, dword [esi + 0x1548]
addss xmm7, dword [edi + 0x38]
je 0x1002e6f2
mov eax, dword [ebp - 0x110]
movss xmm2, dword [esi + 0xec]
subss xmm2, dword [eax + 0xcc]
subss xmm2, dword [esi + 0x154c]
jmp 0x1002e702
movss xmm2, dword [esi + 0x18e4]
mulss xmm2, dword [0x1006a638]
cmp byte [ebp - 0x104], 0
mov al, byte [esi + 0xb1]
mov byte [ebp - 0xc1], al
jne 0x1002e87e
mov cl, byte [ebp - 0xcc]
test cl, cl
je 0x1002e735
test al, al
jne 0x1002e79a
cmp byte [esi + 0x3dd], al
jne 0x1002e87e
cmp byte [esi + 0x3d8], 0
je 0x1002e7f1
cmp byte [edi + 0xe65], 0
jne 0x1002e7f1
test cl, cl
je 0x1002e89f
cmp byte [edi + 0x4c], 0
je 0x1002e771
push 0
mov edx, edi
lea ecx, [ebp - 0x30]
call fcn.1002bcd0
movss xmm2, dword [ebp - 0x24]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.1002c0a0
mov edx, dword [ebx + 0x14]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov byte [edi + 0x4b], 0
mov dword [edi + 0xe60], 0xbe99999a
jmp 0x1002e899
cmp byte [esi + 0x3dd], 0
je 0x1002e735
push 0x20000c
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.1002c540
add esp, 4
mov byte [edi + 0xe64], 1
lea edx, [edi + 0x3c]
mov dword [edi + 0xe60], 0xbe99999a
mov ecx, edi
push 0x60000d
call fcn.1002c540
mov edx, dword [ebx + 0x14]
add esp, 4
mov byte [edi + 0xe64], 1
mov dword [edi + 0xe60], 0xbe99999a
jmp 0x1002e899
cmp byte [esi + 0xf0], 0
je 0x1002e89f
cmp byte [edi + 0xe65], 0
jne 0x1002e8a8
movss xmm0, dword [esi + 0x378]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002e830
movss xmm0, dword [esi + 0x37c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002e89f
cmp byte [edi + 0x4c], 0
je 0x1002e84a
push 0
mov edx, edi
lea ecx, [ebp - 0x30]
call fcn.1002bcd0
movss xmm2, dword [ebp - 0x24]
add esp, 4
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1002e858
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], eax
movaps xmm1, xmm7
mov ecx, edi
call fcn.1002c0a0
mov edx, dword [ebx + 0x14]
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0xe60], 0xbe99999a
mov byte [edi + 0xe64], 1
jmp 0x1002e899
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x4b], 0
mov byte [edi + 0xe65], 1
mov al, byte [ebp - 0xc1]
cmp byte [edi + 0xe65], 0
je 0x1002e8b8
cmp byte [esi + 0xf0], 0
jne 0x1002e8b8
mov byte [edi + 0xe65], 0
cmp byte [esi + 0x100], 0
je 0x1002e8ca
cmp byte [esi + 0x102], 0
je 0x1002e8d7
test al, al
je 0x1002e8e0
cmp byte [esi + 0x103], 0
je 0x1002e8e0
mov byte [ebp - 0xc2], 1
jmp 0x1002e8e7
mov byte [ebp - 0xc2], 0
test edx, 0x400
je 0x1002e999
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x1002e999
call fcn.10009a80
mov cl, byte [ebp - 0xc2]
mov edx, dword [ebp - 0x100]
test al, al
je 0x1002e9a5
test cl, cl
jne 0x1002e9a5
cmp byte [esi + 0x101], cl
jne 0x1002e9a5
test dl, dl
jne 0x1002e9a5
mov ecx, dword [esi + 0x1508]
mov eax, dword [esi + 0x1500]
lea edx, [ecx + eax*2]
cmp ecx, edx
jae 0x1002e953
mov ax, word [ecx]
add ecx, 2
cmp ax, 9
je 0x1002e999
cmp ecx, edx
jb 0x1002e943
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0xec]
sub esp, 8
mov dword [ebp - 0xec], 9
call fcn.1002d700
add esp, 8
test al, al
je 0x1002e999
push dword [ebp - 0xec]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.1002c540
add esp, 4
mov byte [edi + 0xe64], 1
mov dword [edi + 0xe60], 0xbe99999a
mov edx, dword [ebp - 0x100]
mov cl, byte [ebp - 0xc2]
mov eax, dword [esi + 0x1500]
test eax, eax
jle 0x1002eaa0
test cl, cl
jne 0x1002ea6a
test dl, dl
jne 0x1002ea6a
cmp byte [ebp - 0xc9], dl
jne 0x1002ea6a
xor esi, esi
cmp esi, eax
jl 0x1002e9ed
push 0x4fc
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0x1508]
movzx eax, word [eax + esi*2]
mov dword [ebp - 0xec], eax
cmp eax, 9
jne 0x1002ea17
mov eax, dword [ebp - 0xc8]
cmp byte [eax + 0x101], 0
jne 0x1002ea59
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0xec]
sub esp, 8
call fcn.1002d700
add esp, 8
test al, al
je 0x1002ea53
push dword [ebp - 0xec]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.1002c540
add esp, 4
mov byte [edi + 0xe64], 1
mov dword [edi + 0xe60], 0xbe99999a
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0x1500]
inc esi
cmp esi, eax
jl 0x1002e9ed
mov esi, dword [ebp - 0xc8]
mov ecx, dword [esi + 0x1504]
test ecx, ecx
jns 0x1002ea90
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, [esi + 0x1500]
call fcn.10016da0
mov dword [esi + 0x1500], 0
mov esi, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xe0]
mov byte [ebp - 0x11a], 0
cmp dword [esi + 0x1a04], eax
jne 0x1002f841
cmp byte [esi + 0x1a10], 0
jne 0x1002f63b
cmp byte [ebp - 0xed], 0
jne 0x1002f63b
test edi, edi
jne 0x1002eaef
push 0xe61
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_widgets.cpp
push str.state___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov cl, byte [esi + 0x101]
mov eax, 0x400000
xor esi, esi
test cl, cl
cmovne esi, eax
mov eax, dword [ebp - 0xc8]
mov dl, byte [eax + 0xb1]
mov byte [ebp - 0x11b], dl
test dl, dl
je 0x1002eb3e
cmp byte [eax + 0x103], 0
je 0x1002eb30
cmp byte [eax + 0x100], 0
jne 0x1002eb30
mov eax, 1
jmp 0x1002eb32
xor eax, eax
test eax, eax
je 0x1002eb61
mov eax, dword [ebp - 0xc8]
jmp 0x1002eb50
cmp byte [eax + 0x100], 0
je 0x1002eb61
cmp byte [eax + 0x103], 0
jne 0x1002eb61
cmp byte [eax + 0x102], 0
jne 0x1002eb61
test cl, cl
jne 0x1002eb61
mov ah, 1
jmp 0x1002eb63
xor ah, ah
mov byte [ebp - 0xc1], ah
test dl, dl
je 0x1002eba7
mov edi, dword [ebp - 0xc8]
cmp byte [edi + 0x103], 0
mov edi, dword [ebp - 0x10c]
je 0x1002eba7
test cl, cl
mov ecx, dword [ebp - 0xc8]
je 0x1002ebad
cmp byte [ecx + 0x100], 0
jne 0x1002ebad
cmp byte [ecx + 0x102], 0
jne 0x1002ebad
mov byte [ebp - 0xcc], 1
jmp 0x1002ebbc
mov ecx, dword [ebp - 0xc8]
mov byte [ebp - 0xcc], 0
test dl, dl
je 0x1002ec4e
cmp byte [ecx + 0x103], 0
mov dl, byte [ecx + 0x102]
mov byte [ebp - 0xcb], dl
je 0x1002ec5b
cmp byte [ecx + 0x100], 0
jne 0x1002ec5b
test dl, dl
jne 0x1002ec5b
mov cl, byte [ecx + 0x100]
mov byte [ebp - 0xc2], 1
mov edx, dword [ebp - 0xc8]
cmp byte [edx + 0x101], 0
mov byte [ebp - 0xc9], 0
je 0x1002ece0
mov byte [ebp - 0xc9], 0
test cl, cl
jne 0x1002ece0
mov byte [ebp - 0xc9], cl
cmp byte [edx + 0x102], cl
jne 0x1002ece0
mov byte [ebp - 0xc9], cl
cmp byte [edx + 0x103], cl
jne 0x1002ece0
mov byte [ebp - 0xd1], 1
mov byte [ebp - 0xc9], cl
jmp 0x1002ece7
mov dl, byte [ecx + 0x100]
mov byte [ebp - 0xcc], 0
mov cl, byte [ecx + 0x100]
mov al, dl
mov byte [ebp - 0xcb], al
mov byte [ebp - 0xc2], 0
test cl, cl
je 0x1002ebef
mov edx, dword [ebp - 0xc8]
mov byte [ebp - 0xcb], al
mov byte [ebp - 0xc2], 0
cmp byte [edx + 0x101], 0
jne 0x1002ebf5
cmp byte [edx + 0x102], 0
mov byte [ebp - 0xcb], al
mov byte [ebp - 0xc2], 0
jne 0x1002ebf5
cmp byte [edx + 0x103], 0
mov byte [ebp - 0xcb], al
mov byte [ebp - 0xc2], 0
jne 0x1002ebf5
mov byte [ebp - 0xc9], 1
mov byte [ebp - 0xcb], al
mov byte [ebp - 0xc2], 0
mov byte [ebp - 0xd1], 0
test ah, ah
je 0x1002ed03
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x80]
test ecx, ecx
js 0x1002ed03
call fcn.10009a80
test al, al
jne 0x1002ed21
cmp byte [ebp - 0xd1], 0
je 0x1002ed4d
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x1002ed4d
call fcn.10009a80
test al, al
je 0x1002ed4d
cmp byte [ebp - 0x100], 0
jne 0x1002ed4d
cmp byte [ebp - 0x150], 0
jne 0x1002ed4d
cmp byte [ebp - 0xe4], 0
je 0x1002ed44
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1002ed4d
mov byte [ebp - 0xd9], 1
jmp 0x1002ed54
mov byte [ebp - 0xd9], 0
cmp byte [ebp - 0xc1], 0
je 0x1002ed72
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x1002ed72
call fcn.10009a80
test al, al
jne 0x1002ed90
cmp byte [ebp - 0xc9], 0
je 0x1002edb3
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x1002edb3
call fcn.10009a80
test al, al
je 0x1002edb3
cmp byte [ebp - 0x150], 0
jne 0x1002edb3
cmp byte [ebp - 0xe4], 0
je 0x1002edaa
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1002edb3
mov byte [ebp - 0xc9], 1
jmp 0x1002edba
mov byte [ebp - 0xc9], 0
cmp byte [ebp - 0xc1], 0
je 0x1002edd8
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x1002edd8
call fcn.10009a80
test al, al
jne 0x1002edf6
cmp byte [ebp - 0xd1], 0
je 0x1002ee06
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x1002ee06
call fcn.10009a80
test al, al
je 0x1002ee06
cmp byte [ebp - 0x100], 0
mov byte [ebp - 0x119], 1
je 0x1002ee0d
mov byte [ebp - 0x119], 0
mov dl, byte [ebp - 0xc1]
test dl, dl
je 0x1002ee50
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x1002ee50
call fcn.10009a80
test al, al
je 0x1002ee4a
cmp byte [ebp - 0x100], 0
jne 0x1002ee4a
cmp byte [ebp - 0x128], 0
je 0x1002ee4a
mov byte [ebp - 0xd1], 1
jmp 0x1002ee5b
mov dl, byte [ebp - 0xc1]
mov byte [ebp - 0xd1], 0
test dl, dl
je 0x1002ee73
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x1002ee73
call fcn.10009a80
test al, al
jne 0x1002ee94
cmp byte [ebp - 0xcc], 0
je 0x1002eead
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x1002eead
call fcn.10009a80
test al, al
je 0x1002eead
cmp byte [ebp - 0x100], 0
jne 0x1002eead
cmp byte [ebp - 0x128], 0
mov byte [ebp - 0xcc], 1
jne 0x1002eeb4
mov byte [ebp - 0xcc], 0
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x38]
test ecx, ecx
js 0x1002ef0f
call fcn.10009a80
test al, al
je 0x1002ef0f
cmp byte [ebp - 0xc2], 0
je 0x1002eee9
mov eax, 0x200004
lea edx, [edi + 0x3c]
or esi, eax
mov ecx, edi
push esi
call fcn.1002c540
jmp 0x1002f5fe
cmp byte [ebp - 0xcb], 0
lea edx, [edi + 0x3c]
mov ecx, 0x20000c
mov eax, 0x200000
cmovne eax, ecx
mov ecx, edi
or esi, eax
push esi
call fcn.1002c540
jmp 0x1002f5fe
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
js 0x1002ef6a
call fcn.10009a80
test al, al
je 0x1002ef6a
cmp byte [ebp - 0xc2], 0
je 0x1002ef44
mov eax, 0x200005
lea edx, [edi + 0x3c]
or esi, eax
mov ecx, edi
push esi
call fcn.1002c540
jmp 0x1002f5fe
cmp byte [ebp - 0xcb], 0
lea edx, [edi + 0x3c]
mov ecx, 0x20000d
mov eax, 0x200001
cmovne eax, ecx
mov ecx, edi
or esi, eax
push esi
call fcn.1002c540
jmp 0x1002f5fe
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x1002efe5
call fcn.10009a80
test al, al
je 0x1002efe5
cmp byte [ebp - 0xe4], 0
je 0x1002efe5
mov eax, dword [ebp - 0xc8]
cmp byte [eax + 0x100], 0
je 0x1002efc5
mov ecx, dword [ebp - 0x110]
mov esi, eax
movss xmm0, dword [ecx + 0x54]
subss xmm0, dword [esi + 0x18e4]
mov dword [ecx + 0x6c], 0
maxss xmm0, dword [0x1006a5cc]
movss dword [ecx + 0x64], xmm0
jmp 0x1002f618
movzx eax, byte [ebp - 0xc2]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200002]
or eax, esi
push eax
call fcn.1002c540
jmp 0x1002f5fe
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x44]
test ecx, ecx
js 0x1002f068
call fcn.10009a80
test al, al
je 0x1002f068
cmp byte [ebp - 0xe4], 0
je 0x1002f068
mov eax, dword [ebp - 0xc8]
cmp byte [eax + 0x100], 0
je 0x1002f048
mov ecx, dword [ebp - 0x110]
mov esi, eax
mov eax, dword [0x10076e80]
movss xmm0, dword [esi + 0x18e4]
mov eax, dword [eax + 0x19d0]
addss xmm0, dword [ecx + 0x54]
minss xmm0, dword [eax + 0x5c]
mov dword [ecx + 0x6c], 0
movss dword [ecx + 0x64], xmm0
jmp 0x1002f618
movzx eax, byte [ebp - 0xc2]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200003]
or eax, esi
push eax
call fcn.1002c540
jmp 0x1002f5fe
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x50]
test ecx, ecx
js 0x1002f0aa
call fcn.10009a80
test al, al
je 0x1002f0aa
mov ecx, dword [ebp - 0xc8]
lea edx, [edi + 0x3c]
mov eax, esi
or esi, 0x200004
or eax, 0x200006
cmp byte [ecx + 0x100], 0
mov ecx, edi
cmovne esi, eax
push esi
call fcn.1002c540
jmp 0x1002f5fe
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x54]
test ecx, ecx
js 0x1002f0ec
call fcn.10009a80
test al, al
je 0x1002f0ec
mov ecx, dword [ebp - 0xc8]
lea edx, [edi + 0x3c]
mov eax, esi
or esi, 0x200005
or eax, 0x200007
cmp byte [ecx + 0x100], 0
mov ecx, edi
cmovne esi, eax
push esi
call fcn.1002c540
jmp 0x1002f5fe
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x1002f120
call fcn.10009a80
test al, al
je 0x1002f120
cmp byte [ebp - 0x100], 0
jne 0x1002f120
or esi, 0x200008
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.1002c540
jmp 0x1002f5fe
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x60]
test ecx, ecx
js 0x1002f1c1
call fcn.10009a80
test al, al
je 0x1002f1c1
cmp byte [ebp - 0x100], 0
jne 0x1002f1c1
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1002f1ab
cmp byte [ebp - 0xcb], 0
je 0x1002f15e
push 0x60000c
jmp 0x1002f18d
cmp byte [ebp - 0x11b], 0
je 0x1002f1ab
mov eax, dword [ebp - 0xc8]
cmp byte [eax + 0x103], 0
je 0x1002f1ab
cmp byte [eax + 0x102], 0
jne 0x1002f1ab
cmp byte [eax + 0x100], 0
jne 0x1002f1ab
push 0x600004
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.1002c540
mov dword [edi + 0xe60], 0xbe99999a
add esp, 4
mov byte [edi + 0xe64], 1
or esi, 0x200009
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.1002c540
jmp 0x1002f5fe
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x68]
test ecx, ecx
js 0x1002f1d6
call fcn.10009a80
test al, al
jne 0x1002f1f3
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x70]
test ecx, ecx
js 0x1002f28a
call fcn.10009a80
test al, al
je 0x1002f28a
mov edx, dword [ebx + 0x14]
mov eax, edx
mov esi, dword [ebp - 0xc8]
shr eax, 0xb
and al, 1
cmp byte [ebp - 0xe4], 0
je 0x1002f21a
mov cl, byte [esi + 0x100]
test al, al
je 0x1002f22d
test cl, cl
jne 0x1002f231
mov byte [ebp - 0xed], 1
mov byte [ebp - 0xdb], 1
jmp 0x1002f618
test cl, cl
jne 0x1002f21a
cmp byte [ebp - 0x100], 0
jne 0x1002f618
sub esp, 8
mov dword [ebp - 0xec], 0xa
lea ecx, [ebp - 0xec]
call fcn.1002d700
add esp, 8
test al, al
je 0x1002f618
push dword [ebp - 0xec]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.1002c540
add esp, 4
mov byte [edi + 0xe64], 1
mov dword [edi + 0xe60], 0xbe99999a
jmp 0x1002f618
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
js 0x1002f2b2
call fcn.10009a80
test al, al
je 0x1002f2b2
mov byte [ebp - 0x11a], 1
mov byte [ebp - 0xed], 1
jmp 0x1002f612
mov al, byte [ebp - 0xd1]
test al, al
jne 0x1002f5df
cmp byte [ebp - 0xcc], al
jne 0x1002f5df
cmp byte [ebp - 0xc1], al
je 0x1002f302
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x74]
test ecx, ecx
js 0x1002f302
call fcn.10009a80
test al, al
je 0x1002f302
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x4b], 0
jmp 0x1002f60b
mov al, byte [ebp - 0xd9]
test al, al
jne 0x1002f4c5
cmp byte [ebp - 0xc9], al
jne 0x1002f4c5
cmp byte [ebp - 0x119], al
je 0x1002f612
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0xd0]
test ecx, ecx
je 0x1002f34d
push dword [eax + 0xd8]
call ecx
mov esi, eax
add esp, 4
test esi, esi
jne 0x1002f352
jmp 0x1002f612
mov esi, 0x1005f81a
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002f357
mov eax, dword [0x10076e80]
sub ecx, edx
test eax, eax
je 0x1002f36f
inc dword [eax + 0x374]
lea eax, [ecx*2 + 2]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xe8], eax
cmp byte [esi], al
je 0x1002f3fa
xor edi, edi
push 0
mov edx, esi
lea ecx, [ebp - 0xf4]
call fcn.10003c00
add esp, 4
add esi, eax
cmp dword [ebp - 0xf4], 0
je 0x1002f3e2
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0xf4]
sub esp, 8
call fcn.1002d700
add esp, 8
test al, al
je 0x1002f3dd
mov ecx, dword [ebp - 0xd0]
mov ax, word [ebp - 0xf4]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x1002f396
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xe8], edi
mov edi, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xe8]
xor edx, edx
mov word [ecx + eax*2], dx
test eax, eax
jle 0x1002f4a3
mov edx, dword [edi + 0x44]
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 4]
cmp ecx, edx
je 0x1002f42e
cmp ecx, eax
jle 0x1002f41e
mov dword [edi + 0x40], eax
mov ecx, eax
cmp edx, eax
jle 0x1002f427
mov dword [edi + 0x44], eax
mov edx, eax
cmp ecx, edx
jne 0x1002f42e
mov dword [edi + 0x3c], ecx
cmp dword [edi + 0x3c], eax
jle 0x1002f436
mov dword [edi + 0x3c], eax
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.1002c4b0
push dword [ebp - 0xe8]
mov edx, dword [edi + 0x3c]
mov ecx, edi
push dword [ebp - 0xd0]
call fcn.1002bf10
add esp, 8
test al, al
je 0x1002f482
push dword [ebp - 0xe8]
mov edx, dword [edi + 0x3c]
lea ecx, [edi + 0x54]
push 0
call fcn.1002d370
mov eax, dword [ebp - 0xe8]
add esp, 8
add dword [edi + 0x3c], eax
mov byte [edi + 0x4b], 0
jmp 0x1002f496
movzx eax, word [edi + 0xe52]
test ax, ax
je 0x1002f496
dec eax
mov word [edi + 0xe52], ax
mov ecx, dword [ebp - 0xd0]
mov byte [edi + 0xe64], 1
test ecx, ecx
je 0x1002f4b6
mov eax, dword [0x10076e80]
test eax, eax
je 0x1002f4b6
dec dword [eax + 0x374]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x1002f612
mov esi, dword [ebp - 0xc8]
cmp dword [esi + 0xd4], 0
je 0x1002f5a0
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
cmp eax, ecx
je 0x1002f4ec
mov esi, ecx
cmovge ecx, eax
cmovl esi, eax
jmp 0x1002f4f1
mov ecx, dword [edi + 4]
xor esi, esi
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0x128], esi
lea edx, [eax + ecx*2]
lea ecx, [eax + esi*2]
call fcn.10003ec0
lea ecx, [eax + 1]
mov eax, dword [0x10076e80]
mov dword [ebp - 0xfc], ecx
test eax, eax
je 0x1002f523
inc dword [eax + 0x374]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, dword [edi + 0x14]
add esp, 4
mov ecx, dword [ebp - 0xec]
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0x144], eax
lea ecx, [esi + ecx*2]
push ecx
mov ecx, dword [ebp - 0x128]
lea ecx, [esi + ecx*2]
mov esi, eax
push ecx
mov ecx, esi
call fcn.10003d90
mov eax, dword [0x10076e80]
add esp, 8
mov ecx, dword [eax + 0xd4]
test ecx, ecx
je 0x1002f57c
push esi
push dword [eax + 0xd8]
call ecx
mov eax, dword [0x10076e80]
add esp, 8
test esi, esi
je 0x1002f58a
test eax, eax
je 0x1002f58a
dec dword [eax + 0x374]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov al, byte [ebp - 0xd9]
add esp, 4
mov esi, dword [ebp - 0xc8]
test al, al
je 0x1002f618
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1002f5c0
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x4b], 0
mov byte [edi + 0xe64], 1
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1002f612
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.1002c4b0
mov byte [edi + 0x4b], 0
jmp 0x1002f612
movzx eax, al
lea edx, [edi + 0x3c]
xor eax, 1
mov ecx, edi
add eax, 0x20000a
push eax
call fcn.1002c540
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0xe60], 0xbe99999a
add esp, 4
mov byte [edi + 0xe64], 1
mov esi, dword [ebp - 0xc8]
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1002f62d
cmp byte [ebp - 0xca], 0
je 0x1002f62d
mov al, 1
jmp 0x1002f62f
xor al, al
or byte [ebp - 0x14c], al
mov eax, dword [ebp - 0xe0]
cmp dword [esi + 0x1a04], eax
jne 0x1002f841
test edi, edi
jne 0x1002f663
push 0xed7
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_widgets.cpp
push str.state___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x104], 0
mov dword [ebp - 0xe8], eax
cmp byte [ebp - 0x11a], al
je 0x1002f921
cmp byte [ebp - 0x100], al
jne 0x1002f6cd
mov esi, dword [edi + 0x2c]
mov ecx, esi
mov eax, dword [ebp - 0xd8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1002f6b4
test dl, dl
je 0x1002f6b0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1002f6b4
add eax, 2
add ecx, 2
test dl, dl
jne 0x1002f694
xor eax, eax
jmp 0x1002f6b9
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002f6cd
mov eax, dword [edi + 0x24]
dec eax
mov dword [ebp - 0x104], esi
mov dword [ebp - 0xe8], eax
cmp byte [ebp - 0xdb], 0
je 0x1002f6e2
mov edx, dword [ebx + 0x14]
test dl, 0x20
jne 0x1002f924
mov esi, dword [ebp - 0xe8]
cmp dword [ebp - 0x104], 0
je 0x1002f817
test esi, esi
jns 0x1002f711
push 0xf43
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_widgets.cpp
push str.apply_new_text_length___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
cmp dword [ebp - 0x140], esi
je 0x1002f7d3
cmp byte [ebp - 0x114], 0
je 0x1002f7d3
mov eax, dword [ebx + 0x14]
xorps xmm0, xmm0
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xac], eax
lea eax, [esi + 1]
cmp dword [ebx + 0xc], eax
movlpd qword [ebp - 0xb4], xmm0
cmovge eax, dword [ebx + 0xc]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xc0]
push eax
xor eax, eax
movlpd qword [ebp - 0xa0], xmm0
movlpd qword [ebp - 0x98], xmm0
mov dword [ebp - 0xc0], 0x40000
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xb8], 0
call eax
mov ecx, dword [ebp - 0xa4]
add esp, 4
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xd8], edx
mov dword [ebx + 0xc], ecx
lea esi, [ecx - 1]
cmp dword [ebp - 0xa8], esi
cmovl esi, dword [ebp - 0xa8]
cmp esi, ecx
jle 0x1002f7dc
push 0xf51
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_widgets.cpp
push str.apply_new_text_length___buf_size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 0xd8]
lea eax, [esi + 1]
cmp eax, ecx
cmovl ecx, eax
mov dword [ebx + 0xc], ecx
cmp ecx, 1
jb 0x1002f810
jbe 0x1002f805
lea eax, [ecx - 1]
push eax
push dword [ebp - 0x104]
push edx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov ecx, dword [ebx + 0xc]
add esp, 0xc
mov eax, dword [ebp - 0xd8]
mov byte [ecx + eax - 1], 0
mov byte [ebp - 0xda], 1
mov esi, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xe0]
mov dword [edi + 0xe68], 0
mov dword [edi + 0xe6c], 0
mov dword [edi + 0xe70], 0
cmp byte [ebp - 0xed], 0
je 0x1002f85b
cmp dword [esi + 0x1a04], eax
jne 0x1002f85b
xor edx, edx
xor ecx, ecx
call fcn.10006560
mov edx, dword [ebp - 0xe4]
test dl, dl
jne 0x1002fe03
mov edx, dword [ebp - 0xe0]
lea ecx, [ebp - 0x60]
push 1
call fcn.100055f0
movss xmm1, dword [0x1006a66c]
add esp, 4
mov ecx, 9
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.100040a0
movss xmm2, dword [esi + 0x1550]
mov dl, 1
mov ecx, eax
call fcn.10004eb0
movss xmm0, dword [ebp - 0x60]
add esp, 0x10
movss xmm4, dword [ebp - 0x5c]
movaps xmm2, xmm0
movss xmm6, dword [ebp - 0x12c]
movaps xmm1, xmm4
addss xmm1, dword [ebp - 0x13c]
mov edx, dword [ebp - 0xe4]
addss xmm2, xmm6
movss dword [ebp - 0x50], xmm0
addss xmm0, dword [esi + 0x1548]
movss dword [ebp - 0x4c], xmm4
movss dword [ebp - 0x140], xmm1
movss dword [ebp - 0x144], xmm2
movss dword [ebp - 0x48], xmm2
movss dword [ebp - 0x38], xmm0
movaps xmm0, xmm4
addss xmm0, dword [esi + 0x154c]
movss dword [ebp - 0xf4], xmm2
movss dword [ebp - 0x34], xmm0
jmp 0x1002fe6c
mov edx, dword [ebx + 0x14]
cmp byte [ebp - 0x100], 0
jne 0x1002f989
mov eax, dword [edi + 0xc]
lea ecx, [edi + 0x18]
mov byte [edi + 0x30], 1
lea esi, [eax*4 + 1]
mov eax, dword [ecx + 4]
cmp esi, eax
jle 0x1002f972
test eax, eax
je 0x1002f958
cdq
sub eax, edx
lea edx, [edi + 0x18]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1002f960
mov ecx, 8
lea edx, [edi + 0x18]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10016d30
lea ecx, [edi + 0x18]
mov dword [ecx], esi
mov edx, esi
mov ecx, dword [edi + 0x20]
push 0
push dword [edi + 0x14]
call fcn.10003d90
mov edx, dword [ebx + 0x14]
add esp, 8
test edx, 0x1c0
je 0x1002fdb0
push 0xef7
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_widgets.cpp
push str.callback___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [ebx + 0x14]
add esp, 0xc
xor esi, esi
test dl, 0x40
je 0x1002f9d8
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x1002f9d8
call fcn.10009a80
mov edx, dword [ebx + 0x14]
test al, al
je 0x1002f9d8
mov esi, 0x40
xor eax, eax
jmp 0x1002fa36
test dl, dl
jns 0x1002fa20
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x1002f9fe
call fcn.10009a80
test al, al
je 0x1002f9fe
mov edx, dword [ebx + 0x14]
mov esi, 0x80
lea eax, [esi - 0x7d]
jmp 0x1002fa36
mov eax, dword [0x10076e80]
mov ecx, dword [eax + 0x44]
test ecx, ecx
js 0x1002fa20
call fcn.10009a80
test al, al
je 0x1002fa20
mov edx, dword [ebx + 0x14]
mov esi, 0x80
lea eax, [esi - 0x7c]
jmp 0x1002fa36
mov edx, dword [ebx + 0x14]
mov eax, pe_nt_image_headers32
test edx, 0x100
cmovne esi, eax
mov eax, 0x16
test esi, esi
je 0x1002fdb0
mov dword [ebp - 0x80], eax
xor ecx, ecx
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x7c], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x78], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x90], esi
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [edi + 0x3c]
mov word [ebp - 0x6f], cx
mov byte [ebp - 0x6d], cl
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x88], ecx
lea edx, [esi + eax*2]
mov byte [ebp - 0x70], cl
mov ecx, esi
mov dword [ebp - 0x84], 0
call fcn.10003ec0
mov ecx, dword [edi + 0x40]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x6c], eax
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.10003ec0
mov ecx, dword [edi + 0x44]
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x68], eax
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.10003ec0
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x90]
push eax
xor eax, eax
call eax
mov ecx, dword [ebp - 0x7c]
add esp, 4
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [ebp - 0xf8], ecx
cmp ecx, dword [edi + 0x20]
je 0x1002faff
push 0xf26
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_widgets.cpp
push str.callback_data.Buf__state__TextA.Data
call esi
mov ecx, dword [ebp - 0x7c]
add esp, 0xc
mov dword [ebp - 0xf8], ecx
mov eax, dword [ebp - 0x74]
cmp eax, dword [edi + 0x34]
je 0x1002fb24
push 0xf27
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_widgets.cpp
push str.callback_data.BufSize__state__BufCapacityA
call esi
mov ecx, dword [ebp - 0x7c]
add esp, 0xc
mov dword [ebp - 0xf8], ecx
mov eax, dword [ebx + 0x14]
cmp dword [ebp - 0x8c], eax
je 0x1002fb4c
push 0xf28
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_widgets.cpp
push str.callback_data.Flags__flags
call esi
mov ecx, dword [ebp - 0x7c]
add esp, 0xc
mov dword [ebp - 0xf8], ecx
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0xfc]
je 0x1002fbba
lea edi, [eax + ecx]
mov esi, ecx
xor eax, eax
mov dword [ebp - 0xd0], eax
test edi, edi
je 0x1002fb6c
cmp esi, edi
jae 0x1002fba4
cmp byte [esi], 0
je 0x1002fba4
push edi
mov edx, esi
lea ecx, [ebp - 0xfc]
call fcn.10003c00
add esi, eax
add esp, 4
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x1002fb9e
cmp eax, 0xffff
mov eax, dword [ebp - 0xd0]
ja 0x1002fb64
inc eax
jmp 0x1002fb5e
mov eax, dword [ebp - 0xd0]
mov edi, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0xf8]
mov dword [edi + 0x3c], eax
mov byte [edi + 0xe64], 1
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x144]
je 0x1002fc21
lea edi, [eax + ecx]
mov esi, ecx
xor eax, eax
mov dword [ebp - 0xd0], eax
test edi, edi
je 0x1002fbda
cmp esi, edi
jae 0x1002fc12
cmp byte [esi], 0
je 0x1002fc12
push edi
mov edx, esi
lea ecx, [ebp - 0xfc]
call fcn.10003c00
add esi, eax
add esp, 4
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x1002fc0c
cmp eax, 0xffff
mov eax, dword [ebp - 0xd0]
ja 0x1002fbd2
inc eax
jmp 0x1002fbcc
mov eax, dword [ebp - 0xd0]
mov edi, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0xf8]
mov dword [edi + 0x40], eax
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x118]
je 0x1002fc8f
lea edi, [eax + ecx]
mov esi, ecx
xor eax, eax
mov dword [ebp - 0xd0], eax
nop dword [eax]
test edi, edi
je 0x1002fc48
cmp esi, edi
jae 0x1002fc80
cmp byte [esi], 0
je 0x1002fc80
push edi
mov edx, esi
lea ecx, [ebp - 0xfc]
call fcn.10003c00
add esi, eax
add esp, 4
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x1002fc7a
cmp eax, 0xffff
mov eax, dword [ebp - 0xd0]
ja 0x1002fc40
inc eax
jmp 0x1002fc33
mov eax, dword [ebp - 0xd0]
mov edi, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0xf8]
mov dword [edi + 0x44], eax
cmp byte [ebp - 0x70], 0
je 0x1002fdb0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002fca0
sub ecx, edx
mov edx, dword [ebp - 0x78]
cmp edx, ecx
je 0x1002fcd4
push 0xf2e
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_widgets.cpp
push str.callback_data.BufTextLen___int_strlen_callback_data.Buf_
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [ebp - 0x7c]
add esp, 0xc
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0x140]
cmp edx, ecx
jle 0x1002fd2b
cmp byte [ebp - 0x114], 0
je 0x1002fd2b
mov esi, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
sub esi, ecx
add esi, edx
cmp esi, eax
jle 0x1002fd28
test eax, eax
je 0x1002fd08
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1002fd10
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10016da0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xf8], eax
mov dword [edi + 0xc], esi
mov ecx, dword [edi + 0x14]
mov esi, ecx
mov eax, dword [edi + 0xc]
dec eax
mov dword [ebp - 0x118], ecx
lea eax, [ecx + eax*2]
mov dword [ebp - 0x144], eax
cmp ecx, eax
jae 0x1002fd94
mov edi, dword [ebp - 0xf8]
nop dword [eax]
cmp byte [edi], 0
je 0x1002fd88
push 0
mov edx, edi
lea ecx, [ebp - 0xfc]
call fcn.10003c00
add edi, eax
add esp, 4
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x1002fd88
cmp eax, 0xffff
ja 0x1002fd80
mov word [esi], ax
add esi, 2
cmp esi, dword [ebp - 0x144]
jb 0x1002fd50
mov edi, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x118]
xor eax, eax
mov word [esi], ax
sub esi, ecx
mov eax, dword [ebp - 0x78]
sar esi, 1
mov dword [edi + 4], esi
mov dword [edi + 8], eax
mov dword [edi + 0xe60], 0xbe99999a
cmp byte [ebp - 0x100], 0
jne 0x1002f6e2
mov esi, dword [edi + 0x20]
mov eax, esi
mov ecx, dword [ebp - 0xd8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1002fde8
test dl, dl
je 0x1002fde4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1002fde8
add eax, 2
add ecx, 2
test dl, dl
jne 0x1002fdc8
xor eax, eax
jmp 0x1002fded
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002f6e2
mov dword [ebp - 0x104], esi
mov esi, dword [edi + 8]
jmp 0x1002f6e8
movss xmm0, dword [ebp - 0x60]
movss xmm1, dword [ebp - 0x5c]
movss xmm6, dword [ebp - 0x12c]
movaps xmm2, xmm1
mov ecx, dword [ebp - 0x110]
movaps xmm3, xmm6
addss xmm2, dword [ebp - 0x13c]
addss xmm3, xmm0
movss dword [ebp - 0x50], xmm0
movss dword [ebp - 0x4c], xmm1
mov eax, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xcc]
movss dword [ebp - 0x140], xmm2
movaps xmm1, xmm2
movaps xmm0, xmm3
movss dword [ebp - 0xf4], xmm3
movss dword [ebp - 0x144], xmm0
movss dword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
cmp byte [ebp - 0xdc], 0
lea eax, [ebp - 0x38]
movss xmm0, dword [eax]
xorps xmm7, xmm7
movss xmm5, dword [eax + 4]
movss dword [ebp - 0x134], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0xf8], eax
movss dword [ebp - 0x44], xmm1
movss dword [ebp - 0x114], xmm1
movss dword [ebp - 0x138], xmm5
movss dword [ebp - 0x130], xmm5
movss dword [ebp - 0x128], xmm0
movss dword [ebp - 0xec], xmm7
je 0x1002fecd
mov eax, dword [edi + 0x20]
mov dword [ebp - 0xd8], eax
jmp 0x1002fed3
mov eax, dword [ebp - 0xd8]
cmp byte [ebp - 0xca], 0
jne 0x1003036b
cmp byte [ebp - 0x14c], 0
jne 0x1003036b
test dl, dl
je 0x1002ff4c
mov dl, byte [eax]
lea edi, [eax + 1]
xor ecx, ecx
test dl, dl
je 0x1002ff12
nop dword [eax]
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [edi]
cmovne eax, ecx
inc edi
mov ecx, eax
test dl, dl
jne 0x1002ff00
mov al, byte [edi - 1]
dec edi
mov dword [ebp - 0x120], edi
cmp al, 0xa
je 0x1002ff25
cmp al, 0xd
je 0x1002ff25
inc ecx
movd xmm7, ecx
movaps xmm0, xmm6
cvtdq2ps xmm7, xmm7
movss dword [ebp - 0x128], xmm0
mulss xmm7, dword [esi + 0x18e4]
movss dword [ebp - 0xec], xmm7
xorps xmm7, xmm7
jmp 0x1002ff90
mov ecx, dword [ebp - 0xe0]
cmp dword [esi + 0x1a04], ecx
jne 0x1002ff61
mov edi, dword [edi + 8]
add edi, eax
jmp 0x1002ff77
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002ff66
mov edi, dword [ebp - 0xd8]
sub ecx, edx
add edi, ecx
mov eax, edi
mov dword [ebp - 0x120], edi
sub eax, dword [ebp - 0xd8]
cmp eax, 0x200000
jge 0x1003024f
movss xmm1, dword [0x1006a66c]
xor ecx, ecx
call fcn.100040a0
cmp byte [ebp - 0xe4], 0
mov edx, eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x144], edx
mov esi, dword [eax + 0x274]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x18e0]
movss xmm0, dword [eax + 0x18e4]
mov eax, edi
lea edi, [ebp - 0x50]
mov dword [ebp - 0xd0], ecx
cmovne edi, dword [ebp - 0xfc]
movss dword [ebp - 0xf4], xmm0
mov dword [ebp - 0x114], eax
test edx, 0xff000000
je 0x10030195
cmp dword [ebp - 0x120], 0
jne 0x10030033
mov ecx, dword [ebp - 0xd8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030016
mov eax, dword [ebp - 0xd8]
sub ecx, edx
add eax, ecx
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0xd8], eax
je 0x10030195
test ecx, ecx
jne 0x1003004f
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 8]
mov dword [ebp - 0xd0], eax
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jp 0x10030068
mov eax, dword [esi + 0x28]
movss xmm0, dword [eax + 0xc]
movss dword [ebp - 0xf4], xmm0
cmp dword [esi + 0x4c], 0
jg 0x10030086
push 0x506
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [ebp - 0xd0]
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x54]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
cmp eax, dword [ecx + edx*4 - 4]
je 0x100300b6
push 0x485
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_draw.cpp
push str.font__ContainerAtlas__TexID___TextureIdStack.back__
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
cmp dword [esi + 0x40], 0
jg 0x100300d4
push 0x506
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x48]
shl ecx, 4
movups xmm0, xmmword [ecx + eax - 0x10]
movups xmmword [ebp - 0x160], xmm0
test edi, edi
je 0x1003014c
movss xmm1, dword [edi]
movss xmm0, dword [ebp - 0x160]
comiss xmm0, xmm1
jae 0x10030106
movss dword [ebp - 0x160], xmm1
movss xmm1, dword [edi + 4]
movss xmm0, dword [ebp - 0x15c]
comiss xmm0, xmm1
jae 0x10030120
movss dword [ebp - 0x15c], xmm1
movss xmm0, dword [edi + 8]
comiss xmm0, dword [ebp - 0x158]
ja 0x10030136
movss dword [ebp - 0x158], xmm0
movss xmm0, dword [edi + 0xc]
comiss xmm0, dword [ebp - 0x154]
ja 0x1003014c
movss dword [ebp - 0x154], xmm0
mov eax, dword [ebp - 0xf8]
test edi, edi
movss xmm2, dword [ebp - 0xf4]
push dword [eax + 4]
push dword [eax]
setne al
movzx eax, al
push eax
push ecx
mov ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0x160]
mov dword [esp], 0
push dword [ebp - 0x114]
push dword [ebp - 0xd8]
push eax
push dword [ebp - 0x144]
push esi
call fcn.10024a90
mov esi, dword [ebp - 0xc8]
cmp byte [ebp - 0xe4], 0
je 0x10030249
mov ecx, dword [0x10076e80]
movss xmm1, dword [ebp - 0xec]
addss xmm1, dword [esi + 0x18e4]
movss xmm0, dword [ebp - 0x128]
mov eax, dword [ecx + 0x19d0]
addss xmm0, dword [0x1006a5cc]
movss dword [ebp - 0x34], xmm1
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19d0]
movss dword [ebp - 0x38], xmm0
cmp byte [eax + 0x7f], 0
jne 0x1003023f
movss xmm3, dword [eax + 0xc8]
lea ecx, [ebp - 0x38]
movaps xmm4, xmm3
movss dword [ebp - 0x28], xmm3
addss xmm4, xmm0
movss xmm0, dword [eax + 0xcc]
movaps xmm2, xmm0
movss dword [ebp - 0x24], xmm0
addss xmm2, xmm1
movss xmm1, dword [0x1006a784]
movss dword [ebp - 0x20], xmm4
movss dword [ebp - 0x1c], xmm2
call fcn.10006720
push 0
xor edx, edx
lea ecx, [ebp - 0x28]
call fcn.10006850
add esp, 4
call fcn.10009e20
call fcn.1000fef0
mov edi, dword [ebp - 0x120]
mov eax, dword [ebp - 0x150]
test al, al
je 0x10030264
call fcn.1000f580
mov eax, dword [ebp - 0x150]
cmp byte [esi + 0x2d78], 0
je 0x10030286
test al, al
jne 0x10030286
mov edx, dword [ebp - 0xd8]
lea ecx, [ebp - 0x134]
push edi
call fcn.10015560
add esp, 4
movss xmm0, dword [ebp - 0x168]
comiss xmm0, dword [0x1006a5cc]
jbe 0x100302df
movss xmm0, dword [ebp - 0x58]
xor edx, edx
addss xmm0, dword [esi + 0x1560]
mov ecx, dword [ebp - 0x164]
movss dword [ebp - 0x134], xmm0
movss xmm0, dword [ebp - 0x5c]
addss xmm0, dword [esi + 0x154c]
movss dword [ebp - 0x130], xmm0
push dword [ebp - 0x130]
push dword [ebp - 0x134]
push 1
call fcn.100044f0
add esp, 0xc
mov cl, byte [ebp - 0xda]
test cl, cl
je 0x10030347
test dword [ebx + 0x14], 0x200000
jne 0x10030347
mov esi, dword [0x10076e80]
mov eax, dword [esi + 0x1a04]
cmp eax, dword [ebp - 0xe0]
je 0x10030331
test eax, eax
je 0x10030331
cmp byte [esi + 0x1d54], 0
jne 0x10030331
push 0xb10
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.cpp
push str.g.ActiveId__id__g.ActiveId__0__g.DragDropActive
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov cl, byte [ebp - 0xda]
add esp, 0xc
mov eax, dword [esi + 0x19d0]
mov word [esi + 0x1a13], 0x101
or dword [eax + 0x10c], 4
test byte [ebx + 0x14], 0x20
movzx eax, cl
movzx ecx, byte [ebp - 0xdb]
cmovne eax, ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1005ae5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test edi, edi
jne 0x1003038f
push 0xf7e
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_widgets.cpp
push str.state___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm5, dword [ebp - 0x138]
add esp, 0xc
mov eax, dword [edi + 8]
mov esi, 0xfffffc18
add eax, dword [ebp - 0xd8]
xor edx, edx
xorps xmm6, xmm6
mov ecx, dword [edi + 0x14]
xorps xmm7, xmm7
mov dword [ebp - 0x120], eax
mov dword [ebp - 0xe8], ecx
movss dword [ebp - 0x118], xmm6
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x104], esi
cmp byte [ebp - 0xca], dl
je 0x100303fc
mov eax, dword [edi + 0x3c]
or esi, 0xffffffff
mov dword [ebp - 0x154], esi
lea eax, [ecx + eax*2]
mov dword [ebp - 0x124], eax
lea edx, [esi + 2]
cmp byte [ebp - 0x14c], 0
je 0x1003042f
mov ecx, dword [edi + 0x44]
cmp dword [edi + 0x40], ecx
mov eax, dword [ebp - 0xe8]
cmovl ecx, dword [edi + 0x40]
inc edx
mov dword [ebp - 0x104], 0xffffffff
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0xe4]
movzx eax, al
add edx, eax
xor eax, eax
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xe8]
movzx eax, word [eax]
test ax, ax
je 0x100304bb
mov edi, dword [ebp - 0x154]
mov esi, eax
cmp si, 0xa
jne 0x1003049b
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp edi, 0xffffffff
jne 0x1003047f
cmp ecx, dword [ebp - 0x124]
jb 0x1003047f
dec edx
mov edi, eax
test edx, edx
jle 0x100304a9
cmp dword [ebp - 0x104], 0xffffffff
jne 0x1003049b
cmp ecx, dword [ebp - 0x108]
jb 0x1003049b
dec edx
mov dword [ebp - 0x104], eax
test edx, edx
jle 0x100304a9
movzx eax, word [ecx + 2]
add ecx, 2
mov esi, eax
test ax, ax
jne 0x10030458
mov dword [ebp - 0x154], edi
mov edi, dword [ebp - 0x10c]
mov esi, dword [ebp - 0x154]
mov eax, dword [ebp - 0xd0]
mov edx, dword [ebp - 0x124]
inc eax
cmp esi, 0xffffffff
mov dword [ebp - 0xd0], eax
mov ecx, eax
cmovne ecx, esi
mov esi, dword [ebp - 0xe8]
mov dword [ebp - 0x154], ecx
mov ecx, dword [ebp - 0x104]
cmp ecx, 0xffffffff
cmove ecx, eax
mov dword [ebp - 0x104], ecx
mov ecx, edx
cmp edx, esi
jbe 0x1003050e
nop word [eax + eax]
cmp word [ecx - 2], 0xa
je 0x1003050e
add ecx, 0xfffffffe
cmp ecx, esi
ja 0x10030500
mov eax, dword [0x10076e80]
movaps xmm1, xmm6
movaps xmm3, xmm6
mov esi, dword [eax + 0x18e0]
movss xmm2, dword [eax + 0x18e4]
divss xmm2, dword [esi + 0x10]
cmp ecx, edx
jae 0x10030578
mov edi, dword [ebp - 0x124]
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x1003054c
maxss xmm1, xmm3
movaps xmm3, xmm6
jmp 0x1003056e
cmp edx, 0xd
je 0x1003056e
mov edx, eax
cmp edx, dword [esi]
jge 0x10030561
mov eax, dword [esi + 8]
movss xmm0, dword [eax + edx*4]
jmp 0x10030566
movss xmm0, dword [esi + 0xc]
mulss xmm0, xmm2
addss xmm3, xmm0
cmp ecx, edi
jb 0x10030536
mov edi, dword [ebp - 0x10c]
cmp dword [ebp - 0x104], 0
maxss xmm3, xmm1
movd xmm4, dword [ebp - 0x154]
mov ecx, dword [ebp - 0xc8]
cvtdq2ps xmm4, xmm4
movss xmm0, dword [ecx + 0x18e4]
mulss xmm4, xmm0
movss dword [ebp - 0xfc], xmm3
movss dword [ebp - 0x16c], xmm4
jl 0x10030676
mov edx, dword [ebp - 0x108]
mov ecx, edx
mov esi, dword [ebp - 0xe8]
cmp edx, esi
jbe 0x100305d6
cmp word [ecx - 2], 0xa
je 0x100305d6
add ecx, 0xfffffffe
cmp ecx, esi
ja 0x100305c8
mov eax, dword [0x10076e80]
movaps xmm2, xmm6
movaps xmm7, xmm6
mov esi, dword [eax + 0x18e0]
movss xmm3, dword [eax + 0x18e4]
divss xmm3, dword [esi + 0x10]
cmp ecx, edx
jae 0x10030645
mov edi, dword [ebp - 0x108]
nop
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x10030616
maxss xmm2, xmm7
movaps xmm7, xmm6
jmp 0x1003063b
cmp edx, 0xd
je 0x1003063b
mov edx, eax
cmp edx, dword [esi]
jge 0x1003062b
mov eax, dword [esi + 8]
movss xmm1, dword [eax + edx*4]
jmp 0x10030630
movss xmm1, dword [esi + 0xc]
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm7, xmm0
cmp ecx, edi
jb 0x10030600
mov edi, dword [ebp - 0x10c]
movd xmm3, dword [ebp - 0x104]
maxss xmm7, xmm2
mov ecx, dword [ebp - 0xc8]
cvtdq2ps xmm3, xmm3
movss xmm0, dword [ecx + 0x18e4]
mulss xmm3, xmm0
movss dword [ebp - 0x118], xmm3
movss xmm3, dword [ebp - 0xfc]
cmp byte [ebp - 0xe4], 0
je 0x100306ab
movd xmm6, dword [ebp - 0xd0]
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm0
movss dword [ebp - 0xec], xmm6
movss xmm6, dword [ebp - 0x12c]
movaps xmm0, xmm6
movss dword [ebp - 0x128], xmm0
jmp 0x100306b3
movss xmm6, dword [ebp - 0x12c]
cmp byte [ebp - 0xca], 0
je 0x10030784
cmp byte [edi + 0xe64], 0
je 0x10030784
test dword [ebx + 0x14], 0x1000
jne 0x1003071d
movss xmm1, dword [edi + 0x38]
movaps xmm2, xmm6
comiss xmm1, xmm3
mulss xmm2, dword [0x1006a624]
jbe 0x100306fb
movaps xmm1, xmm3
xorps xmm0, xmm0
subss xmm1, xmm2
maxss xmm0, xmm1
jmp 0x1003070b
movaps xmm0, xmm3
subss xmm0, xmm6
comiss xmm0, xmm1
jb 0x10030724
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x38], xmm0
jmp 0x10030724
mov dword [edi + 0x38], 0
cmp byte [ebp - 0xe4], 0
je 0x1003077d
mov eax, dword [ebp - 0x110]
movaps xmm2, xmm4
subss xmm2, dword [ecx + 0x18e4]
movss xmm1, dword [eax + 0x54]
comiss xmm1, xmm2
jbe 0x10030751
xorps xmm0, xmm0
maxss xmm0, xmm2
jmp 0x10030760
movaps xmm0, xmm4
subss xmm0, dword [ebp - 0x13c]
maxss xmm0, xmm1
subss xmm1, xmm0
movss dword [eax + 0x54], xmm0
addss xmm1, xmm5
movss dword [ebp - 0x138], xmm1
movss dword [ebp - 0x130], xmm1
mov byte [edi + 0xe64], 0
cmp byte [ebp - 0x14c], 0
movss xmm4, dword [edi + 0x38]
movss dword [ebp - 0xd0], xmm4
je 0x10030a83
mov edx, dword [edi + 0x44]
mov eax, edx
mov ecx, dword [edi + 0x40]
cmp ecx, edx
mov esi, dword [ebp - 0xe8]
cmovl eax, ecx
cmovge edx, ecx
cmp byte [ebp - 0xca], 0
lea esi, [esi + eax*2]
mov eax, dword [ebp - 0xe8]
lea eax, [eax + edx*2]
mov dword [ebp - 0x108], eax
je 0x100307d9
movss xmm1, dword [0x1006a66c]
jmp 0x100307e1
movss xmm1, dword [0x1006a640]
mov ecx, 0x2c
call fcn.100040a0
cmp byte [ebp - 0xe4], 0
mov dword [ebp - 0x13c], eax
je 0x1003080a
xorps xmm0, xmm0
xorps xmm6, xmm6
movss dword [ebp - 0x124], xmm0
jmp 0x10030825
movss xmm0, dword [0x1006a6ac]
movss xmm6, dword [0x1006a784]
movss dword [ebp - 0x124], xmm0
xorps xmm0, xmm0
mov ecx, dword [ebp - 0xf8]
movss dword [ebp - 0x154], xmm6
movss xmm4, dword [ecx]
mov ecx, dword [ebp - 0x108]
addss xmm4, xmm7
movss xmm7, dword [ebp - 0x138]
movaps xmm5, xmm7
addss xmm5, dword [ebp - 0x118]
subss xmm4, dword [ebp - 0xd0]
subss xmm5, xmm0
movss dword [ebp - 0x118], xmm5
cmp esi, ecx
jae 0x10030ad7
movss xmm7, dword [ebp - 0x114]
mov eax, dword [ebp - 0xf8]
mov edi, dword [ebp - 0xc8]
nop dword [eax]
nop dword [eax + eax]
movaps xmm0, xmm7
addss xmm0, dword [edi + 0x18e4]
comiss xmm5, xmm0
ja 0x10030a75
movss xmm0, dword [ebp - 0x5c]
comiss xmm0, xmm5
jbe 0x100308cf
cmp esi, ecx
jae 0x10030a49
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x10030a43
cmp esi, ecx
jb 0x100308b6
jmp 0x10030a43
mov eax, dword [0x10076e80]
xorps xmm0, xmm0
xorps xmm3, xmm3
xorps xmm1, xmm1
mov edx, dword [eax + 0x18e0]
movss xmm2, dword [eax + 0x18e4]
divss xmm2, dword [edx + 0x10]
cmp esi, ecx
jae 0x10030940
movzx eax, word [esi]
add esi, 2
mov ecx, eax
cmp eax, 0xa
je 0x1003092d
cmp ecx, 0xd
je 0x10030921
cmp ecx, dword [edx]
jge 0x10030914
mov eax, dword [edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x10030919
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
mov ecx, dword [ebp - 0x108]
cmp esi, ecx
jb 0x100308f4
jmp 0x1003093d
mov ecx, dword [ebp - 0x108]
xorps xmm3, xmm3
maxss xmm3, xmm1
xorps xmm1, xmm1
xorps xmm0, xmm0
maxss xmm1, xmm3
comiss xmm0, xmm1
jb 0x10030979
mov eax, dword [edi + 0x18e0]
cmp dword [eax], 0x20
jle 0x10030961
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x10030966
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x1006a638]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm0, dword [ebp - 0x124]
addss xmm1, xmm4
addss xmm4, dword [0x1006a5cc]
movss xmm3, dword [ebp - 0x144]
addss xmm0, xmm5
movaps xmm2, xmm6
subss xmm2, dword [edi + 0x18e4]
minss xmm1, xmm3
maxss xmm4, dword [ebp - 0x60]
minss xmm0, xmm7
addss xmm2, xmm5
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x28], xmm4
comiss xmm0, dword [ebp - 0x5c]
maxss xmm2, dword [ebp - 0x5c]
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x24], xmm2
jbe 0x10030a43
comiss xmm7, xmm2
jbe 0x10030a43
comiss xmm1, dword [ebp - 0x60]
jbe 0x10030a43
comiss xmm3, xmm4
jbe 0x10030a43
push 0xf
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x20]
push dword [ebp - 0x13c]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 0x274]
call fcn.10020050
movss xmm0, dword [ebp - 0xf4]
movss xmm5, dword [ebp - 0x118]
movss xmm7, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x108]
movss dword [ebp - 0xf4], xmm0
movss xmm0, dword [ebp - 0x140]
movss dword [ebp - 0x140], xmm0
mov eax, dword [ebp - 0xf8]
movss xmm4, dword [eax]
movss xmm6, dword [ebp - 0x154]
addss xmm5, dword [edi + 0x18e4]
subss xmm4, dword [ebp - 0xd0]
movss dword [ebp - 0x118], xmm5
cmp esi, ecx
jb 0x10030890
movss xmm4, dword [ebp - 0xd0]
mov edi, dword [ebp - 0x10c]
movss xmm7, dword [ebp - 0x138]
cmp byte [ebp - 0xe4], 0
jne 0x10030aab
mov eax, dword [ebp - 0x120]
sub eax, dword [ebp - 0xd8]
cmp eax, 0x200000
jge 0x10030d92
mov eax, dword [0x10076e80]
xorps xmm5, xmm5
movups xmm1, xmmword [eax + 0x15c0]
comiss xmm5, xmm1
movaps xmm2, xmm1
movaps xmmword [ebp - 0x30], xmm1
shufps xmm2, xmm1, 0xff
mulss xmm2, dword [eax + 0x1510]
jbe 0x10030ae1
xorps xmm0, xmm0
jmp 0x10030aed
movss xmm4, dword [ebp - 0xd0]
jmp 0x10030a8b
movss xmm0, dword [0x1006a66c]
minss xmm0, xmm1
movss xmm1, dword [0x1006a720]
movss xmm6, dword [0x1006a638]
movss xmm3, dword [ebp - 0x2c]
comiss xmm5, xmm3
mulss xmm0, xmm1
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x10030b18
xorps xmm0, xmm0
jmp 0x10030b24
movss xmm0, dword [0x1006a66c]
minss xmm0, xmm3
movss xmm3, dword [ebp - 0x28]
mulss xmm0, xmm1
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm3
jbe 0x10030b44
xorps xmm0, xmm0
jmp 0x10030b50
movss xmm0, dword [0x1006a66c]
minss xmm0, xmm3
mulss xmm0, xmm1
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm5, xmm2
jbe 0x10030b6b
xorps xmm0, xmm0
jmp 0x10030b77
movss xmm0, dword [0x1006a66c]
minss xmm0, xmm2
mov eax, dword [ebp - 0x110]
mulss xmm0, xmm1
mov dword [ebp - 0x114], 0
mov esi, dword [eax + 0x274]
mov eax, dword [ebp - 0xf8]
addss xmm0, xmm6
cvttss2si edx, xmm0
movss xmm0, dword [eax]
mov eax, dword [ebp - 0xc8]
subss xmm0, xmm4
shl edx, 0x18
or edx, ecx
mov ecx, dword [ebp - 0x120]
cmp byte [ebp - 0xe4], 0
mov dword [ebp - 0x124], edx
movss dword [ebp - 0x158], xmm0
movaps xmm0, xmm7
subss xmm0, xmm5
mov dword [ebp - 0x144], ecx
movss dword [ebp - 0x154], xmm0
movss xmm0, dword [eax + 0x18e4]
mov eax, dword [eax + 0x18e0]
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x50]
cmovne eax, dword [ebp - 0x114]
movss dword [ebp - 0x118], xmm0
mov dword [ebp - 0x114], eax
test edx, 0xff000000
je 0x10030d95
test ecx, ecx
jne 0x10030c40
mov ecx, dword [ebp - 0xd8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030c27
mov eax, dword [ebp - 0xd8]
sub ecx, edx
add ecx, eax
mov dword [ebp - 0x144], ecx
jmp 0x10030c46
mov eax, dword [ebp - 0xd8]
cmp eax, ecx
je 0x10030d95
cmp dword [ebp - 0x108], 0
jne 0x10030c63
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 8]
mov dword [ebp - 0x108], eax
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jp 0x10030c7c
mov eax, dword [esi + 0x28]
movss xmm0, dword [eax + 0xc]
movss dword [ebp - 0x118], xmm0
cmp dword [esi + 0x4c], 0
jg 0x10030c9a
push 0x506
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [ebp - 0x108]
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x54]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
cmp eax, dword [ecx + edx*4 - 4]
je 0x10030cca
push 0x485
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui_draw.cpp
push str.font__ContainerAtlas__TexID___TextureIdStack.back__
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
cmp dword [esi + 0x40], 0
jg 0x10030ce8
push 0x506
push str.C:UsersUser_source_reposLANRedTrainerLANRedTrainerimguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x48]
shl ecx, 4
movups xmm0, xmmword [eax + ecx - 0x10]
mov eax, dword [ebp - 0x114]
movups xmmword [ebp - 0x30], xmm0
test eax, eax
je 0x10030d4b
movss xmm1, dword [eax]
movss xmm0, dword [ebp - 0x30]
comiss xmm0, xmm1
jae 0x10030d17
movss dword [ebp - 0x30], xmm1
movss xmm1, dword [eax + 4]
movss xmm0, dword [ebp - 0x2c]
comiss xmm0, xmm1
jae 0x10030d2b
movss dword [ebp - 0x2c], xmm1
movss xmm0, dword [eax + 8]
comiss xmm0, dword [ebp - 0x28]
ja 0x10030d3b
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [eax + 0xc]
comiss xmm0, dword [ebp - 0x24]
ja 0x10030d4b
movss dword [ebp - 0x24], xmm0
push dword [ebp - 0x154]
movss xmm2, dword [ebp - 0x118]
test eax, eax
push dword [ebp - 0x158]
setne al
movzx eax, al
push eax
push ecx
mov ecx, dword [ebp - 0x108]
lea eax, [ebp - 0x30]
mov dword [esp], 0
push dword [ebp - 0x144]
push dword [ebp - 0xd8]
push eax
push dword [ebp - 0x124]
push esi
call fcn.10024a90
xorps xmm5, xmm5
cmp byte [ebp - 0xca], 0
je 0x10030195
mov esi, dword [ebp - 0xc8]
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [edi + 0xe60]
movss dword [edi + 0xe60], xmm0
cmp byte [esi + 0xb2], 0
je 0x10030e0a
comiss xmm5, xmm0
jae 0x10030e0a
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x148], xmm0
fld qword [ebp - 0x148]
fld qword [0x1006a6a0]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm0, dword [0x1006a65c]
fstp qword [ebp - 0x148]
movsd xmm1, qword [ebp - 0x148]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x10030e0a
xor al, al
jmp 0x10030e0c
mov al, 1
movss xmm4, dword [ebp - 0x138]
mov ecx, dword [ebp - 0xf8]
movss xmm6, dword [0x1006a66c]
addss xmm4, dword [ebp - 0x16c]
movss xmm3, dword [ecx]
addss xmm3, dword [ebp - 0xfc]
subss xmm4, dword [0x1006a5cc]
subss xmm3, dword [ebp - 0xd0]
movss dword [ebp - 0x138], xmm4
movaps xmm0, xmm4
movaps xmm1, xmm4
subss xmm0, dword [esi + 0x18e4]
movss dword [ebp - 0xfc], xmm3
movaps xmm2, xmm3
movss dword [ebp - 0x28], xmm3
addss xmm2, xmm6
subss xmm1, dword [0x1006a68c]
addss xmm0, dword [0x1006a638]
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x24], xmm0
test al, al
je 0x10030f15
comiss xmm1, dword [ebp - 0x5c]
jbe 0x10030f15
movss xmm5, dword [ebp - 0x140]
comiss xmm5, xmm0
jbe 0x10030f15
comiss xmm2, dword [ebp - 0x60]
jbe 0x10030f15
movss xmm0, dword [ebp - 0xf4]
comiss xmm0, xmm3
jbe 0x10030f15
sub esp, 8
movss dword [ebp - 0x34], xmm1
movaps xmm1, xmm6
movss dword [ebp - 0x38], xmm3
xor ecx, ecx
mov dword [esp + 4], 0x3f800000
call fcn.100040a0
add esp, 4
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 0x274]
call fcn.1001fe50
movss xmm3, dword [ebp - 0xfc]
movss xmm4, dword [ebp - 0x138]
movss xmm6, dword [0x1006a66c]
cmp byte [ebp - 0x100], 0
jne 0x1003019b
subss xmm4, dword [esi + 0x18e4]
subss xmm3, xmm6
movss dword [esi + 0x2d40], xmm4
movss dword [esi + 0x2d3c], xmm3
jmp 0x1003019b