Function at 0x442d09
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x49e0ea
call fcn.0047d43c
sub esp, 0xa4
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x58], ecx
lea eax, [ebp - 0x19]
push ebx
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x50], 0x4a3670
mov dword [ebp - 0x30], 0x4a3668
call fcn.00401907
mov esi, 0x4bd790
mov dword [ebp - 4], ebx
push esi
call fcn.0047d464
mov edi, dword [ebp + 0x10]
pop ecx
push eax
push ebx
push esi
lea ecx, [edi + 4]
call fcn.004130f5
mov ecx, dword [ebp + 0x18]
mov esi, eax
lea eax, [ebp + 0x18]
push 0xa
push eax
mov dword [ebp + 0x10], ebx
call fcn.00436e9c
call fcn.00450ce5
test al, al
je 0x442d9c
mov eax, dword [ebp + 0x18]
and eax, 1
cmp al, 1
jne 0x442d8b
mov dword [ebp + 0x10], 0x200
jmp 0x442d9c
mov eax, dword [ebp + 0x18]
and eax, 2
cmp al, 2
jne 0x442d9c
mov dword [ebp + 0x10], pe_nt_image_headers32
mov eax, dword [edi + 0xc]
lea ecx, [esi + 1]
cmp ecx, eax
mov dword [ebp + 0x18], ecx
jae 0x44332f
push esi
lea eax, [ebp - 0xb0]
push ebx
push eax
mov ecx, edi
call fcn.0040b637
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00401d3d
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], bl
call fcn.00401093
mov esi, str.HKEY_CLASSES_ROOT
push esi
call fcn.0047d464
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.00419aea
cmp eax, ebx
jne 0x442e02
mov dword [ebp - 0x14], SysStringLen
jmp 0x442ef4
mov esi, str.HKEY_CURRENT_USER
push esi
call fcn.0047d464
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.00419aea
cmp eax, ebx
jne 0x442e2c
mov dword [ebp - 0x14], SysStringLen
jmp 0x442ef4
mov esi, str.HKEY_LOCAL_MACHINE
push esi
call fcn.0047d464
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.00419aea
cmp eax, ebx
jne 0x442e56
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysReAllocString
jmp 0x442ef4
mov esi, str.HKEY_USERS
push esi
call fcn.0047d464
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.00419aea
cmp eax, ebx
jne 0x442e7d
mov dword [ebp - 0x14], VariantCopy
jmp 0x442ef4
mov esi, str.HKEY_PERFORMANCE_DATA
push esi
call fcn.0047d464
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.00419aea
cmp eax, ebx
jne 0x442ea4
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysReAllocStringLen
jmp 0x442ef4
mov esi, str.HKEY_CURRENT_CONFIG
push esi
call fcn.0047d464
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.00419aea
cmp eax, ebx
jne 0x442ecb
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysFreeString
jmp 0x442ef4
mov esi, str.HKEY_DYN_DATA
push esi
call fcn.0047d464
pop ecx
push eax
push esi
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ebx
call fcn.00419aea
cmp eax, ebx
jne 0x44332f
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysStringLen
push dword [0x4a3690]
lea eax, [ebp - 0xb0]
mov ecx, edi
push dword [ebp + 0x18]
push eax
call fcn.0040b637
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00401d3d
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], bl
call fcn.00401093
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00401a14
mov esi, dword [ebp + 0x10]
lea ecx, [ebp + 0x18]
or esi, 0x20019
push ecx
push esi
push ebx
push eax
mov dword [ebp + 0x18], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4432e7
lea ecx, [ebp - 0x10]
call fcn.00410d42
mov ecx, dword [ebp + 0x18]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
jne 0x4432ea
cmp dword [ebp + 8], 1
jne 0x442f7f
cmp dword [ebp + 0xc], 1
sete byte [ebp + 0xf]
jmp 0x442fec
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
mov ecx, edi
mov dword [ebp - 0x24], 4
call fcn.00401a14
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x443042
cmp dword [ebp - 0x54], 4
jne 0x44304b
cmp dword [ebp - 0x24], 4
jne 0x44304b
mov ecx, dword [ebp + 0x1c]
lea eax, [ebp + 8]
push 0xa
push eax
call fcn.00436e9c
mov eax, dword [ebp + 0xc]
dec eax
je 0x44303d
dec eax
je 0x443031
dec eax
dec eax
je 0x443025
sub eax, 0xc
je 0x443017
sub eax, 0x10
je 0x44300b
mov byte [ebp + 0xf], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00410d42
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00401093
mov al, byte [ebp + 0xf]
jmp 0x44333d
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
setne byte [ebp + 0xf]
jmp 0x442fec
mov eax, dword [ebp + 8]
and eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
jmp 0x442f79
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
seta byte [ebp + 0xf]
jmp 0x442fec
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
setb byte [ebp + 0xf]
jmp 0x442fec
mov eax, dword [ebp - 0x18]
jmp 0x44301d
cmp eax, 2
je 0x4432e7
push esi
lea eax, [ebp + 0x13]
sub esp, 0x28
mov esi, 0x4c6e10
mov ecx, esp
mov dword [ebp - 0x84], esp
push 1
push eax
push esi
call fcn.0040ad1d
sub esp, 0x28
lea eax, [ebp + 0x1b]
mov edx, esp
mov dword [ebp - 0x88], esp
push 1
push eax
lea ecx, [edi + 4]
mov byte [ebp - 4], 4
mov dword [ebp - 0x28], edx
call fcn.00418f32
push eax
mov eax, dword [ebp - 0x28]
mov ecx, eax
call fcn.0040ad1d
sub esp, 0x28
lea eax, [ebp + 0x17]
mov edi, esp
mov dword [ebp - 0x28], esp
push 1
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.00418f32
push eax
mov ecx, edi
call fcn.0040ad1d
push dword [ebp - 0x14]
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 3
push eax
call fcn.004520e3
add esp, 0x84
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 4], 6
mov dword [ebp + 0x1c], 0x4a368c
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x4430e3
mov dword [ebp + 0x1c], eax
push dword [ebp + 0x1c]
call fcn.0047d464
pop ecx
push eax
push ebx
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x7c]
call fcn.00404eb8
cmp dword [ebp + 8], 0x20
mov dword [ebp + 0x1c], eax
jne 0x443156
mov eax, dword [ebp - 0x78]
cmp eax, ebx
jne 0x44310e
mov eax, 0x4a36e0
cmp eax, ebx
mov dword [ebp - 0xb0], 0x4a3670
mov dword [ebp - 0x90], 0x4a3668
je 0x443128
mov esi, eax
lea eax, [ebp + 0xb]
push ebx
push eax
push esi
lea ecx, [ebp - 0xb0]
call fcn.004011a9
mov dword [ebp - 0x20], 1
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0xb0]
push edi
push eax
mov byte [ebp - 4], 7
call fcn.004454da
jmp 0x443177
mov edi, dword [edi + 8]
cmp edi, ebx
jne 0x443162
mov edi, 0x4a368c
push edi
call fcn.0047d464
pop ecx
push eax
push edi
push dword [ebp - 0x74]
lea ecx, [ebp - 0x7c]
push ebx
call fcn.0040afa6
test byte [ebp - 0x20], 1
mov esi, eax
mov dword [ebp - 4], 6
je 0x443191
lea ecx, [ebp - 0xb0]
call fcn.00401093
mov eax, dword [ebp + 0xc]
dec eax
je 0x4432bf
dec eax
je 0x443296
dec eax
dec eax
je 0x44326a
sub eax, 4
je 0x44323e
sub eax, 8
je 0x44320c
sub eax, 0x10
je 0x4431e1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 3
call fcn.00402438
cmp dword [ebp - 0x10], ebx
je 0x4431da
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, 1
jmp 0x44332f
cmp esi, ebx
lea ecx, [ebp - 0x80]
setne byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00402438
cmp dword [ebp - 0x10], ebx
je 0x443204
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x44332f
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0x80]
cmp eax, dword [0x4a3690]
mov byte [ebp - 4], 3
setne byte [ebp + 0xf]
call fcn.00402438
cmp dword [ebp - 0x10], ebx
je 0x443236
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x44332f
cmp dword [ebp + 0x1c], ebx
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 3
sete byte [ebp + 0xf]
call fcn.00402438
cmp dword [ebp - 0x10], ebx
je 0x443262
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x44332f
cmp esi, 1
lea ecx, [ebp - 0x80]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00402438
cmp dword [ebp - 0x10], ebx
je 0x44328e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x44332f
cmp esi, 0xffffffff
lea ecx, [ebp - 0x80]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00402438
cmp dword [ebp - 0x10], ebx
je 0x4432ba
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x44332f
cmp esi, ebx
lea ecx, [ebp - 0x80]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00402438
cmp dword [ebp - 0x10], ebx
je 0x4432e2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x44332f
mov ecx, dword [ebp - 0x10]
cmp dword [ebp + 8], 1
jne 0x44330b
cmp dword [ebp + 0xc], 2
sete byte [ebp + 0xf]
cmp ecx, ebx
je 0x443306
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x44332f
cmp dword [ebp + 0xc], 2
je 0x44331a
cmp dword [ebp + 0xc], 0x20
mov byte [ebp + 0xf], bl
jne 0x44331e
mov byte [ebp + 0xf], 1
cmp ecx, ebx
je 0x44332c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00401093
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x18