Function at 0x45a630
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 [0x4c900c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [0x4c9c24]
mov dword [ebp - 0x78], esi
movzx eax, word [esi + 0x1c8]
mov ecx, dword [esi + 0x160]
mov edx, eax
mov dword [ebp - 0x98], eax
movzx eax, word [esi + 0x1cc]
mov dword [ebp - 0xdc], edx
mov edx, eax
cmp dword [ecx], 0
mov dword [ebp - 0xbc], eax
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0x80], eax
je 0x45a6bd
push 0x94d
push str.d:CProjectsSCUMSX2_srcimguiimgui_tables.cpp
push str.splitter___Current__0
call eax
add esp, 0xc
xor eax, eax
lea ecx, [edi + 0x5c04]
mov dword [ebp - 0x74], eax
xorps xmm0, xmm0
mov eax, dword [esi + 0x40]
movq qword [ebp - 0x58], xmm0
movq qword [ebp - 0x40], xmm0
movq qword [ebp - 0x28], xmm0
lea eax, [eax*2 + 4]
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 0xc0], eax
add eax, 0x1f
sar eax, 3
and eax, 0xfffffffc
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0xb4], eax
movups xmmword [ebp - 0x50], xmm0
lea esi, [eax + eax*4]
movups xmmword [ebp - 0x38], xmm0
push esi
movups xmmword [ebp - 0x20], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x100], xmm0
call fcn.00440b10
push esi
push 0
push dword [edi + 0x5c0c]
call sub.VCRUNTIME140.dll_memset
mov edi, dword [edi + 0x5c0c]
add esp, 0xc
cmp dword [0x4c9b9c], 2
jl 0x45a78f
movaps xmm1, xmmword [0x4c1b70]
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 0x45a7ac
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 0x45a797
lea eax, [edi + eax*4]
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0x90], eax
xor eax, eax
mov dword [ebp - 0x8c], eax
cmp dword [edi + 0x40], eax
jle 0x45b1c3
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 0x45aa70
mov eax, dword [edi + 0x10]
lea edi, [esi + eax]
cmp edi, eax
jb 0x45a800
mov eax, dword [ebp - 0x78]
cmp edi, dword [eax + 0x14]
jb 0x45a815
push 0x25e
push str.d:CProjectsSCUMSX2_srcimguiimgui_internal.h
push str.p___Data__p___DataEnd
call dword [ebp - 0x80]
add esp, 0xc
xor eax, eax
cmp word [ebp - 0x98], ax
setg al
inc eax
xor esi, esi
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x7c], esi
nop dword [eax]
test esi, esi
jne 0x45a83a
movzx eax, word [edi + 0x5e]
jmp 0x45a83e
movzx eax, word [edi + 0x60]
movzx ecx, ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
cmp ecx, dword [eax + 8]
jl 0x45a864
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call dword [ebp - 0x80]
mov ecx, dword [ebp - 0x70]
add esp, 0xc
mov edx, dword [ebp - 0x6c]
lea eax, [ecx + ecx*2]
mov dword [ebp - 0x84], eax
mov edx, dword [edx + 0x10]
mov dword [ebp - 0x88], edx
mov eax, dword [edx + eax*8]
test eax, eax
jle 0x45a8c2
mov esi, dword [ebp - 0x88]
mov ecx, eax
mov eax, dword [ebp - 0x84]
lea edx, [ecx + ecx*4]
mov esi, dword [esi + eax*8 + 8]
mov eax, ecx
cmp dword [esi + edx*8 - 0xc], 0
jne 0x45a8bc
cmp dword [esi + edx*8 - 8], 0
mov esi, dword [ebp - 0x7c]
jne 0x45a8bf
mov edx, dword [ebp - 0x88]
lea eax, [ecx - 1]
mov ecx, dword [ebp - 0x84]
mov dword [edx + ecx*8], eax
jmp 0x45a8bf
mov esi, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x70]
cmp eax, 1
jne 0x45aa4e
test dword [edi], 0x100
jne 0x45a908
cmp word [ebp - 0x98], 0
jg 0x45a8e9
movss xmm0, dword [edi + 0x44]
maxss xmm0, dword [edi + 0x48]
jmp 0x45a8fe
test esi, esi
jne 0x45a8f9
movss xmm0, dword [edi + 0x40]
maxss xmm0, dword [edi + 0x48]
jmp 0x45a8fe
movss xmm0, dword [edi + 0x44]
comiss xmm0, dword [edi + 0x28]
ja 0x45aa4e
cmp word [ebp - 0xbc], 0
jle 0x45a928
mov eax, dword [ebp - 0x78]
movsx eax, word [eax + 0x1cc]
cmp dword [ebp - 0x8c], eax
jge 0x45a928
xor edx, edx
jmp 0x45a92d
mov edx, 1
cmp word [ebp - 0x98], 0
jle 0x45a93f
test esi, esi
jne 0x45a93f
xor eax, eax
jmp 0x45a944
mov eax, 2
lea esi, [eax + edx]
mov dword [ebp - 0x9c], esi
cmp ecx, dword [ebp - 0xc0]
jl 0x45a96d
push 0x985
push str.d:CProjectsSCUMSX2_srcimguiimgui_tables.cpp
push str.channel_no___max_draw_channels
call dword [ebp - 0x80]
mov ecx, dword [ebp - 0x70]
add esp, 0xc
lea esi, [esi + esi*2]
cmp dword [ebp + esi*8 - 0x58], 0
jne 0x45a997
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 - 0x84]
mov ecx, dword [ebp - 0x88]
cmp dword [ecx + eax*8], 0
jg 0x45a9e9
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call dword [ebp - 0x80]
mov eax, dword [ebp - 0x84]
add esp, 0xc
mov ecx, dword [ebp - 0x88]
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 0x45aa11
movss dword [ebp + esi*8 - 0x68], xmm4
movss xmm0, dword [ebp + esi*8 - 0x64]
comiss xmm0, xmm1
jbe 0x45aa22
movss dword [ebp + esi*8 - 0x64], xmm1
comiss xmm2, dword [ebp + esi*8 - 0x60]
jbe 0x45aa2f
movss dword [ebp + esi*8 - 0x60], xmm2
comiss xmm3, dword [ebp + esi*8 - 0x5c]
jbe 0x45aa3c
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 - 0xa0]
jl 0x45a830
mov esi, dword [ebp - 0x94]
mov eax, 0xffff
mov word [edi + 0x5c], ax
mov edi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x8c]
add esi, 0x70
inc eax
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x8c], eax
cmp eax, dword [edi + 0x40]
jl 0x45a7d1
cmp dword [ebp - 0x74], 0
je 0x45b1c3
mov eax, dword [ebp - 0x6c]
mov esi, dword [eax + 4]
mov eax, dword [ebp - 0xb8]
sub esi, 2
add eax, 0x4a20
mov dword [ebp - 0x94], eax
mov edi, dword [eax + 4]
cmp esi, edi
jle 0x45aae9
test edi, edi
je 0x45aacb
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, edi
jmp 0x45aad0
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, dword [ebp - 0x94]
push eax
call fcn.00440dc0
mov eax, dword [ebp - 0x94]
mov dword [eax], esi
mov eax, dword [ebp - 0xb8]
mov esi, dword [eax + 0x4a28]
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 0x45ab81
mov ecx, edx
and ecx, 0x1f
mov dword [ebp - 0xa0], ecx
nop
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 - 0xa0]
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 - 0x90]
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 0x45ab20
mov esi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x78]
mov edi, dword [ebp - 0x90]
movzx edx, word [eax + 0x1d4]
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 0x45abd2
cmp word [ecx + 0x1d4], 1
jne 0x45abd2
push 0x9af
push str.d:CProjectsSCUMSX2_srcimguiimgui_tables.cpp
push str.has_freeze_v__false__table__Bg2DrawChannelUnfrozen___TABLE_DRAW_CHANNEL_BG2_FROZEN
call dword [ebp - 0x80]
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 [0x4c1fe0]
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 - 0x8c], eax
lea edx, [eax + eax*2]
shl edx, 3
mov dword [ebp - 0x88], edx
mov esi, dword [ebp + edx - 0x58]
mov dword [ebp - 0x84], esi
test esi, esi
je 0x45b049
movups xmm2, xmmword [ebp + edx - 0x68]
mov ecx, eax
movups xmmword [ebp - 0xf0], xmm2
movups xmmword [ebp - 0xb0], xmm2
and ecx, 1
je 0x45ac65
cmp word [ebp - 0xd8], 0
jle 0x45ac65
movss xmm0, dword [ebp - 0xb0]
movups xmmword [ebp - 0x110], xmm0
jmp 0x45acac
movss xmm1, dword [ebp - 0xd4]
movaps xmm0, xmm2
comiss xmm1, xmm0
movups xmmword [ebp - 0x110], xmm0
movss dword [ebp - 0xb0], xmm0
ja 0x45aca4
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 0x45acc5
cmp word [ebp - 0x98], 0
jle 0x45acc5
movss xmm0, dword [ebp - 0xac]
jmp 0x45ad01
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 0x45ad08
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 0x45ad42
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xaa
comiss xmm0, xmm4
movups xmmword [ebp - 0x130], xmm0
movss dword [ebp - 0xa8], xmm0
jae 0x45ad51
movaps xmm0, xmm4
movss dword [ebp - 0xa8], xmm0
movups xmm2, xmmword [ebp - 0xb0]
movups xmmword [ebp - 0xf0], xmm2
jmp 0x45ad4a
movss xmm0, dword [ebp - 0xa8]
movups xmmword [ebp - 0x130], xmm0
test eax, eax
je 0x45ad8f
mov eax, dword [ebp - 0x78]
test dword [eax + 4], 0x20000
jne 0x45ad8f
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xff
comiss xmm0, xmm1
movups xmmword [ebp - 0x100], xmm0
jae 0x45ad9e
movaps xmm0, xmm1
movss dword [ebp - 0xa4], xmm0
movups xmm2, xmmword [ebp - 0xb0]
movups xmmword [ebp - 0xf0], xmm2
jmp 0x45ad97
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 0x45aef3
cmp edx, 0x10
jb 0x45aed0
mov eax, dword [ebp - 0x88]
mov esi, dword [ebp - 0x90]
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 - 0x90], eax
ja 0x45adf1
cmp esi, edi
jae 0x45aed0
mov eax, edx
and eax, 0x8000000f
jns 0x45adff
dec eax
or eax, 0xfffffff0
inc eax
mov esi, edx
mov dword [ebp - 0x74], 0x20
mov edx, dword [ebp - 0x90]
sub esi, eax
mov eax, 0xfffffff0
mov dword [ebp - 0xc0], 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 dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
lea eax, [esi + edi]
movups xmm0, xmmword [esi - 0x20]
add ecx, 0x10
movups xmm1, xmmword [eax + edx]
mov edx, dword [ebp - 0x9c]
lea eax, [esi + edi]
pandn xmm1, xmm3
pand xmm1, xmm0
movups xmmword [esi - 0x20], xmm1
movups xmm1, xmmword [eax + edx]
mov eax, dword [ebp - 0x74]
movups xmm0, xmmword [esi - 0x10]
mov edx, dword [ebp - 0xc4]
add dword [ebp - 0x74], 0x40
pandn xmm1, xmm3
pand xmm1, xmm0
movups xmmword [esi - 0x10], xmm1
movups xmm1, xmmword [eax + edi]
lea eax, [esi + edi]
lea esi, [esi + 0x40]
pandn xmm1, xmm3
movups xmm0, xmmword [esi - 0x40]
pand xmm1, xmm0
movups xmmword [esi - 0x40], xmm1
movups xmm1, xmmword [eax + edx]
mov eax, ecx
movups xmm0, xmmword [esi - 0x30]
pandn xmm1, xmm3
pand xmm1, xmm0
movups xmmword [esi - 0x30], xmm1
cmp ecx, dword [ebp - 0xc0]
jl 0x45ae40
mov edx, dword [ebp - 0xbc]
cmp eax, edx
jge 0x45aeed
mov eax, dword [ebp - 0x88]
mov edi, dword [ebp - 0x90]
mov esi, dword [ebp + eax - 0x54]
mov eax, dword [esi + ecx*4]
not eax
and dword [edi + ecx*4], eax
inc ecx
cmp ecx, edx
jl 0x45aee0
mov esi, dword [ebp - 0x84]
mov edx, dword [ebp - 0x6c]
xor edi, edi
cmp dword [edx + 4], edi
jle 0x45b03e
mov dword [ebp - 0x74], edi
test esi, esi
je 0x45b03e
mov eax, dword [ebp - 0x88]
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 0x45b027
dec dword [ebp - 0x84]
btr edx, ecx
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp + ecx - 0x54]
mov dword [eax + esi*4], edx
mov esi, dword [ebp - 0x6c]
test edi, edi
js 0x45af54
cmp edi, dword [esi + 8]
jl 0x45af70
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call dword [ebp - 0x80]
movups xmm2, xmmword [ebp - 0xf0]
add esp, 0xc
mov esi, dword [esi + 0x10]
add esi, dword [ebp - 0x74]
cmp dword [esi], 1
jne 0x45afb8
mov eax, dword [esi + 8]
movss xmm0, dword [eax]
comiss xmm0, dword [ebp - 0x110]
movss xmm1, dword [eax + 4]
jb 0x45afb8
comiss xmm1, dword [ebp - 0x120]
jb 0x45afb8
movups xmm0, xmmword [ebp - 0x130]
comiss xmm0, dword [eax + 8]
jb 0x45afb8
movups xmm0, xmmword [ebp - 0x100]
comiss xmm0, dword [eax + 0xc]
jb 0x45afb8
movups xmm0, xmm2
jmp 0x45b006
push 0x9da
push str.d:CProjectsSCUMSX2_srcimguiimgui_tables.cpp
push str.channel___CmdBuffer.Size__1__merge_clip_rect.Contains_ImRect_channel___CmdBuffer_0_.ClipRect__
call dword [ebp - 0x80]
movups xmm2, xmmword [ebp - 0xf0]
add esp, 0xc
cmp dword [esi], 0
movups xmm0, xmm2
movups xmmword [ebp - 0xb0], xmm0
jg 0x45b006
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call dword [ebp - 0x80]
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 - 0x84]
cmp edi, dword [edx + 4]
jl 0x45af04
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x78]
jmp 0x45b04c
mov edx, dword [ebp - 0x6c]
cmp eax, 1
jne 0x45b0a8
cmp word [ebp - 0xdc], 0
jle 0x45b0a8
mov eax, dword [ebp - 0x70]
mov edi, eax
movzx esi, word [ecx + 0x1d4]
add eax, 0x18
mov dword [ebp - 0x70], eax
cmp esi, dword [edx + 8]
jl 0x45b08a
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call dword [ebp - 0x80]
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 - 0x8c]
movq qword [edi + 0x10], xmm0
movups xmm3, xmmword [0x4c1fe0]
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 - 0x8c], eax
cmp eax, 4
jl 0x45ac12
mov ecx, dword [edx + 4]
xor esi, esi
test ecx, ecx
jle 0x45b165
mov eax, dword [ebp - 0x7c]
xor edi, edi
test eax, eax
je 0x45b165
mov ecx, esi
mov edx, 1
and ecx, 0x1f
mov eax, esi
shl edx, cl
mov ecx, dword [ebp - 0x90]
sar eax, 5
test dword [ecx + eax*4], edx
je 0x45b154
test esi, esi
js 0x45b113
mov edx, dword [ebp - 0x6c]
cmp esi, dword [edx + 8]
jl 0x45b12b
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call dword [ebp - 0x80]
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 0x45b15a
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [edx + 4]
inc esi
add edi, 0x18
cmp esi, ecx
jl 0x45b0e7
mov eax, dword [ebp - 0x94]
mov edi, dword [ebp - 0xb8]
mov eax, dword [eax]
mov edx, dword [edi + 0x4a28]
lea eax, [eax + eax*2]
lea eax, [edx + eax*8]
cmp dword [ebp - 0x70], eax
je 0x45b1a5
push 0x9ee
push str.d:CProjectsSCUMSX2_srcimguiimgui_tables.cpp
push str.dst_tmp__g.DrawChannelsTempMergeBuffer.Data__g.DrawChannelsTempMergeBuffer.Size
call dword [ebp - 0x80]
mov eax, dword [ebp - 0x6c]
add esp, 0xc
mov edx, dword [edi + 0x4a28]
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 sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004a7a88
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret