Function at 0x46d5e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64b38b
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x758898]
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 0x67c6f0
lea ecx, [ebp - 0x2c]
call fcn.004021c0
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x46d652
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 0x46d680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401210
or eax, esi
jmp 0x46d844
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 0x46d822
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 0x678de0
lea ecx, [ebp - 0x20]
call fcn.00402330
test byte [ebp - 0x294], 0x10
je 0x46d8d2
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x46d6e3
lea eax, [ebp - 0x1c]
push 0x5f
push eax
call fcn.0061fd52
add esp, 8
mov esi, eax
mov dword [ebp - 0x2a4], esi
cmp esi, ebx
je 0x46d8d2
add esi, 2
mov dword [ebp - 0x2a4], esi
push esi
call fcn.00623d82
add esp, 4
mov edi, eax
cmp edi, ebx
je 0x46d8d2
mov bl, 1
lea esp, [esp]
movzx eax, word [esi]
test ax, ax
je 0x46d744
push eax
call fcn.00625294
add esp, 4
test eax, eax
je 0x46d8d2
add esi, 2
mov dword [ebp - 0x2a4], esi
jmp 0x46d720
test bl, bl
je 0x46d8d2
lea ecx, [ebp - 0x298]
call fcn.00402510
mov byte [ebp - 4], 3
push edi
push str.SoftwareDownloadManager_ld
lea eax, [ebp - 0x298]
push eax
call fcn.00402f80
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 0x46d8b6
cmp dword [ebp - 0x2a0], esi
je 0x46d86c
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 [0x75dd28]
push ecx
mov edx, dword [ebp - 0x2a8]
push edx
mov eax, dword [0x75f6d4]
push eax
lea ecx, [ebp - 0x38]
call fcn.004021c0
mov eax, dword [ebp - 0x38]
cmp eax, esi
jne 0x46d7de
lea eax, [ebp - 0x34]
push 0x50044
push 0x684ff4
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x46d860
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00401210
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x298]
call fcn.00402580
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.0062023e
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 0x46d886
lea eax, [ebp - 0x1c]
push esi
push eax
push 0x67c6ec
lea ecx, [ebp - 0x44]
call fcn.004021c0
mov eax, dword [ebp - 0x44]
cmp eax, esi
jne 0x46d89f
lea eax, [ebp - 0x40]
push eax
call fcn.005b88d0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00401210
jmp 0x46d8c3
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.00402580
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 0x46d690