Function at 0x406f3a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0xf89c854a
and dword [0x42d661], 0x5c5
mov dword [ebp - 0x18], 0xf89c854b
adc dword [0x437d98], 0x6956
mov eax, dword [ebp - 4]
push ebx
movzx ebx, word [0x438e2e]
sub dword [0x42df61], ebx
xor eax, 0x7510836
adc dword [0x436024], 0x5510
mov ebx, 0x327284
and dword [0x438e3a], 0x42d655
add eax, ebx
and dword [0x42df61], 0x436038
mov dword [ebp - 0x1c], eax
and dword [0x437d90], 0x506f
mov eax, dword [ebp + 0x14]
push esi
add dword [0x438e36], 0x42d64d
push edi
test eax, eax
mov dword [0x43603c], 0x6f67
je 0x40703c
mov eax, dword [ebp + 0x14]
mov dword [0x43603c], 0x18
cmp dword [0x43603c], 0
je 0x407031
cmp dword [0x43603c], 9
jne 0x407001
push dword [ebp - 0xc]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call dword [sym.imp.COMCTL32.dll_ImageList_SetIconSize]
cmp dword [0x43603c], 0xa
jne 0x40701d
xor edi, edi
add edi, dword [0x43603c]
dec edi
mov dword [0x43603c], edi
mov edi, dword [0x43603c]
dec edi
mov dword [0x43603c], edi
jmp 0x406fd8
mov eax, dword [eax]
neg dword [0x43601c]
mov dword [ebp - 0x1c], eax
add esi, 0x2284
imul edx, eax
and edi, dword [0x42df65]
mov ecx, 0x4573
xor edi, 0x60c1
add edx, ecx
and dword [0x437d98], 0
jmp 0x407074
mov esi, dword [0x437d98]
inc esi
mov dword [0x437d98], esi
cmp dword [0x437d98], 0x15
jae 0x4070a6
cmp dword [0x437d98], 0x24
jne 0x4070a1
push 0x83ba
push dword [ebp - 0x28]
push 0x880a
call dword [sym.imp.GDI32.dll_Polygon]
jmp 0x407067
mov esi, 0x7879
xor edi, edi
add edi, dword [0x436028]
sbb dword [0x43601c], edi
mov edi, 0x1556
or dword [0x43601c], 0x620f
xchg esi, ecx
or dword [0x42d655], 0x7ed9
sub edx, edi
xor dword [0x437dac], 0x6f4c
push dword [ebp + 8]
call fcn.00419f26
xor esi, 0x75a4
mov dword [ebp - 0x14], eax
mov ecx, dword [0x438e46]
sub dword [0x438e42], ecx
mov eax, dword [ebp - 4]
adc esi, dword [0x436020]
mov ecx, dword [ebp - 0x14]
mov esi, dword [0x437d90]
sbb dword [0x42d655], esi
mov esi, 0x7510836
adc dword [0x42d64d], 0x37a9
xor eax, esi
adc dword [0x42d64d], 0x438e2e
add eax, ebx
mov dword [0x436038], 0x4e97
cmp ecx, eax
mov dword [0x42df49], 0x4142
jne 0x4071cc
sub eax, 0x30de
mov eax, dword [ebp - 4]
dec dword [0x42d651]
xor eax, esi
or dword [0x42d64d], 0x437da4
add eax, ebx
jmp 0x407583
push dword [ebp - 0x14]
and dword [0x42d659], 0x437da4
push dword [ebp + 8]
call fcn.00422997
mov dword [ebp - 0x14], eax
mov dword [0x42df55], 0x10
cmp dword [0x42df55], 0
je 0x40724b
cmp dword [0x42df55], 5
jne 0x40721e
push 0x42df4d
push dword [ebp - 0xc]
push 0x4372af
push dword [ebp - 0x28]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
cmp dword [0x42df55], 6
jne 0x407236
mov eax, dword [0x42df55]
dec eax
mov dword [0x42df55], eax
xor eax, eax
add eax, dword [0x42df55]
dec eax
mov dword [0x42df55], eax
jmp 0x4071ee
mov eax, dword [ebp - 4]
sub dword [0x436044], 0x553
mov ecx, dword [ebp - 0x14]
xor eax, esi
add eax, ebx
cmp ecx, eax
mov dword [0x438e32], 0x815
je 0x40714e
and dword [0x437d94], 0
mov eax, dword [0x437d94]
inc eax
mov dword [0x437d94], eax
cmp dword [0x437d94], 9
jne 0x40729e
push 0x616d
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp dword [0x437d94], 8
jne 0x4072b6
mov eax, dword [0x437d94]
inc eax
mov dword [0x437d94], eax
cmp dword [0x437d94], 0x15
jb 0x40727b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
sub dword [0x42df61], 0x437d90
add ecx, dword [eax + 0x20]
or dword [0x42df4d], 0x66e
xor edi, edi
mov dword [ebp - 0x24], ecx
add eax, ecx
mov eax, dword [ebp - 0x14]
and dword [0x42d661], 0
jmp 0x407308
xor ecx, ecx
xor ecx, dword [0x42d661]
inc ecx
mov dword [0x42d661], ecx
cmp dword [0x42d661], 0x1d
jae 0x407352
cmp dword [0x42d661], 4
jne 0x407330
push dword [ebp - 0x28]
push 0x170a
call dword [sym.imp.USER32.dll_GetMenuItemID]
cmp dword [0x42d661], 3
jne 0x40734c
xor ecx, ecx
add ecx, dword [0x42d661]
inc ecx
mov dword [0x42d661], ecx
jmp 0x4072f9
mov ecx, dword [ebp + 8]
add dword [0x437d90], 0x438e42
add ecx, dword [eax + 0x24]
mov dword [0x437d90], 0x13
cmp dword [0x437d90], 0
je 0x4073d5
cmp dword [0x437d90], 6
jne 0x4073a1
push 0x4371f4
push dword [ebp - 0x28]
push dword [ebp - 0x28]
push 0x3289
push 0x6667
call dword [sym.imp.USER32.dll_InsertMenuA]
cmp dword [0x437d90], 7
jne 0x4073bc
xor eax, eax
add eax, dword [0x437d90]
dec eax
mov dword [0x437d90], eax
xor eax, eax
or eax, dword [0x437d90]
dec eax
mov dword [0x437d90], eax
jmp 0x40736c
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 8], edi
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], edi
jbe 0x407442
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edi*4]
lea eax, [ebp - 8]
mov dword [ebp - 0x28], ecx
push eax
push dword [ebp - 0x28]
push dword [ebp + 0xc]
call fcn.00427243
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor eax, esi
add eax, ebx
cmp ecx, eax
jne 0x407432
mov eax, dword [ebp - 0x14]
inc edi
cmp edi, dword [eax + 0x18]
jb 0x4073f3
jmp 0x407442
mov eax, dword [ebp - 0x2c]
movzx eax, word [eax + edi*2]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + eax*4]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor eax, esi
add eax, ebx
cmp ecx, eax
je 0x40714e
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x407538
mov dword [ebp - 0x20], 0
push 0xa
pop ecx
push 4
pop ebx
inc ebx
xchg ebx, ecx
sub ebx, ecx
xchg ebx, ecx
dec ecx
mov eax, dword [ebp - 0x1c]
imul eax, ecx
sub esp, eax
mov dword [ebp - 0x20], esp
mov eax, dword [ebp - 4]
mov ecx, esi
xor eax, ecx
mov edx, 0x327284
add eax, edx
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x18]
xor eax, ecx
add eax, edx
mov edx, dword [ebp + 0x14]
imul eax, dword [edx]
mov edx, dword [ebp - 4]
xor edx, ecx
mov ecx, dword [ebp + 8]
lea ecx, [edx + ecx + 0x327284]
cmp ecx, eax
je 0x407533
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + eax*4 + 4]
mov ecx, 0x7510836
xor edx, edx
xor edi, ecx
mov esi, 0x327284
add edi, esi
div edi
mov edx, dword [ebp - 4]
xor edx, ecx
lea eax, [edx + eax + 0x327284]
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 0x20]
mov dword [edi + edx*4], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
xor eax, ecx
lea eax, [eax + edx + 0x327284]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + 0x14]
xor eax, ecx
add eax, esi
imul eax, dword [edx]
mov edx, dword [ebp - 4]
xor edx, ecx
mov ecx, dword [ebp + 8]
lea ecx, [edx + ecx + 0x327284]
cmp ecx, eax
jne 0x4074bd
mov ebx, esi
mov esi, 0x7510836
jmp 0x407538
mov ebx, 0x327284
mov eax, dword [ebp - 4]
xor eax, esi
add eax, ebx
mov dword [ebp - 0xc], eax
xor ebx, ebx
lea eax, [ebp - 0x10]
add ebx, dword [eax]
call ebx
xor ebx, ebx
inc ebx
cmp dword [ebp + 0x10], ebx
je 0x40756f
xchg edx, eax
push 0xa
pop ecx
push 4
pop ebx
inc ebx
xchg ebx, ecx
sub ebx, ecx
xchg ebx, ecx
dec ecx
mov eax, dword [ebp - 0x1c]
imul eax, ecx
add esp, eax
xchg edx, eax
push eax
xor ebx, ebx
mov edx, esp
dec edx
inc ebx
add ebx, dword [edx + ebx]
dec ebx
xor edx, edx
add dword [ebp - 0xc], ebx
pop ebx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0x10