Function at 0x45afb0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63da33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d0
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x28], bx
mov ecx, 0x6cbf74
mov byte [ebp - 4], 1
test ecx, ecx
je 0x45b0bb
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x45b0bb
push ecx
lea ecx, [ebp - 0x54]
call fcn.00401ee0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x44]
call fcn.004027c0
push ebx
push 0x6cbf74
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.004027e0
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x54]
call fcn.00401f10
push eax
call fcn.00609a4e
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.00622acb
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x2c], edx
je 0x45b0a0
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x54]
call fcn.00401f10
push eax
lea ecx, [ebp - 0x44]
call fcn.00401f10
push eax
mov eax, dword [ebp - 0x2c]
push esi
push eax
call fcn.006099de
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00609a4e
add esp, 0x14
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x45b0c2
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x2dc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x48], esi
jne 0x45b0f9
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00401070
or eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x2dc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea ecx, [ebp - 0x2dc]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x45b42b
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], eax
mov word [ebp - 0x1c], bx
mov edx, 0x6c900c
mov byte [ebp - 4], 4
test edx, edx
je 0x45b24f
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x45b24f
lea ecx, [ebp - 0x2b0]
test ecx, ecx
je 0x45b24f
lea ecx, [ebp - 0x68]
call fcn.004027c0
push ebx
push 0x6c900c
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.004027e0
push esi
lea ecx, [ebp - 0x74]
call fcn.00401ee0
lea edx, [ebp - 0x2b0]
lea ecx, [ebp - 0x8c]
push edx
mov byte [ebp - 4], 6
call fcn.00401ee0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.00401070
mov esi, dword [ebp - 0x60]
lea ecx, [ebp - 0x8c]
call fcn.00401f10
push eax
call fcn.00609a4e
add esp, 4
lea ecx, [ebp - 0x74]
mov edi, eax
call fcn.00401f10
push eax
call fcn.00609a4e
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.00622acb
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x20], edx
je 0x45b225
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x8c]
call fcn.00401f10
push eax
lea ecx, [ebp - 0x74]
call fcn.00401f10
push eax
lea ecx, [ebp - 0x68]
call fcn.00401f10
push eax
mov eax, dword [ebp - 0x20]
push esi
push eax
call fcn.006099de
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00609a4e
add esp, 0x18
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 6
call fcn.00401070
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.00401070
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00401070
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2dc]
and edx, 0x10
cmp dl, 0x10
jne 0x45b4b3
cmp eax, ebx
jne 0x45b268
lea eax, [ebp - 0x1c]
push 0x5f
push eax
call fcn.00609ba3
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x45b4b3
add esi, 2
push esi
call fcn.0060b6a9
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x45b4b3
mov bl, 1
mov ax, word [esi]
test ax, ax
je 0x45b2b3
push eax
call fcn.0060c061
add esp, 4
test eax, eax
je 0x45b4b3
add esi, 2
jmp 0x45b295
test bl, bl
je 0x45b4b3
mov eax, dword [0x6f7b78]
mov dword [ebp - 0x14], eax
push edi
lea ecx, [ebp - 0x14]
push str.SoftwareDownloadManager_ld
push ecx
mov byte [ebp - 4], 8
call fcn.0061fae1
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea edx, [ebp - 0x5c]
xor ebx, ebx
push edx
push 1
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x45b49d
cmp dword [ebp - 0x58], ebx
je 0x45b459
xor eax, eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x34], bx
mov esi, dword [0x6fd268]
mov edi, dword [0x6fca90]
cmp esi, ebx
mov byte [ebp - 4], 9
je 0x45b3e3
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x45b3e3
push ecx
lea ecx, [ebp - 0x80]
call fcn.00401ee0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call fcn.00401070
lea ecx, [ebp - 0x54]
call fcn.004027c0
push edi
push esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xb
call fcn.004027e0
mov esi, dword [ebp - 0x4c]
lea ecx, [ebp - 0x80]
call fcn.00401f10
push eax
call fcn.00609a4e
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.00622acb
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x38], edx
je 0x45b3c8
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x80]
call fcn.00401f10
push eax
lea ecx, [ebp - 0x54]
call fcn.00401f10
push eax
mov eax, dword [ebp - 0x38]
push esi
push eax
call fcn.006099de
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.00609a4e
add esp, 0x14
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xa
call fcn.00401070
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 9
call fcn.00401070
mov eax, dword [ebp - 0x38]
cmp eax, ebx
jne 0x45b3ea
lea eax, [ebp - 0x34]
push 0x50044
push 0x6cf05c
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x38]
je 0x45b454
call fcn.00401070
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00622d8a
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00401070
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00401070
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x40], bx
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call fcn.00401f10
push eax
push 0x6cbf70
lea ecx, [ebp - 0x44]
call fcn.0041da80
lea ecx, [ebp - 0x44]
call fcn.00401f10
push eax
call fcn.005d2820
add esp, 4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.00401070
jmp 0x45b4a7
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00622d8a
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00401070
mov esi, dword [ebp - 0x48]
xor ebx, ebx
jmp 0x45b107