Function at 0x100378c0
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 [0x10084040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x164], ecx
mov ecx, dword [0x10089f58]
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 0x10037cf2
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 0x10037954
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 0x10037979
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 [0x10089f58]
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 0x100379ed
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 0x100379fb
call fcn.1001a0f0
push ecx
push dword [ebp - 0x164]
mov ecx, esi
call fcn.10010490
mov esi, dword [0x10089f58]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x164]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x10037a38
mov dl, byte [ecx]
test dl, dl
je 0x10037a38
cmp dl, 0x23
jne 0x10037a32
cmp byte [ecx + 1], dl
je 0x10037a38
inc ecx
cmp ecx, 0xffffffff
jb 0x10037a22
movss xmm0, dword [esi + 0x18e4]
cmp eax, ecx
jne 0x10037a51
xorps xmm2, xmm2
movss dword [ebp - 0x168], xmm2
jmp 0x10037aa7
movss xmm3, dword [0x1007d328]
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.1002ebe0
movss xmm0, dword [ebp - 0x134]
xorps xmm2, xmm2
addss xmm0, dword [0x1007d1f4]
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 0x10037ae0
movss xmm0, dword [edi + 0x18e4]
mulss xmm0, dword [0x1007d298]
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 0x10037b0c
movss xmm0, dword [esi + 0x1aa8]
jmp 0x10037b14
movss xmm0, dword [ecx + 0x170]
comiss xmm2, xmm0
jbe 0x10037b4c
mov eax, ecx
cmp dword [eax + 0x1c0], 0
movss xmm1, dword [eax + 0x21c]
je 0x10037b34
movss xmm1, dword [eax + 0x1fc]
subss xmm1, dword [ecx + 0xc8]
addss xmm1, xmm0
movss xmm0, dword [0x1007d1fc]
maxss xmm0, xmm1
comiss xmm2, xmm6
cvttss2si eax, xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
movd xmm4, eax
cvtdq2ps xmm4, xmm4
ja 0x10037b67
comiss xmm2, xmm7
jbe 0x10037b88
cmp dword [ecx + 0x1c0], 0
movss xmm0, dword [ecx + 0x21c]
movss xmm1, dword [ecx + 0x220]
je 0x10037b88
movss xmm0, dword [ecx + 0x1fc]
ucomiss xmm6, xmm2
movss xmm2, dword [0x1007d284]
lahf
test ah, 0x44
jp 0x10037ba6
movaps xmm6, xmm4
movss dword [ebp - 0x12c], xmm6
jmp 0x10037bd2
xorps xmm4, xmm4
comiss xmm4, xmm6
jbe 0x10037bd2
subss xmm0, dword [ecx + 0xc8]
addss xmm6, xmm0
comiss xmm2, xmm6
movss dword [ebp - 0x12c], xmm6
jb 0x10037bd2
movaps xmm6, xmm2
movss dword [ebp - 0x12c], xmm2
xorps xmm0, xmm0
ucomiss xmm7, xmm0
lahf
test ah, 0x44
jp 0x10037beb
movaps xmm7, xmm3
movss dword [ebp - 0x13c], xmm7
jmp 0x10037c14
comiss xmm0, xmm7
jbe 0x10037c14
subss xmm1, dword [ecx + 0xcc]
addss xmm7, xmm1
comiss xmm2, xmm7
movss dword [ebp - 0x13c], xmm7
jb 0x10037c14
movaps xmm7, xmm2
movss dword [ebp - 0x13c], xmm2
movss xmm1, dword [ebp - 0x168]
comiss xmm1, xmm0
jbe 0x10037c2e
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x1560]
jmp 0x10037c31
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 0x10037d7a
mov edx, dword [ebp - 0xe0]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x40]
call fcn.10010b90
add esp, 4
test al, al
jne 0x10037d07
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.10010a60
call fcn.1001a230
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006c1ab
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.10014350
add esp, 4
test al, al
jne 0x10037d4b
call fcn.10014160
jmp 0x10037ced
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 0x10037dbd
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.10010a60
mov edx, dword [ebp - 0xe0]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x40]
call fcn.10010b90
add esp, 4
test al, al
je 0x10037cf2
mov edx, dword [ebp - 0xe0]
lea ecx, [ebp - 0x60]
call fcn.10010e70
mov byte [ebp - 0xcc], al
test al, al
je 0x10037ddf
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.100110d0
mov edx, dword [ebp - 0xc8]
mov byte [ebp - 0xdc], al
test al, al
je 0x10037e87
cmp dword [edx + 0x1bfc], esi
jne 0x10037e87
mov ecx, dword [edx + 0x1c04]
cmp ecx, dword [esi + 0x164]
jne 0x10037e87
mov byte [ebp - 0xcb], 1
mov byte [ebp - 0xdb], 0
cmp byte [ebp - 0xcc], 0
je 0x10037e4e
cmp byte [edx + 0x3d8], 0
mov byte [ebp - 0xca], 1
jne 0x10037e55
mov byte [ebp - 0xca], 0
mov eax, dword [edx + 0x1a04]
mov ecx, dword [ebp - 0xe0]
cmp eax, ecx
je 0x10037ea2
cmp dword [edx + 0x1b04], ecx
je 0x10037e7e
cmp dword [edx + 0x1af8], ecx
jne 0x10037ea2
cmp dword [edx + 0x1b18], 3
jne 0x10037ea2
mov byte [ebp - 0xc9], 1
jmp 0x10037ea9
mov byte [ebp - 0xcb], 0
test al, al
je 0x10037e2e
mov byte [ebp - 0xdb], 1
mov byte [ebp - 0xcb], 0
jmp 0x10037e35
mov byte [ebp - 0xc9], 0
cmp byte [ebp - 0xe4], 0
je 0x10037f1d
test edi, edi
je 0x10037f1d
test eax, eax
jne 0x10037f1d
mov eax, dword [ebp - 0x110]
cmp dword [eax + 0xbc], 0
jg 0x10037ee7
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.1000d9a0
mov edx, dword [ebp - 0xc8]
add esp, 4
cmp dword [edx + 0x1a38], eax
jne 0x10037f1d
mov byte [ebp - 0xc1], 1
jmp 0x10037f38
cmp byte [ebp - 0xe4], 0
mov byte [ebp - 0xc1], 0
je 0x10037f96
mov byte [ebp - 0xc1], 0
test edi, edi
je 0x10037f96
mov eax, dword [ebp - 0x110]
cmp dword [eax + 0xbc], 0
jg 0x10037f65
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.1000d9a0
mov edx, dword [ebp - 0xc8]
add esp, 4
cmp dword [edx + 0x1a04], eax
jne 0x10037f96
mov al, 1
jmp 0x10037f98
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 0x10037fd3
test byte [ebx + 0x14], 0x10
jne 0x10037fc3
test cl, cl
je 0x10037fd3
cmp byte [ebp - 0xe4], 0
mov byte [ebp - 0x104], 1
je 0x10037fda
mov byte [ebp - 0x104], 0
cmp byte [ebp - 0xdc], 0
jne 0x1003800e
cmp byte [ebp - 0xca], 0
jne 0x1003800e
cmp byte [ebp - 0xc1], 0
jne 0x1003800e
test cl, cl
jne 0x1003800e
mov byte [ebp - 0xc1], cl
test al, al
jne 0x10038015
mov byte [ebp - 0xda], al
jmp 0x10038281
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 0x1003835c
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 0x10038053
mov eax, dword [edi + 0x28]
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, eax
jle 0x10038090
test eax, eax
je 0x10038079
cdq
sub eax, edx
lea edx, [edi + 0x24]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10038081
mov ecx, 8
lea edx, [edi + 0x24]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10021070
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 0x100380ee
test esi, esi
je 0x100380d0
mov eax, esi
cdq
sub eax, edx
mov edx, dword [ebp - 0xec]
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x100380d5
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.100210e0
mov edx, dword [ebp - 0xec]
lea eax, [edi + 0xc]
mov dword [eax], edx
mov ecx, dword [edi + 0x1c]
test ecx, ecx
jns 0x10038110
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.10021070
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 0x1003819b
mov edi, eax
nop dword [eax]
cmp byte [edi], 0
je 0x10038189
push 0
mov edx, edi
lea ecx, [ebp - 0xfc]
call fcn.1000ddb0
add edi, eax
add esp, 4
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x10038183
cmp eax, 0xffff
ja 0x10038170
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 0x10038140
jmp 0x10038189
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 0x100381de
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 0x1003823f
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 0x10038245
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 0x10038252
mov byte [edi + 0x48], 1
mov edx, dword [ebp - 0xc8]
test cl, cl
jne 0x1003827b
cmp byte [ebp - 0xdb], cl
jne 0x10038274
cmp byte [ebp - 0xca], cl
je 0x1003827b
cmp byte [edx + 0x100], cl
je 0x1003827b
mov byte [ebp - 0x104], 1
mov esi, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xe0]
cmp dword [edx + 0x1a04], eax
je 0x1003835c
cmp byte [ebp - 0xc1], 0
je 0x1003835c
test edi, edi
je 0x100382aa
mov edx, eax
cmp dword [edi], edx
je 0x100382c2
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.100108a0
call fcn.10010980
mov ecx, esi
call fcn.100191e0
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x1a18]
or eax, 3
cmp byte [ebp - 0xe4], 0
mov dword [edx + 0x1a18], eax
jne 0x100382ff
test byte [ebx + 0x14], 0x80
je 0x10038308
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 0x10038344
or eax, 0x60
mov dword [edx + 0x1a24], ecx
mov dword [edx + 0x1a20], eax
test dword [ebx + 0x14], 0x440
je 0x1003835c
or eax, 1
mov dword [edx + 0x1a24], ecx
mov dword [edx + 0x1a20], eax
mov esi, dword [ebp - 0xe0]
cmp dword [edx + 0x1a04], esi
jne 0x100383ab
test edi, edi
jne 0x1003837d
xor edx, edx
xor ecx, ecx
call fcn.100108a0
mov edx, dword [ebp - 0xc8]
cmp dword [edx + 0x1a04], esi
jne 0x100383ab
cmp byte [edx + 0x3d8], 0
je 0x100383b8
cmp byte [ebp - 0xda], 0
jne 0x100383b8
cmp byte [ebp - 0xc1], 0
jne 0x100383b8
mov byte [ebp - 0xed], 1
mov cl, 1
jmp 0x100383be
test edi, edi
je 0x100383bc
cmp byte [ebp - 0xd9], 0
je 0x100383bc
mov cl, 1
jmp 0x100383be
xor cl, cl
mov byte [ebp - 0xca], cl
test edi, edi
je 0x100383db
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x100383db
test cl, cl
je 0x100383db
mov ecx, 1
jmp 0x100383dd
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 0x1003852f
test edi, edi
je 0x1003852f
cmp byte [ebp - 0xca], 0
jne 0x1003841e
test cl, cl
je 0x1003853c
mov ecx, dword [ebx + 0xc]
mov eax, dword [edi + 0x10]
lea esi, [ecx + 1]
cmp esi, eax
jle 0x10038458
test eax, eax
je 0x1003843e
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10038446
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.100210e0
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 0x100384cf
mov edi, eax
cmp byte [edi], 0
je 0x100384bd
push 0
mov edx, edi
lea ecx, [ebp - 0xfc]
call fcn.1000ddb0
add edi, eax
add esp, 4
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x100384b7
cmp eax, 0xffff
ja 0x100384a5
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 0x10038475
jmp 0x100384bd
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 0x10038544
test cl, cl
jne 0x10038544
cmp dword [edx + 0x1a04], esi
jne 0x10038558
test al, al
jne 0x10038558
test edi, edi
je 0x10038558
mov byte [ebp - 0xdc], 1
cmp byte [edi + 0x30], al
jne 0x1003855f
mov byte [ebp - 0xdc], 0
cmp byte [ebp - 0x150], 0
je 0x1003863b
mov edx, dword [edx + 0x18e0]
cmp dword [edx + 0x14], 0x2a
jg 0x1003857d
mov eax, dword [edx + 0x2c]
jmp 0x1003859c
mov eax, dword [edx + 0x1c]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x10038593
mov eax, dword [edx + 0x2c]
jmp 0x1003859c
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 0x1003861c
cmp dword [esi], 0
jne 0x1003861c
cmp dword [esi + 0x14], 0
je 0x10038634
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.100197e0
mov esi, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x140], 0
cmp dword [esi + 0x1a04], eax
jne 0x10038ab6
test edi, edi
jne 0x10038679
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 0x10038702
mov eax, dword [ebp - 0x110]
movss xmm2, dword [esi + 0xec]
subss xmm2, dword [eax + 0xcc]
subss xmm2, dword [esi + 0x154c]
jmp 0x10038712
movss xmm2, dword [esi + 0x18e4]
mulss xmm2, dword [0x1007d1c4]
cmp byte [ebp - 0x104], 0
mov al, byte [esi + 0xb1]
mov byte [ebp - 0xc1], al
jne 0x1003888e
mov cl, byte [ebp - 0xcc]
test cl, cl
je 0x10038745
test al, al
jne 0x100387aa
cmp byte [esi + 0x3dd], al
jne 0x1003888e
cmp byte [esi + 0x3d8], 0
je 0x10038801
cmp byte [edi + 0xe65], 0
jne 0x10038801
test cl, cl
je 0x100388af
cmp byte [edi + 0x4c], 0
je 0x10038781
push 0
mov edx, edi
lea ecx, [ebp - 0x30]
call fcn.10035ce0
movss xmm2, dword [ebp - 0x24]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.100360b0
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 0x100388a9
cmp byte [esi + 0x3dd], 0
je 0x10038745
push 0x20000c
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10036550
add esp, 4
mov byte [edi + 0xe64], 1
lea edx, [edi + 0x3c]
mov dword [edi + 0xe60], 0xbe99999a
mov ecx, edi
push 0x60000d
call fcn.10036550
mov edx, dword [ebx + 0x14]
add esp, 4
mov byte [edi + 0xe64], 1
mov dword [edi + 0xe60], 0xbe99999a
jmp 0x100388a9
cmp byte [esi + 0xf0], 0
je 0x100388af
cmp byte [edi + 0xe65], 0
jne 0x100388b8
movss xmm0, dword [esi + 0x378]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10038840
movss xmm0, dword [esi + 0x37c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100388af
cmp byte [edi + 0x4c], 0
je 0x1003885a
push 0
mov edx, edi
lea ecx, [ebp - 0x30]
call fcn.10035ce0
movss xmm2, dword [ebp - 0x24]
add esp, 4
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x10038868
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], eax
movaps xmm1, xmm7
mov ecx, edi
call fcn.100360b0
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 0x100388a9
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 0x100388c8
cmp byte [esi + 0xf0], 0
jne 0x100388c8
mov byte [edi + 0xe65], 0
cmp byte [esi + 0x100], 0
je 0x100388da
cmp byte [esi + 0x102], 0
je 0x100388e7
test al, al
je 0x100388f0
cmp byte [esi + 0x103], 0
je 0x100388f0
mov byte [ebp - 0xc2], 1
jmp 0x100388f7
mov byte [ebp - 0xc2], 0
test edx, 0x400
je 0x100389a9
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x100389a9
call fcn.10013dc0
mov cl, byte [ebp - 0xc2]
mov edx, dword [ebp - 0x100]
test al, al
je 0x100389b5
test cl, cl
jne 0x100389b5
cmp byte [esi + 0x101], cl
jne 0x100389b5
test dl, dl
jne 0x100389b5
mov ecx, dword [esi + 0x1508]
mov eax, dword [esi + 0x1500]
lea edx, [ecx + eax*2]
cmp ecx, edx
jae 0x10038963
mov ax, word [ecx]
add ecx, 2
cmp ax, 9
je 0x100389a9
cmp ecx, edx
jb 0x10038953
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0xec]
sub esp, 8
mov dword [ebp - 0xec], 9
call fcn.10037710
add esp, 8
test al, al
je 0x100389a9
push dword [ebp - 0xec]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10036550
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 0x10038ab0
test cl, cl
jne 0x10038a7a
test dl, dl
jne 0x10038a7a
cmp byte [ebp - 0xc9], dl
jne 0x10038a7a
xor esi, esi
cmp esi, eax
jl 0x100389fd
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 0x10038a27
mov eax, dword [ebp - 0xc8]
cmp byte [eax + 0x101], 0
jne 0x10038a69
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0xec]
sub esp, 8
call fcn.10037710
add esp, 8
test al, al
je 0x10038a63
push dword [ebp - 0xec]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10036550
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 0x100389fd
mov esi, dword [ebp - 0xc8]
mov ecx, dword [esi + 0x1504]
test ecx, ecx
jns 0x10038aa0
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.100210e0
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 0x10039851
cmp byte [esi + 0x1a10], 0
jne 0x1003964b
cmp byte [ebp - 0xed], 0
jne 0x1003964b
test edi, edi
jne 0x10038aff
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 0x10038b4e
cmp byte [eax + 0x103], 0
je 0x10038b40
cmp byte [eax + 0x100], 0
jne 0x10038b40
mov eax, 1
jmp 0x10038b42
xor eax, eax
test eax, eax
je 0x10038b71
mov eax, dword [ebp - 0xc8]
jmp 0x10038b60
cmp byte [eax + 0x100], 0
je 0x10038b71
cmp byte [eax + 0x103], 0
jne 0x10038b71
cmp byte [eax + 0x102], 0
jne 0x10038b71
test cl, cl
jne 0x10038b71
mov ah, 1
jmp 0x10038b73
xor ah, ah
mov byte [ebp - 0xc1], ah
test dl, dl
je 0x10038bb7
mov edi, dword [ebp - 0xc8]
cmp byte [edi + 0x103], 0
mov edi, dword [ebp - 0x10c]
je 0x10038bb7
test cl, cl
mov ecx, dword [ebp - 0xc8]
je 0x10038bbd
cmp byte [ecx + 0x100], 0
jne 0x10038bbd
cmp byte [ecx + 0x102], 0
jne 0x10038bbd
mov byte [ebp - 0xcc], 1
jmp 0x10038bcc
mov ecx, dword [ebp - 0xc8]
mov byte [ebp - 0xcc], 0
test dl, dl
je 0x10038c5e
cmp byte [ecx + 0x103], 0
mov dl, byte [ecx + 0x102]
mov byte [ebp - 0xcb], dl
je 0x10038c6b
cmp byte [ecx + 0x100], 0
jne 0x10038c6b
test dl, dl
jne 0x10038c6b
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 0x10038cf0
mov byte [ebp - 0xc9], 0
test cl, cl
jne 0x10038cf0
mov byte [ebp - 0xc9], cl
cmp byte [edx + 0x102], cl
jne 0x10038cf0
mov byte [ebp - 0xc9], cl
cmp byte [edx + 0x103], cl
jne 0x10038cf0
mov byte [ebp - 0xd1], 1
mov byte [ebp - 0xc9], cl
jmp 0x10038cf7
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 0x10038bff
mov edx, dword [ebp - 0xc8]
mov byte [ebp - 0xcb], al
mov byte [ebp - 0xc2], 0
cmp byte [edx + 0x101], 0
jne 0x10038c05
cmp byte [edx + 0x102], 0
mov byte [ebp - 0xcb], al
mov byte [ebp - 0xc2], 0
jne 0x10038c05
cmp byte [edx + 0x103], 0
mov byte [ebp - 0xcb], al
mov byte [ebp - 0xc2], 0
jne 0x10038c05
mov byte [ebp - 0xc9], 1
mov byte [ebp - 0xcb], al
mov byte [ebp - 0xc2], 0
mov byte [ebp - 0xd1], 0
test ah, ah
je 0x10038d13
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x80]
test ecx, ecx
js 0x10038d13
call fcn.10013dc0
test al, al
jne 0x10038d31
cmp byte [ebp - 0xd1], 0
je 0x10038d5d
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x10038d5d
call fcn.10013dc0
test al, al
je 0x10038d5d
cmp byte [ebp - 0x100], 0
jne 0x10038d5d
cmp byte [ebp - 0x150], 0
jne 0x10038d5d
cmp byte [ebp - 0xe4], 0
je 0x10038d54
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10038d5d
mov byte [ebp - 0xd9], 1
jmp 0x10038d64
mov byte [ebp - 0xd9], 0
cmp byte [ebp - 0xc1], 0
je 0x10038d82
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x10038d82
call fcn.10013dc0
test al, al
jne 0x10038da0
cmp byte [ebp - 0xc9], 0
je 0x10038dc3
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x10038dc3
call fcn.10013dc0
test al, al
je 0x10038dc3
cmp byte [ebp - 0x150], 0
jne 0x10038dc3
cmp byte [ebp - 0xe4], 0
je 0x10038dba
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10038dc3
mov byte [ebp - 0xc9], 1
jmp 0x10038dca
mov byte [ebp - 0xc9], 0
cmp byte [ebp - 0xc1], 0
je 0x10038de8
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x10038de8
call fcn.10013dc0
test al, al
jne 0x10038e06
cmp byte [ebp - 0xd1], 0
je 0x10038e16
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x10038e16
call fcn.10013dc0
test al, al
je 0x10038e16
cmp byte [ebp - 0x100], 0
mov byte [ebp - 0x119], 1
je 0x10038e1d
mov byte [ebp - 0x119], 0
mov dl, byte [ebp - 0xc1]
test dl, dl
je 0x10038e60
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x10038e60
call fcn.10013dc0
test al, al
je 0x10038e5a
cmp byte [ebp - 0x100], 0
jne 0x10038e5a
cmp byte [ebp - 0x128], 0
je 0x10038e5a
mov byte [ebp - 0xd1], 1
jmp 0x10038e6b
mov dl, byte [ebp - 0xc1]
mov byte [ebp - 0xd1], 0
test dl, dl
je 0x10038e83
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x10038e83
call fcn.10013dc0
test al, al
jne 0x10038ea4
cmp byte [ebp - 0xcc], 0
je 0x10038ebd
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x10038ebd
call fcn.10013dc0
test al, al
je 0x10038ebd
cmp byte [ebp - 0x100], 0
jne 0x10038ebd
cmp byte [ebp - 0x128], 0
mov byte [ebp - 0xcc], 1
jne 0x10038ec4
mov byte [ebp - 0xcc], 0
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x38]
test ecx, ecx
js 0x10038f1f
call fcn.10013dc0
test al, al
je 0x10038f1f
cmp byte [ebp - 0xc2], 0
je 0x10038ef9
mov eax, 0x200004
lea edx, [edi + 0x3c]
or esi, eax
mov ecx, edi
push esi
call fcn.10036550
jmp 0x1003960e
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.10036550
jmp 0x1003960e
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
js 0x10038f7a
call fcn.10013dc0
test al, al
je 0x10038f7a
cmp byte [ebp - 0xc2], 0
je 0x10038f54
mov eax, 0x200005
lea edx, [edi + 0x3c]
or esi, eax
mov ecx, edi
push esi
call fcn.10036550
jmp 0x1003960e
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.10036550
jmp 0x1003960e
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x10038ff5
call fcn.10013dc0
test al, al
je 0x10038ff5
cmp byte [ebp - 0xe4], 0
je 0x10038ff5
mov eax, dword [ebp - 0xc8]
cmp byte [eax + 0x100], 0
je 0x10038fd5
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 [0x1007d148]
movss dword [ecx + 0x64], xmm0
jmp 0x10039628
movzx eax, byte [ebp - 0xc2]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200002]
or eax, esi
push eax
call fcn.10036550
jmp 0x1003960e
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x44]
test ecx, ecx
js 0x10039078
call fcn.10013dc0
test al, al
je 0x10039078
cmp byte [ebp - 0xe4], 0
je 0x10039078
mov eax, dword [ebp - 0xc8]
cmp byte [eax + 0x100], 0
je 0x10039058
mov ecx, dword [ebp - 0x110]
mov esi, eax
mov eax, dword [0x10089f58]
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 0x10039628
movzx eax, byte [ebp - 0xc2]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200003]
or eax, esi
push eax
call fcn.10036550
jmp 0x1003960e
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x50]
test ecx, ecx
js 0x100390ba
call fcn.10013dc0
test al, al
je 0x100390ba
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.10036550
jmp 0x1003960e
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x54]
test ecx, ecx
js 0x100390fc
call fcn.10013dc0
test al, al
je 0x100390fc
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.10036550
jmp 0x1003960e
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x10039130
call fcn.10013dc0
test al, al
je 0x10039130
cmp byte [ebp - 0x100], 0
jne 0x10039130
or esi, 0x200008
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.10036550
jmp 0x1003960e
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x60]
test ecx, ecx
js 0x100391d1
call fcn.10013dc0
test al, al
je 0x100391d1
cmp byte [ebp - 0x100], 0
jne 0x100391d1
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x100391bb
cmp byte [ebp - 0xcb], 0
je 0x1003916e
push 0x60000c
jmp 0x1003919d
cmp byte [ebp - 0x11b], 0
je 0x100391bb
mov eax, dword [ebp - 0xc8]
cmp byte [eax + 0x103], 0
je 0x100391bb
cmp byte [eax + 0x102], 0
jne 0x100391bb
cmp byte [eax + 0x100], 0
jne 0x100391bb
push 0x600004
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10036550
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.10036550
jmp 0x1003960e
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x68]
test ecx, ecx
js 0x100391e6
call fcn.10013dc0
test al, al
jne 0x10039203
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x70]
test ecx, ecx
js 0x1003929a
call fcn.10013dc0
test al, al
je 0x1003929a
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 0x1003922a
mov cl, byte [esi + 0x100]
test al, al
je 0x1003923d
test cl, cl
jne 0x10039241
mov byte [ebp - 0xed], 1
mov byte [ebp - 0xdb], 1
jmp 0x10039628
test cl, cl
jne 0x1003922a
cmp byte [ebp - 0x100], 0
jne 0x10039628
sub esp, 8
mov dword [ebp - 0xec], 0xa
lea ecx, [ebp - 0xec]
call fcn.10037710
add esp, 8
test al, al
je 0x10039628
push dword [ebp - 0xec]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10036550
add esp, 4
mov byte [edi + 0xe64], 1
mov dword [edi + 0xe60], 0xbe99999a
jmp 0x10039628
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
js 0x100392c2
call fcn.10013dc0
test al, al
je 0x100392c2
mov byte [ebp - 0x11a], 1
mov byte [ebp - 0xed], 1
jmp 0x10039622
mov al, byte [ebp - 0xd1]
test al, al
jne 0x100395ef
cmp byte [ebp - 0xcc], al
jne 0x100395ef
cmp byte [ebp - 0xc1], al
je 0x10039312
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x74]
test ecx, ecx
js 0x10039312
call fcn.10013dc0
test al, al
je 0x10039312
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 0x1003961b
mov al, byte [ebp - 0xd9]
test al, al
jne 0x100394d5
cmp byte [ebp - 0xc9], al
jne 0x100394d5
cmp byte [ebp - 0x119], al
je 0x10039622
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0xd0]
test ecx, ecx
je 0x1003935d
push dword [eax + 0xd8]
call ecx
mov esi, eax
add esp, 4
test esi, esi
jne 0x10039362
jmp 0x10039622
mov esi, 0x10071640
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10039367
mov eax, dword [0x10089f58]
sub ecx, edx
test eax, eax
je 0x1003937f
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 0x1003940a
xor edi, edi
push 0
mov edx, esi
lea ecx, [ebp - 0xf4]
call fcn.1000ddb0
add esp, 4
add esi, eax
cmp dword [ebp - 0xf4], 0
je 0x100393f2
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0xf4]
sub esp, 8
call fcn.10037710
add esp, 8
test al, al
je 0x100393ed
mov ecx, dword [ebp - 0xd0]
mov ax, word [ebp - 0xf4]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x100393a6
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 0x100394b3
mov edx, dword [edi + 0x44]
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 4]
cmp ecx, edx
je 0x1003943e
cmp ecx, eax
jle 0x1003942e
mov dword [edi + 0x40], eax
mov ecx, eax
cmp edx, eax
jle 0x10039437
mov dword [edi + 0x44], eax
mov edx, eax
cmp ecx, edx
jne 0x1003943e
mov dword [edi + 0x3c], ecx
cmp dword [edi + 0x3c], eax
jle 0x10039446
mov dword [edi + 0x3c], eax
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.100364c0
push dword [ebp - 0xe8]
mov edx, dword [edi + 0x3c]
mov ecx, edi
push dword [ebp - 0xd0]
call fcn.10035f20
add esp, 8
test al, al
je 0x10039492
push dword [ebp - 0xe8]
mov edx, dword [edi + 0x3c]
lea ecx, [edi + 0x54]
push 0
call fcn.10037380
mov eax, dword [ebp - 0xe8]
add esp, 8
add dword [edi + 0x3c], eax
mov byte [edi + 0x4b], 0
jmp 0x100394a6
movzx eax, word [edi + 0xe52]
test ax, ax
je 0x100394a6
dec eax
mov word [edi + 0xe52], ax
mov ecx, dword [ebp - 0xd0]
mov byte [edi + 0xe64], 1
test ecx, ecx
je 0x100394c6
mov eax, dword [0x10089f58]
test eax, eax
je 0x100394c6
dec dword [eax + 0x374]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x10039622
mov esi, dword [ebp - 0xc8]
cmp dword [esi + 0xd4], 0
je 0x100395b0
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
cmp eax, ecx
je 0x100394fc
mov esi, ecx
cmovge ecx, eax
cmovl esi, eax
jmp 0x10039501
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.1000e070
lea ecx, [eax + 1]
mov eax, dword [0x10089f58]
mov dword [ebp - 0xfc], ecx
test eax, eax
je 0x10039533
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.1000df40
mov eax, dword [0x10089f58]
add esp, 8
mov ecx, dword [eax + 0xd4]
test ecx, ecx
je 0x1003958c
push esi
push dword [eax + 0xd8]
call ecx
mov eax, dword [0x10089f58]
add esp, 8
test esi, esi
je 0x1003959a
test eax, eax
je 0x1003959a
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 0x10039628
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x100395d0
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 0x10039622
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.100364c0
mov byte [edi + 0x4b], 0
jmp 0x10039622
movzx eax, al
lea edx, [edi + 0x3c]
xor eax, 1
mov ecx, edi
add eax, 0x20000a
push eax
call fcn.10036550
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 0x1003963d
cmp byte [ebp - 0xca], 0
je 0x1003963d
mov al, 1
jmp 0x1003963f
xor al, al
or byte [ebp - 0x14c], al
mov eax, dword [ebp - 0xe0]
cmp dword [esi + 0x1a04], eax
jne 0x10039851
test edi, edi
jne 0x10039673
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 0x10039931
cmp byte [ebp - 0x100], al
jne 0x100396dd
mov esi, dword [edi + 0x2c]
mov ecx, esi
mov eax, dword [ebp - 0xd8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100396c4
test dl, dl
je 0x100396c0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100396c4
add eax, 2
add ecx, 2
test dl, dl
jne 0x100396a4
xor eax, eax
jmp 0x100396c9
sbb eax, eax
or eax, 1
test eax, eax
je 0x100396dd
mov eax, dword [edi + 0x24]
dec eax
mov dword [ebp - 0x104], esi
mov dword [ebp - 0xe8], eax
cmp byte [ebp - 0xdb], 0
je 0x100396f2
mov edx, dword [ebx + 0x14]
test dl, 0x20
jne 0x10039934
mov esi, dword [ebp - 0xe8]
cmp dword [ebp - 0x104], 0
je 0x10039827
test esi, esi
jns 0x10039721
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 0x100397e3
cmp byte [ebp - 0x114], 0
je 0x100397e3
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 0x100397ec
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 0x10039820
jbe 0x10039815
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 0x1003986b
cmp dword [esi + 0x1a04], eax
jne 0x1003986b
xor edx, edx
xor ecx, ecx
call fcn.100108a0
mov edx, dword [ebp - 0xe4]
test dl, dl
jne 0x10039e13
mov edx, dword [ebp - 0xe0]
lea ecx, [ebp - 0x60]
push 1
call fcn.1000f930
movss xmm1, dword [0x1007d1fc]
add esp, 4
mov ecx, 9
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.1000e250
movss xmm2, dword [esi + 0x1550]
mov dl, 1
mov ecx, eax
call fcn.1000f1f0
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 0x10039e7c
mov edx, dword [ebx + 0x14]
cmp byte [ebp - 0x100], 0
jne 0x10039999
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 0x10039982
test eax, eax
je 0x10039968
cdq
sub eax, edx
lea edx, [edi + 0x18]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10039970
mov ecx, 8
lea edx, [edi + 0x18]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10021070
lea ecx, [edi + 0x18]
mov dword [ecx], esi
mov edx, esi
mov ecx, dword [edi + 0x20]
push 0
push dword [edi + 0x14]
call fcn.1000df40
mov edx, dword [ebx + 0x14]
add esp, 8
test edx, 0x1c0
je 0x10039dc0
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 0x100399e8
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x100399e8
call fcn.10013dc0
mov edx, dword [ebx + 0x14]
test al, al
je 0x100399e8
mov esi, 0x40
xor eax, eax
jmp 0x10039a46
test dl, dl
jns 0x10039a30
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x10039a0e
call fcn.10013dc0
test al, al
je 0x10039a0e
mov edx, dword [ebx + 0x14]
mov esi, 0x80
lea eax, [esi - 0x7d]
jmp 0x10039a46
mov eax, dword [0x10089f58]
mov ecx, dword [eax + 0x44]
test ecx, ecx
js 0x10039a30
call fcn.10013dc0
test al, al
je 0x10039a30
mov edx, dword [ebx + 0x14]
mov esi, 0x80
lea eax, [esi - 0x7c]
jmp 0x10039a46
mov edx, dword [ebx + 0x14]
mov eax, 0x100
test edx, 0x100
cmovne esi, eax
mov eax, 0x16
test esi, esi
je 0x10039dc0
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.1000e070
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.1000e070
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.1000e070
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 0x10039b0f
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 0x10039b34
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 0x10039b5c
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 0x10039bca
lea edi, [eax + ecx]
mov esi, ecx
xor eax, eax
mov dword [ebp - 0xd0], eax
test edi, edi
je 0x10039b7c
cmp esi, edi
jae 0x10039bb4
cmp byte [esi], 0
je 0x10039bb4
push edi
mov edx, esi
lea ecx, [ebp - 0xfc]
call fcn.1000ddb0
add esi, eax
add esp, 4
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x10039bae
cmp eax, 0xffff
mov eax, dword [ebp - 0xd0]
ja 0x10039b74
inc eax
jmp 0x10039b6e
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 0x10039c31
lea edi, [eax + ecx]
mov esi, ecx
xor eax, eax
mov dword [ebp - 0xd0], eax
test edi, edi
je 0x10039bea
cmp esi, edi
jae 0x10039c22
cmp byte [esi], 0
je 0x10039c22
push edi
mov edx, esi
lea ecx, [ebp - 0xfc]
call fcn.1000ddb0
add esi, eax
add esp, 4
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x10039c1c
cmp eax, 0xffff
mov eax, dword [ebp - 0xd0]
ja 0x10039be2
inc eax
jmp 0x10039bdc
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 0x10039c9f
lea edi, [eax + ecx]
mov esi, ecx
xor eax, eax
mov dword [ebp - 0xd0], eax
nop dword [eax]
test edi, edi
je 0x10039c58
cmp esi, edi
jae 0x10039c90
cmp byte [esi], 0
je 0x10039c90
push edi
mov edx, esi
lea ecx, [ebp - 0xfc]
call fcn.1000ddb0
add esi, eax
add esp, 4
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x10039c8a
cmp eax, 0xffff
mov eax, dword [ebp - 0xd0]
ja 0x10039c50
inc eax
jmp 0x10039c43
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 0x10039dc0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10039cb0
sub ecx, edx
mov edx, dword [ebp - 0x78]
cmp edx, ecx
je 0x10039ce4
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 0x10039d3b
cmp byte [ebp - 0x114], 0
je 0x10039d3b
mov esi, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
sub esi, ecx
add esi, edx
cmp esi, eax
jle 0x10039d38
test eax, eax
je 0x10039d18
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10039d20
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.100210e0
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 0x10039da4
mov edi, dword [ebp - 0xf8]
nop dword [eax]
cmp byte [edi], 0
je 0x10039d98
push 0
mov edx, edi
lea ecx, [ebp - 0xfc]
call fcn.1000ddb0
add edi, eax
add esp, 4
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x10039d98
cmp eax, 0xffff
ja 0x10039d90
mov word [esi], ax
add esi, 2
cmp esi, dword [ebp - 0x144]
jb 0x10039d60
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 0x100396f2
mov esi, dword [edi + 0x20]
mov eax, esi
mov ecx, dword [ebp - 0xd8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10039df8
test dl, dl
je 0x10039df4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10039df8
add eax, 2
add ecx, 2
test dl, dl
jne 0x10039dd8
xor eax, eax
jmp 0x10039dfd
sbb eax, eax
or eax, 1
test eax, eax
je 0x100396f2
mov dword [ebp - 0x104], esi
mov esi, dword [edi + 8]
jmp 0x100396f8
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 0x10039edd
mov eax, dword [edi + 0x20]
mov dword [ebp - 0xd8], eax
jmp 0x10039ee3
mov eax, dword [ebp - 0xd8]
cmp byte [ebp - 0xca], 0
jne 0x1003a37b
cmp byte [ebp - 0x14c], 0
jne 0x1003a37b
test dl, dl
je 0x10039f5c
mov dl, byte [eax]
lea edi, [eax + 1]
xor ecx, ecx
test dl, dl
je 0x10039f22
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 0x10039f10
mov al, byte [edi - 1]
dec edi
mov dword [ebp - 0x120], edi
cmp al, 0xa
je 0x10039f35
cmp al, 0xd
je 0x10039f35
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 0x10039fa0
mov ecx, dword [ebp - 0xe0]
cmp dword [esi + 0x1a04], ecx
jne 0x10039f71
mov edi, dword [edi + 8]
add edi, eax
jmp 0x10039f87
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10039f76
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 0x1003a25f
movss xmm1, dword [0x1007d1fc]
xor ecx, ecx
call fcn.1000e250
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 0x1003a1a5
cmp dword [ebp - 0x120], 0
jne 0x1003a043
mov ecx, dword [ebp - 0xd8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a026
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 0x1003a1a5
test ecx, ecx
jne 0x1003a05f
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 8]
mov dword [ebp - 0xd0], eax
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jp 0x1003a078
mov eax, dword [esi + 0x28]
movss xmm0, dword [eax + 0xc]
movss dword [ebp - 0xf4], xmm0
cmp dword [esi + 0x4c], 0
jg 0x1003a096
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 0x1003a0c6
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 0x1003a0e4
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 0x1003a15c
movss xmm1, dword [edi]
movss xmm0, dword [ebp - 0x160]
comiss xmm0, xmm1
jae 0x1003a116
movss dword [ebp - 0x160], xmm1
movss xmm1, dword [edi + 4]
movss xmm0, dword [ebp - 0x15c]
comiss xmm0, xmm1
jae 0x1003a130
movss dword [ebp - 0x15c], xmm1
movss xmm0, dword [edi + 8]
comiss xmm0, dword [ebp - 0x158]
ja 0x1003a146
movss dword [ebp - 0x158], xmm0
movss xmm0, dword [edi + 0xc]
comiss xmm0, dword [ebp - 0x154]
ja 0x1003a15c
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.1002ed90
mov esi, dword [ebp - 0xc8]
cmp byte [ebp - 0xe4], 0
je 0x1003a259
mov ecx, dword [0x10089f58]
movss xmm1, dword [ebp - 0xec]
addss xmm1, dword [esi + 0x18e4]
movss xmm0, dword [ebp - 0x128]
mov eax, dword [ecx + 0x19d0]
addss xmm0, dword [0x1007d148]
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 0x1003a24f
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 [0x1007d354]
movss dword [ebp - 0x20], xmm4
movss dword [ebp - 0x1c], xmm2
call fcn.10010a60
push 0
xor edx, edx
lea ecx, [ebp - 0x28]
call fcn.10010b90
add esp, 4
call fcn.10014160
call fcn.1001a230
mov edi, dword [ebp - 0x120]
mov eax, dword [ebp - 0x150]
test al, al
je 0x1003a274
call fcn.100198c0
mov eax, dword [ebp - 0x150]
cmp byte [esi + 0x2d78], 0
je 0x1003a296
test al, al
jne 0x1003a296
mov edx, dword [ebp - 0xd8]
lea ecx, [ebp - 0x134]
push edi
call fcn.1001f8a0
add esp, 4
movss xmm0, dword [ebp - 0x168]
comiss xmm0, dword [0x1007d148]
jbe 0x1003a2ef
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.1000e6a0
add esp, 0xc
mov cl, byte [ebp - 0xda]
test cl, cl
je 0x1003a357
test dword [ebx + 0x14], 0x200000
jne 0x1003a357
mov esi, dword [0x10089f58]
mov eax, dword [esi + 0x1a04]
cmp eax, dword [ebp - 0xe0]
je 0x1003a341
test eax, eax
je 0x1003a341
cmp byte [esi + 0x1d54], 0
jne 0x1003a341
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.1006c1ab
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test edi, edi
jne 0x1003a39f
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 0x1003a40c
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 0x1003a43f
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 0x1003a4cb
mov edi, dword [ebp - 0x154]
mov esi, eax
cmp si, 0xa
jne 0x1003a4ab
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp edi, 0xffffffff
jne 0x1003a48f
cmp ecx, dword [ebp - 0x124]
jb 0x1003a48f
dec edx
mov edi, eax
test edx, edx
jle 0x1003a4b9
cmp dword [ebp - 0x104], 0xffffffff
jne 0x1003a4ab
cmp ecx, dword [ebp - 0x108]
jb 0x1003a4ab
dec edx
mov dword [ebp - 0x104], eax
test edx, edx
jle 0x1003a4b9
movzx eax, word [ecx + 2]
add ecx, 2
mov esi, eax
test ax, ax
jne 0x1003a468
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 0x1003a51e
nop word [eax + eax]
cmp word [ecx - 2], 0xa
je 0x1003a51e
add ecx, 0xfffffffe
cmp ecx, esi
ja 0x1003a510
mov eax, dword [0x10089f58]
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 0x1003a588
mov edi, dword [ebp - 0x124]
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x1003a55c
maxss xmm1, xmm3
movaps xmm3, xmm6
jmp 0x1003a57e
cmp edx, 0xd
je 0x1003a57e
mov edx, eax
cmp edx, dword [esi]
jge 0x1003a571
mov eax, dword [esi + 8]
movss xmm0, dword [eax + edx*4]
jmp 0x1003a576
movss xmm0, dword [esi + 0xc]
mulss xmm0, xmm2
addss xmm3, xmm0
cmp ecx, edi
jb 0x1003a546
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 0x1003a686
mov edx, dword [ebp - 0x108]
mov ecx, edx
mov esi, dword [ebp - 0xe8]
cmp edx, esi
jbe 0x1003a5e6
cmp word [ecx - 2], 0xa
je 0x1003a5e6
add ecx, 0xfffffffe
cmp ecx, esi
ja 0x1003a5d8
mov eax, dword [0x10089f58]
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 0x1003a655
mov edi, dword [ebp - 0x108]
nop
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x1003a626
maxss xmm2, xmm7
movaps xmm7, xmm6
jmp 0x1003a64b
cmp edx, 0xd
je 0x1003a64b
mov edx, eax
cmp edx, dword [esi]
jge 0x1003a63b
mov eax, dword [esi + 8]
movss xmm1, dword [eax + edx*4]
jmp 0x1003a640
movss xmm1, dword [esi + 0xc]
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm7, xmm0
cmp ecx, edi
jb 0x1003a610
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 0x1003a6bb
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 0x1003a6c3
movss xmm6, dword [ebp - 0x12c]
cmp byte [ebp - 0xca], 0
je 0x1003a794
cmp byte [edi + 0xe64], 0
je 0x1003a794
test dword [ebx + 0x14], 0x1000
jne 0x1003a72d
movss xmm1, dword [edi + 0x38]
movaps xmm2, xmm6
comiss xmm1, xmm3
mulss xmm2, dword [0x1007d1b0]
jbe 0x1003a70b
movaps xmm1, xmm3
xorps xmm0, xmm0
subss xmm1, xmm2
maxss xmm0, xmm1
jmp 0x1003a71b
movaps xmm0, xmm3
subss xmm0, xmm6
comiss xmm0, xmm1
jb 0x1003a734
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x38], xmm0
jmp 0x1003a734
mov dword [edi + 0x38], 0
cmp byte [ebp - 0xe4], 0
je 0x1003a78d
mov eax, dword [ebp - 0x110]
movaps xmm2, xmm4
subss xmm2, dword [ecx + 0x18e4]
movss xmm1, dword [eax + 0x54]
comiss xmm1, xmm2
jbe 0x1003a761
xorps xmm0, xmm0
maxss xmm0, xmm2
jmp 0x1003a770
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 0x1003aa93
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 0x1003a7e9
movss xmm1, dword [0x1007d1fc]
jmp 0x1003a7f1
movss xmm1, dword [0x1007d1cc]
mov ecx, 0x2c
call fcn.1000e250
cmp byte [ebp - 0xe4], 0
mov dword [ebp - 0x13c], eax
je 0x1003a81a
xorps xmm0, xmm0
xorps xmm6, xmm6
movss dword [ebp - 0x124], xmm0
jmp 0x1003a835
movss xmm0, dword [0x1007d24c]
movss xmm6, dword [0x1007d354]
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 0x1003aae7
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 0x1003aa85
movss xmm0, dword [ebp - 0x5c]
comiss xmm0, xmm5
jbe 0x1003a8df
cmp esi, ecx
jae 0x1003aa59
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x1003aa53
cmp esi, ecx
jb 0x1003a8c6
jmp 0x1003aa53
mov eax, dword [0x10089f58]
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 0x1003a950
movzx eax, word [esi]
add esi, 2
mov ecx, eax
cmp eax, 0xa
je 0x1003a93d
cmp ecx, 0xd
je 0x1003a931
cmp ecx, dword [edx]
jge 0x1003a924
mov eax, dword [edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x1003a929
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
mov ecx, dword [ebp - 0x108]
cmp esi, ecx
jb 0x1003a904
jmp 0x1003a94d
mov ecx, dword [ebp - 0x108]
xorps xmm3, xmm3
maxss xmm3, xmm1
xorps xmm1, xmm1
xorps xmm0, xmm0
maxss xmm1, xmm3
comiss xmm0, xmm1
jb 0x1003a989
mov eax, dword [edi + 0x18e0]
cmp dword [eax], 0x20
jle 0x1003a971
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x1003a976
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x1007d1c4]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm0, dword [ebp - 0x124]
addss xmm1, xmm4
addss xmm4, dword [0x1007d148]
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 0x1003aa53
comiss xmm7, xmm2
jbe 0x1003aa53
comiss xmm1, dword [ebp - 0x60]
jbe 0x1003aa53
comiss xmm3, xmm4
jbe 0x1003aa53
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.1002a1a0
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 0x1003a8a0
movss xmm4, dword [ebp - 0xd0]
mov edi, dword [ebp - 0x10c]
movss xmm7, dword [ebp - 0x138]
cmp byte [ebp - 0xe4], 0
jne 0x1003aabb
mov eax, dword [ebp - 0x120]
sub eax, dword [ebp - 0xd8]
cmp eax, 0x200000
jge 0x1003ada2
mov eax, dword [0x10089f58]
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 0x1003aaf1
xorps xmm0, xmm0
jmp 0x1003aafd
movss xmm4, dword [ebp - 0xd0]
jmp 0x1003aa9b
movss xmm0, dword [0x1007d1fc]
minss xmm0, xmm1
movss xmm1, dword [0x1007d2e8]
movss xmm6, dword [0x1007d1c4]
movss xmm3, dword [ebp - 0x2c]
comiss xmm5, xmm3
mulss xmm0, xmm1
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1003ab28
xorps xmm0, xmm0
jmp 0x1003ab34
movss xmm0, dword [0x1007d1fc]
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 0x1003ab54
xorps xmm0, xmm0
jmp 0x1003ab60
movss xmm0, dword [0x1007d1fc]
minss xmm0, xmm3
mulss xmm0, xmm1
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm5, xmm2
jbe 0x1003ab7b
xorps xmm0, xmm0
jmp 0x1003ab87
movss xmm0, dword [0x1007d1fc]
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 0x1003ada5
test ecx, ecx
jne 0x1003ac50
mov ecx, dword [ebp - 0xd8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003ac37
mov eax, dword [ebp - 0xd8]
sub ecx, edx
add ecx, eax
mov dword [ebp - 0x144], ecx
jmp 0x1003ac56
mov eax, dword [ebp - 0xd8]
cmp eax, ecx
je 0x1003ada5
cmp dword [ebp - 0x108], 0
jne 0x1003ac73
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 8]
mov dword [ebp - 0x108], eax
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jp 0x1003ac8c
mov eax, dword [esi + 0x28]
movss xmm0, dword [eax + 0xc]
movss dword [ebp - 0x118], xmm0
cmp dword [esi + 0x4c], 0
jg 0x1003acaa
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 0x1003acda
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 0x1003acf8
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 0x1003ad5b
movss xmm1, dword [eax]
movss xmm0, dword [ebp - 0x30]
comiss xmm0, xmm1
jae 0x1003ad27
movss dword [ebp - 0x30], xmm1
movss xmm1, dword [eax + 4]
movss xmm0, dword [ebp - 0x2c]
comiss xmm0, xmm1
jae 0x1003ad3b
movss dword [ebp - 0x2c], xmm1
movss xmm0, dword [eax + 8]
comiss xmm0, dword [ebp - 0x28]
ja 0x1003ad4b
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [eax + 0xc]
comiss xmm0, dword [ebp - 0x24]
ja 0x1003ad5b
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.1002ed90
xorps xmm5, xmm5
cmp byte [ebp - 0xca], 0
je 0x1003a1a5
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 0x1003ae1a
comiss xmm5, xmm0
jae 0x1003ae1a
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x148], xmm0
fld qword [ebp - 0x148]
fld qword [0x1007d240]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm0, dword [0x1007d1e8]
fstp qword [ebp - 0x148]
movsd xmm1, qword [ebp - 0x148]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x1003ae1a
xor al, al
jmp 0x1003ae1c
mov al, 1
movss xmm4, dword [ebp - 0x138]
mov ecx, dword [ebp - 0xf8]
movss xmm6, dword [0x1007d1fc]
addss xmm4, dword [ebp - 0x16c]
movss xmm3, dword [ecx]
addss xmm3, dword [ebp - 0xfc]
subss xmm4, dword [0x1007d148]
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 [0x1007d220]
addss xmm0, dword [0x1007d1c4]
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x24], xmm0
test al, al
je 0x1003af25
comiss xmm1, dword [ebp - 0x5c]
jbe 0x1003af25
movss xmm5, dword [ebp - 0x140]
comiss xmm5, xmm0
jbe 0x1003af25
comiss xmm2, dword [ebp - 0x60]
jbe 0x1003af25
movss xmm0, dword [ebp - 0xf4]
comiss xmm0, xmm3
jbe 0x1003af25
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.1000e250
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.10029fa0
movss xmm3, dword [ebp - 0xfc]
movss xmm4, dword [ebp - 0x138]
movss xmm6, dword [0x1007d1fc]
cmp byte [ebp - 0x100], 0
jne 0x1003a1ab
subss xmm4, dword [esi + 0x18e4]
subss xmm3, xmm6
movss dword [esi + 0x2d40], xmm4
movss dword [esi + 0x2d3c], xmm3
jmp 0x1003a1ab