Function at 0x447f90
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fa12d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x240
mov eax, dword [0x531d28]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x240], eax
mov eax, 0xfe
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x30]
push esi
xor ebx, ebx
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x30], 1
call fcn.00447da0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
sub eax, 0x10
push eax
mov dword [esp + 0x260], ebx
call fcn.004013d0
add eax, 0x10
add esp, 0xc
mov dword [esp + 0x14], eax
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x140]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x25c], 1
stosb byte es:[edi], al
mov dword [esp + 0x24], ebx
call fcn.0040d4b0
mov eax, dword [eax]
push 0x502aa8
push eax
call fcn.004d4c0f
mov ebx, eax
mov eax, dword [esp + 0x18]
add esp, 8
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44807d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x4480c9
push 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040d480
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x258], 2
call fcn.00403fd0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x254], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4480c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push 0x20019
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4482c9
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x2c]
push 0
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x154]
push eax
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x4482b7
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0xc]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004092f0
add esp, 0xc
lea edx, [esp + 0x140]
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x258], 3
call fcn.00401fd0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x258], 4
call fcn.00447d30
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x25c], 5
call fcn.00447e80
add esp, 8
mov eax, dword [edi + 8]
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, edi
mov byte [esp + 0x25c], 6
call fcn.004e3ec6
mov eax, dword [ebx + 8]
lea edx, [esp + 0x38]
push edx
push eax
mov ecx, ebx
call fcn.004e3ec6
mov eax, dword [esi + 8]
lea ecx, [esp + 0x34]
push ecx
push eax
mov ecx, esi
call fcn.004e3ec6
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.004e3ec6
mov edx, dword [esp + 0x1c]
mov eax, 0xfe
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
inc edx
add eax, 0xfffffff0
mov dword [esp + 0x1c], edx
mov byte [esp + 0x254], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44820c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x254], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x448232
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x254], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x448258
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x254], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44827e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x28]
push 0
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x154]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x448128
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
jmp 0x4482f2
push 0xe4
push str..Registry.cpp
call fcn.00407270
mov ecx, eax
call fcn.0040a520
push str.CRegistry:Open_registry_key_error.
push 4
call fcn.0047fc80
mov esi, dword [esp + 0x44]
add esp, 8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x254], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x448318
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x254], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x448341
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x244]
mov eax, esi
call fcn.004d40be
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret