Function at 0x42872b
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, 0x50563c
call fcn.004d99c6
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.004d8ce0
add esp, 0xc
push 0x530984
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x2c], 0x64
mov dword [ebp - 0x28], ebx
call fcn.00403b4c
mov byte [ebp - 4], 1
cmp dword [ebp + 0xec], 8
mov eax, dword [ebp + 0xd8]
jae 0x4287a9
lea eax, [ebp + 0xd8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041c40e
push 0x530998
lea eax, [ebp - 0x18]
push eax
call fcn.0041c40e
cmp dword [ebp + 0xec], 8
mov eax, dword [ebp + 0xd8]
jae 0x4287d6
lea eax, [ebp + 0xd8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041c40e
push 0x53099c
lea eax, [ebp - 0x18]
push eax
call fcn.0041c40e
push 0x5309c0
lea eax, [ebp - 0x20]
push eax
call fcn.00403b4c
mov byte [ebp - 4], 2
cmp dword [ebp + 0xec], 8
mov eax, dword [ebp + 0xd8]
jae 0x428815
lea eax, [ebp + 0xd8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041c40e
push 0x5309d4
lea eax, [ebp - 0x20]
push eax
call fcn.0041c40e
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x24], ebx
call fcn.00428573
test al, al
je 0x428843
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 0x4288a5
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x5309e0
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x428893
mov byte [ebp - 0xd], 1
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0xd], bl
jne 0x428945
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 0x428901
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x5309f8
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4288f3
mov byte [ebp - 0xd], 1
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0xd], bl
jne 0x428945
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 0x428945
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]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x30]
lea eax, [ebp]
push eax
call fcn.0040ed9b
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00403eb2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00403eb2
push ebx
push 1
lea ecx, [ebp + 0xd8]
call fcn.00403de3
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.004d57db
add ebp, 0xcc
leave
ret