Function at 0x46cbd0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64844b
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2a8], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2a0], 1
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
xor eax, eax
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
push ebx
push edi
push 0x679590
lea ecx, [ebp - 0x2c]
call fcn.004021b0
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x46cc42
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x294]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x29c], esi
cmp esi, 0xffffffff
jne 0x46cc70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401210
or eax, esi
jmp 0x46ce34
lea edx, [ebp - 0x294]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, edi
lea eax, [ebp - 0x294]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x46ce12
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
xor ecx, ecx
mov word [ebp - 0x1c], cx
mov byte [ebp - 4], 2
push ebx
lea edx, [ebp - 0x268]
push edx
push edi
push 0x675de0
lea ecx, [ebp - 0x20]
call fcn.00402320
test byte [ebp - 0x294], 0x10
je 0x46cec2
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x46ccd3
lea eax, [ebp - 0x1c]
push 0x5f
push eax
call fcn.0061ce13
add esp, 8
mov esi, eax
mov dword [ebp - 0x2a4], esi
cmp esi, ebx
je 0x46cec2
add esi, 2
mov dword [ebp - 0x2a4], esi
push esi
call fcn.00620e42
add esp, 4
mov edi, eax
cmp edi, ebx
je 0x46cec2
mov bl, 1
lea esp, [esp]
movzx eax, word [esi]
test ax, ax
je 0x46cd34
push eax
call fcn.00622354
add esp, 4
test eax, eax
je 0x46cec2
add esi, 2
mov dword [ebp - 0x2a4], esi
jmp 0x46cd10
test bl, bl
je 0x46cec2
lea ecx, [ebp - 0x298]
call fcn.00402500
mov byte [ebp - 4], 3
push edi
push str.SoftwareDownloadManager_ld
lea eax, [ebp - 0x298]
push eax
call fcn.00402f70
add esp, 0xc
lea ecx, [ebp - 0x2ac]
push ecx
push 1
xor esi, esi
push esi
mov edx, dword [ebp - 0x298]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x46cea6
cmp dword [ebp - 0x2a0], esi
je 0x46ce5c
mov dword [ebp - 0x2a0], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], esi
xor eax, eax
mov word [ebp - 0x34], ax
mov byte [ebp - 4], 4
mov ecx, dword [0x75ad10]
push ecx
mov edx, dword [ebp - 0x2a8]
push edx
mov eax, dword [0x75c694]
push eax
lea ecx, [ebp - 0x38]
call fcn.004021b0
mov eax, dword [ebp - 0x38]
cmp eax, esi
jne 0x46cdce
lea eax, [ebp - 0x34]
push 0x50044
push 0x681cf4
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x46ce50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00401210
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x298]
call fcn.00402570
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00401210
mov eax, dword [ebp - 0x29c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
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 - 0x14]
xor ecx, ebp
call fcn.0061d2ff
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00401210
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], esi
xor ecx, ecx
mov word [ebp - 0x40], cx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
cmp eax, esi
jne 0x46ce76
lea eax, [ebp - 0x1c]
push esi
push eax
push 0x67958c
lea ecx, [ebp - 0x44]
call fcn.004021b0
mov eax, dword [ebp - 0x44]
cmp eax, esi
jne 0x46ce8f
lea eax, [ebp - 0x40]
push eax
call fcn.005b5b40
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00401210
jmp 0x46ceb3
mov edx, dword [ebp - 0x2ac]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x298]
call fcn.00402570
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00401210
mov esi, dword [ebp - 0x29c]
mov edi, dword [ebp - 0x2a8]
xor ebx, ebx
jmp 0x46cc80