Function at 0x496eb0
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, 0x138
mov eax, dword [0x55c054]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [0x562924]
mov dword [ebp - 0x78], esi
movzx eax, word [esi + 0x1d0]
mov ecx, dword [esi + 0x160]
mov edx, eax
mov dword [ebp - 0x98], eax
movzx eax, word [esi + 0x1d4]
mov dword [ebp - 0xdc], edx
mov edx, eax
cmp dword [ecx], 0
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0xbc], eax
je 0x496f38
push 0x976
push str.C:UsersMi_PcDocumentsGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceExternalImGuiimgui_tables.cpp
push str.splitter___Current__0
call fcn.004ecded
add esp, 0xc
xor eax, eax
lea ecx, [edi + 0x5eac]
mov dword [ebp - 0x74], eax
xorps xmm0, xmm0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x40]
movups xmmword [ebp - 0x68], xmm0
movups xmmword [ebp - 0x50], xmm0
lea eax, [eax*2 + 4]
mov dword [ebp - 0xc0], eax
add eax, 0x1f
sar eax, 3
and eax, 0xfffffffc
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0xb4], eax
movups xmmword [ebp - 0x20], xmm0
lea esi, [eax + eax*4]
movd xmm0, eax
pshufd xmm0, xmm0, 0
push esi
movaps xmmword [ebp - 0x100], xmm0
call fcn.0041cb10
push esi
push 0
push dword [edi + 0x5eb4]
call fcn.004e9b00
mov edi, dword [edi + 0x5eb4]
add esp, 0xc
cmp dword [0x562038], 2
jl 0x49700e
movaps xmm1, xmmword [0x54f8a0]
pmulld xmm1, xmmword [ebp - 0x100]
mov eax, dword [ebp - 0xb4]
movd xmm0, edi
pshufd xmm0, xmm0, 0
paddd xmm1, xmm0
movd dword [ebp - 0x54], xmm1
psrldq xmm1, 4
movd dword [ebp - 0x3c], xmm1
psrldq xmm1, 4
movd dword [ebp - 0x24], xmm1
psrldq xmm1, 4
movd dword [ebp - 0xc], xmm1
jmp 0x49702b
xor ecx, ecx
lea edx, [ebp - 0x54]
lea esi, [ecx + 4]
lea eax, [ecx + edi]
mov dword [edx], eax
lea edx, [edx + 0x18]
mov eax, dword [ebp - 0xb4]
add ecx, eax
sub esi, 1
jne 0x497016
lea eax, [edi + eax*4]
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0x8c], eax
xor eax, eax
mov dword [ebp - 0x88], eax
cmp dword [edi + 0x40], eax
jle 0x497a4e
xor esi, esi
mov dword [ebp - 0x94], esi
mov ecx, eax
mov edx, 1
and ecx, 0x1f
shl edx, cl
mov ecx, eax
mov eax, dword [edi + 0x30]
sar ecx, 5
test dword [eax + ecx*4], edx
je 0x4972e7
mov eax, dword [edi + 0x10]
lea edi, [esi + eax]
cmp edi, eax
jb 0x49707f
mov eax, dword [ebp - 0x78]
cmp edi, dword [eax + 0x14]
jb 0x497096
push 0x27f
push str.C:UsersMi_PcDocumentsGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceExternalImGuiimgui_internal.h
push str.p___Data__p___DataEnd
call fcn.004ecded
add esp, 0xc
xor eax, eax
cmp word [ebp - 0x98], ax
setg al
inc eax
xor esi, esi
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x7c], esi
nop
test esi, esi
jne 0x4970ba
movzx eax, word [edi + 0x5e]
jmp 0x4970be
movzx eax, word [edi + 0x60]
movzx ecx, ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
cmp ecx, dword [eax + 8]
jl 0x4970e6
push 0x781
push str.C:UsersMi_PcDocumentsGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceExternalImGuiimgui.h
push str.i___0__i___Size
call fcn.004ecded
mov ecx, dword [ebp - 0x70]
add esp, 0xc
mov edx, dword [ebp - 0x6c]
lea eax, [ecx + ecx*2]
mov dword [ebp - 0x80], eax
mov edx, dword [edx + 0x10]
mov dword [ebp - 0x84], edx
mov eax, dword [edx + eax*8]
test eax, eax
jle 0x49713b
mov esi, dword [ebp - 0x84]
mov ecx, eax
mov eax, dword [ebp - 0x80]
lea edx, [ecx + ecx*4]
mov esi, dword [esi + eax*8 + 8]
mov eax, ecx
cmp dword [esi + edx*8 - 0xc], 0
jne 0x497135
cmp dword [esi + edx*8 - 8], 0
mov esi, dword [ebp - 0x7c]
jne 0x497138
mov edx, dword [ebp - 0x84]
lea eax, [ecx - 1]
mov ecx, dword [ebp - 0x80]
mov dword [edx + ecx*8], eax
jmp 0x497138
mov esi, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x70]
cmp eax, 1
jne 0x4972c5
test dword [edi], 0x100
jne 0x497181
cmp word [ebp - 0x98], 0
jg 0x497162
movss xmm0, dword [edi + 0x44]
maxss xmm0, dword [edi + 0x48]
jmp 0x497177
test esi, esi
jne 0x497172
movss xmm0, dword [edi + 0x40]
maxss xmm0, dword [edi + 0x48]
jmp 0x497177
movss xmm0, dword [edi + 0x44]
comiss xmm0, dword [edi + 0x28]
ja 0x4972c5
cmp word [ebp - 0xbc], 0
jle 0x4971a1
mov eax, dword [ebp - 0x78]
movsx eax, word [eax + 0x1d4]
cmp dword [ebp - 0x88], eax
jge 0x4971a1
xor edx, edx
jmp 0x4971a6
mov edx, 1
cmp word [ebp - 0x98], 0
jle 0x4971b8
test esi, esi
jne 0x4971b8
xor eax, eax
jmp 0x4971bd
mov eax, 2
lea esi, [eax + edx]
mov dword [ebp - 0x9c], esi
cmp ecx, dword [ebp - 0xc0]
jl 0x4971e8
push 0x9ae
push str.C:UsersMi_PcDocumentsGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceExternalImGuiimgui_tables.cpp
push str.channel_no___max_draw_channels
call fcn.004ecded
mov ecx, dword [ebp - 0x70]
add esp, 0xc
lea esi, [esi + esi*2]
cmp dword [ebp + esi*8 - 0x58], 0
jne 0x497212
mov dword [ebp + esi*8 - 0x68], 0x7f7fffff
mov dword [ebp + esi*8 - 0x64], 0x7f7fffff
mov dword [ebp + esi*8 - 0x60], 0xff7fffff
mov dword [ebp + esi*8 - 0x5c], 0xff7fffff
mov edx, dword [ebp + esi*8 - 0x54]
and dword [ebp - 0x70], 0x1f
inc dword [ebp + esi*8 - 0x58]
shr ecx, 5
mov eax, dword [edx + ecx*4]
mov edx, dword [ebp - 0x70]
bts eax, edx
mov edx, dword [ebp + esi*8 - 0x54]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x84]
cmp dword [ecx + eax*8], 0
jg 0x497260
push 0x781
push str.C:UsersMi_PcDocumentsGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceExternalImGuiimgui.h
push str.i___0__i___Size
call fcn.004ecded
mov eax, dword [ebp - 0x80]
add esp, 0xc
mov ecx, dword [ebp - 0x84]
mov eax, dword [ecx + eax*8 + 8]
movss xmm0, dword [ebp + esi*8 - 0x68]
movss xmm4, dword [eax]
comiss xmm0, xmm4
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
movss xmm3, dword [eax + 0xc]
jbe 0x497288
movss dword [ebp + esi*8 - 0x68], xmm4
movss xmm0, dword [ebp + esi*8 - 0x64]
comiss xmm0, xmm1
jbe 0x497299
movss dword [ebp + esi*8 - 0x64], xmm1
comiss xmm2, dword [ebp + esi*8 - 0x60]
jbe 0x4972a6
movss dword [ebp + esi*8 - 0x60], xmm2
comiss xmm3, dword [ebp + esi*8 - 0x5c]
jbe 0x4972b3
movss dword [ebp + esi*8 - 0x5c], xmm3
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x9c]
bts ecx, eax
mov esi, dword [ebp - 0x7c]
mov dword [ebp - 0x74], ecx
inc esi
mov dword [ebp - 0x7c], esi
cmp esi, dword [ebp - 0x90]
jl 0x4970b0
mov esi, dword [ebp - 0x94]
mov eax, 0xffff
mov word [edi + 0x5c], ax
mov edi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x88]
add esi, 0x70
inc eax
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x88], eax
cmp eax, dword [edi + 0x40]
jl 0x497050
cmp dword [ebp - 0x74], 0
je 0x497a4e
mov eax, dword [ebp - 0x6c]
mov esi, dword [eax + 4]
mov eax, dword [ebp - 0xb8]
sub esi, 2
add eax, 0x4bfc
mov dword [ebp - 0x94], eax
mov edi, dword [eax + 4]
cmp esi, edi
jle 0x497360
test edi, edi
je 0x497342
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, edi
jmp 0x497347
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, dword [ebp - 0x94]
push eax
call fcn.004914a0
mov eax, dword [ebp - 0x94]
mov dword [eax], esi
mov eax, dword [ebp - 0xb8]
mov esi, dword [eax + 0x4c04]
mov eax, 2
mov dword [ebp - 0x70], esi
mov esi, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov edx, dword [esi + 4]
dec edx
mov dword [ebp - 0x9c], edx
cmp edx, eax
jl 0x4973f6
mov ecx, edx
and ecx, 0x1f
mov dword [ebp - 0x90], ecx
mov esi, eax
mov edi, eax
or eax, 0x1f
sar edi, 5
and esi, 0x1f
mov ecx, 0x1f
cmp edx, eax
cmovle ecx, dword [ebp - 0x90]
xor edx, edx
inc ecx
xor eax, eax
bts edx, ecx
cmp ecx, 0x20
cmovae eax, edx
xor ecx, ecx
xor edx, eax
bts ecx, esi
xor eax, eax
dec edx
cmp esi, 0x20
cmovae eax, ecx
xor ecx, eax
mov eax, dword [ebp - 0x8c]
neg ecx
and edx, ecx
or dword [eax + edi*4], edx
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x9c]
add eax, 0x20
and eax, 0xffffffe0
mov dword [ebp - 0x74], eax
cmp eax, edx
jle 0x497395
mov esi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x78]
mov edi, dword [ebp - 0x8c]
movzx edx, word [eax + 0x1dc]
mov ecx, edx
and edx, 0x1f
shr ecx, 5
mov eax, dword [edi + ecx*4]
btr eax, edx
mov dword [edi + ecx*4], eax
mov edi, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x78]
test di, di
jle 0x497449
cmp word [ecx + 0x1dc], 1
jne 0x497449
push 0x9d8
push str.C:UsersMi_PcDocumentsGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceExternalImGuiimgui_tables.cpp
push str.has_freeze_v__false__table__Bg2DrawChannelUnfrozen___TABLE_DRAW_CHANNEL_BG2_FROZEN
call fcn.004ecded
mov ecx, dword [ebp - 0x78]
add esp, 0xc
movups xmm0, xmmword [ecx + 0x12c]
xor eax, eax
test di, di
mov edi, dword [esi + 4]
movups xmm3, xmmword [0x550620]
setg al
add eax, 2
sub edi, eax
xor eax, eax
movups xmmword [ebp - 0xd4], xmm0
mov dword [ebp - 0x7c], edi
movss xmm1, dword [ebp - 0xc8]
movss xmm4, dword [ebp - 0xcc]
mov dword [ebp - 0x88], eax
nop dword [eax]
lea edx, [eax + eax*2]
shl edx, 3
mov dword [ebp - 0x84], edx
mov esi, dword [ebp + edx - 0x58]
mov dword [ebp - 0x80], esi
test esi, esi
je 0x4978c6
movups xmm2, xmmword [ebp + edx - 0x68]
mov ecx, eax
movups xmmword [ebp - 0xf0], xmm2
movups xmmword [ebp - 0xb0], xmm2
and ecx, 1
je 0x4974e0
cmp word [ebp - 0xd8], 0
jle 0x4974e0
movss xmm0, dword [ebp - 0xb0]
movups xmmword [ebp - 0x110], xmm0
jmp 0x497527
movss xmm1, dword [ebp - 0xd4]
movaps xmm0, xmm2
comiss xmm1, xmm0
movups xmmword [ebp - 0x110], xmm0
movss dword [ebp - 0xb0], xmm0
ja 0x49751f
movaps xmm0, xmm1
movss dword [ebp - 0xb0], xmm0
movups xmm2, xmmword [ebp - 0xb0]
movups xmmword [ebp - 0x110], xmm0
movups xmmword [ebp - 0xf0], xmm2
movss xmm1, dword [ebp - 0xc8]
and eax, 2
je 0x497540
cmp word [ebp - 0x98], 0
jle 0x497540
movss xmm0, dword [ebp - 0xac]
jmp 0x49757c
movss xmm5, dword [ebp - 0xd0]
movaps xmm0, xmm2
shufps xmm0, xmm2, 0x55
comiss xmm5, xmm0
movups xmmword [ebp - 0x120], xmm0
movss dword [ebp - 0xac], xmm0
ja 0x497583
movaps xmm0, xmm5
movss dword [ebp - 0xac], xmm0
movups xmm2, xmmword [ebp - 0xb0]
movups xmmword [ebp - 0xf0], xmm2
movups xmmword [ebp - 0x120], xmm0
test ecx, ecx
je 0x4975bd
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xaa
comiss xmm0, xmm4
movups xmmword [ebp - 0x130], xmm0
movss dword [ebp - 0xa8], xmm0
jae 0x4975cc
movaps xmm0, xmm4
movss dword [ebp - 0xa8], xmm0
movups xmm2, xmmword [ebp - 0xb0]
movups xmmword [ebp - 0xf0], xmm2
jmp 0x4975c5
movss xmm0, dword [ebp - 0xa8]
movups xmmword [ebp - 0x130], xmm0
test eax, eax
je 0x49760a
mov eax, dword [ebp - 0x78]
test dword [eax + 4], 0x20000
jne 0x49760a
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xff
comiss xmm0, xmm1
movups xmmword [ebp - 0x100], xmm0
jae 0x497619
movaps xmm0, xmm1
movss dword [ebp - 0xa4], xmm0
movups xmm2, xmmword [ebp - 0xb0]
movups xmmword [ebp - 0xf0], xmm2
jmp 0x497612
movss xmm0, dword [ebp - 0xa4]
movups xmmword [ebp - 0x100], xmm0
mov edx, dword [ebp - 0xb4]
sub edi, esi
sar edx, 2
xor ecx, ecx
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0xbc], edx
test edx, edx
jle 0x497770
cmp edx, 0x10
jb 0x49774d
mov eax, dword [ebp - 0x84]
mov esi, dword [ebp - 0x8c]
add esi, 0xfffffffc
mov edi, dword [ebp + eax - 0x54]
lea eax, [edx - 1]
lea esi, [esi + edx*4]
lea eax, [edi + eax*4]
cmp dword [ebp - 0x8c], eax
ja 0x49766c
cmp esi, edi
jae 0x49774d
mov eax, edx
and eax, 0x8000000f
jns 0x49767a
dec eax
or eax, 0xfffffff0
inc eax
mov esi, edx
mov dword [ebp - 0x74], 0x20
mov edx, dword [ebp - 0x8c]
sub esi, eax
mov eax, 0xfffffff0
mov dword [ebp - 0x90], esi
sub eax, edx
mov dword [ebp - 0x9c], eax
mov eax, 0x10
sub eax, edx
lea esi, [edx + 0x20]
mov dword [ebp - 0xc4], eax
mov eax, 0xffffffe0
sub eax, edx
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0xc0], eax
movups xmm0, xmmword [esi - 0x20]
add eax, edi
lea esi, [esi + 0x40]
add ecx, 0x10
movups xmm1, xmmword [eax + esi - 0x40]
mov eax, dword [ebp - 0x9c]
add eax, edi
pandn xmm1, xmm3
pand xmm1, xmm0
movups xmmword [esi - 0x60], xmm1
movups xmm1, xmmword [eax + esi - 0x40]
mov eax, dword [ebp - 0x74]
movups xmm0, xmmword [esi - 0x50]
add dword [ebp - 0x74], 0x40
pandn xmm1, xmm3
pand xmm1, xmm0
movups xmmword [esi - 0x50], xmm1
movups xmm1, xmmword [edi + eax]
mov eax, dword [ebp - 0xc4]
movups xmm0, xmmword [esi - 0x40]
add eax, edi
pandn xmm1, xmm3
pand xmm1, xmm0
movups xmmword [esi - 0x40], xmm1
movups xmm1, xmmword [eax + esi - 0x40]
mov eax, dword [ebp - 0xc0]
movups xmm0, xmmword [esi - 0x30]
pandn xmm1, xmm3
pand xmm1, xmm0
movups xmmword [esi - 0x30], xmm1
cmp ecx, edx
jl 0x4976c1
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0x90], ecx
cmp ecx, edx
jge 0x49776d
mov eax, dword [ebp - 0x84]
mov edi, dword [ebp - 0x8c]
mov esi, dword [ebp + eax - 0x54]
nop dword [eax]
mov eax, dword [esi + ecx*4]
not eax
and dword [edi + ecx*4], eax
inc ecx
cmp ecx, edx
jl 0x497760
mov esi, dword [ebp - 0x80]
mov edx, dword [ebp - 0x6c]
xor edi, edi
cmp dword [edx + 4], edi
jle 0x4978bb
mov dword [ebp - 0x74], edi
test esi, esi
je 0x4978bb
mov eax, dword [ebp - 0x84]
mov esi, edi
sar esi, 5
mov ecx, edi
and ecx, 0x1f
mov eax, dword [ebp + eax - 0x54]
mov edx, dword [eax + esi*4]
mov eax, 1
shl eax, cl
test edx, eax
je 0x4978a7
dec dword [ebp - 0x80]
btr edx, ecx
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp + ecx - 0x54]
mov dword [eax + esi*4], edx
mov esi, dword [ebp - 0x6c]
test edi, edi
js 0x4977ce
cmp edi, dword [esi + 8]
jl 0x4977ec
push 0x781
push str.C:UsersMi_PcDocumentsGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceExternalImGuiimgui.h
push str.i___0__i___Size
call fcn.004ecded
movups xmm2, xmmword [ebp - 0xf0]
add esp, 0xc
mov esi, dword [esi + 0x10]
add esi, dword [ebp - 0x74]
cmp dword [esi], 1
jne 0x497834
mov eax, dword [esi + 8]
movss xmm0, dword [eax]
comiss xmm0, dword [ebp - 0x110]
movss xmm1, dword [eax + 4]
jb 0x497834
comiss xmm1, dword [ebp - 0x120]
jb 0x497834
movups xmm0, xmmword [ebp - 0x130]
comiss xmm0, dword [eax + 8]
jb 0x497834
movups xmm0, xmmword [ebp - 0x100]
comiss xmm0, dword [eax + 0xc]
jb 0x497834
movups xmm0, xmm2
jmp 0x497886
push 0xa01
push str.C:UsersMi_PcDocumentsGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceExternalImGuiimgui_tables.cpp
push str.channel___CmdBuffer.Size__1__merge_clip_rect.Contains_ImRect_channel___CmdBuffer_0_.ClipRect__
call fcn.004ecded
movups xmm2, xmmword [ebp - 0xf0]
add esp, 0xc
cmp dword [esi], 0
movups xmm0, xmm2
movups xmmword [ebp - 0xb0], xmm0
jg 0x497886
push 0x781
push str.C:UsersMi_PcDocumentsGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceExternalImGuiimgui.h
push str.i___0__i___Size
call fcn.004ecded
movups xmm0, xmmword [ebp - 0xb0]
add esp, 0xc
movups xmm2, xmmword [ebp - 0xf0]
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x70]
movups xmmword [eax], xmm0
mov eax, ecx
add ecx, 0x18
movups xmm0, xmmword [esi]
mov dword [ebp - 0x70], ecx
movups xmmword [eax], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x10], xmm0
mov edx, dword [ebp - 0x6c]
inc edi
add dword [ebp - 0x74], 0x18
mov esi, dword [ebp - 0x80]
cmp edi, dword [edx + 4]
jl 0x497781
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x78]
jmp 0x4978c9
mov edx, dword [ebp - 0x6c]
cmp eax, 1
jne 0x497927
cmp word [ebp - 0xdc], 0
jle 0x497927
mov eax, dword [ebp - 0x70]
mov edi, eax
movzx esi, word [ecx + 0x1dc]
add eax, 0x18
mov dword [ebp - 0x70], eax
cmp esi, dword [edx + 8]
jl 0x497909
push 0x781
push str.C:UsersMi_PcDocumentsGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceExternalImGuiimgui.h
push str.i___0__i___Size
call fcn.004ecded
mov edx, dword [ebp - 0x6c]
add esp, 0xc
mov eax, dword [edx + 0x10]
lea ecx, [esi + esi*2]
movups xmm0, xmmword [eax + ecx*8]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + ecx*8 + 0x10]
mov eax, dword [ebp - 0x88]
movq qword [edi + 0x10], xmm0
movups xmm3, xmmword [0x550620]
inc eax
mov edi, dword [ebp - 0x7c]
movss xmm1, dword [ebp - 0xc8]
movss xmm4, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x88], eax
cmp eax, 4
jl 0x497490
mov ecx, dword [edx + 4]
xor esi, esi
test ecx, ecx
jle 0x4979ee
mov eax, dword [ebp - 0x7c]
xor edi, edi
test eax, eax
je 0x4979ee
mov ecx, esi
mov edx, 1
and ecx, 0x1f
mov eax, esi
shl edx, cl
mov ecx, dword [ebp - 0x8c]
sar eax, 5
test dword [ecx + eax*4], edx
je 0x4979d9
test esi, esi
js 0x497996
mov edx, dword [ebp - 0x6c]
cmp esi, dword [edx + 8]
jl 0x4979b0
push 0x781
push str.C:UsersMi_PcDocumentsGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceExternalImGuiimgui.h
push str.i___0__i___Size
call fcn.004ecded
mov edx, dword [ebp - 0x6c]
add esp, 0xc
mov eax, dword [ebp - 0x70]
mov ecx, eax
add eax, 0x18
mov dword [ebp - 0x70], eax
mov eax, dword [edx + 0x10]
movups xmm0, xmmword [eax + edi]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + edi + 0x10]
mov eax, dword [ebp - 0x7c]
dec eax
movq qword [ecx + 0x10], xmm0
mov dword [ebp - 0x7c], eax
jmp 0x4979df
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [edx + 4]
inc esi
add edi, 0x18
cmp esi, ecx
jl 0x497966
mov eax, dword [ebp - 0x94]
mov edi, dword [ebp - 0xb8]
mov eax, dword [eax]
mov edx, dword [edi + 0x4c04]
lea eax, [eax + eax*2]
lea eax, [edx + eax*8]
cmp dword [ebp - 0x70], eax
je 0x497a30
push 0xa15
push str.C:UsersMi_PcDocumentsGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceExternalImGuiimgui_tables.cpp
push str.dst_tmp__g.DrawChannelsTempMergeBuffer.Data__g.DrawChannelsTempMergeBuffer.Size
call fcn.004ecded
mov eax, dword [ebp - 0x6c]
add esp, 0xc
mov edx, dword [edi + 0x4c04]
mov ecx, dword [eax + 4]
lea eax, [ecx + ecx*2]
lea eax, [eax*8 - 0x30]
push eax
mov eax, dword [ebp - 0x6c]
push edx
mov eax, dword [eax + 0x10]
add eax, 0x30
push eax
call fcn.004e9580
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004e7a8e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret