Function at 0x46dad0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64b40b
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.004021b0
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x46db42
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 0x46db70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401210
or eax, esi
jmp 0x46dd34
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 0x46dd12
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.00402320
test byte [ebp - 0x294], 0x10
je 0x46ddc2
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x46dbd3
lea eax, [ebp - 0x1c]
push 0x5f
push eax
call fcn.0061fc83
add esp, 8
mov esi, eax
mov dword [ebp - 0x2a4], esi
cmp esi, ebx
je 0x46ddc2
add esi, 2
mov dword [ebp - 0x2a4], esi
push esi
call fcn.00623cb2
add esp, 4
mov edi, eax
cmp edi, ebx
je 0x46ddc2
mov bl, 1
lea esp, [esp]
movzx eax, word [esi]
test ax, ax
je 0x46dc34
push eax
call fcn.006251c4
add esp, 4
test eax, eax
je 0x46ddc2
add esi, 2
mov dword [ebp - 0x2a4], esi
jmp 0x46dc10
test bl, bl
je 0x46ddc2
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 0x46dda6
cmp dword [ebp - 0x2a0], esi
je 0x46dd5c
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.004021b0
mov eax, dword [ebp - 0x38]
cmp eax, esi
jne 0x46dcce
lea eax, [ebp - 0x34]
push 0x50044
push 0x684fe4
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x46dd50
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.0062016f
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 0x46dd76
lea eax, [ebp - 0x1c]
push esi
push eax
push 0x67c6ec
lea ecx, [ebp - 0x44]
call fcn.004021b0
mov eax, dword [ebp - 0x44]
cmp eax, esi
jne 0x46dd8f
lea eax, [ebp - 0x40]
push eax
call fcn.005b87c0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00401210
jmp 0x46ddb3
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 0x46db80