Function at 0x494af0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6bfe
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
mov eax, dword [0x510a84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], 0
mov word [ebp - 0x224], 0
lea ecx, [ebp - 0x230]
call fcn.004a5470
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.004a5470
mov byte [ebp - 4], 1
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x78]
call edx
push 6
lea ecx, [ebp - 0x230]
call fcn.004a55e0
movzx eax, al
test eax, eax
je 0x494e0f
lea eax, [ebp - 0x224]
push eax
push 0x4953a0
call fcn.004a6580
add esp, 8
lea eax, [ebp - 0x224]
push eax
call dword [0x4dc6a0]
add esp, 4
test eax, eax
jbe 0x494c1a
push 0
mov eax, dword [ebp - 0x14]
add eax, 0x5c
push eax
lea ecx, [ebp - 0x224]
push ecx
call fcn.004a5e90
add esp, 0xc
movzx edx, al
test edx, edx
je 0x494c1a
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x5c
call fcn.004a56b0
movzx ecx, al
test ecx, ecx
je 0x494c07
lea edx, [ebp - 0x23c]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x5c
call fcn.004a5690
movzx eax, al
test eax, eax
je 0x494c07
mov dword [ebp - 0x4e0], 1
jmp 0x494c11
mov dword [ebp - 0x4e0], 0
mov cl, byte [ebp - 0x4e0]
mov byte [ebp - 0x15], cl
movzx eax, byte [ebp - 0x15]
test eax, eax
jne 0x494e0a
lea ecx, [ebp - 0x244]
call dword [0x4dc3b4]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x7c]
call eax
lea eax, [ebp - 0x240]
push eax
push 1
push 0
lea ecx, [ebp - 0x244]
call dword [0x4dc3a0]
push eax
push 0x80000002
call dword [0x4dc04c]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
jne 0x494dfa
mov dword [ebp - 0x250], 0x104
mov word [ebp - 0x224], 0
lea ecx, [ebp - 0x254]
call dword [0x4dc3b4]
mov byte [ebp - 4], 3
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x80]
call eax
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x24c]
push edx
push 0
lea ecx, [ebp - 0x254]
call dword [0x4dc3a0]
push eax
mov eax, dword [ebp - 0x240]
push eax
call dword [0x4dc048]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
jne 0x494ddd
lea eax, [ebp - 0x224]
push eax
call dword [0x4dc6a0]
add esp, 4
movzx ecx, word [ebp + eax*2 - 0x226]
cmp ecx, 0x5c
je 0x494d30
push 0x4dd0e8
lea eax, [ebp - 0x224]
push eax
call dword [0x4dc640]
add esp, 8
lea ecx, [ebp - 0x258]
call dword [0x4dc3b4]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x4dc]
call dword [0x4dc310]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4dc]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x90]
call edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4dc]
call dword [0x4dc30c]
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x94]
call eax
lea ecx, [ebp - 0x258]
call dword [0x4dc3a0]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [0x4dc640]
add esp, 8
push 0
mov eax, dword [ebp - 0x14]
add eax, 0x5c
push eax
lea ecx, [ebp - 0x224]
push ecx
call fcn.004a5e90
add esp, 0xc
mov byte [ebp - 0x15], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x258]
call dword [0x4dc30c]
mov eax, dword [ebp - 0x240]
push eax
call dword [0x4dc044]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x254]
call dword [0x4dc30c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x244]
call dword [0x4dc30c]
jmp 0x49512a
lea ecx, [ebp - 0x260]
call dword [0x4dc3b4]
mov byte [ebp - 4], 6
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0xe4]
call eax
lea eax, [ebp - 0x25c]
push eax
push 1
push 0
lea ecx, [ebp - 0x260]
call dword [0x4dc3a0]
push eax
push 0x80000002
call dword [0x4dc04c]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
jne 0x49511a
mov dword [ebp - 0x26c], 0x100
mov word [ebp - 0x470], 0
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x470]
push ecx
lea edx, [ebp - 0x268]
push edx
push 0
push 0
mov eax, dword [ebp - 0x25c]
push eax
call dword [0x4dc048]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
jne 0x49511a
lea eax, [ebp - 0x470]
push eax
call dword [0x4dc6a0]
add esp, 4
test eax, eax
jbe 0x49511a
lea eax, [ebp - 0x224]
push eax
push 0x4953a0
call fcn.004a6580
add esp, 8
lea eax, [ebp - 0x224]
push eax
call dword [0x4dc6a0]
add esp, 4
test eax, eax
jbe 0x494f68
push 0
mov eax, dword [ebp - 0x14]
add eax, 0x5c
push eax
lea ecx, [ebp - 0x224]
push ecx
call fcn.004a5e90
add esp, 0xc
movzx edx, al
test edx, edx
je 0x494f68
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x5c
call fcn.004a56b0
movzx ecx, al
test ecx, ecx
je 0x494f55
lea edx, [ebp - 0x23c]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x5c
call fcn.004a5690
movzx eax, al
test eax, eax
je 0x494f55
mov dword [ebp - 0x4e0], 1
jmp 0x494f5f
mov dword [ebp - 0x4e0], 0
mov cl, byte [ebp - 0x4e0]
mov byte [ebp - 0x15], cl
movzx eax, byte [ebp - 0x15]
test eax, eax
jne 0x49511a
lea ecx, [ebp - 0x478]
call dword [0x4dc3b4]
mov byte [ebp - 4], 7
lea eax, [ebp - 0x478]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x7c]
call eax
lea eax, [ebp - 0x474]
push eax
push 1
push 0
lea ecx, [ebp - 0x478]
call dword [0x4dc3a0]
push eax
push 0x80000002
call dword [0x4dc04c]
mov dword [ebp - 0x47c], eax
cmp dword [ebp - 0x47c], 0
jne 0x49510a
mov dword [ebp - 0x484], 0x104
mov word [ebp - 0x224], 0
lea ecx, [ebp - 0x488]
call dword [0x4dc3b4]
mov byte [ebp - 4], 8
lea eax, [ebp - 0x488]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x80]
call eax
lea eax, [ebp - 0x484]
push eax
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x480]
push edx
push 0
lea ecx, [ebp - 0x488]
call dword [0x4dc3a0]
push eax
mov eax, dword [ebp - 0x474]
push eax
call dword [0x4dc048]
mov dword [ebp - 0x47c], eax
cmp dword [ebp - 0x47c], 0
jne 0x4950ed
lea eax, [ebp - 0x224]
push eax
call dword [0x4dc6a0]
add esp, 4
movzx ecx, word [ebp + eax*2 - 0x226]
cmp ecx, 0x5c
je 0x49507e
push 0x4dd0e8
lea eax, [ebp - 0x224]
push eax
call dword [0x4dc640]
add esp, 8
lea ecx, [ebp - 0x48c]
call dword [0x4dc3b4]
mov byte [ebp - 4], 9
lea eax, [ebp - 0x48c]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x94]
call eax
lea ecx, [ebp - 0x48c]
call dword [0x4dc3a0]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [0x4dc640]
add esp, 8
push 0
mov eax, dword [ebp - 0x14]
add eax, 0x5c
push eax
lea ecx, [ebp - 0x224]
push ecx
call fcn.004a5e90
add esp, 0xc
mov byte [ebp - 0x15], al
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x48c]
call dword [0x4dc30c]
mov eax, dword [ebp - 0x474]
push eax
call dword [0x4dc044]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x488]
call dword [0x4dc30c]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x478]
call dword [0x4dc30c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
call dword [0x4dc30c]
movzx eax, byte [ebp - 0x15]
test eax, eax
jne 0x49516a
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x5c
call fcn.00413270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.004a5490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004a5490
jmp 0x495226
push 0x5c
lea eax, [ebp - 0x224]
push eax
call fcn.00420a10
add esp, 8
mov dword [ebp - 0x490], eax
cmp dword [ebp - 0x490], 0
je 0x495196
mov eax, dword [ebp - 0x490]
mov word [eax + 2], 0
push 0x4dca1c
lea ecx, [ebp - 0x4d8]
call dword [0x4dc310]
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x4d4]
call dword [0x4dc310]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4d8]
push ecx
lea edx, [ebp - 0x4d4]
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4d4]
call dword [0x4dc30c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4d8]
call dword [0x4dc30c]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.004a5490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004a5490
xor eax, eax
jne 0x494b21
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c9dd8
mov esp, ebp
pop ebp
ret