Function at 0x46d8d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47eb8a
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4ba494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], ecx
mov ecx, dword [ebp - 0x94]
add ecx, 0xec
call fcn.004035d0
test eax, eax
jge 0x46d918
jmp 0x46dd90
mov dword [ebp - 0x10], 0
jmp 0x46d92a
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x94]
add ecx, 0xec
call fcn.004035d0
cmp dword [ebp - 0x10], eax
jge 0x46dd90
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x20019
push 0
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x94]
add ecx, 0xec
call fcn.00403610
add eax, 4
mov ecx, eax
call fcn.0040aa10
push eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x94]
add ecx, 0xec
call fcn.00403610
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x46d99d
jmp 0x46dd90
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x18], 0
push 0x104
lea ecx, [ebp - 0x30]
call fcn.0041bf00
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x104
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x20]
push edx
push 0
lea eax, [ebp - 0x18]
push eax
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x30]
call fcn.0041bfa0
push eax
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x46dd72
cmp dword [ebp - 0x20], 0
ja 0x46da1d
mov dword [ebp - 0x14], 0x104
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
jmp 0x46d9cd
mov byte [ebp - 0x89], 0
lea edx, [ebp - 0x89]
push edx
mov eax, dword [ebp - 0x20]
add eax, 1
push eax
lea ecx, [ebp - 0x64]
call fcn.0041bf40
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0x104
lea ecx, [ebp - 0x20]
push ecx
push 0
lea ecx, [ebp - 0x64]
call fcn.0041bfa0
push eax
lea edx, [ebp - 0x18]
push edx
push 0
lea eax, [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 0x30]
call fcn.0041bfa0
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x46da8c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.0041bf80
jmp 0x46dd72
lea ecx, [ebp - 0x84]
call fcn.0041c8f0
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x64]
call fcn.0041bfa0
push eax
lea ecx, [ebp - 0x7c]
call fcn.00403290
push 0
lea ecx, [ebp - 0x30]
call fcn.0041bfa0
push eax
lea ecx, [ebp - 0x84]
call fcn.00403290
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x94]
add ecx, 0xec
call fcn.00403610
add eax, 4
push eax
lea ecx, [ebp - 0x80]
call fcn.00401f50
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x94]
add ecx, 0xec
call fcn.00403610
xor ecx, ecx
cmp dword [eax], 0x80000002
sete cl
mov dword [ebp - 0x6c], ecx
lea edx, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x54]
call fcn.00401f30
mov byte [ebp - 4], 3
push 0x495ebc
lea ecx, [ebp - 0x54]
call fcn.0041cb30
push 0
push 0x495ec0
lea ecx, [ebp - 0x54]
call fcn.0041ca60
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00405c70
mov dword [ebp - 0x98], eax
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00401f50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x90]
call fcn.00413390
push 0x495ec8
lea ecx, [ebp - 0x54]
call fcn.00405670
lea ecx, [ebp - 0x50]
call fcn.0043174d
mov byte [ebp - 4], 5
push 0
lea ecx, [ebp - 0x54]
call fcn.0040aa10
push eax
lea ecx, [ebp - 0x50]
call fcn.004317d9
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x46dc08
mov dword [ebp - 0x14], 0x104
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.00431771
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00413390
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.0041ca30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.0041bf80
jmp 0x46d9cd
mov edx, 1
test edx, edx
je 0x46dcc9
cmp dword [ebp - 0x18], 7
jne 0x46dca0
mov dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0x64]
call fcn.0041bfa0
push eax
lea ecx, [ebp - 0x7c]
call fcn.00403290
lea ecx, [ebp - 0x7c]
call fcn.00402000
movzx ecx, al
test ecx, ecx
jne 0x46dc68
lea edx, [ebp - 0x84]
push edx
mov ecx, dword [ebp - 0x94]
add ecx, 0xfc
call fcn.0041cf90
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0x64]
call fcn.0041bfa0
push eax
call fcn.00444850
add esp, 4
mov ecx, dword [ebp - 0x88]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x20]
sub eax, 1
cmp dword [ebp - 0x88], eax
jb 0x46dc29
jmp 0x46dcc7
lea ecx, [ebp - 0x7c]
call fcn.00402000
movzx ecx, al
test ecx, ecx
jne 0x46dcc7
lea edx, [ebp - 0x84]
push edx
mov ecx, dword [ebp - 0x94]
add ecx, 0xfc
call fcn.0041cf90
jmp 0x46dd23
cmp dword [ebp - 0x18], 1
jne 0x46dd23
push 4
push 0
lea ecx, [ebp - 0x30]
call fcn.0041bfa0
push eax
push 0x495ed0
call fcn.0041c5d0
add esp, 0xc
test eax, eax
je 0x46dd0b
push 7
push 0
lea ecx, [ebp - 0x30]
call fcn.0041bfa0
push eax
push 0x495ed8
call fcn.0041c5d0
add esp, 0xc
test eax, eax
jne 0x46dd23
lea eax, [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x94]
add ecx, 0xfc
call fcn.0041cf90
mov dword [ebp - 0x14], 0x104
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.00431771
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00413390
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.0041ca30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.0041bf80
jmp 0x46d9cd
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0041bf80
jmp 0x46d921
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret