Function at 0x42883f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0xc8
lea ebp, [esp - 4]
mov eax, dword [0x54b3f0]
xor eax, ebp
mov dword [ebp + 0xc8], eax
push 0x24
mov eax, 0x5055c6
call fcn.004d9926
mov eax, dword [ebp + 0xd4]
xor ebx, ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], ebx
xor eax, eax
mov dword [ebp - 4], ebx
push 0xc6
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.004d8c50
add esp, 0xc
push 0x5309b4
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x2c], 0x64
mov dword [ebp - 0x28], ebx
call fcn.00403b0d
mov byte [ebp - 4], 1
cmp dword [ebp + 0xec], 8
mov eax, dword [ebp + 0xd8]
jae 0x4288bd
lea eax, [ebp + 0xd8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041c3e7
push 0x5309c8
lea eax, [ebp - 0x18]
push eax
call fcn.0041c3e7
cmp dword [ebp + 0xec], 8
mov eax, dword [ebp + 0xd8]
jae 0x4288ea
lea eax, [ebp + 0xd8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041c3e7
push 0x5309cc
lea eax, [ebp - 0x18]
push eax
call fcn.0041c3e7
push 0x5309f0
lea eax, [ebp - 0x20]
push eax
call fcn.00403b0d
mov byte [ebp - 4], 2
cmp dword [ebp + 0xec], 8
mov eax, dword [ebp + 0xd8]
jae 0x428929
lea eax, [ebp + 0xd8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041c3e7
push 0x530a04
lea eax, [ebp - 0x20]
push eax
call fcn.0041c3e7
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x24], ebx
call fcn.00428687
test al, al
je 0x428957
mov dword [ebp - 0x24], 0x200
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
mov edi, 0x20019
push edi
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
push reloc.gdiplus.dll_Ordinal_1
call esi
test eax, eax
jne 0x4289b9
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x530a10
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4289a7
mov byte [ebp - 0xd], 1
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0xd], bl
jne 0x428a59
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push ebx
or eax, edi
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov dword [ebp - 0x24], eax
call esi
test eax, eax
jne 0x428a15
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x530a28
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x428a07
mov byte [ebp - 0xd], 1
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0xd], bl
jne 0x428a59
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0x24]
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
push edi
call esi
test eax, eax
jne 0x428a59
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x530a40
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x30]
lea eax, [ebp]
push eax
call fcn.0040edaa
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00403e7d
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00403e7d
push ebx
push 1
lea ecx, [ebp + 0xd8]
call fcn.00403da4
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc8]
xor ecx, ebp
call fcn.004d574b
add ebp, 0xcc
leave
ret