Function at 0x471a40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fa43a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
je 0x471ec0
mov eax, dword [0x6ca27c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], eax
mov ecx, dword [esi]
lea edx, [ebp - 0x20]
push ecx
push 0x69ffbc
push edx
mov byte [ebp - 4], 1
call fcn.005d9fbb
mov eax, dword [0x6ca27c]
add esp, 0xc
mov dword [ebp + 8], eax
mov ecx, dword [esi + 4]
lea edx, [ebp + 8]
push ecx
mov bl, 2
push 0x69ffbc
push edx
mov byte [ebp - 4], bl
call fcn.005d9fbb
mov eax, dword [ebp + 8]
mov ecx, dword [0x6cef28]
add esp, 0xc
push eax
call fcn.0041ed00
test eax, eax
je 0x471c47
mov eax, dword [0x6cee7c]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
push ecx
push edx
push 0
push 0
push str.DontShowDlgOnCancel
push eax
mov dword [ebp - 0x14], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x471b05
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x471e3e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005ddaf0
mov ebx, eax
push 0
push ebx
mov ebx, dword [esi + 0x2c]
push 0
mov ecx, dword [esi + 0x1c]
push ebx
mov ebx, dword [esi + 0x28]
mov edx, dword [esi + 0x18]
mov edi, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push ebx
mov ebx, dword [esi + 0x24]
push ebx
mov ebx, dword [esi + 0x20]
push ebx
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ebp - 0x20]
push edi
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi + 8]
push eax
push ecx
push edx
lea ecx, [ebp - 0x234]
call fcn.004e01f0
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 3
call fcn.005dd186
mov dword [0x6cf294], 0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x12
call fcn.005e118c
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x11
call fcn.005e118c
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x10
call fcn.005e118c
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xf
call fcn.005e118c
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xe
call fcn.005e118c
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xd
call fcn.005e118c
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xc
call fcn.005e118c
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xb
call fcn.005e118c
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xa
call fcn.005e118c
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 9
call fcn.005e8ccd
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 8
call fcn.005e8ccd
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 7
call fcn.005e8ccd
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 6
call fcn.005e8c95
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 5
call fcn.005e8c95
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 4
call fcn.005e8c95
mov bl, 2
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], bl
call fcn.005dcdc7
jmp 0x471e3e
mov eax, dword [0x6ca27c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x20]
push edx
push eax
push ecx
mov ecx, dword [0x6cef28]
mov byte [ebp - 4], 0x14
call fcn.0041eea0
test eax, eax
je 0x471e27
mov ecx, dword [0x6cee7c]
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
push edx
push eax
push 0
push 0
push str.DontShowDlgOnCancel
push ecx
mov dword [ebp - 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x471cb1
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x471e27
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x471cc0
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x14], edx
jmp 0x471cc6
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005ddaf0
mov ebx, dword [ebp - 0x14]
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
mov ebx, dword [ebx]
mov edi, dword [esi + 0x14]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp + 8]
push ebx
mov ebx, eax
push ebx
mov ebx, dword [esi + 0x2c]
push 1
push ebx
mov ebx, dword [esi + 0x28]
mov eax, dword [esi + 0x10]
push ebx
mov ebx, dword [esi + 0x24]
push ebx
mov ebx, dword [esi + 0x20]
push ebx
push ecx
mov ecx, dword [ebp - 0x18]
push edx
mov edx, dword [ebp - 0x14]
push edi
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi + 8]
push eax
push ecx
push edx
lea ecx, [ebp - 0x234]
call fcn.004e01f0
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x15
call fcn.005dd186
mov eax, dword [ebp - 0x24]
mov dword [0x6cf294], 0
push 0
push 0x145d
mov ecx, dword [eax + 0x1c]
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x24
call fcn.005e118c
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x23
call fcn.005e118c
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x22
call fcn.005e118c
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x21
call fcn.005e118c
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x20
call fcn.005e118c
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x64]
call fcn.005e118c
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x1e
call fcn.005e118c
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x1d
call fcn.005e118c
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1c
call fcn.005e118c
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x1b
call fcn.005e8ccd
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x1a
call fcn.005e8ccd
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x19
call fcn.005e8ccd
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 0x18
call fcn.005e8c95
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0x17
call fcn.005e8c95
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 0x16
call fcn.005e8c95
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x14
call fcn.005dcdc7
mov bl, 2
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x13
call fcn.005e118c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.005e118c
mov dword [ebp - 0x24], esi
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 0x2b
call fcn.005e118c
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 0x2a
call fcn.005e118c
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 0x29
call fcn.005e118c
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 0x28
call fcn.005e118c
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 0x27
call fcn.005e118c
lea ecx, [esi + 8]
mov byte [ebp - 4], 0x26
call fcn.005e118c
lea ecx, [esi + 4]
mov byte [ebp - 4], 0x25
call fcn.005e118c
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.005e118c
push esi
call fcn.005dd5b6
add esp, 4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.005e118c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.005e118c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4