Function at 0x42b570
Capabilities:
Enumerate files on windows

Disassembly:
push 0x374
mov eax, 0x44d80d
call fcn.00447ac5
mov ebx, ecx
mov dword [ebp - 0x32c], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x330], ecx
mov dword [ebp - 0x320], eax
call 0x40edce
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
lea edi, [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0x328], ecx
stosd dword es:[edi], eax
mov dword [ebp - 0x324], ecx
mov ecx, dword [ebx + 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test ecx, ecx
je 0x42bd70
call fcn.004112ed
test al, al
je 0x42bd70
mov eax, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov dword [ebp - 0x328], eax
mov dword [ebp - 0x324], ebx
push 0x2c
xor edi, edi
mov ecx, 0x45c298
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x84], edi
pop edx
mov dword [ebp - 0x88], edx
test ebx, ebx
je 0x42b60d
lock inc dword [ebx + 4]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 4], 2
and dword [ebp - 0x310], 0
mov eax, dword [eax]
mov esi, dword [eax + 0x14]
lea eax, [ebp - 0x310]
push eax
push edx
push ecx
mov ecx, esi
call dword [0x4529ac]
mov ecx, dword [ebp - 0x328]
call esi
test eax, eax
js 0x42b654
cmp dword [ebp - 0x310], 0
cmovne edi, dword [ebp - 0x310]
mov dword [ebp - 0x84], edi
test ebx, ebx
je 0x42b65f
mov ecx, ebx
call fcn.0040472d
mov ebx, dword [ebp - 0x32c]
mov eax, dword [ebx]
mov esi, dword [eax + 0x24]
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x42b68f
and dword [ebp - 0x2c], 0
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4529ac]
call esi
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
push edi
mov ecx, esi
call dword [0x4529ac]
mov ecx, ebx
call esi
and dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x5c]
mov edi, eax
mov dword [ebp - 0x48], 7
xor eax, eax
push str.RoActivateInstance_for_IPackageManager_returned
mov word [ebp - 0x5c], ax
call fcn.0040acef
mov ecx, dword [ebp - 0x320]
lea eax, [ebp - 0x5c]
push edi
push eax
mov byte [ebp - 4], 6
call fcn.0042bdd7
lea ecx, [ebp - 0x5c]
call fcn.0040521a
xor ecx, ecx
mov dword [ebp - 0x44], ecx
test edi, edi
js 0x42b70d
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov esi, dword [ecx]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
push ecx
push 0x45c2f4
push eax
mov ecx, esi
call dword [0x4529ac]
call esi
mov ecx, dword [ebp - 0x44]
mov edi, eax
xor eax, eax
mov dword [ebp - 0x40], eax
test edi, edi
js 0x42b737
mov eax, dword [ecx]
mov esi, dword [eax + 0x28]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 9
push eax
push 1
push 0
push ecx
mov ecx, esi
call dword [0x4529ac]
call esi
mov edi, eax
mov eax, dword [ebp - 0x40]
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 0xb
test edi, edi
js 0x42b761
mov ecx, dword [eax]
mov esi, dword [ecx + 0x18]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push ecx
push eax
mov ecx, esi
call dword [0x4529ac]
call esi
mov ecx, dword [ebp - 0x28]
mov edi, eax
mov byte [ebp - 0x11], 0
test edi, edi
js 0x42bd3b
mov eax, dword [ecx]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x11]
push eax
push ecx
mov ecx, esi
call dword [0x4529ac]
call esi
mov edi, eax
mov dword [ebp - 0x31c], edi
jmp 0x42bcc7
and dword [ebp - 0x24], 0
test edi, edi
js 0x42b7b9
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov esi, dword [ecx + 0x18]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
push ecx
push eax
mov ecx, esi
call dword [0x4529ac]
call esi
mov edi, eax
mov dword [ebp - 0x31c], edi
xor eax, eax
mov dword [ebp - 0x310], eax
test edi, edi
js 0x42b7f5
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov esi, dword [ecx]
lea ecx, [ebp - 0x310]
mov byte [ebp - 4], 0xf
push ecx
push 0x456838
push eax
mov ecx, esi
call dword [0x4529ac]
call esi
mov edi, eax
mov eax, dword [ebp - 0x310]
mov dword [ebp - 0x31c], edi
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x30], esi
test edi, edi
js 0x42b827
mov ecx, dword [eax]
mov esi, dword [ecx + 0x20]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x11
push ecx
push eax
mov ecx, esi
call dword [0x4529ac]
call esi
mov esi, dword [ebp - 0x30]
mov edi, eax
mov dword [ebp - 0x31c], edi
mov dword [ebp - 0x18], esi
xor eax, eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x13
test edi, edi
js 0x42b86d
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x13
call fcn.0042bf92
mov edi, eax
mov dword [ebp - 0x31c], edi
test edi, edi
js 0x42b86a
mov eax, dword [esi]
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
mov ecx, esi
call dword [0x4529ac]
call esi
mov edi, eax
mov dword [ebp - 0x31c], eax
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [ebp - 0x34], ecx
test edi, edi
js 0x42b898
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1c]
lea ecx, [ebp - 0x34]
push ecx
push eax
mov ecx, esi
call dword [0x4529ac]
call esi
mov ecx, dword [ebp - 0x34]
mov edi, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x31c], edi
xor edx, edx
mov dword [ebp - 0x90], 7
xor esi, esi
mov dword [ebp - 0x94], edx
mov word [ebp - 0xa4], si
mov byte [ebp - 4], 0x15
test ecx, ecx
je 0x42b9ad
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
test edi, edi
js 0x42b8ec
mov ecx, dword [eax]
mov esi, dword [ecx + 0x18]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x16
push ecx
push edx
push eax
mov ecx, esi
call dword [0x4529ac]
call esi
mov ecx, dword [ebp - 0x1c]
mov edi, eax
mov dword [ebp - 0x31c], edi
xor eax, eax
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x18
test edi, edi
js 0x42b91c
mov eax, dword [ecx]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x18
push eax
push ecx
mov ecx, esi
call dword [0x4529ac]
call esi
mov edi, eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x31c], edi
and dword [ebp - 0x314], 0
test edi, edi
js 0x42b975
mov ecx, dword [eax]
mov esi, dword [ecx + 0x18]
lea ecx, [ebp - 0x314]
push ecx
push eax
mov ecx, esi
call dword [0x4529ac]
call esi
mov edi, eax
mov dword [ebp - 0x31c], edi
test edi, edi
js 0x42b975
mov eax, dword [ebx]
and dword [ebp - 0x18], 0
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x314]
mov ecx, esi
call dword [0x4529ac]
mov ecx, ebx
call esi
push eax
lea ecx, [ebp - 0xa4]
call fcn.0040acef
mov eax, dword [ebx]
push dword [ebp - 0x314]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x4529ac]
mov ecx, ebx
call esi
and dword [ebp - 0x314], 0
lea ecx, [ebp - 0x38]
call fcn.00404ab7
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x15
call fcn.00404ab7
mov edx, dword [ebp - 0x94]
test edx, edx
je 0x42bc6e
xor eax, eax
mov dword [ebp - 0x18], eax
test edi, edi
js 0x42b9e4
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1c]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1a
push ecx
push eax
mov ecx, esi
call dword [0x4529ac]
call esi
mov edi, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x31c], edi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 0x1c
test edi, edi
js 0x42ba18
mov ecx, dword [eax]
mov esi, dword [ecx]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x1c
push ecx
push 0x456818
push eax
mov ecx, esi
call dword [0x4529ac]
call esi
mov ecx, dword [ebp - 0x3c]
mov edi, eax
mov dword [ebp - 0x31c], edi
xor edx, edx
mov dword [ebp - 0x318], edx
test edi, edi
js 0x42ba49
mov eax, dword [ecx]
mov esi, dword [eax + 0x30]
lea eax, [ebp - 0x318]
push eax
push ecx
mov ecx, esi
call dword [0x4529ac]
call esi
mov edx, dword [ebp - 0x318]
mov edi, eax
mov dword [ebp - 0x31c], edi
mov eax, dword [ebx]
and dword [ebp - 0x60], 0
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x60]
push eax
push edx
mov ecx, esi
call dword [0x4529ac]
mov ecx, ebx
call esi
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040ad18
mov byte [ebp - 4], 0x1e
mov eax, dword [ebx]
push dword [ebp - 0x318]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x4529ac]
mov ecx, ebx
call esi
xor esi, esi
mov dword [ebp - 0x318], esi
cmp dword [ebp - 0x4c], esi
je 0x42bc52
push str..exe
lea ecx, [ebp - 0x5c]
call fcn.004162a6
push 0x250
lea eax, [ebp - 0x30c]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x30c]
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x42bc52
mov edi, dword [ebp - 0x320]
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x68], esi
mov word [ebp - 0x78], ax
lea ecx, [ebp - 0x78]
lea eax, [ebp - 0x2e0]
mov dword [ebp - 0x64], 7
push eax
call fcn.0040acef
xor eax, eax
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x78]
cmp dword [ebp - 0x64], 8
lea esi, [ebp - 0x78]
mov eax, dword [ebp - 0x68]
cmovae ecx, dword [ebp - 0x78]
cmovae esi, dword [ebp - 0x78]
lea eax, [ecx + eax*2]
cmp esi, eax
je 0x42bb65
mov ebx, eax
movzx eax, word [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
pop ecx
movzx eax, ax
lea ecx, [ebp - 0xbc]
push eax
call fcn.004202a1
add esi, 2
cmp esi, ebx
jne 0x42bb41
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x330]
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x338]
push eax
call fcn.0042be0a
lea eax, [ebp - 0xbc]
mov edx, str.Adding_entry_to_exe_to_friendly_name_map:
push eax
lea ecx, [ebp - 0x380]
call fcn.00415f6b
push 0x45c088
mov ecx, eax
mov byte [ebp - 4], 0x21
call fcn.004162a6
push eax
lea ecx, [ebp - 0x368]
call fcn.00416444
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x22
push eax
lea ecx, [ebp - 0x368]
call fcn.00416426
push eax
lea ecx, [ebp - 0x350]
call fcn.00416444
xor esi, esi
mov byte [ebp - 4], 0x23
push esi
lea eax, [ebp - 0x350]
mov ecx, edi
push eax
call fcn.0042bdd7
lea ecx, [ebp - 0x350]
call fcn.0040521a
lea ecx, [ebp - 0x368]
call fcn.0040521a
lea ecx, [ebp - 0x380]
call fcn.0040521a
lea ecx, [ebp - 0xbc]
call fcn.0040521a
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x1e
call fcn.0040521a
lea eax, [ebp - 0x30c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42bae7
push dword [ebp - 0x1c]
mov edi, dword [ebp - 0x31c]
mov ebx, dword [ebp - 0x32c]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x5c]
call fcn.0040521a
lea ecx, [ebp - 0x3c]
call fcn.00404ab7
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x15
call fcn.00404ab7
test edi, edi
js 0x42bcd3
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov esi, dword [ecx + 0x20]
lea ecx, [ebp - 0x11]
push ecx
push eax
mov ecx, esi
call dword [0x4529ac]
call esi
mov edi, eax
mov dword [ebp - 0x31c], edi
test edi, edi
js 0x42bcd3
lea ecx, [ebp - 0xa4]
call fcn.0040521a
lea ecx, [ebp - 0x20]
call fcn.00404ab7
lea ecx, [ebp - 0x30]
call fcn.00404ab7
lea ecx, [ebp - 0x310]
call fcn.00404ab7
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.00404ab7
cmp byte [ebp - 0x11], 0
jne 0x42b78e
jmp 0x42bd3b
and dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x48], 7
push str.Exe_to_friendly_name_iteration_failed
mov word [ebp - 0x5c], ax
call fcn.0040acef
mov ecx, dword [ebp - 0x320]
lea eax, [ebp - 0x5c]
push edi
push eax
mov byte [ebp - 4], 0x24
call fcn.0042bdd7
lea ecx, [ebp - 0x5c]
call fcn.0040521a
lea ecx, [ebp - 0xa4]
call fcn.0040521a
lea ecx, [ebp - 0x20]
call fcn.00404ab7
lea ecx, [ebp - 0x30]
call fcn.00404ab7
lea ecx, [ebp - 0x310]
call fcn.00404ab7
lea ecx, [ebp - 0x24]
call fcn.00404ab7
lea ecx, [ebp - 0x28]
call fcn.00404ab7
lea ecx, [ebp - 0x40]
call fcn.00404ab7
lea ecx, [ebp - 0x44]
call fcn.00404ab7
lea ecx, [ebp - 0x8c]
call 0x42bd76
lea ecx, [ebp - 0x2c]
call fcn.00404ab7
mov eax, edi
call fcn.00447a6f
ret 8
call 0x42c42d
int3