Function at 0x408fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5372a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x5ab980]
push ebx
push ebp
push esi
mov ebp, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x1c]
push 0x2c
push eax
lea ecx, [esp + 0x3c]
mov bl, 3
push esi
push ecx
mov byte [esp + 0x3c], bl
mov dword [esp + 0x2c], 0
call fcn.004229b0
add esp, 0x10
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 4
call fcn.00512a1d
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], bl
call fcn.005128e4
lea ecx, [esp + 0xc]
call fcn.0050e8af
lea ecx, [esp + 0xc]
call fcn.0050e7b8
push 0x22
lea ecx, [esp + 0x10]
call fcn.0050e86c
push 0x22
lea ecx, [esp + 0x10]
call fcn.0050e776
lea edx, [esp + 0x1c]
push 0x2c
push edx
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.004229b0
add esp, 0x10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 5
call fcn.00512a1d
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], bl
call fcn.005128e4
lea ecx, [esp + 0x10]
call fcn.0050e8af
lea ecx, [esp + 0x10]
call fcn.0050e7b8
push 0x22
lea ecx, [esp + 0x14]
call fcn.0050e86c
push 0x22
lea ecx, [esp + 0x14]
call fcn.0050e776
lea ecx, [esp + 0x1c]
push 0x2c
push ecx
lea edx, [esp + 0x3c]
push esi
push edx
call fcn.004229b0
add esp, 0x10
mov byte [esp + 0x2c], 6
push eax
lea ecx, [esp + 0x18]
call fcn.00512a1d
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], bl
call fcn.005128e4
lea ecx, [esp + 0x14]
call fcn.0050e8af
lea ecx, [esp + 0x14]
call fcn.0050e7b8
push 0x22
lea ecx, [esp + 0x18]
call fcn.0050e86c
push 0x22
lea ecx, [esp + 0x18]
call fcn.0050e776
lea eax, [esp + 0x1c]
push 0x2c
push eax
lea ecx, [esp + 0x3c]
push esi
push ecx
call fcn.004229b0
add esp, 0x10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 7
call fcn.00512a1d
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], bl
call fcn.005128e4
lea ecx, [esp + 0x18]
call fcn.0050e8af
lea ecx, [esp + 0x18]
call fcn.0050e7b8
push 0x22
lea ecx, [esp + 0x1c]
call fcn.0050e86c
push 0x22
lea ecx, [esp + 0x1c]
call fcn.0050e776
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x40921c
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40920c
push str.CLASSES
push eax
call fcn.004f9670
add esp, 8
test eax, eax
je 0x40920c
mov eax, dword [esp + 0xc]
push str.HKEY_CLASSES_ROOT
push eax
call fcn.004f9670
add esp, 8
test eax, eax
je 0x40920c
mov ecx, dword [esp + 0xc]
push str.LOCAL
push ecx
call fcn.004f9670
add esp, 8
test eax, eax
je 0x409205
mov edx, dword [esp + 0xc]
push str.HKEY_LOCAL_MACHINE
push edx
call fcn.004f9670
add esp, 8
test eax, eax
je 0x409205
mov eax, dword [esp + 0xc]
push str.CURRENT
push eax
call fcn.004f9670
add esp, 8
test eax, eax
je 0x4091fe
mov ecx, dword [esp + 0xc]
push str.HKEY_CURRENT_USER
push ecx
call fcn.004f9670
add esp, 8
test eax, eax
jne 0x40921c
push str.HKCU_
jmp 0x409211
push str.HKLM_
jmp 0x409211
push str.HKCR_
push 0
lea ecx, [esp + 0x18]
call fcn.0050df1d
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
jne 0x409245
push 0
push 0
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00512659
mov ecx, ebp
call fcn.00407760
jmp 0x409262
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00512659
mov ecx, ebp
call fcn.00407cf0
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 2
call fcn.005128e4
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call fcn.005128e4
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.005128e4
mov ecx, dword [esp + 0x24]
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4