Function at 0x456940
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6025a8
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x69cef4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 4], 0
call fcn.0048b820
test al, al
je 0x4569a3
pop esi
pop esi
pop eax
push edi
pop ebx
push edx
pop ebx
push edi
push edx
push ebp
pop esp
push esi
pop edx
push eax
pop ecx
pop eax
pop ebx
push edx
push ebp
pop edi
pop esi
push eax
push edi
pop esi
push esi
pop ebp
pop eax
push eax
push ebp
pop ebp
push ebp
call fcn.0048bf20
test al, al
je 0x4569be
push edi
push esp
push esi
push esp
pop ecx
pop ecx
push esi
push ebp
push ebp
pop edi
pop edx
pop esp
push esp
push edi
pop esi
pop esi
pop esp
pop ebp
cmp dword [ebp + 0x18], 0
jne 0x4569cb
xor esi, esi
jmp 0x456dac
call fcn.0048b6d0
test al, al
je 0x4569ee
pop edx
pop edx
push esi
pop esp
pop edi
pop eax
pop ebx
push eax
pop edx
push eax
push eax
push eax
pop ebp
push esi
push edi
push esp
push ecx
push ebx
pop edx
push ebx
push esp
push edx
push ebx
pop edi
push esp
push ebx
call fcn.0048bac0
test al, al
je 0x456a10
pop edi
pop esi
push ecx
pop ecx
pop edi
push ebx
pop ebx
push esp
pop esi
pop ebx
pop edx
push esp
pop ebx
pop edx
pop ebp
pop esp
pop edx
push esi
push esi
push ecx
pop ebx
push eax
pop edi
push edx
push edx
xor eax, eax
mov dword [ebp - 0x2c], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x40]
lea eax, [ebp + 8]
mov dword [ebp - 0x30], 0
push eax
call fcn.00407160
push 3
push 0x60ad68
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040fbd0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x2b0], edi
call fcn.0048b660
test al, al
je 0x456a8b
push ecx
push ecx
push esi
pop ebp
pop ebx
push esp
push ebx
push ecx
pop eax
pop ebp
pop ebp
pop ecx
pop edx
pop edi
push edi
push esi
push esp
push ebp
push eax
pop eax
pop edx
mov edi, dword [ebp - 0x2b0]
cmp edi, 0xffffffff
je 0x456c93
call fcn.0048be40
test al, al
je 0x456aaf
push ecx
pop edx
pop ecx
pop esi
push ebx
pop ebp
pop eax
push eax
pop esi
pop esi
push ecx
pop ebx
push ebx
push esp
push esp
pop ebp
push eax
push ebx
lea eax, [ebp - 0x2a8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x456c93
mov ax, word [ebp - 0x27c]
cmp ax, 0x2e
je 0x456a94
mov cx, word [ebp - 0x27a]
test cx, cx
je 0x456a94
cmp cx, 0x2e
jne 0x456aee
cmp word [ebp - 0x278], 0
je 0x456a94
xor ecx, ecx
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], cx
test ax, ax
jne 0x456b0b
xor eax, eax
jmp 0x456b23
lea eax, [ebp - 0x27c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x456b14
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00407280
xor eax, eax
mov byte [ebp - 4], 2
test byte [ebp - 0x2a8], 0x10
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea eax, [ebp + 8]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
push eax
je 0x456c03
call fcn.00407160
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.0040fac0
push 1
push 0x608b38
lea ecx, [ebp - 0x28]
call fcn.0040fbd0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ebx, dword [ebp - 0x2ac]
cmovae eax, dword [ebp - 0x28]
push 0x10000000
push str.Everyone
mov ecx, dword [ebx]
push eax
call fcn.00455a20
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [ebx]
cmovae eax, dword [ebp - 0x28]
push 0x10000000
push str.ALL_APPLICATION_PACKAGES
push eax
call fcn.00455a20
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x456be7
mov eax, dword [ecx]
jmp 0x456be9
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x28]
push edx
push eax
call fcn.00407160
mov ecx, ebx
call fcn.00456940
jmp 0x456c5c
call fcn.00407160
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.0040fac0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ebx, dword [ebp - 0x2ac]
cmovae eax, dword [ebp - 0x28]
push 0x10000000
push str.Everyone
mov ecx, dword [ebx]
push eax
call fcn.00455a20
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [ebx]
cmovae eax, dword [ebp - 0x28]
push 0x10000000
push str.ALL_APPLICATION_PACKAGES
push eax
call fcn.00455a20
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x456c71
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407380
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x456a94
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00407380
jmp 0x456a94
call fcn.0048bf90
test al, al
je 0x456cb3
push edx
pop ebp
pop edi
push edx
push ebx
push edi
pop ebx
push edi
push edx
push esp
pop esp
push edx
push edx
pop ebx
push ecx
pop edx
push eax
mov edi, dword [ebp - 0x2b0]
call fcn.0048b9e0
test al, al
je 0x456cd9
pop esp
push esi
pop eax
pop ebx
pop edx
pop esi
pop edx
push ebp
pop esp
push edx
pop ebp
push esi
push edi
pop ebx
push esp
push ebp
push ecx
push eax
push ecx
pop esp
pop esp
push esp
push esp
push esp
push ebp
push ebx
push ecx
push esp
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.0048bb30
test al, al
je 0x456d01
push ecx
push ebp
pop esp
pop ebx
push ebx
push esi
pop eax
pop edi
pop edi
pop eax
pop esp
pop ecx
pop ebp
pop esi
push edi
push ebp
push eax
pop ecx
pop ebp
pop eax
push edi
pop ecx
push ecx
pop ecx
call fcn.0048b6d0
test al, al
je 0x456d23
push esp
push ebx
push ecx
push esp
push edi
push ebx
push ecx
pop eax
pop edx
push ebp
pop edi
push ecx
push ecx
push esp
pop ebx
pop esi
push eax
pop edx
push esi
push esp
pop ebp
pop eax
pop ebp
pop esi
push edx
call fcn.0048b430
test al, al
je 0x456d3e
pop edx
push esi
pop edi
push esp
pop esi
pop esi
pop esi
pop ebx
push ecx
pop ebx
push esi
push esi
push ebp
push ebp
push edi
pop ebx
pop edx
pop eax
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov esi, dword [ebp - 0x2ac]
cmovae eax, dword [ebp + 8]
push 0x10000000
push str.Everyone
mov ecx, dword [esi]
push eax
call fcn.00455a20
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov ecx, dword [esi]
cmovae eax, dword [ebp + 8]
push 0x10000000
push str.ALL_APPLICATION_PACKAGES
push eax
call fcn.00455a20
mov eax, dword [ebp - 0x2c]
mov esi, 1
cmp eax, 8
jb 0x456d98
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407380
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x456dc1
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00407380
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ca59c
mov esp, ebp
pop ebp
ret 0x18