Function at 0x411f40
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ceeed
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x510620]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
mov eax, dword [0x510620]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov esi, ecx
push ecx
call fcn.0045a1d0
push str.dialog
push str.UFlowLayout
push 1
mov ecx, eax
call fcn.0046b940
mov ecx, esi
call fcn.00459440
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa0]
call fcn.0042c5a0
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xac]
xor ecx, ecx
mov dword [esp + 0x270], 1
push 0xffffffffffffffff
push ecx
mov word [esp + 0x44], cx
lea ecx, [esp + 0x44]
push eax
mov dword [esp + 0x44], vtable.UString.0
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
call fcn.00402990
mov byte [esp + 0x270], 3
cmp dword [esp + 0x28], 8
jb 0x412012
push dword [esp + 0x14]
call fcn.00494c0b
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
xor bl, bl
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocString
mov dword [esp + 0x38], 0
mov byte [esp + 0x24], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41209e
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0x208
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x34], 1
push eax
lea eax, [esp + 0x38]
push eax
push 0
push 0x4e6da4
push dword [esp + 0x40]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x2c]
test eax, eax
movzx edx, bl
mov ecx, 1
cmove edx, ecx
mov byte [esp + 0x14], dl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
mov ecx, esi
call fcn.0045a1d0
push str.dialog
push str.UFlowLayout
push 1
mov ecx, eax
call fcn.0046b940
push 0x130
mov edi, eax
call fcn.004952af
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
mov byte [esp + 0x270], 4
test esi, esi
je 0x4120fc
push 0x130
push 0
push esi
call fcn.0049aba0
add esp, 0xc
mov ecx, esi
push 0
push 0x4e6dc4
call fcn.0045cd70
mov esi, eax
jmp 0x4120fe
xor esi, esi
mov byte [esp + 0x270], 3
mov ecx, esi
mov eax, dword [esi]
push 0x64
push str.Width
call dword [eax + 0x18]
mov eax, dword [edi]
mov ecx, edi
push 1
push esi
call dword [eax + 0x94]
push 0x154
call fcn.004952af
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
mov byte [esp + 0x270], 5
test esi, esi
je 0x412161
push 0x154
push 0
push esi
call fcn.0049aba0
add esp, 0xc
mov ecx, esi
push 0
call fcn.0046a7b0
mov dword [esi], vtable.UCheckBox.0
jmp 0x412163
xor esi, esi
mov byte [esp + 0x270], 3
mov ecx, esi
mov eax, dword [esi]
push 0x14
push str.Width
call dword [eax + 0x18]
mov eax, dword [esi]
mov ecx, esi
push 0x19
push str.Height
call dword [eax + 0x18]
push dword [esp + 0x10]
mov eax, dword [esi]
mov ecx, esi
push str.Checked
call dword [eax + 0x14]
mov eax, dword [esi]
mov ecx, esi
push 0x4e6dd4
push 0x4e6d14
call dword [eax + 0x1c]
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x90]
cmp dword [esp + 0x50], 8
mov dword [esp + 0x38], vtable.UString.0
jb 0x4121ce
push dword [esp + 0x3c]
call fcn.00494c0b
add esp, 4
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.00494c10
mov esp, ebp
pop ebp
ret