Function at 0x464480
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6230cb
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x70a308]
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 0x6524f4
lea ecx, [ebp - 0x2c]
call fcn.00402190
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x4644f2
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 0x464520
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004011f0
or eax, esi
jmp 0x4646e4
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 0x4646c2
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 0x64ed70
lea ecx, [ebp - 0x20]
call fcn.00402300
test byte [ebp - 0x294], 0x10
je 0x464772
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x464583
lea eax, [ebp - 0x1c]
push 0x5f
push eax
call fcn.005f80fb
add esp, 8
mov esi, eax
mov dword [ebp - 0x2a4], esi
cmp esi, ebx
je 0x464772
add esi, 2
mov dword [ebp - 0x2a4], esi
push esi
call fcn.005fbff4
add esp, 4
mov edi, eax
cmp edi, ebx
je 0x464772
mov bl, 1
lea esp, [esp]
movzx eax, word [esi]
test ax, ax
je 0x4645e4
push eax
call fcn.005fd870
add esp, 4
test eax, eax
je 0x464772
add esi, 2
mov dword [ebp - 0x2a4], esi
jmp 0x4645c0
test bl, bl
je 0x464772
lea ecx, [ebp - 0x298]
call fcn.004024e0
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 0x464756
cmp dword [ebp - 0x2a0], esi
je 0x46470c
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 [0x70f730]
push ecx
mov edx, dword [ebp - 0x2a8]
push edx
mov eax, dword [0x710fd4]
push eax
lea ecx, [ebp - 0x38]
call fcn.00402190
mov eax, dword [ebp - 0x38]
cmp eax, esi
jne 0x46467e
lea eax, [ebp - 0x34]
push 0x50044
push 0x65a8cc
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x464700
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.004011f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x298]
call fcn.00402550
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004011f0
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.004011f0
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.005f85e7
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.004011f0
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 0x464726
lea eax, [ebp - 0x1c]
push esi
push eax
push 0x6524f0
lea ecx, [ebp - 0x44]
call fcn.00402190
mov eax, dword [ebp - 0x44]
cmp eax, esi
jne 0x46473f
lea eax, [ebp - 0x40]
push eax
call fcn.0059c940
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.004011f0
jmp 0x464763
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.00402550
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004011f0
mov esi, dword [ebp - 0x29c]
mov edi, dword [ebp - 0x2a8]
xor ebx, ebx
jmp 0x464530