Function at 0xbec070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcd06a1
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0xcff584]
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 eax, dword [ebp + 8]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0xdc], eax
mov eax, dword [eax + 0x10]
mov edi, 0x10
mov dword [ebp - 0xe0], ebx
cmp dword [eax + 0x14], edi
jb 0xbec0c7
mov eax, dword [eax]
mov ecx, eax
call fcn.00be6f30
mov esi, 0xf
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov ecx, dword [ebp - 0xdc]
lea edx, [ebp - 0x80]
mov byte [ebp - 4], 2
mov eax, dword [ecx + 8]
push edx
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x64]
call fcn.00be8070
add esp, 8
mov dword [ebp - 0xd8], eax
cmp eax, ebx
je 0xbec17f
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], edi
jb 0xbec136
mov eax, dword [ebp - 0x48]
push eax
call fcn.00c625e4
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x50], edi
jb 0xbec153
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00c625e4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x6c], edi
jb 0xbec174
mov edx, dword [ebp - 0x80]
push edx
call fcn.00c625e4
add esp, 4
mov eax, dword [ebp - 0xd8]
jmp 0xbec58e
mov ecx, dword [ebp - 0x80]
cmp dword [ebp - 0x6c], edi
jae 0xbec18a
lea ecx, [ebp - 0x80]
call fcn.00be6f30
push 0xffffffffffffffff
mov dword [ebp - 0xd8], eax
push ebx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00be2c50
mov byte [ebp - 4], 3
cmp dword [ebp - 0x38], ebx
je 0xbec2a7
push 1
push 0xcee3c8
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
call fcn.00be2a60
lea ecx, [ebp - 0x9c]
lea eax, [ebp - 0x64]
lea esi, [ebp - 0xb8]
mov byte [ebp - 4], 4
call fcn.00be46a0
lea ecx, [ebp - 0x48]
push ecx
push eax
lea edx, [ebp - 0xd4]
push edx
mov byte [ebp - 4], 5
call fcn.00bed720
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.00be2870
mov byte [ebp - 4], 5
cmp dword [ebp - 0xc0], edi
jb 0xbec236
mov eax, dword [ebp - 0xd4]
push eax
call fcn.00c625e4
add esp, 4
mov esi, 0xf
mov byte [ebp - 4], 4
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xc4], ebx
mov byte [ebp - 0xd4], bl
cmp dword [ebp - 0xa4], edi
jb 0xbec268
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.00c625e4
add esp, 4
mov byte [ebp - 4], 3
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
cmp dword [ebp - 0x88], edi
jb 0xbec295
mov edx, dword [ebp - 0x9c]
push edx
call fcn.00c625e4
add esp, 4
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
mov eax, dword [ebp - 0xdc]
mov cl, byte [eax + 0x14]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0xbec2bb
lea eax, [ebp - 0x2c]
movzx ecx, cl
neg ecx
sbb ecx, ecx
lea edx, [ebp - 0xe4]
push edx
mov edx, dword [ebp - 0xd8]
and ecx, 0x100
add ecx, 0x20019
push ecx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, ebx
je 0xbec3e1
cmp esi, 5
jne 0xbec355
mov esi, dword [ebp - 0xdc]
mov al, byte [esi + 0x14]
mov byte [ebp - 0xf0], al
mov eax, dword [esi + 8]
cmp dword [eax + 0x14], edi
jb 0xbec30d
mov eax, dword [eax]
mov ecx, dword [ebp - 0xf0]
push ecx
push eax
call fcn.00be79a0
mov al, byte [esi + 0x14]
mov ecx, dword [ebp - 0x2c]
add esp, 8
cmp dword [ebp - 0x18], edi
jae 0xbec32b
lea ecx, [ebp - 0x2c]
movzx eax, al
neg eax
sbb eax, eax
lea edx, [ebp - 0xe4]
push edx
and eax, 0x100
add eax, 0x20019
push eax
push ebx
push ecx
mov ecx, dword [ebp - 0xd8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, ebx
je 0xbec3e1
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], edi
jb 0xbec372
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00c625e4
add esp, 4
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], edi
jb 0xbec394
mov eax, dword [ebp - 0x48]
push eax
call fcn.00c625e4
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x50], edi
jb 0xbec3b5
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00c625e4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x6c], edi
jb 0xbec3da
mov edx, dword [ebp - 0x80]
push edx
call fcn.00c625e4
add esp, 4
mov eax, esi
jmp 0xbec58e
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x14], edi
jb 0xbec3f1
mov eax, dword [eax]
lea ecx, [ebp - 0xe0]
push ecx
push ebx
lea edx, [ebp - 0xe8]
push edx
push ebx
push eax
mov eax, dword [ebp - 0xe4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xd8], eax
cmp eax, ebx
je 0xbec4a2
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], edi
jb 0xbec432
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00c625e4
add esp, 4
mov byte [ebp - 4], 1
mov esi, 0xf
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0x34], edi
jb 0xbec455
mov edx, dword [ebp - 0x48]
push edx
call fcn.00c625e4
add esp, 4
mov byte [ebp - 4], bl
mov byte [ebp - 0x48], bl
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x50], edi
jb 0xbec472
mov eax, dword [ebp - 0x64]
push eax
call fcn.00c625e4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x6c], edi
jb 0xbec174
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00c625e4
mov eax, dword [ebp - 0xd8]
add esp, 4
jmp 0xbec58e
mov edx, dword [ebp - 0xe0]
inc edx
push edx
call fcn.00c630b5
mov esi, eax
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 0xc]
add esp, 4
cmp dword [eax + 0x14], edi
jb 0xbec4c4
mov eax, dword [eax]
lea ecx, [ebp - 0xe0]
push ecx
push ebx
lea edx, [ebp - 0xe8]
push edx
push ebx
push eax
mov eax, dword [ebp - 0xe4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xd8], eax
cmp eax, ebx
je 0xbec4fa
push esi
call fcn.00c63498
add esp, 4
jmp 0xbec41d
mov edx, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xec]
push edx
push esi
call fcn.00be2a60
push esi
call fcn.00c63498
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], edi
jb 0xbec52b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00c625e4
add esp, 4
mov esi, 0xf
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], edi
jb 0xbec54e
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00c625e4
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x50], edi
jb 0xbec56b
mov edx, dword [ebp - 0x64]
push edx
call fcn.00c625e4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x6c], edi
jb 0xbec58c
mov eax, dword [ebp - 0x80]
push eax
call fcn.00c625e4
add esp, 4
xor eax, eax
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.00c62239
mov esp, ebp
pop ebp
ret 8