Function at 0x42b1b0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x481d77
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x49f598]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], eax
mov ebp, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
push 0x4a3634
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 4
call fcn.0047166f
mov eax, dword [esp + 0x40]
mov dword [eax], ebx
mov al, byte [esp + 0x44]
cmp al, bl
je 0x42b218
push 0x84f5
jmp 0x42b21d
push 0x84f6
lea ecx, [esp + 0x1c]
call fcn.0047512e
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x28]
push ecx
push 0x20019
push ebx
push edx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x42b25e
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0047125b
mov dword [esp + 0x24], ebp
jmp 0x42b3d7
push 0x208
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0x208
call fcn.00471916
mov edx, dword [esp + 0x28]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push ebx
push str.Wallpaper
push edx
call esi
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.00471965
cmp edi, ebx
je 0x42b2c1
lea ecx, [esp + 0x10]
call fcn.00471471
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0047125b
mov dword [esp + 0x24], ebp
jmp 0x42b3d7
mov ebp, 0x104
lea ecx, [esp + 0x14]
push ebp
mov dword [esp + 0x24], ebp
call fcn.00471916
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push ebx
push str.WallpaperStyle
push edx
call esi
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00471965
cmp edi, ebx
je 0x42b30c
lea ecx, [esp + 0x10]
call fcn.00471471
lea eax, [esp + 0x10]
push eax
jmp 0x42b3c4
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0045bac6
add esp, 4
cmp eax, 2
jne 0x42b324
mov edx, dword [esp + 0x40]
mov dword [edx], eax
push ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], ebp
call fcn.00471916
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push ebx
push str.TileWallpaper
push edx
call esi
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.00471965
cmp esi, ebx
je 0x42b35e
lea eax, [esp + 0x10]
push eax
jmp 0x42b3c4
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00471965
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0045bac6
add esp, 4
cmp eax, 1
jne 0x42b381
mov edx, dword [esp + 0x40]
mov dword [edx], eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x44], bl
je 0x42b3bf
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call fcn.0047161f
mov esi, dword [esp + 0x1c]
push 0x208
push 0x208
lea ecx, [esp + 0x18]
call fcn.00471916
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea edx, [esp + 0x10]
push edx
mov esi, dword [esp + 0x40]
mov ecx, esi
call fcn.0047125b
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 3
call fcn.004714e6
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 2
call fcn.004714e6
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 1
call fcn.004714e6
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], bl
call fcn.004714e6
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc