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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x126c
call fcn.00555ae0
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.00555020
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x14], edi
call fcn.0050a470
add esp, 0x10
test eax, eax
jne 0x46bb29
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.00555020
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 0x5a1028
push ecx
call esi
test eax, eax
je 0x46bb89
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 0x46bb92
mov edx, dword [str.LANGUAGES_]
mov ecx, dword [0x5a1064]
mov dword [eax], edx
mov edx, dword [0x5a1068]
mov dword [eax + 4], ecx
mov ecx, dword [0x5a106c]
mov dword [eax + 8], edx
mov edx, dword [0x5a1070]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5a1074]
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 0x46bbe0
mov edx, dword [0x59feec]
mov dword [edi], edx
push 0x250
xor edi, edi
lea eax, [ebp - 0x26c]
push edi
push eax
call fcn.00555020
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 0x46bdf3
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.0050a470
add esp, 4
test eax, eax
je 0x46bdf3
push 0x7fe
lea eax, [ebp - 0x126a]
xor edx, edx
push edi
push eax
mov word [ebp - 0x126c], dx
call fcn.00555020
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 0x5a1040
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 0x46bcb0
mov dword [ebp - 4], edi
cmp dword [ebp - 0x26c], 0x10
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x46bd33
lea eax, [ebp - 0x240]
lea edx, [eax + 2]
jmp 0x46bcd0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46bcd0
sub eax, edx
sar eax, 1
cmp eax, 2
jbe 0x46bd33
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 0x46bd27
test si, si
je 0x46bd23
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x46bd27
add ecx, 4
add edx, 4
test si, si
jne 0x46bd01
xor ecx, ecx
jmp 0x46bd2c
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x46bd33
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 0x46bddb
test byte [ebp - 0x26c], 0x10
je 0x46bd40
lea eax, [ebp - 0x240]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46bd67
sub eax, edx
sar eax, 1
cmp eax, 2
jbe 0x46bd40
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 0x46bda0
mov si, word [ecx]
cmp si, word [edx]
jne 0x46bdc6
test si, si
je 0x46bdc2
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x46bdc6
add ecx, 4
add edx, 4
test si, si
jne 0x46bda0
xor ecx, ecx
jmp 0x46bdcb
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x46bd40
mov dword [ebp - 4], eax
jmp 0x46bd40
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