Function at 0x46dca0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64bcfb
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.004021a0
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x46dd12
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 0x46dd40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401210
or eax, esi
jmp 0x46df04
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 0x46dee2
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.00402310
test byte [ebp - 0x294], 0x10
je 0x46df92
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x46dda3
lea eax, [ebp - 0x1c]
push 0x5f
push eax
call fcn.006206a1
add esp, 8
mov esi, eax
mov dword [ebp - 0x2a4], esi
cmp esi, ebx
je 0x46df92
add esi, 2
mov dword [ebp - 0x2a4], esi
push esi
call fcn.006246d2
add esp, 4
mov edi, eax
cmp edi, ebx
je 0x46df92
mov bl, 1
lea esp, [esp]
movzx eax, word [esi]
test ax, ax
je 0x46de04
push eax
call fcn.00625be4
add esp, 4
test eax, eax
je 0x46df92
add esi, 2
mov dword [ebp - 0x2a4], esi
jmp 0x46dde0
test bl, bl
je 0x46df92
lea ecx, [ebp - 0x298]
call fcn.004024f0
mov byte [ebp - 4], 3
push edi
push str.SoftwareDownloadManager_ld
lea eax, [ebp - 0x298]
push eax
call fcn.00402f60
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 0x46df76
cmp dword [ebp - 0x2a0], esi
je 0x46df2c
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.004021a0
mov eax, dword [ebp - 0x38]
cmp eax, esi
jne 0x46de9e
lea eax, [ebp - 0x34]
push 0x50044
push 0x68502c
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x46df20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00401210
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x298]
call fcn.00402560
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.00620b8d
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 0x46df46
lea eax, [ebp - 0x1c]
push esi
push eax
push 0x67c6ec
lea ecx, [ebp - 0x44]
call fcn.004021a0
mov eax, dword [ebp - 0x44]
cmp eax, esi
jne 0x46df5f
lea eax, [ebp - 0x40]
push eax
call fcn.005b8da0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00401210
jmp 0x46df83
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.00402560
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 0x46dd50