Function at 0x42ec67
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x487010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [0x4aec68]
mov dword [ebp - 0x64], esi
mov eax, dword [esi + 0x7c]
mov dword [ebp - 0x2c], edi
cmp eax, dword [edi + 0x1be8]
jne 0x42ecbc
push 0x34a3
push str.C:UsersAdminDocumentsmillennium_steam_patcherinstaller_src_vendorimguiimgui.cpp
push str.node__LastFrameActive___g.FrameCount
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [edi + 0x1be8]
and byte [esi + 0x95], 0xfd
and dword [esi + 0x74], 0
and dword [esi + 0x70], 0
cmp dword [esi + 0x10], 0
mov dword [esi + 0x78], eax
jne 0x42ece1
mov ecx, esi
call fcn.0042eba5
cmp dword [esi + 0x28], 0
je 0x42ecf8
mov eax, dword [esi + 8]
shr eax, 0xc
test al, 1
je 0x42ecf8
mov ecx, esi
call fcn.00430273
lea edi, [esi + 0x1c]
cmp dword [edi], 1
jg 0x42ee3f
cmp dword [esi + 0x10], 0
jne 0x42ee3f
test dword [esi + 8], 0x400
jne 0x42ee3f
cmp dword [esi + 0x14], 0
jne 0x42ee3f
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 0xb1], 0
jne 0x42ee3f
cmp dword [edi], 0
je 0x42ed4f
push 0
mov ecx, edi
call fcn.00433aa8
mov eax, dword [eax]
cmp byte [eax + 0x2c], 0
jne 0x42ee3f
cmp dword [edi], 1
jne 0x42ede5
push 0
mov ecx, edi
call fcn.00433aa8
mov edi, dword [eax]
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x48]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ecx
mov eax, dword [edi + 0x54]
mov ecx, dword [edi + 0x58]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x90]
and eax, 0xfffffebf
mov dword [esi + 0x38], ecx
or eax, 0x80
and eax, 0xffffffd7
or eax, 0x10
and eax, 0xfffffffa
or eax, 2
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0x68]
test eax, eax
je 0x42edb6
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x1e20], eax
jne 0x42edb6
mov ecx, edi
call fcn.0042530a
mov eax, dword [esi + 0x68]
test eax, eax
je 0x42ede2
mov ecx, dword [eax + 0x30]
mov dword [edi + 0x30], ecx
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x68]
cmp byte [eax + 0xc2], 0
je 0x42ede2
mov dword [ecx + 0x6c], edi
mov byte [edi + 0xc2], 1
lea edi, [esi + 0x1c]
mov ecx, esi
call fcn.0042e7b8
mov cl, byte [esi + 0x94]
xor edx, edx
mov eax, dword [ebp - 0x2c]
and cl, 0xef
and dword [esi + 0x8c], 0
inc edx
and cl, 0xf3
mov dword [esi + 0xc], edx
mov byte [esi + 0x94], cl
mov eax, dword [eax + 0x1be8]
mov dword [esi + 0x7c], eax
test cl, 0x40
je 0x42f667
cmp dword [edi], edx
jne 0x42f667
push 0
mov ecx, edi
call fcn.00433aa8
mov ecx, esi
mov edx, dword [eax]
call fcn.0042eb35
jmp 0x42f667
test byte [esi + 0x94], 1
je 0x42eebc
xor eax, eax
cmp dword [esi + 0x68], eax
jne 0x42eebc
cmp dword [esi + 0x10], eax
jne 0x42eebc
test dword [esi + 8], 0x400
jne 0x42eebc
cmp dword [esi + 0x14], eax
jne 0x42eebc
cmp dword [edi], eax
jg 0x42ee7e
push 0x34e5
push str.C:UsersAdminDocumentsmillennium_steam_patcherinstaller_src_vendorimguiimgui.cpp
push str.node__Windows.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov edx, dword [esi + 0x88]
test edx, edx
je 0x42ee93
mov ecx, esi
call fcn.0042e891
test eax, eax
jne 0x42ee9e
push 0
mov ecx, edi
call fcn.00433aa8
mov eax, dword [eax]
cmp byte [eax + 0xdc], 0
jg 0x42eeb0
cmp byte [eax + 0xdd], 0
jle 0x42eebc
mov dword [esi + 0xc], 2
jmp 0x42f667
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
or eax, ecx
mov edx, dword [edi]
mov dword [ebp - 0x20], eax
test edx, edx
jle 0x42eed8
test eax, 0x4000
jne 0x42eed8
mov ah, 8
jmp 0x42eeda
xor ah, ah
mov al, byte [esi + 0x94]
and al, 0xf7
or al, ah
and al, 0xfb
mov byte [esi + 0x94], al
xor eax, eax
mov dword [ebp - 0x30], eax
test edx, edx
jle 0x42ef43
push eax
mov ecx, edi
call fcn.00433aa8
mov cl, byte [esi + 0x94]
mov edx, dword [eax]
mov al, byte [edx + 0xcc]
shl al, 2
or al, cl
and cl, 0xfb
and al, 4
xor al, cl
cmp dword [edi], 1
mov byte [esi + 0x94], al
mov al, byte [edx + 0x3a1]
setg cl
and al, 0xfe
or cl, al
mov eax, dword [ebp - 0x30]
inc eax
mov byte [edx + 0x3a1], cl
mov edx, dword [edi]
mov dword [ebp - 0x30], eax
cmp eax, edx
jl 0x42eef5
mov ecx, dword [esi + 8]
test dword [ebp - 0x20], 0x8000
je 0x42ef53
and byte [esi + 0x94], 0xfb
xor edi, edi
shr ecx, 0xa
mov dword [ebp - 0x30], edi
mov byte [ebp - 0x21], 0
test cl, 1
je 0x42ef8c
cmp dword [esi + 0x68], edi
jne 0x42ef81
push 0x3507
push str.C:UsersAdminDocumentsmillennium_steam_patcherinstaller_src_vendorimguiimgui.cpp
push str.node__HostWindow
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov edi, dword [esi + 0x68]
mov dword [ebp - 0x30], edi
jmp 0x42f13c
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x42f10b
test byte [esi + 0x94], 1
je 0x42f125
test edx, edx
jle 0x42efb5
push eax
lea ecx, [esi + 0x1c]
call fcn.00433aa8
mov edi, dword [eax]
jmp 0x42efb7
xor edi, edi
mov eax, dword [esi + 0x90]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x42efd1
test edi, edi
je 0x42efed
lea ecx, [edi + 0x44]
jmp 0x42efd9
cmp eax, 1
jne 0x42efed
lea ecx, [esi + 0x2c]
and dword [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
and dword [ebp - 0x38], 0
xor edx, edx
push eax
call fcn.004259ea
pop ecx
mov eax, dword [esi + 0x90]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x42f007
test edi, edi
je 0x42f016
lea ecx, [edi + 0x54]
jmp 0x42f00f
cmp eax, 1
jne 0x42f016
lea ecx, [esi + 0x34]
xor edx, edx
call fcn.00425a63
mov eax, dword [esi + 0x90]
and al, 0x38
cmp al, 0x10
jne 0x42f049
test edi, edi
je 0x42f049
mov ecx, dword [0x4aec68]
mov al, byte [edi + 0xc6]
or dword [ecx + 0x1cd8], 8
mov byte [ecx + 0x1d15], al
mov dword [ecx + 0x1ce4], 1
mov eax, dword [esi + 0x90]
and eax, 0x1c0
cmp eax, 0x80
jne 0x42f077
test edi, edi
je 0x42f077
mov eax, dword [0x4aec68]
mov ecx, dword [edi + 0x34]
or dword [eax + 0x1cd8], 0x100
mov dword [eax + 0x1d34], ecx
lea ecx, [esi + 0x48]
call fcn.00425b09
push dword [esi]
lea eax, [ebp - 0x18]
push str.DockNode__02X
push 0x14
push eax
call fcn.0041b02e
and dword [ebp - 0x3c], 0
lea edx, [ebp - 0x3c]
and dword [ebp - 0x38], 0
xor ecx, ecx
inc ecx
call fcn.0041ba12
push 0x20081139
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.00422ad2
add esp, 0x14
call fcn.0041ba9c
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0x21], 1
mov edi, dword [eax + 0x1c50]
mov dword [esi + 0x68], edi
mov dword [ebp - 0x30], edi
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x48]
mov dword [edi + 0x108], eax
mov dword [edi + 0x10c], ecx
mov dword [edi + 0x3c0], esi
mov dword [esi + 0x30], ecx
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x50]
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x38], ecx
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x34], eax
cmp byte [ecx + 0xc9], 0
je 0x42f114
call fcn.00425290
jmp 0x42f114
mov edi, dword [eax + 0x68]
mov dword [ebp - 0x30], edi
mov dword [esi + 0x68], edi
mov eax, dword [esi + 0x90]
and eax, 0xfffffe00
mov dword [esi + 0x90], eax
test byte [esi + 0x94], 0x40
je 0x42f13c
mov edx, dword [esi + 0x68]
test edx, edx
je 0x42f13c
mov ecx, esi
call fcn.0042eb35
cmp dword [esi + 0x14], 0
je 0x42f160
cmp dword [esi + 0x28], 0
je 0x42f160
push 0x3550
push str.C:UsersAdminDocumentsmillennium_steam_patcherinstaller_src_vendorimguiimgui.cpp
push str.node__TabBar__0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
cmp dword [esi + 0x10], 0
jne 0x42f1cc
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x1e20]
test eax, eax
je 0x42f193
mov eax, dword [eax + 0x35c]
mov ecx, dword [eax + 0x3bc]
test ecx, ecx
je 0x42f193
cmp dword [eax + 0x358], edi
jne 0x42f193
mov eax, dword [ecx]
mov dword [esi + 0x84], eax
mov ecx, dword [ebp - 0x20]
test edi, edi
je 0x42f1cf
mov eax, ecx
and eax, 8
mov dword [ebp - 0x34], eax
je 0x42f1cf
push ecx
push ecx
mov ecx, dword [edi + 0x2c4]
add ecx, 0x78
call fcn.0043cf3a
mov ecx, dword [edi + 0x2c4]
push 1
push ecx
add ecx, 0x78
call fcn.0043d234
mov edx, dword [ebp - 0x34]
mov al, 1
jmp 0x42f1d9
mov ecx, dword [ebp - 0x20]
xor al, al
and ecx, 8
mov edx, ecx
mov dword [ebp - 0x34], edx
cmp dword [esi + 0x10], 0
mov ecx, dword [esi + 0x70]
mov byte [ebp - 0x1b], al
mov dword [ebp - 0x38], ecx
jne 0x42f3c9
test edi, edi
je 0x42f3c9
test edx, edx
je 0x42f3c9
test ecx, ecx
je 0x42f3c9
cmp dword [ecx + 0x14], 0
jne 0x42f3c9
cmp dword [ecx + 0x1c], 0
jne 0x42f3c9
mov eax, dword [0x4aec68]
and dword [ebp - 0x20], 0
mov byte [ebp - 0x1a], 1
mov dword [ebp - 0x28], edx
cmp byte [eax + 0x1f64], 0
lea ecx, [eax + 0x1f74]
mov eax, dword [ebp - 0x20]
cmovne eax, ecx
mov cl, byte [ebp - 0x1b]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x19], cl
test eax, eax
je 0x42f28f
mov byte [ebp - 0x19], cl
push ecx
mov ecx, eax
mov dword [ebp - 0x28], edx
call fcn.004198db
test al, al
je 0x42f28f
mov al, byte [ebp - 0x1b]
mov ecx, edi
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov edx, dword [edx]
call fcn.004302f0
test al, al
je 0x42f28f
mov al, byte [ebp - 0x1b]
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 0x19], al
mov dword [ebp - 0x28], ecx
mov edx, dword [esi + 0x10]
mov cl, byte [ebp - 0x1a]
jmp 0x42f3df
mov eax, dword [esi + 8]
shr eax, 0xa
test al, 1
jne 0x42f2b1
push 0x356b
push str.C:UsersAdminDocumentsmillennium_steam_patcherinstaller_src_vendorimguiimgui.cpp
push str.node__IsDockSpace__
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov edx, dword [ebp - 0x38]
mov ecx, edx
mov eax, dword [edx + 0x10]
jmp 0x42f2c0
mov ecx, eax
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x42f2bb
mov eax, dword [ecx + 0x2c]
movss xmm2, dword [ecx + 0x34]
movss xmm5, dword [ecx + 0x38]
movss xmm1, dword [edx + 0x34]
movss xmm0, dword [edx + 0x30]
addss xmm1, dword [edx + 0x2c]
addss xmm0, dword [edx + 0x38]
addss xmm2, dword [ecx + 0x2c]
addss xmm5, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x30]
movss xmm4, dword [0x4806b0]
mov dword [ebp - 0x50], eax
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0x60], eax
movss xmm3, dword [ebp - 0x60]
comiss xmm3, dword [ebp - 0x50]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [edx + 0x30]
mov dword [ebp - 0x5c], ecx
movss dword [ebp - 0x58], xmm1
movss dword [ebp - 0x54], xmm0
jbe 0x42f32a
addss xmm3, xmm4
movss dword [ebp - 0x60], xmm3
comiss xmm2, xmm1
jbe 0x42f338
subss xmm1, xmm4
movss dword [ebp - 0x58], xmm1
movss xmm2, dword [ebp - 0x5c]
comiss xmm2, dword [ebp - 0x4c]
jbe 0x42f34c
addss xmm2, xmm4
movss dword [ebp - 0x5c], xmm2
comiss xmm5, xmm0
jbe 0x42f35a
subss xmm0, xmm4
movss dword [ebp - 0x54], xmm0
comiss xmm3, xmm1
ja 0x42f3c1
comiss xmm2, xmm0
ja 0x42f3c1
subss xmm1, xmm3
mov ecx, edi
subss xmm0, xmm2
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x60]
movss dword [ebp - 0x34], xmm1
movss dword [ebp - 0x48], xmm1
movss dword [ebp - 0x20], xmm0
movss dword [ebp - 0x44], xmm0
call fcn.00425972
movss xmm0, dword [ebp - 0x34]
lea eax, [ebp - 0x48]
pop ecx
mov ecx, dword [edi + 0x358]
lea edx, [ebp - 0x60]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [ebp - 0x20]
push eax
movss dword [ebp - 0x44], xmm0
call fcn.00425972
mov al, byte [ebp - 0x19]
pop ecx
mov ecx, dword [ebp - 0x28]
jmp 0x42f27e
mov al, byte [ebp - 0x19]
jmp 0x42f284
xor cl, cl
mov dword [ebp - 0x28], edx
mov edx, dword [esi + 0x10]
mov byte [ebp - 0x19], al
mov byte [ebp - 0x1a], cl
test edi, edi
je 0x42f486
mov byte [ebp - 0x1c], cl
mov ch, al
mov byte [ebp - 0x1b], ch
test edx, edx
jne 0x42f410
push dword [edi + 0x50]
xor dl, dl
mov ecx, esi
push dword [edi + 0x4c]
push dword [edi + 0x48]
push dword [edi + 0x44]
call fcn.00431878
add esp, 0x10
mov ecx, esi
call fcn.00431ea5
mov cl, byte [ebp - 0x1c]
mov ch, byte [ebp - 0x1b]
cmp dword [esi + 0x14], 0
jne 0x42f486
cmp dword [esi + 0x1c], 0
jne 0x42f486
test byte [esi + 0x94], 1
mov al, ch
mov byte [ebp - 0x1a], cl
je 0x42f489
cmp dword [ebp - 0x28], 0
mov byte [ebp - 0x1a], cl
jne 0x42f489
movss xmm1, dword [0x480648]
push 0x27
pop ecx
call fcn.0041b82d
movss xmm0, dword [esi + 0x34]
lea ecx, [esi + 0x2c]
addss xmm0, dword [ecx]
push 0
push ecx
and dword [esp], 0
push eax
movss dword [ebp - 0x48], xmm0
lea eax, [ebp - 0x48]
movss xmm0, dword [ecx + 4]
addss xmm0, dword [esi + 0x38]
push eax
push ecx
mov ecx, dword [edi + 0x2c4]
movss dword [ebp - 0x44], xmm0
call fcn.0043cc3b
mov cl, byte [ebp - 0x1c]
mov al, byte [ebp - 0x1b]
mov byte [ebp - 0x1a], cl
jmp 0x42f489
mov al, byte [ebp - 0x19]
test al, al
je 0x42f5a3
test byte [esi + 0x94], 1
je 0x42f5a3
mov ecx, dword [edi + 0x2c4]
push 0
push ecx
add ecx, 0x78
call fcn.0043d234
cmp byte [ebp - 0x1a], 0
push 2
pop ecx
je 0x42f54f
mov eax, dword [ebp - 0x38]
movss xmm2, dword [esi + 0x30]
movss dword [ebp - 0x4c], xmm2
addss xmm2, dword [esi + 0x38]
movss xmm0, dword [eax + 0x2c]
movss xmm1, dword [eax + 0x30]
movss dword [ebp - 0x60], xmm0
addss xmm0, dword [eax + 0x34]
movss dword [ebp - 0x5c], xmm1
addss xmm1, dword [eax + 0x38]
movss dword [ebp - 0x44], xmm2
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [esi + 0x2c]
movss dword [ebp - 0x50], xmm0
addss xmm0, dword [esi + 0x34]
movss dword [ebp - 0x54], xmm1
movss xmm1, dword [0x480648]
movss dword [ebp - 0x48], xmm0
call fcn.0041b82d
sub esp, 0x10
lea esi, [ebp - 0x60]
mov edi, esp
xorps xmm2, xmm2
sub esp, 0x10
mov edx, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x30]
mov ecx, dword [edi + 0x2c4]
call fcn.00441264
mov esi, dword [ebp - 0x64]
add esp, 0x20
jmp 0x42f594
movss xmm1, dword [0x480648]
call fcn.0041b82d
lea ecx, [esi + 0x2c]
movss xmm0, dword [ecx]
addss xmm0, dword [esi + 0x34]
push 0
push ecx
and dword [esp], 0
push eax
movss dword [ebp - 0x48], xmm0
lea eax, [ebp - 0x48]
movss xmm0, dword [ecx + 4]
addss xmm0, dword [esi + 0x38]
push eax
push ecx
mov ecx, dword [edi + 0x2c4]
movss dword [ebp - 0x44], xmm0
call fcn.0043cc3b
mov ecx, dword [edi + 0x2c4]
push ecx
add ecx, 0x78
call fcn.0043cff2
test edi, edi
je 0x42f5b8
cmp dword [esi + 0x1c], 0
jle 0x42f5b8
mov edx, edi
mov ecx, esi
call fcn.0042f822
jmp 0x42f5cf
mov al, byte [esi + 0x94]
and dword [esi + 0x8c], 0
and al, 0xef
and al, 0xfd
mov byte [esi + 0x94], al
mov eax, dword [esi + 0x28]
test eax, eax
je 0x42f5dd
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x42f5f2
cmp dword [esi + 0x1c], 0
jle 0x42f5f8
push 0
lea ecx, [esi + 0x1c]
call fcn.00433aa8
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x88], eax
test edi, edi
je 0x42f627
test byte [esi + 0x94], 1
je 0x42f627
cmp dword [esi + 0x10], 0
jne 0x42f627
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x1c60]
test eax, eax
je 0x42f620
cmp dword [eax + 0x360], edi
je 0x42f627
mov ecx, edi
call fcn.00432dc9
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x1be8]
mov dword [esi + 0x7c], eax
test edi, edi
je 0x42f65c
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x42f643
call fcn.0042ec67
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x42f64f
call fcn.0042ec67
cmp dword [esi + 0x10], 0
jne 0x42f65c
mov ecx, edi
call fcn.00421c53
cmp byte [ebp - 0x21], 0
je 0x42f667
call fcn.00424fef
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044c7cf
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret