Function at 0x4024c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov dword [ebp - 0xbc], 4
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0xc8]
push eax
push str.SOFTWARESysinternalsAutoruns
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push str.xpos
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push str.ypos
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
push 0
push str.width
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0xc4]
push edx
push 0
push 0
push str.height
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], 0
jmp 0x40259b
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [0x420354]
jge 0x4025b5
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x98], ecx
jmp 0x402592
push 0x3ed
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xbc], 4
mov eax, dword [ebp - 0xc0]
push eax
push str.column_d
lea ecx, [ebp - 0xb8]
push ecx
call fcn.0040dddb
add esp, 0xc
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 8]
push eax
push 0
push 0
lea ecx, [ebp - 0xb8]
push ecx
mov edx, dword [ebp - 0xc8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x402618
jmp 0x4026a6
mov eax, dword [ebp - 8]
and eax, 0xffff
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
push 0x101e
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x402642
jmp 0x4026a6
mov eax, dword [ebp - 0xc0]
push eax
push str.columnPos_d
lea ecx, [ebp - 0xb8]
push ecx
call fcn.0040dddb
add esp, 0xc
lea edx, [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp + eax*4 - 0x98]
push ecx
push 0
push 0
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0xc0]
add ecx, 1
mov dword [ebp - 0xc0], ecx
mov edx, 1
test edx, edx
jne 0x4025c7
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [0x420354]
push ecx
push 0x103a
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0xbc], 4
lea eax, [ebp - 0xbc]
push eax
push 0x420a88
push 0
push 0
push str.showall
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xbc], 4
lea edx, [ebp - 0xbc]
push edx
push 0x420a90
push 0
push 0
push str.shownomicrosoft
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xbc], 4
lea ecx, [ebp - 0xbc]
push ecx
push 0x420a8c
push 0
push 0
push str.showunsigned
mov edx, dword [ebp - 0xc8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xbc], 4
lea eax, [ebp - 0xbc]
push eax
push 0x420a80
push 0
push 0
push str.showservices
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xbc], 4
lea edx, [ebp - 0xbc]
push edx
push 0x420a84
push 0
push 0
push str.showexplorer
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xbc], 4
lea ecx, [ebp - 0xbc]
push ecx
push 0x420a94
push 0
push 0
push str.showwinlogon
mov edx, dword [ebp - 0xc8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xbc], 4
lea eax, [ebp - 0xbc]
push eax
push 0x420a98
push 0
push 0
push str.showappinit
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0xc8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0xffffffff
je 0x402831
cmp dword [ebp - 0x18], 0xffffffff
je 0x402831
push 4
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esp, ebp
pop ebp
ret