Function at 0x4891b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x640d26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
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 0x4895fe
mov eax, dword [0x6f7b78]
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], eax
mov ecx, dword [esi]
lea edx, [ebp - 0x20]
push ecx
push 0x6c910c
push edx
mov byte [ebp - 4], 1
call fcn.0061fae1
mov eax, dword [0x6f7b78]
add esp, 0xc
mov dword [ebp + 8], eax
mov ecx, dword [esi + 4]
lea edx, [ebp + 8]
push ecx
mov bl, 2
push 0x6c910c
push edx
mov byte [ebp - 4], bl
call fcn.0061fae1
mov eax, dword [ebp + 8]
mov ecx, dword [0x6fcbc0]
add esp, 0xc
push eax
call fcn.004243f0
test eax, eax
je 0x4893a3
mov eax, dword [0x6fcafc]
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 0x489275
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x48957c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.00623b6b
mov ebx, eax
push 0
push ebx
mov ebx, dword [esi + 0x30]
mov ecx, dword [esi + 0x1c]
push ebx
mov ebx, dword [esi + 0x2c]
push 0
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 - 0x12c]
call fcn.00505860
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 3
call fcn.006226c5
mov dword [0x6fcf84], 0
mov edi, 0x657cdc
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x48], edi
call fcn.004012f0
lea ecx, [ebp - 0x68]
call fcn.004012f0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x98], edi
call fcn.00622d8a
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xb
call fcn.00622d8a
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xa
call fcn.00622d8a
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 9
call fcn.00622d8a
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 8
call fcn.00622d8a
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 7
call fcn.00622d8a
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 6
call fcn.00622d8a
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xcc]
call fcn.00622d8a
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 4
call fcn.00622d8a
mov bl, 2
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], bl
call fcn.00622306
jmp 0x48957c
mov eax, dword [0x6f7b78]
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 [0x6fcbc0]
mov byte [ebp - 4], 0xe
call fcn.00424590
test eax, eax
je 0x489565
mov ecx, dword [0x6fcafc]
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 0x48940d
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x489565
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x48941c
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x14], edx
jmp 0x489422
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.00623b6b
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 + 0x30]
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 - 0x12c]
call fcn.00505860
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0xf
call fcn.006226c5
mov eax, dword [ebp - 0x24]
mov dword [0x6fcf84], 0
push 0
push 0x145d
mov ecx, dword [eax + 0x1c]
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov edi, 0x657cdc
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x98], edi
call fcn.00622d8a
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x17
call fcn.00622d8a
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x16
call fcn.00622d8a
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x15
call fcn.00622d8a
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xc0]
call fcn.00622d8a
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x13
call fcn.00622d8a
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x12
call fcn.00622d8a
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x11
call fcn.00622d8a
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x10
call fcn.00622d8a
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0xe
call fcn.00622306
mov bl, 2
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
call fcn.00622d8a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00622d8a
mov dword [ebp - 0x24], esi
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 0x1f
call fcn.00622d8a
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 0x1e
call fcn.00622d8a
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 0x1d
call fcn.00622d8a
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 0x1c
call fcn.00622d8a
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 0x1b
call fcn.00622d8a
lea ecx, [esi + 8]
mov byte [ebp - 4], 0x1a
call fcn.00622d8a
lea ecx, [esi + 4]
mov byte [ebp - 4], 0x19
call fcn.00622d8a
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.00622d8a
push esi
call fcn.00622af4
add esp, 4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00622d8a
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00622d8a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4