Function at 0x4619b0
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [0x7e42ec], 0xd004cc
mov dword [0x7e42ec], 0xd004cf
mov dword [esp + 4], 2
mov eax, dword [0x7e3fe0]
mov dword [esp], eax
call fcn.00550ab6
sub esp, 8
test eax, eax
je 0x461a58
mov dword [0x7e42ec], 0xd004cf
mov dword [0x7e42ec], 0xd004d2
mov dword [esp + 4], 2
mov eax, dword [0x7e3fe0]
mov dword [esp], eax
call fcn.00550ab6
sub esp, 8
test eax, eax
jne 0x461a70
mov dword [0x7e42ec], 0xd0050c
mov dword [0x7e42ec], 0xd0050d
xor eax, eax
add esp, 0x20
pop ebx
pop esi
pop edi
ret
mov dword [0x7e42ec], 0xd004cf
call fcn.0045e350
jmp 0x461a06
mov dword [0x7e42ec], 0xd004d3
mov dword [esp], 0x6f48f4
call fcn.00550e9c
sub esp, 4
mov dword [0x7e42ec], 0xd004d5
mov eax, dword [0x7e4344]
mov dword [esp], eax
call fcn.005821d3
sub esp, 4
lea esi, [esi]
nop
mov eax, dword [0x7e4344]
mov dword [esp], eax
call fcn.005821e8
sub esp, 4
test eax, eax
je 0x461b22
mov dword [0x7e42ec], 0xd004d5
mov dword [0x7e42ec], 0xd004d6
mov eax, dword [0x7e4348]
cmp dword [eax + 8], 2
je 0x461af8
mov dword [0x7e42ec], 0xd004d9
mov dword [0x7e42ec], 0xd004da
jmp 0x461aa8
mov dword [0x7e42ec], 0xd004d7
mov eax, dword [eax + 0x7d]
mov dword [esp + 4], eax
mov dword [esp], str.Window_Constants
call fcn.00550f90
sub esp, 8
mov dword [0x7e42ec], 0xd004d8
mov dword [0x7e42ec], 0xd004dd
mov dword [esp], str.Designer
call fcn.00550e9c
sub esp, 4
mov dword [0x7e42ec], 0xd004de
mov dword [esp + 4], 1
mov dword [esp], str.SaveOnExit
call fcn.00551179
sub esp, 8
cmp eax, 1
je 0x461b70
mov dword [0x7e42ec], 0xd0050b
jmp 0x461a36
mov dword [0x7e42ec], 0xd004df
mov eax, dword [0x7e41ac]
mov dword [esp], eax
call fcn.00571be3
sub esp, 4
mov ecx, eax
xor eax, eax
cmp eax, ecx
sbb eax, edx
jge 0x461fa0
mov dword [0x7e42ec], 0xd004df
mov dword [0x7e42ec], 0xd004e0
mov eax, dword [0x7e41ac]
mov dword [esp + 4], eax
mov dword [esp], 0x6f98cc
call fcn.00550f90
sub esp, 8
mov dword [0x7e42ec], 0xd004e1
mov dword [esp], 0x65
call fcn.0055982f
sub esp, 4
mov dword [esp + 4], eax
mov dword [esp], 0x6f2c40
call fcn.00550fee
sub esp, 8
mov dword [0x7e42ec], 0xd004e7
mov dword [esp], 0
call fcn.005734c2
sub esp, 4
mov dword [0x7e42ec], 0xd004e8
mov dword [0x7e42ec], 0xd004e8
cmp eax, 0x1000000
je 0x461fc6
mov dword [0x7e42ec], 0xd004eb
mov dword [0x7e42ec], 0xd004eb
cmp eax, 0x20000000
je 0x46200d
mov dword [0x7e42ec], 0xd004ee
mov dword [0x7e42ec], 0xd004ef
mov dword [esp + 4], 0
mov dword [esp], str.Designer_Maximize
call fcn.00550fee
sub esp, 8
mov dword [0x7e42ec], 0xd004f1
mov dword [esp], 0
call fcn.00572c5f
sub esp, 4
lea edx, [esp + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.USER32.dll_GetWindowRect
sub esp, 8
mov dword [0x7e42ec], 0xd004f2
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], 0x6fe7d0
call fcn.00550fee
sub esp, 8
mov dword [0x7e42ec], 0xd004f3
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
mov dword [esp], 0x6fe7b4
call fcn.00550fee
sub esp, 8
mov dword [0x7e42ec], 0xd004f4
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
mov dword [esp + 4], eax
mov dword [esp], str.Designer_Width
call fcn.00550fee
sub esp, 8
mov dword [0x7e42ec], 0xd004f5
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
sub eax, edx
mov dword [esp + 4], eax
mov dword [esp], str.Designer_Height
call fcn.00550fee
sub esp, 8
mov dword [0x7e42ec], 0xd004f7
mov dword [esp], 1
call fcn.00572c51
sub esp, 4
mov dword [esp + 4], eax
mov dword [esp], str.UserScreen_Width
call fcn.00550fee
sub esp, 8
mov dword [0x7e42ec], 0xd004f8
mov dword [esp], 1
call fcn.00572bfc
sub esp, 4
mov dword [esp + 4], eax
mov dword [esp], str.UserScreen_Height
call fcn.00550fee
sub esp, 8
mov dword [0x7e42ec], 0xd004fb
mov dword [esp], 0x2f
call fcn.0055982f
sub esp, 4
mov dword [esp + 4], eax
mov dword [esp], str.Show_Grid
call fcn.00550fee
sub esp, 8
mov dword [0x7e42ec], 0xd004fc
mov dword [esp], 0x31
call fcn.0055982f
sub esp, 4
mov dword [esp + 4], eax
mov dword [esp], str.Grid_Size
call fcn.00550fee
sub esp, 8
mov dword [0x7e42ec], 0xd004fd
mov dword [esp], 0x33
call fcn.0055982f
sub esp, 4
mov dword [esp + 4], eax
mov dword [esp], str.Snap_Grid
call fcn.00550fee
sub esp, 8
mov dword [0x7e42ec], 0xd004ff
mov dword [esp], str.RecentFiles
call fcn.00550e9c
sub esp, 4
mov dword [0x7e42ec], 0xd00500
call fcn.00401730
mov dword [0x7e42ec], 0xd00501
mov esi, 1
xor edi, edi
lea esi, [esi]
nop
mov dword [0x7e42ec], 0xd00502
call fcn.0058d210
call fcn.0058d210
mov dword [esp], str.RecentFile_
call fcn.0058d230
sub esp, 4
call fcn.0058d210
call fcn.0058d210
call fcn.0058d170
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [esp + 4], edi
call fcn.00589b50
sub esp, 0xc
call fcn.0058d170
call fcn.0058d1f0
mov edx, dword [0x7e42e8]
mov edx, dword [edx + esi*4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00550f90
sub esp, 8
call fcn.0058d1a0
mov dword [0x7e42ec], 0xd00503
add esi, 1
adc edi, 0
mov eax, esi
xor eax, 0xa
or eax, edi
jne 0x461e48
mov dword [0x7e42ec], 0xd00506
mov dword [esp], str.GetUserColors
call fcn.00550e9c
sub esp, 4
mov dword [0x7e42ec], 0xd00507
xor ebx, ebx
mov esi, 1
xor edi, edi
lea esi, [esi]
mov dword [0x7e42ec], 0xd00508
call fcn.0058d210
call fcn.0058d210
mov dword [esp], str.COLORREF
call fcn.0058d230
sub esp, 4
call fcn.0058d210
call fcn.0058d210
call fcn.0058d170
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [esp + 4], edi
call fcn.00589b50
sub esp, 0xc
call fcn.0058d170
call fcn.0058d1f0
mov edx, dword [0x7e42e4]
mov edx, dword [edx + ebx]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.005514f9
sub esp, 8
call fcn.0058d1a0
mov dword [0x7e42ec], 0xd00509
add esi, 1
adc edi, 0
add ebx, 4
cmp ebx, 0x40
jne 0x461f00
mov dword [0x7e42ec], 0xd0050a
call fcn.00551071
jmp 0x461b61
mov dword [0x7e42ec], 0xd004df
mov dword [esp + 4], 0x7e435c
mov dword [esp], 0x7e41ac
call fcn.0058d080
sub esp, 8
jmp 0x461b98
mov dword [0x7e42ec], 0xd004e9
mov dword [esp + 4], 1
mov dword [esp], str.Designer_Maximize
call fcn.00550fee
sub esp, 8
mov dword [0x7e42ec], 0xd004ea
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00573507
sub esp, 8
jmp 0x461c72
mov dword [0x7e42ec], 0xd004ec
mov dword [esp + 4], 0
mov dword [esp], str.Designer_Maximize
call fcn.00550fee
sub esp, 8
mov dword [0x7e42ec], 0xd004ed
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00573507
sub esp, 8
mov dword [0x7e42ec], 0xd004ee
jmp 0x461c72