Function at 0x436ae0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x436e0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 0x18]
call fcn.00405ed8
push eax
push 0x436e1c
push 1
push 0
mov eax, dword [0x43cd5c]
push eax
call sub.ole32.dll_CoCreateInstance
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.004184c8
test al, al
je 0x436c25
lea eax, [ebp - 0xc]
call fcn.00405ed8
push eax
push 0
push 0
mov eax, dword [0x43d0f0]
push eax
push 1
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
call fcn.00435470
jmp 0x436c05
cmp dword [ebp - 8], 0
je 0x436be9
push 0x436e34
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0x38]
call fcn.004354f4
push dword [ebp - 0x13c]
push 0x436e44
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004047f0
lea eax, [ebp - 0x140]
push eax
mov ecx, 0x80000000
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
call fcn.004355c8
mov eax, dword [ebp - 0x140]
mov edx, 0x436e50
call fcn.0040487c
jne 0x436c05
lea edx, [ebp - 0x144]
lea eax, [ebp - 0x38]
call fcn.00435590
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x38]
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x436b8f
jmp 0x436dc9
lea eax, [ebp - 0x24]
push eax
push 0x436e54
push 0x80000000
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
je 0x436dc9
xor eax, eax
push ebp
push 0x436dc2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x436d8a
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x138]
mov dword [ebp - 0x154], eax
mov byte [ebp - 0x150], 6
lea edx, [ebp - 0x158]
mov eax, dword [0x43d0f0]
call fcn.004354f4
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x14c], eax
mov byte [ebp - 0x148], 0xb
lea edx, [ebp - 0x154]
mov ecx, 1
mov eax, 0x436e64
call fcn.00408c28
lea eax, [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 0x28]
call fcn.00404930
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x436d41
cmp dword [ebp - 8], 0
je 0x436d41
mov dword [ebp - 0x20], pe_nt_image_headers32
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x20]
call fcn.00404a60
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x28]
call fcn.00404930
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404930
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x436d10
mov edx, dword [ebp - 0x20]
dec edx
lea eax, [ebp - 0x28]
call fcn.00404a60
jmp 0x436d18
lea eax, [ebp - 0x28]
call fcn.00404470
lea eax, [ebp - 0x15c]
push eax
mov ecx, 0x80000000
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
call fcn.004355c8
mov eax, dword [ebp - 0x15c]
mov edx, 0x436e50
call fcn.0040487c
jne 0x436d8a
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x138]
mov ecx, pe_nt_image_headers32
call fcn.004046e0
mov eax, dword [ebp - 0x164]
lea edx, [ebp - 0x154]
call fcn.00435490
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x160]
call fcn.00435590
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x1c]
push pe_nt_image_headers32
lea eax, [ebp - 0x138]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegEnumKeyA
test eax, eax
je 0x436c58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436dc9
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436e16
lea eax, [ebp - 0x164]
mov edx, 4
call fcn.00404494
lea eax, [ebp - 0x144]
mov edx, 3
call fcn.00404494
lea eax, [ebp - 0x28]
call fcn.00404470
lea eax, [ebp - 0x18]
call fcn.00405ed8
lea eax, [ebp - 0xc]
call fcn.00405ed8
ret