Function at 0x4f6600
Capabilities:
Enumerate files on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x126c
call fcn.00612380
push ebx
push edi
xor edi, edi
push 0x24c
lea eax, [ebp - 0x268]
push edi
push eax
mov ebx, ecx
mov dword [ebp - 0x26c], edi
call fcn.006100a0
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x14], edi
call fcn.005bd660
add esp, 0x10
test eax, eax
jne 0x4f6649
lea eax, [edi + 1]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
push 0x7fe
lea eax, [ebp - 0xa6a]
xor edx, edx
push edi
push eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x400
mov word [ebp - 0xa6c], dx
call fcn.006100a0
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0xa6c]
push edx
lea eax, [ebp - 0xc]
push eax
push edi
push 0x676f54
push ecx
call esi
test eax, eax
je 0x4f66a9
pop esi
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0xa6c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, di
jne 0x4f66b2
mov edx, dword [str.LANGUAGES_]
mov ecx, dword [0x676f90]
mov dword [eax], edx
mov edx, dword [0x676f94]
mov dword [eax + 4], ecx
mov ecx, dword [0x676f98]
mov dword [eax + 8], edx
mov edx, dword [0x676f9c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x676fa0]
lea edi, [ebp - 0xa6c]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4f6700
mov edx, dword [0x675d70]
mov dword [edi], edx
push 0x250
xor edi, edi
lea eax, [ebp - 0x26c]
push edi
push eax
call fcn.006100a0
add esp, 0xc
lea ecx, [ebp - 0x26c]
push ecx
lea edx, [ebp - 0xa6c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x4f6913
mov eax, dword [ebx + 4]
push 0x3f3
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x10]
mov ebx, eax
push ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], edi
call fcn.005bd660
add esp, 4
test eax, eax
je 0x4f6913
push 0x7fe
lea eax, [ebp - 0x126a]
xor edx, edx
push edi
push eax
mov word [ebp - 0x126c], dx
call fcn.006100a0
add esp, 0xc
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x126c]
push edx
lea eax, [ebp - 0xc]
push eax
push edi
push 0x676f6c
push ecx
mov dword [ebp - 8], 0x800
mov dword [ebp - 0xc], 1
call esi
mov edx, dword [ebp - 0x10]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
je 0x4f67d0
mov dword [ebp - 4], edi
cmp dword [ebp - 0x26c], 0x10
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x4f6853
lea eax, [ebp - 0x240]
lea edx, [eax + 2]
jmp 0x4f67f0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4f67f0
sub eax, edx
sar eax, 1
cmp eax, 2
jbe 0x4f6853
lea eax, [ebp - 0x240]
push eax
push 0
push 0x180
push ebx
call edi
lea edx, [ebp - 0x126c]
lea ecx, [ebp - 0x240]
mov si, word [ecx]
cmp si, word [edx]
jne 0x4f6847
test si, si
je 0x4f6843
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x4f6847
add ecx, 4
add edx, 4
test si, si
jne 0x4f6821
xor ecx, ecx
jmp 0x4f684c
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x4f6853
mov dword [ebp - 4], eax
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea esp, [esp]
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x26c]
push ecx
push esi
call ebx
test eax, eax
je 0x4f68fb
test byte [ebp - 0x26c], 0x10
je 0x4f6860
lea eax, [ebp - 0x240]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4f6887
sub eax, edx
sar eax, 1
cmp eax, 2
jbe 0x4f6860
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x240]
push edx
push 0
push 0x180
push eax
call edi
lea edx, [ebp - 0x126c]
lea ecx, [ebp - 0x240]
jmp 0x4f68c0
mov si, word [ecx]
cmp si, word [edx]
jne 0x4f68e6
test si, si
je 0x4f68e2
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x4f68e6
add ecx, 4
add edx, 4
test si, si
jne 0x4f68c0
xor ecx, ecx
jmp 0x4f68eb
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x4f6860
mov dword [ebp - 4], eax
jmp 0x4f6860
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
push 0
push ecx
push 0x186
push edx
call edi
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10