Function at 0x47be97
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4caf31
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x120
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x47c3ec
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xd4], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x60], 0x3f1b
mov dword [ebp - 0x100], str.fahykct_sgzyf_pspmvflod_sshohlunj_swtuezqp_sxrslqkrb_wcb_hickb_enexth_rbwj
cmp dword [ebp - 0x60], 0x4180
jle 0x47bff9
and dword [ebp - 0x24], 0
jmp 0x47bf35
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7ad
jge 0x47bfe3
and dword [ebp - 0x1c], 0
jmp 0x47bf4f
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x55a
jge 0x47bfde
and dword [ebp - 0x2c], 0
jmp 0x47bf69
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x1f18
jge 0x47bfd9
and dword [ebp - 0x20], 0
jmp 0x47bf7f
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x7be
jge 0x47bfd7
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x20]
xor eax, ecx
cdq
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], edx
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
lea ecx, [ebp - 0x130]
call fcn.004019b1
pop ecx
pop ecx
mov ecx, eax
call fcn.0040b8ce
push eax
call fcn.004b4d47
pop ecx
lea ecx, [ebp - 0x130]
call fcn.0040b8c4
jmp 0x47bf78
jmp 0x47bf62
jmp 0x47bf48
jmp 0x47bf2e
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x84], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x60], 0x3bb6
jge 0x47c01b
push dword [ebp - 0x100]
call fcn.004b4d47
pop ecx
jmp 0x47c037
or dword [ebp - 4], 0xffffffff
jmp 0x47c041
lea eax, [ebp + 0x14]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x110]
movzx eax, byte [eax]
test eax, eax
je 0x47c3c0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax]
test eax, eax
je 0x47c142
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x47c11d
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 3
jge 0x47c13d
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x104]
call fcn.0040bd1c
mov dword [eax], 0x707dfe4d
jmp 0x47c112
jmp 0x47c3be
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x47c2f8
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x47c2d7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, 0x8a0a
cmp eax, 0xfcd4d338
je 0x47c212
mov dword [ebp - 0x68], 1
jmp 0x47c216
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp dword [ebp - 0x68], eax
je 0x47c229
mov dword [ebp - 0x50], 1
jmp 0x47c22d
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
imul eax, dword [ebp - 0x50]
neg eax
jne 0x47c249
mov eax, 0x9447
test eax, eax
jne 0x47c249
and dword [ebp - 0x44], 0
jmp 0x47c250
mov dword [ebp - 0x44], 1
cmp dword [ebp - 0x44], 0xffffffff
jg 0x47c25f
mov dword [ebp - 0x58], 1
jmp 0x47c263
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 7
jbe 0x47c272
mov dword [ebp - 0x40], 1
jmp 0x47c276
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
cmp dword [ebp - 0x40], 3
jl 0x47c28d
mov dword [ebp - 0x3c], 1
jmp 0x47c291
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
cmp dword [ebp - 0x3c], 0x7f2bac41
jg 0x47c2ae
mov dword [ebp - 0x38], 1
jmp 0x47c2b2
and dword [ebp - 0x38], 0
push 2
mov ecx, dword [ebp - 0x34]
call fcn.0040bd1c
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
sub ecx, dword [eax]
je 0x47c2d7
mov dword [ebp - 0xd8], 1
jmp 0x47c2de
and dword [ebp - 0xd8], 0
push 0
mov ecx, dword [ebp - 0x34]
call fcn.0040bd1c
push 6
pop eax
test eax, eax
je 0x47c2f8
mov dword [ebp - 0x48], 1
jmp 0x47c2fc
and dword [ebp - 0x48], 0
imul eax, dword [ebp - 0x48], 0x1ecd
mov ecx, dword [ebp - 0x28]
cmp eax, dword [ecx]
jge 0x47c313
mov dword [ebp - 0x4c], 1
jmp 0x47c317
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp dword [ebp - 0x4c], eax
jl 0x47c32d
mov dword [ebp - 0xe0], 1
jmp 0x47c334
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
cmp dword [eax], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x47c366
push 1
mov ecx, dword [ebp - 0x34]
call fcn.0040bd1c
cmp dword [eax], 0
jne 0x47c366
and dword [ebp - 0x5c], 0
jmp 0x47c36d
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 0x54]
imul ecx, dword [ebp - 0x5c], 0xffff
cmp dword [eax], ecx
jne 0x47c384
mov dword [ebp - 0x64], 1
jmp 0x47c388
and dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 2
jle 0x47c39a
mov dword [ebp - 0xe8], 1
jmp 0x47c3a1
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0xffffffff
jb 0x47c3b2
mov dword [ebp - 0x6c], 1
jmp 0x47c3b6
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x6c]
mov dword [eax], ecx
jmp 0x47c3ea
push 0x5d2b
push 0x7391
push 0x5469
push 0x2a62
push 0x2209
push 0xb43
push 0
push 0
call fcn.00494321
add esp, 0x20
jmp 0x47c414
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xf0], eax
push dword [ebp - 0xf0]
push 0
push dword [ebp - 0xf8]
call fcn.0047bd60
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret