Function at 0x5646c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x569740
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x38]
push eax
push 1
push 0
push 0x7d6093
push 0x80000002
call dword [0x834020]
test eax, eax
jne 0x56476a
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x10], 1
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x40]
push edx
push eax
push ecx
push 0
push 0x7d608c
mov dword [ebp - 0x24], esi
push esi
call dword [0x83401c]
xor ecx, ecx
mov dword [ebp - 0x3c], eax
test eax, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
cmove ecx, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], 0
push dword [ebp - 0x24]
call dword [0x834018]
cmp dword [ebp - 0x3c], 0
lea edi, [ebp - 0x38]
je 0x56477e
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp + 8]
cmp dword [ebp - 0x44], 0
mov esi, dword [ebp - 0x28]
je 0x5647b8
xor eax, eax
nop dword [eax]
movzx ecx, byte [ebp + eax - 0x2c]
mov edx, ecx
shr edx, 4
movzx edx, byte [edx + 0x7d613c]
mov byte [ebp + eax*2 - 0x38], dl
and ecx, 0xf
movzx ecx, byte [ecx + 0x7d613c]
mov byte [ebp + eax*2 - 0x37], cl
inc eax
cmp esi, eax
jne 0x564790
mov byte [ebp - 0x30], 0
push edi
call fcn.00700090
add esp, 4
mov ecx, dword [ebx + 0x14]
cmp ecx, eax
jae 0x5647ee
mov dword [ebp - 0x10], 0xffffffff
sub esp, 0xc
movzx ecx, byte [ebp - 0x20]
mov byte [esp + 4], cl
mov dword [esp + 8], edi
mov dword [esp], eax
mov ecx, ebx
call fcn.0045afa0
jmp 0x564815
mov esi, ebx
cmp ecx, 0x10
jb 0x5647f7
mov esi, dword [ebx]
mov dword [ebx + 0x10], eax
push eax
push edi
push esi
mov edi, eax
call fcn.00731570
add esp, 0xc
mov byte [esi + edi], 0
mov dword [ebp - 0x10], 0xffffffff
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
push 1
push 0
push 0x7d6101
push 0x80000002
call dword [0x834020]
test eax, eax
jne 0x564979
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x10], 3
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push eax
push 0
push 0x7d60e9
mov dword [ebp - 0x24], edx
push edx
call dword [0x83401c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 2
push dword [ebp - 0x24]
call dword [0x834018]
cmp dword [ebp - 0x3c], 0
lea edi, [ebp - 0x38]
mov ebx, dword [ebp + 8]
jne 0x564979
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x5648c8
xor eax, eax
nop word cs:[eax + eax]
movzx ecx, byte [ebp + eax - 0x2c]
mov edx, ecx
shr edx, 4
movzx edx, byte [edx + 0x7d613c]
mov byte [ebp + eax*2 - 0x38], dl
and ecx, 0xf
movzx ecx, byte [ecx + 0x7d613c]
mov byte [ebp + eax*2 - 0x37], cl
inc eax
cmp esi, eax
jne 0x5648a0
mov byte [ebp - 0x30], 0
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
cmp ecx, eax
jne 0x564908
mov dword [ebp - 0x10], 0xffffffff
sub esp, 0x10
movzx eax, byte [ebp - 0x20]
mov byte [esp + 4], al
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x7d6138
mov dword [esp], 1
mov ecx, ebx
call fcn.0045bd80
jmp 0x56491d
lea edx, [eax + 1]
mov dword [ebx + 0x10], edx
mov edx, ebx
cmp ecx, 0x10
jb 0x564917
mov edx, dword [ebx]
mov word [edx + eax], 0x5f
push edi
call fcn.00700090
add esp, 4
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
mov esi, edx
sub esi, ecx
cmp esi, eax
jae 0x56495a
mov dword [ebp - 0x10], 0xffffffff
sub esp, 0x10
movzx ecx, byte [ebp - 0x20]
mov byte [esp + 4], cl
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp], eax
mov ecx, ebx
call fcn.0045bd80
jmp 0x564979
mov esi, eax
add esi, ecx
mov dword [ebx + 0x10], esi
cmp edx, 0x10
jb 0x564968
mov ebx, dword [ebx]
add ecx, ebx
push eax
push edi
push ecx
call fcn.00731570
add esp, 0xc
mov byte [ebx + esi], 0
mov al, 1
jmp 0x56476c