Function at 0x404230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415b39
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x40
mov eax, dword [0x4593c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 2
push 1
lea ecx, [ebp - 0x18]
call fcn.004061e0
lea ecx, [ebp - 0x18]
call fcn.00402da0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
mov dword [ebp - 0x44], str.6JxY1JARd7KpJyUGjeF6G8lSYWqMRHKkqm548nNIiR4bGJxJq1uYio3pViEjOqfVPuzDBoFHp9xY6slB1CPen5KNo1qGVDMDI1F0hPP15kilPYTUweaWIWMsHzlWM3kX9X6wnJLIVsXjF01D4gUhvKcAk7AHNQ4NLDzDw2DHJiIygEK2nlztjcNfPvNamErjVuOSIFqFqhej8wuGShBO3TfjYib4Gvd1yczQnuSa2AFnIEOyz8xK6sQtDKpNTWlLgDBfhltwM5KamyBT96THbsLgPPGh3X7JjTGOB0tY0lHC
lea eax, [ebp - 0x24]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp + 0x10]
push edx
call fcn.00402c40
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x404311
push 0x41bc74
mov ecx, dword [ebp + 8]
call fcn.00402d20
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00402fd0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.00402fd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00402fd0
mov eax, dword [ebp + 8]
jmp 0x4044b1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x20]
push ecx
push 0
lea edx, [ebp - 0x1c]
push edx
push 0
lea ecx, [ebp + 0x14]
call fcn.004070e0
push eax
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
push edx
lea ecx, [ebp - 0x18]
call fcn.004040c0
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea ecx, [ebp + 0x14]
call fcn.004070e0
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.004057f0
cmp dword [ebp - 0x38], 0
je 0x4043d5
push 0x41bd24
mov ecx, dword [ebp + 8]
call fcn.00402d20
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00402fd0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.00402fd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00402fd0
mov eax, dword [ebp + 8]
jmp 0x4044b1
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402c40
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00402fd0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.00402fd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00402fd0
mov eax, dword [ebp + 8]
jmp 0x4044b1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040a40b
mov esp, ebp
pop ebp
ret 0x10