Function at 0x1009c0d0
Capabilities:
Encode data using xor

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, 0x168
mov eax, dword [0x101cf7b8]
mov edx, ecx
push esi
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push edi
mov edi, dword [edx + 0x178]
mov dword [ebp - 0x64], eax
mov al, byte [edx + 0x1b2]
mov byte [ebp - 1], al
cmp dword [edi], 0
mov al, byte [edx + 0x1b4]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], edi
mov byte [ebp - 0x15], al
mov dword [ebp - 8], esi
je 0x1009c13b
push 0x918
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2FeaturesMenuImGuiimgui_tables.cpp
push str.splitter___Current__0
call esi
mov edx, dword [ebp - 0x1c]
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x40], eax
lea ecx, [eax + 4]
lea eax, [ebp - 0x15c]
nop dword [eax]
mov dword [eax - 4], 0
xorps xmm0, xmm0
mov dword [eax], 0
lea eax, [eax + 0x28]
mov dword [eax - 0x24], 0
mov dword [eax - 0x20], 0
movups xmmword [eax - 0x18], xmm0
mov dword [eax - 8], 0
mov dword [eax - 0x1c], 0
sub ecx, 1
jne 0x1009c150
xor eax, eax
mov dword [ebp - 0x44], eax
cmp dword [edx + 0x54], eax
jle 0x1009ca33
xor edi, edi
mov dword [ebp - 0x58], edi
nop dword [eax + eax]
xor edx, edx
xor ecx, ecx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
mov eax, dword [ebp - 0x1c]
cmovae ecx, edx
and edx, dword [eax + 0x38]
and ecx, dword [eax + 0x3c]
or edx, ecx
je 0x1009c41f
add edi, dword [eax + 0x10]
mov dword [ebp - 0x5c], edi
cmp edi, dword [eax + 0x10]
jb 0x1009c1d8
mov ecx, eax
cmp edi, dword [ecx + 0x14]
jb 0x1009c1ec
push 0x249
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2FeaturesMenuImGuiimgui_internal.h
push str.p___Data__p___DataEnd
call esi
add esp, 0xc
xor eax, eax
cmp byte [ebp - 1], al
setg al
inc eax
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x10], eax
nop dword [eax]
test eax, eax
jne 0x1009c209
mov al, byte [edi + 0x58]
jmp 0x1009c20c
mov al, byte [edi + 0x59]
movzx edx, al
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x50], edx
cmp edx, dword [eax + 8]
jl 0x1009c231
push 0x6b9
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2FeaturesMenuImGuiimgui.h
push str.i___0__i___Size
call esi
mov edx, dword [ebp - 0x50]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
lea eax, [edx + edx*2]
mov dword [ebp - 0x24], eax
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x20], ecx
mov eax, dword [ecx + eax*8]
mov esi, eax
test eax, eax
jle 0x1009c26c
mov edi, dword [ebp - 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x24]
mov eax, dword [edi + eax*8 + 8]
mov edi, dword [ebp - 0x5c]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x1009c26c
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
dec dword [eax + ecx*8]
mov esi, dword [eax + ecx*8]
cmp esi, 1
jne 0x1009c405
test dword [edi], 0x100
mov ecx, dword [ebp - 0x10]
jne 0x1009c2b1
cmp byte [ebp - 1], 0
jg 0x1009c292
movss xmm0, dword [edi + 0x44]
maxss xmm0, dword [edi + 0x48]
jmp 0x1009c2a7
test ecx, ecx
jne 0x1009c2a2
movss xmm0, dword [edi + 0x40]
maxss xmm0, dword [edi + 0x48]
jmp 0x1009c2a7
movss xmm0, dword [edi + 0x44]
comiss xmm0, dword [edi + 0x28]
ja 0x1009c405
cmp byte [ebp - 0x15], 0
jle 0x1009c2ca
mov eax, dword [ebp - 0x1c]
movsx eax, byte [eax + 0x1b4]
cmp dword [ebp - 0x44], eax
jge 0x1009c2ca
xor esi, esi
jmp 0x1009c2cf
mov esi, 1
cmp byte [ebp - 1], 0
jle 0x1009c2dd
test ecx, ecx
jne 0x1009c2dd
xor eax, eax
jmp 0x1009c2e2
mov eax, 2
add esi, eax
mov dword [ebp - 0x54], esi
cmp edx, 0x84
jb 0x1009c307
push 0x949
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2FeaturesMenuImGuiimgui_tables.cpp
push str.channel_no____4__64__2_
call dword [ebp - 8]
mov edx, dword [ebp - 0x50]
add esp, 0xc
lea eax, [esi + esi*4]
shl eax, 3
lea esi, [ebp - 0x160]
add esi, eax
cmp dword [ebp + eax - 0x150], 0
lea edi, [esi + 8]
lea ecx, [esi + 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x28], ecx
mov eax, edi
jne 0x1009c348
mov dword [esi], 0x7f7fffff
mov dword [ecx], 0x7f7fffff
mov dword [eax], 0xff7fffff
mov dword [esi + 0xc], 0xff7fffff
jmp 0x1009c34e
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0x5c]
cmp edx, 0x84
jb 0x1009c371
push 0x227
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2FeaturesMenuImGuiimgui_internal.h
push str.n___BITCOUNT
call dword [ebp - 8]
mov edx, dword [ebp - 0x50]
add esp, 0xc
mov ecx, edx
and edx, 0x1f
shr ecx, 5
mov eax, dword [esi + ecx*4 + 0x14]
bts eax, edx
mov dword [esi + ecx*4 + 0x14], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
inc dword [esi + 0x10]
cmp dword [ecx + eax*8], 0
jg 0x1009c3ae
push 0x6b9
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2FeaturesMenuImGuiimgui.h
push str.i___0__i___Size
call dword [ebp - 8]
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + eax*8 + 8]
movss xmm0, dword [esi]
movss xmm4, dword [eax]
comiss xmm0, xmm4
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
movss xmm3, dword [eax + 0xc]
jbe 0x1009c3d2
movss dword [esi], xmm4
mov eax, dword [ebp - 0x28]
movss xmm0, dword [eax]
comiss xmm0, xmm1
jbe 0x1009c3e2
movss dword [eax], xmm1
mov eax, dword [ebp - 0x14]
comiss xmm2, dword [eax]
jbe 0x1009c3ee
movss dword [eax], xmm2
comiss xmm3, dword [esi + 0xc]
jbe 0x1009c3f9
movss dword [esi + 0xc], xmm3
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x54]
bts ecx, eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x60]
jl 0x1009c200
mov byte [edi + 0x57], 0xff
mov edi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x44]
add edi, 0x68
mov ecx, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x58], edi
cmp eax, dword [ecx + 0x54]
jl 0x1009c1a0
cmp dword [ebp - 0x40], 0
je 0x1009ca33
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x64]
add ecx, 0x1fa4
mov dword [ebp - 0x5c], ecx
mov esi, dword [eax + 4]
sub esi, 2
mov edi, dword [ecx + 4]
cmp esi, edi
jle 0x1009c48a
test edi, edi
je 0x1009c46f
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, edi
jmp 0x1009c474
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, dword [ebp - 0x5c]
push eax
call fcn.100958e0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x5c]
mov dword [ecx], esi
mov edx, 2
mov ecx, dword [ebp - 0x64]
xorps xmm0, xmm0
mov esi, dword [eax + 4]
dec esi
movaps xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x80], 0
mov ecx, dword [ecx + 0x1fac]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x60], esi
cmp esi, edx
jl 0x1009c51c
mov eax, esi
and eax, 0x1f
mov dword [ebp - 0x54], eax
mov eax, edx
mov edi, edx
or eax, 0x1f
sar edi, 5
cmp esi, eax
mov ecx, 0x1f
cmovle ecx, dword [ebp - 0x54]
xor esi, esi
inc ecx
xor eax, eax
bts esi, ecx
cmp ecx, 0x20
mov ecx, edx
cmovae eax, esi
xor edx, edx
xor esi, eax
and ecx, 0x1f
bts edx, ecx
dec esi
xor eax, eax
cmp ecx, 0x20
cmovae eax, edx
xor edx, eax
neg edx
and esi, edx
mov edx, dword [ebp - 0x28]
or dword [ebp + edi*4 - 0x90], esi
add edx, 0x20
mov esi, dword [ebp - 0x60]
and edx, 0xffffffe0
mov dword [ebp - 0x28], edx
cmp edx, esi
jle 0x1009c4c4
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 8]
movzx esi, byte [edx + 0x1b8]
cmp esi, 0x84
jb 0x1009c548
push 0x228
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2FeaturesMenuImGuiimgui_internal.h
push str.n___BITCOUNT
call edi
mov edx, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, esi
and esi, 0x1f
shr ecx, 5
mov eax, dword [ebp + ecx*4 - 0x90]
btr eax, esi
cmp byte [ebp - 1], 0
mov dword [ebp + ecx*4 - 0x90], eax
jle 0x1009c584
cmp byte [edx + 0x1b8], 1
jne 0x1009c584
push 0x974
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2FeaturesMenuImGuiimgui_tables.cpp
push str.has_freeze_v__false__table__Bg2DrawChannelUnfrozen___TABLE_DRAW_CHANNEL_BG2_FROZEN
call edi
add esp, 0xc
mov ecx, dword [ebp - 0xc]
xor eax, eax
cmp byte [ebp - 1], al
setg al
mov edx, dword [ecx + 4]
add eax, 2
sub edx, eax
mov eax, dword [ebp - 0x1c]
xor esi, esi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], esi
movups xmm0, xmmword [eax + 0x144]
movups xmmword [ebp - 0xb0], xmm0
jmp 0x1009c5b5
mov edi, dword [ebp - 8]
lea ecx, [esi + esi*4]
mov eax, dword [ebp + ecx*8 - 0x150]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1009c8be
movups xmm0, xmmword [ebp + ecx*8 - 0x160]
mov edx, esi
movups xmmword [ebp - 0xa0], xmm0
and edx, 1
je 0x1009c5f5
cmp byte [ebp - 0x15], 0
jle 0x1009c5f5
movss xmm0, dword [ebp - 0xa0]
movss dword [ebp - 0x40], xmm0
jmp 0x1009c614
movss xmm0, dword [ebp - 0xa0]
movss xmm1, dword [ebp - 0xb0]
comiss xmm1, xmm0
movss dword [ebp - 0x40], xmm0
ja 0x1009c614
movss dword [ebp - 0x40], xmm1
mov eax, esi
and eax, 2
je 0x1009c630
cmp byte [ebp - 1], 0
jle 0x1009c630
movss xmm0, dword [ebp - 0x9c]
movss dword [ebp - 0x44], xmm0
jmp 0x1009c64f
movss xmm0, dword [ebp - 0x9c]
movss xmm1, dword [ebp - 0xac]
comiss xmm1, xmm0
movss dword [ebp - 0x44], xmm0
ja 0x1009c64f
movss dword [ebp - 0x44], xmm1
movss xmm0, dword [ebp - 0x98]
movss dword [ebp - 0x50], xmm0
test edx, edx
je 0x1009c672
movss xmm1, dword [ebp - 0xa8]
comiss xmm0, xmm1
jae 0x1009c672
movss dword [ebp - 0x50], xmm1
test eax, eax
je 0x1009c6a3
mov eax, dword [ebp - 0x1c]
test dword [eax + 4], 0x20000
jne 0x1009c6a3
movss xmm0, dword [ebp - 0x94]
movss xmm1, dword [ebp - 0xa4]
comiss xmm0, xmm1
movss dword [ebp - 0x58], xmm0
jae 0x1009c6b0
movss dword [ebp - 0x58], xmm1
jmp 0x1009c6b0
movss xmm0, dword [ebp - 0x94]
movss dword [ebp - 0x58], xmm0
mov edx, dword [ebp - 0x14]
lea eax, [ebp + ecx*8 - 0x14c]
sub edx, dword [ebp + ecx*8 - 0x150]
xor esi, esi
mov dword [ebp - 0x60], eax
mov eax, dword [eax]
not eax
mov dword [ebp - 0x14], edx
and dword [ebp - 0x90], eax
mov eax, dword [ebp + ecx*8 - 0x148]
not eax
and dword [ebp - 0x8c], eax
mov eax, dword [ebp + ecx*8 - 0x144]
not eax
and dword [ebp - 0x88], eax
mov eax, dword [ebp + ecx*8 - 0x140]
not eax
and dword [ebp - 0x84], eax
mov eax, dword [ebp + ecx*8 - 0x13c]
mov ecx, dword [ebp - 0xc]
not eax
and dword [ebp - 0x80], eax
cmp dword [ecx + 4], esi
jle 0x1009c8b9
xor edx, edx
mov dword [ebp - 0x20], edx
jmp 0x1009c723
mov edi, dword [ebp - 8]
cmp dword [ebp - 0x28], 0
je 0x1009c8b1
cmp esi, 0x84
jl 0x1009c749
push 0x226
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2FeaturesMenuImGuiimgui_internal.h
push str.n___BITCOUNT
call edi
add esp, 0xc
mov edx, dword [ebp - 0x60]
mov edi, esi
mov ecx, esi
sar edi, 5
and ecx, 0x1f
mov eax, 1
shl eax, cl
mov dword [ebp - 0x54], ecx
test dword [edx + edi*4], eax
mov edx, dword [ebp - 0x20]
je 0x1009c89e
cmp esi, 0x84
jl 0x1009c78c
push 0x228
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2FeaturesMenuImGuiimgui_internal.h
push str.n___BITCOUNT
call dword [ebp - 8]
mov ecx, dword [ebp - 0x54]
add esp, 0xc
mov edx, dword [ebp - 0x60]
dec dword [ebp - 0x28]
mov eax, dword [edx + edi*4]
btr eax, ecx
mov dword [edx + edi*4], eax
mov edi, dword [ebp - 0xc]
test esi, esi
js 0x1009c7a7
cmp esi, dword [edi + 8]
jl 0x1009c7bc
push 0x6b9
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2FeaturesMenuImGuiimgui.h
push str.i___0__i___Size
call dword [ebp - 8]
add esp, 0xc
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x54], eax
cmp dword [eax + ecx], 1
lea edi, [eax + ecx]
jne 0x1009c803
mov eax, dword [edi + 8]
movss xmm0, dword [eax]
comiss xmm0, dword [ebp - 0x40]
movss xmm1, dword [eax + 4]
jb 0x1009c803
comiss xmm1, dword [ebp - 0x44]
jb 0x1009c803
movss xmm0, dword [ebp - 0x50]
comiss xmm0, dword [eax + 8]
jb 0x1009c803
movss xmm0, dword [ebp - 0x58]
comiss xmm0, dword [eax + 0xc]
jb 0x1009c803
mov eax, 1
jmp 0x1009c826
push 0x99f
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2FeaturesMenuImGuiimgui_tables.cpp
push str.channel___CmdBuffer.Size__1__merge_clip_rect.Contains_ImRect_channel___CmdBuffer_0_.ClipRect__
call dword [ebp - 8]
mov eax, dword [ebp - 0x54]
add esp, 0xc
mov ecx, dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x58]
mov eax, dword [eax + ecx]
movss xmm1, dword [ebp - 0x40]
movss dword [ebp - 0xc0], xmm1
movss xmm1, dword [ebp - 0x44]
movss dword [ebp - 0xbc], xmm1
movss xmm1, dword [ebp - 0x50]
movss dword [ebp - 0xb8], xmm1
movss dword [ebp - 0xb4], xmm0
test eax, eax
jg 0x1009c86e
push 0x6b9
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2FeaturesMenuImGuiimgui.h
push str.i___0__i___Size
call dword [ebp - 8]
add esp, 0xc
mov eax, dword [edi + 8]
movups xmm0, xmmword [ebp - 0xc0]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
movups xmmword [eax], xmm0
mov eax, ecx
add ecx, 0x18
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x54]
movups xmm0, xmmword [ecx + edx]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + edx + 0x10]
movq qword [eax + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
inc esi
add edx, 0x18
mov dword [ebp - 0x20], edx
cmp esi, dword [ecx + 4]
jl 0x1009c720
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
jmp 0x1009c8c1
mov esi, dword [ebp - 0x24]
jmp 0x1009c8c1
mov ecx, dword [ebp - 0xc]
cmp esi, 1
jne 0x1009c925
cmp byte [ebp - 1], 0
jle 0x1009c925
mov eax, dword [ebp - 0x10]
mov edi, eax
add eax, 0x18
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
movzx esi, byte [eax + 0x1b8]
cmp esi, dword [ecx + 8]
jl 0x1009c8fb
push 0x6b9
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2FeaturesMenuImGuiimgui.h
push str.i___0__i___Size
call dword [ebp - 8]
add esp, 0xc
mov eax, dword [ebp - 0xc]
lea ecx, [esi + esi*2]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
inc esi
mov dword [ebp - 0x24], esi
mov eax, dword [eax + 0x10]
movups xmm0, xmmword [eax + ecx*8]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + ecx*8 + 0x10]
movq qword [edi + 0x10], xmm0
jmp 0x1009c5b2
inc esi
mov dword [ebp - 0x24], esi
cmp esi, 4
jl 0x1009c5b2
xor esi, esi
cmp dword [ecx + 4], esi
jle 0x1009c9df
xor edi, edi
nop
test edx, edx
je 0x1009c9df
cmp esi, 0x84
jl 0x1009c965
push 0x226
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2FeaturesMenuImGuiimgui_internal.h
push str.n___BITCOUNT
call dword [ebp - 8]
add esp, 0xc
mov eax, esi
mov ecx, esi
and ecx, 0x1f
sar eax, 5
mov edx, 1
shl edx, cl
test dword [ebp + eax*4 - 0x90], edx
je 0x1009c9cc
test esi, esi
js 0x1009c98b
mov eax, dword [ebp - 0xc]
cmp esi, dword [eax + 8]
jl 0x1009c9a0
push 0x6b9
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2FeaturesMenuImGuiimgui.h
push str.i___0__i___Size
call dword [ebp - 8]
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov edx, dword [ebp - 0x14]
add eax, 0x18
mov dword [ebp - 0x10], eax
dec edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [eax + 0x10]
movups xmm0, xmmword [eax + edi]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + edi + 0x10]
movq qword [ecx + 0x10], xmm0
jmp 0x1009c9cf
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
inc esi
add edi, 0x18
cmp esi, dword [eax + 4]
jl 0x1009c940
mov eax, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x64]
mov eax, dword [eax]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x1fac]
lea eax, [eax + ecx*8]
cmp dword [ebp - 0x10], eax
je 0x1009ca0d
push 0x9b3
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2FeaturesMenuImGuiimgui_tables.cpp
push str.dst_tmp__g.DrawChannelsTempMergeBuffer.Data__g.DrawChannelsTempMergeBuffer.Size
call dword [ebp - 8]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 4]
lea eax, [eax + eax*2]
lea eax, [eax*8 - 0x30]
push eax
mov eax, dword [ecx + 0x10]
push dword [esi + 0x1fac]
add eax, 0x30
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret