Function at 0x461b80
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4ba671
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28c
push ebx
push ebp
push esi
mov dword [esp + 0x34], ecx
push edi
mov edi, 0x536030
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ebx, dword [esp + 0x2b0]
push 1
not ecx
dec ecx
lea esi, [ebx + 0x10]
mov ebp, ecx
mov ecx, esi
push ebp
call fcn.00462b50
test al, al
je 0x461bed
mov edi, dword [esi + 4]
mov ecx, ebp
mov eax, ecx
mov esi, 0x536030
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebx + 0x10]
call fcn.00462b30
mov edi, 0x536030
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.00462b50
test al, al
je 0x461c2c
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x536030
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00462b30
mov edi, 0x536030
or ecx, 0xffffffff
xor eax, eax
lea ebp, [ebx + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
mov ecx, ebp
push esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x1c], esi
call fcn.00462b50
test al, al
je 0x461c78
mov edi, dword [ebp + 4]
mov ecx, esi
mov eax, ecx
mov esi, 0x536030
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
push ecx
mov ecx, ebp
call fcn.00462b30
mov edx, dword [esp + 0x38]
push 0x12
push 0
push 0
lea ebp, [edx + 0x104]
push ebp
call dword [0x4bc3f8]
mov esi, eax
test esi, esi
mov dword [esp + 0x50], esi
je 0x4620e5
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x2ac]
lea eax, [esp + 0x64]
push eax
push ecx
push ebp
mov edi, 0x1c
push 0
push esi
mov dword [esp + 0x78], edi
call dword [0x4bc3fc]
test eax, eax
je 0x4620e5
lea edx, [esp + 0x1c]
push 0
push edx
push 0
lea eax, [esp + 0x70]
push 0
push eax
push esi
mov dword [esp + 0x34], 0
call dword [0x4bc400]
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x18], eax
call fcn.0048d322
mov ebp, eax
mov ecx, 6
xor eax, eax
add esp, 4
mov dword [ebp], 5
mov dword [esp + 0x80], edi
lea edi, [esp + 0x84]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x80]
push ecx
push edx
push eax
lea ecx, [esp + 0x70]
push ebp
push ecx
push esi
mov dword [esp + 0x64], ebp
call dword [0x4bc400]
test eax, eax
je 0x4620e5
mov edi, dword [0x4bc3ec]
push 0
lea edx, [esp + 0xa0]
push 0x100
push edx
push 0
lea eax, [esp + 0x90]
push 0xc
push eax
push esi
call edi
test eax, eax
jne 0x461dad
push eax
lea ecx, [esp + 0xa0]
push 0x100
push ecx
push eax
lea edx, [esp + 0x90]
push eax
push edx
push esi
call edi
test eax, eax
jne 0x461dad
lea eax, [ebp + 4]
push 0x100
lea ecx, [esp + 0xa0]
push eax
push ecx
call fcn.0048e8b0
add esp, 0xc
lea edi, [esp + 0x9c]
or ecx, 0xffffffff
xor eax, eax
lea esi, [ebx + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov edi, ecx
mov ecx, esi
push edi
mov dword [esp + 0x1c], edi
call fcn.00462b50
test al, al
je 0x461dfc
mov eax, dword [esi + 4]
mov ecx, edi
mov edx, ecx
lea esi, [esp + 0x9c]
mov edi, eax
mov eax, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebx + 0x10]
call fcn.00462b30
add ebp, 4
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
mov ecx, ebx
push esi
mov dword [esp + 0x1c], esi
call fcn.00462b50
test al, al
je 0x461e3e
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00462b30
mov esi, dword [esp + 0x38]
mov ecx, esi
call fcn.00462480
test al, al
jne 0x461e5f
mov ecx, dword [esp + 0x34]
push ecx
push ebp
mov ecx, esi
call fcn.00462110
jmp 0x4620d4
mov dl, byte [esp + 0x13]
xor esi, esi
push esi
lea ecx, [esp + 0x58]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], 0x100
mov byte [esp + 0x58], dl
call fcn.0040d840
mov edi, 0x52bad0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x58]
push ebx
call fcn.00462b50
test al, al
je 0x461ec5
mov edi, dword [esp + 0x58]
mov ecx, ebx
mov eax, ecx
mov esi, 0x52bad0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x58]
call fcn.00462b30
xor esi, esi
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x40], cl
lea ecx, [esp + 0x40]
mov dword [esp + 0x2a8], esi
call fcn.0040d840
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x44]
call fcn.00462e20
mov edi, 0x52bac8
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x2a4], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x52bac8
push 4
push esi
lea ecx, [esp + 0x4c]
call fcn.00462890
mov edx, dword [0x4e3af4]
lea ecx, [esp + 0x3c]
push edx
push esi
push eax
call fcn.00462690
mov eax, dword [0x4e3af4]
lea ecx, [esp + 0x3c]
push eax
push esi
push ecx
lea ecx, [esp + 0x60]
call fcn.00462d40
mov eax, dword [esp + 0x58]
cmp eax, esi
jne 0x461f52
mov eax, 0x4bcb18
lea edx, [esp + 0x18]
push edx
push 0x20019
push esi
push eax
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
je 0x461f71
mov dword [esp + 0x18], esi
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x30]
lea ecx, [esp + 0x19c]
push eax
push ecx
push esi
push esi
push 0x52bab8
push edx
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
cmp eax, esi
jne 0x461f9b
cmp dword [esp + 0x30], 0x50
jbe 0x461f9f
mov dword [esp + 0x18], esi
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], al
call fcn.0040d840
lea edi, [esp + 0x19c]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x24]
push ebx
call fcn.00462b50
test al, al
je 0x461ffb
mov edi, dword [esp + 0x24]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x19c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
call fcn.00462b30
xor esi, esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x2a4], 2
mov edi, 0x16
call fcn.00462c70
mov eax, dword [esp + 0x28]
cmp eax, edi
jae 0x46201f
mov edi, eax
cmp edi, esi
jbe 0x462057
mov ecx, dword [esp + 0x24]
sub eax, edi
push eax
lea edx, [ecx + edi]
push edx
push ecx
call fcn.0048d810
mov esi, dword [esp + 0x34]
add esp, 0xc
sub esi, edi
lea ecx, [esp + 0x20]
push 0
push esi
call fcn.00462b50
test al, al
je 0x462055
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], esi
mov byte [eax + esi], 0
xor esi, esi
mov ecx, dword [0x4e3af4]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x38]
push esi
push edx
call fcn.00462690
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x2a8], 1
call fcn.0040d840
mov ecx, dword [esp + 0x40]
cmp ecx, esi
je 0x4620a4
mov al, byte [ecx - 1]
test al, al
je 0x46209a
cmp al, 0xff
je 0x46209a
dec al
mov byte [ecx - 1], al
jmp 0x4620a4
dec ecx
push ecx
call fcn.004a55bb
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x40], esi
cmp ecx, esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
je 0x4620d4
mov al, byte [ecx - 1]
test al, al
je 0x4620ca
cmp al, 0xff
je 0x4620ca
dec al
mov byte [ecx - 1], al
jmp 0x4620d4
dec ecx
push ecx
call fcn.004a55bb
add esp, 4
mov eax, dword [esp + 0x4c]
push eax
call fcn.0048d2da
mov esi, dword [esp + 0x54]
add esp, 4
push esi
call dword [0x4bc404]
mov ecx, dword [esp + 0x29c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x298
ret 8