Function at 0x427cf7
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x44162c
call fcn.00432c38
sub esp, 0x70
push ebx
push esi
xor ebx, ebx
push edi
lea eax, [ebp - 0xd]
push ebx
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], 0x44249c
mov dword [ebp - 0x34], 0x442494
call fcn.00401581
mov esi, 0x44c1c8
mov dword [ebp - 4], ebx
push esi
call fcn.0043338f
pop ecx
push eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
lea ecx, [esi + 4]
call fcn.0040cbf2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
xor edi, edi
mov eax, dword [eax + 8]
cmp eax, ebx
jne 0x427d55
mov eax, 0x4424b4
push eax
call fcn.00434849
pop ecx
mov ecx, eax
and ecx, 1
cmp cl, 1
jne 0x427d6d
mov edi, 0x200
jmp 0x427d79
and eax, 2
cmp al, 2
jne 0x427d79
mov edi, 0x100
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi + 0xc]
lea edx, [eax + 1]
cmp edx, ecx
mov dword [ebp + 0x18], edx
jae 0x42813e
push eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov ecx, esi
call fcn.0040b81c
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.0040a236
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], bl
call fcn.00401915
mov esi, 0x44ccc4
push esi
call fcn.0043338f
pop ecx
push eax
push esi
push dword [ebp - 0x48]
lea ecx, [ebp - 0x50]
push ebx
call fcn.00411594
cmp eax, ebx
jne 0x427dda
mov esi, SysReAllocStringLen
jmp 0x427ec0
mov esi, 0x44cca0
push esi
call fcn.0043338f
pop ecx
push eax
push esi
push dword [ebp - 0x48]
lea ecx, [ebp - 0x50]
push ebx
call fcn.00411594
cmp eax, ebx
jne 0x427e02
mov esi, SysReAllocStringLen
jmp 0x427ec0
mov esi, 0x44cc78
push esi
call fcn.0043338f
pop ecx
push eax
push esi
push dword [ebp - 0x48]
lea ecx, [ebp - 0x50]
push ebx
call fcn.00411594
cmp eax, ebx
jne 0x427e2a
mov esi, reloc.OLEAUT32.dll_SysReAllocString
jmp 0x427ec0
mov esi, 0x44cc60
push esi
call fcn.0043338f
pop ecx
push eax
push esi
push dword [ebp - 0x48]
lea ecx, [ebp - 0x50]
push ebx
call fcn.00411594
cmp eax, ebx
jne 0x427e4f
mov esi, SysStringLen
jmp 0x427ec0
mov esi, 0x44cc34
push esi
call fcn.0043338f
pop ecx
push eax
push esi
push dword [ebp - 0x48]
lea ecx, [ebp - 0x50]
push ebx
call fcn.00411594
cmp eax, ebx
jne 0x427e74
mov esi, reloc.OLEAUT32.dll_SysReAllocStringLen
jmp 0x427ec0
mov esi, 0x44cc0c
push esi
call fcn.0043338f
pop ecx
push eax
push esi
push dword [ebp - 0x48]
lea ecx, [ebp - 0x50]
push ebx
call fcn.00411594
cmp eax, ebx
jne 0x427e99
mov esi, reloc.OLEAUT32.dll_SysFreeString
jmp 0x427ec0
mov esi, 0x44cbf0
push esi
call fcn.0043338f
pop ecx
push eax
push esi
push dword [ebp - 0x48]
lea ecx, [ebp - 0x50]
push ebx
call fcn.00411594
cmp eax, ebx
jne 0x42813e
mov esi, reloc.OLEAUT32.dll_SysStringLen
push dword [0x4425a8]
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x7c]
push dword [ebp + 0x18]
push eax
call fcn.0040b81c
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.0040a236
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], bl
call fcn.00401915
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.004016f0
lea ecx, [ebp + 0x10]
or edi, 0x20019
push ecx
push edi
push ebx
push eax
push esi
mov dword [ebp + 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x42824d
lea ecx, [ebp - 0x14]
call fcn.0040a74d
mov ecx, dword [ebp + 0x10]
cmp eax, ebx
mov dword [ebp - 0x14], ecx
jne 0x42824d
cmp dword [ebp + 8], 1
jne 0x427f52
cmp dword [ebp + 0xc], 1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
sete byte [ebp + 0xf]
call fcn.0040a74d
mov bl, byte [ebp + 0xf]
jmp 0x42813e
push 4
lea eax, [ebp + 8]
pop edi
mov ecx, dword [ebp + 0x14]
push eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
mov dword [ebp + 8], edi
call fcn.004016f0
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push dword [ebp - 0x14]
call esi
cmp eax, ebx
jne 0x42800c
cmp dword [ebp - 0x18], edi
jne 0x42800c
cmp dword [ebp + 8], edi
jne 0x42800c
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 8]
cmp eax, ebx
jne 0x427f9e
mov eax, 0x4424b4
push eax
call fcn.00434849
pop ecx
mov ecx, dword [ebp + 0xc]
dec ecx
je 0x428003
dec ecx
je 0x427ffa
dec ecx
dec ecx
je 0x427ff1
sub ecx, 0xc
je 0x427fe8
sub ecx, 0x10
je 0x427fdf
mov byte [ebp + 0xf], 1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0040a74d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00401915
mov al, byte [ebp + 0xf]
jmp 0x42814c
cmp dword [ebp + 0x18], eax
setne byte [ebp + 0xf]
jmp 0x427fc0
mov ecx, eax
and ecx, dword [ebp + 0x18]
cmp ecx, eax
jmp 0x428006
cmp dword [ebp + 0x18], eax
seta byte [ebp + 0xf]
jmp 0x427fc0
cmp dword [ebp + 0x18], eax
setb byte [ebp + 0xf]
jmp 0x427fc0
cmp dword [ebp + 0x18], eax
sete byte [ebp + 0xf]
jmp 0x427fc0
lea eax, [ebp + 0x13]
push ebx
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp + 8], 0x104
mov dword [ebp - 0x7c], 0x44249c
mov dword [ebp - 0x5c], 0x442494
call fcn.00401581
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
push eax
call fcn.00409fc5
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 5
call fcn.004016f0
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [edi + 8], eax
call fcn.004016f0
lea ecx, [ebp + 8]
mov dword [ebp - 0x20], ebx
push ecx
lea ecx, [ebp - 0x20]
push dword [ebp - 0x1c]
push ecx
push ebx
push eax
push dword [ebp - 0x14]
call esi
lea ecx, [ebp - 0x2c]
mov edi, eax
mov byte [ebp - 4], 4
call fcn.00409ff2
cmp edi, 0xea
jne 0x4280d2
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x7c]
push eax
call fcn.00409fc5
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 6
call fcn.004016f0
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov dword [edi + 8], eax
call fcn.004016f0
lea ecx, [ebp + 8]
mov dword [ebp + 0x14], ebx
push ecx
lea ecx, [ebp + 0x14]
push dword [ebp - 0x20]
push ecx
push ebx
push eax
push dword [ebp - 0x14]
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00409ff2
mov esi, dword [ebp + 0x1c]
push ebx
lea ecx, [ebp - 0x78]
lea eax, [esi + 4]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00429abc
push esi
lea ecx, [ebp - 0x78]
mov edi, eax
call fcn.00411572
mov ecx, dword [ebp + 0xc]
dec ecx
je 0x428228
dec ecx
je 0x428202
dec ecx
dec ecx
je 0x4281dc
sub ecx, 4
je 0x4281b1
sub ecx, 8
je 0x428185
sub ecx, 0x10
je 0x42815d
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.00401915
cmp dword [ebp - 0x14], ebx
je 0x42813c
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00401915
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18
cmp eax, ebx
lea ecx, [ebp - 0x7c]
setne byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00401915
cmp dword [ebp - 0x14], ebx
je 0x428180
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
mov bl, byte [ebp + 0xf]
jmp 0x42813e
cmp edi, dword [0x4425a8]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
setne byte [ebp + 0xf]
call fcn.00401915
cmp dword [ebp - 0x14], ebx
je 0x4281ac
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
mov bl, byte [ebp + 0xf]
jmp 0x42813e
cmp edi, ebx
lea ecx, [ebp - 0x7c]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00401915
cmp dword [ebp - 0x14], ebx
je 0x4281d4
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
mov bl, byte [ebp + 0xf]
jmp 0x42813e
cmp eax, 1
lea ecx, [ebp - 0x7c]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00401915
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0040a74d
mov bl, byte [ebp + 0xf]
jmp 0x42813e
cmp eax, 0xffffffff
lea ecx, [ebp - 0x7c]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00401915
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0040a74d
mov bl, byte [ebp + 0xf]
jmp 0x42813e
cmp eax, ebx
lea ecx, [ebp - 0x7c]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00401915
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0040a74d
mov bl, byte [ebp + 0xf]
jmp 0x42813e
cmp dword [ebp + 8], 1
jne 0x42812b
cmp dword [ebp + 0xc], 2
sete byte [ebp + 0xf]
cmp dword [ebp - 0x14], ebx
je 0x428270
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
mov bl, byte [ebp + 0xf]
jmp 0x42813e