Function at 0x429031
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, 0x506852
call fcn.004d9fe8
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.004d9310
add esp, 0xc
push 0x530974
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x2c], 0x64
mov dword [ebp - 0x28], ebx
call fcn.004042b1
mov byte [ebp - 4], 1
cmp dword [ebp + 0xec], 8
mov eax, dword [ebp + 0xd8]
jae 0x4290af
lea eax, [ebp + 0xd8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041ccca
push 0x530988
lea eax, [ebp - 0x18]
push eax
call fcn.0041ccca
cmp dword [ebp + 0xec], 8
mov eax, dword [ebp + 0xd8]
jae 0x4290dc
lea eax, [ebp + 0xd8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041ccca
push 0x53098c
lea eax, [ebp - 0x18]
push eax
call fcn.0041ccca
push 0x5309b0
lea eax, [ebp - 0x20]
push eax
call fcn.004042b1
mov byte [ebp - 4], 2
cmp dword [ebp + 0xec], 8
mov eax, dword [ebp + 0xd8]
jae 0x42911b
lea eax, [ebp + 0xd8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041ccca
push 0x5309c4
lea eax, [ebp - 0x20]
push eax
call fcn.0041ccca
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x24], ebx
call fcn.00428e79
test al, al
je 0x429149
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 0x4291ab
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x5309d0
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x429199
mov byte [ebp - 0xd], 1
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0xd], bl
jne 0x42924b
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 0x429207
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x5309e8
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4291f9
mov byte [ebp - 0xd], 1
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0xd], bl
jne 0x42924b
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 0x42924b
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x530a00
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.00404466
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040436d
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040436d
push ebx
push 1
lea ecx, [ebp + 0xd8]
call fcn.0040476f
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.004d5e0b
add ebp, 0xcc
leave
ret