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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4502a9
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x4643c8]
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 eax, dword [ebp + 0x24]
xor ebx, ebx
mov dword [ebp - 0x2b0], ecx
mov dword [ebp - 0x2b8], eax
xor edi, edi
mov dword [ebp - 0x2a8], ebx
mov dword [ebp - 4], edi
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0x2b4], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
push edi
mov byte [ebp - 4], 1
push edi
sub esp, 0x1c
mov byte [ebp - 0x2a8], cl
mov ecx, esp
mov dword [ecx + 0x14], eax
mov dword [ebp - 0x2a0], esp
push edi
lea eax, [ebp + 8]
xor edx, edx
push eax
mov dword [ecx + 0x10], edi
or eax, 0xffffffff
mov dword [ebp - 0x2a4], edi
lea esi, [ebp - 0x2a4]
mov word [ecx], dx
call fcn.004138c0
mov ecx, esi
call fcn.00431e60
add esp, 0x24
cmp eax, edi
jne 0x42437d
test byte [ebp - 0x2a4], 0x10
je 0x42437d
mov cl, 1
mov byte [ebp - 0x2a8], cl
jmp 0x424383
mov cl, byte [ebp - 0x2a8]
mov esi, dword [ebp - 0x2b0]
mov eax, dword [esi + 0x94]
test al, 1
jne 0x4243ab
test al, 2
je 0x42439b
test cl, cl
jne 0x4243ab
test al, 4
je 0x42442b
test cl, cl
jne 0x42442b
mov ecx, dword [ebp - 0x2a8]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2a0], esp
push edi
lea eax, [ebp + 8]
xor edx, edx
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], edi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.004138c0
mov ecx, esi
call dword [ebp - 0x2b8]
mov esi, eax
mov dword [ebp - 0x2b4], esi
cmp esi, edi
je 0x42442b
mov ebx, 8
cmp dword [ebp - 0x18], ebx
jb 0x424403
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0043644d
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
cmp dword [ebp + 0x1c], ebx
jb 0x424424
mov eax, dword [ebp + 8]
push eax
call fcn.0043644d
add esp, 4
mov eax, esi
jmp 0x4249d9
cmp dword [ebp + 0x18], 2
jb 0x4244c1
call fcn.00435727
mov esi, eax
mov dword [ebp - 0x2a0], esi
call fcn.004354e6
push edi
lea ecx, [ebp - 0x2a4]
mov ebx, eax
call fcn.00435810
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x424461
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x2a4]
call fcn.00435838
push ecx
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x2ac], esp
mov ebx, 1
push edi
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 0x2a8], ebx
mov dword [eax], esi
call fcn.00435810
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jae 0x42449e
inc eax
mov dword [esi + 4], eax
lea ecx, [ebp - 0x2ac]
call fcn.00435838
lea ecx, [ebp + 8]
push ecx
call fcn.0042c710
add esp, 8
test al, al
je 0x4244c7
mov byte [ebp - 0x299], bl
jmp 0x4244ce
mov esi, dword [ebp - 0x2a0]
mov byte [ebp - 0x299], 0
mov dword [ebp - 4], 1
test bl, 1
je 0x42451f
and ebx, 0xfffffffe
cmp esi, edi
je 0x42451f
push edi
lea ecx, [ebp - 0x2a0]
call fcn.00435810
mov eax, dword [esi + 4]
cmp eax, edi
jbe 0x4244fd
cmp eax, 0xffffffff
jae 0x4244fd
dec eax
mov dword [esi + 4], eax
mov edi, dword [esi + 4]
neg edi
sbb edi, edi
lea ecx, [ebp - 0x2a0]
not edi
call fcn.00435838
and edi, esi
je 0x42451f
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
cmp byte [ebp - 0x299], 0
je 0x424702
call fcn.00435727
mov edi, eax
mov dword [ebp - 0x2ac], edi
call fcn.004354e6
push 0
lea ecx, [ebp - 0x2a0]
mov esi, eax
call fcn.00435810
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jae 0x424559
inc eax
mov dword [esi + 4], eax
lea ecx, [ebp - 0x2a0]
call fcn.00435838
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x18]
or ebx, 2
push 1
add ecx, 0xfffffffd
lea esi, [ebp - 0x48]
lea edx, [ebp + 8]
mov dword [ebp - 0x2a8], ebx
call fcn.00407490
mov esi, eax
push ecx
mov dword [ebp - 4], 4
mov eax, esp
mov dword [ebp - 0x2a0], esp
or ebx, 4
push 0
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x2a8], ebx
mov dword [eax], edi
call fcn.00435810
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x4245ba
inc eax
mov dword [edi + 4], eax
lea ecx, [ebp - 0x2a0]
call fcn.00435838
push esi
call fcn.0042c800
add esp, 8
test al, al
jne 0x4245de
cmp dword [ebp + 0x18], 2
mov byte [ebp - 0x299], al
jne 0x4245e5
mov byte [ebp - 0x299], 1
mov edi, 8
test bl, 4
je 0x424617
and ebx, 0xfffffffb
cmp dword [ebp - 0x34], edi
jb 0x424603
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0043644d
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
mov dword [ebp - 4], 1
test bl, 2
je 0x42462e
lea ecx, [ebp - 0x2ac]
call fcn.00413a40
cmp byte [ebp - 0x299], 0
je 0x424707
mov eax, dword [ebp - 0x2b0]
sub esp, 0x1c
test byte [eax + 0x94], 1
mov esi, SysReAllocStringLen
mov dword [ebp - 0x2a0], esp
mov ecx, esp
je 0x42468f
mov eax, str.You_just_accessed_permissions_on_a_file_system_root__not_on_the_root_of_the_drive._These_very_special_permissions_do_not_persist_a_reboot_and_cannot_be_displayed_in_Explorer._You_probably_want_to_add_a_backslash_to_the_path__e.g.:_C:.
call fcn.00413560
sub esp, 0x1c
mov byte [ebp - 4], 5
mov eax, str.RecurseDires
mov ecx, esp
mov dword [ebp - 0x2ac], esp
call fcn.00413560
push 3
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00419f60
add esp, 0x3c
jmp 0x424707
mov eax, str.You_just_accessed_permissions_on_a_file_system_root__not_on_the_root_of_the_drive._These_very_special_permissions_do_not_persist_a_reboot_and_cannot_be_displayed_in_Explorer._You_probably_want_to_add_a_backslash_to_the_path__e.g.:_C:._Please_note_that_file_system_roots_cannot_be_recursed.
call fcn.00413560
sub esp, 0x1c
mov byte [ebp - 4], 6
mov eax, str.RecurseDires
mov ecx, esp
mov dword [ebp - 0x2ac], esp
call fcn.00413560
push 3
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00419f60
add esp, 0x3c
cmp dword [ebp - 0x18], edi
jb 0x4246d3
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0043644d
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
cmp dword [ebp + 0x1c], edi
jb 0x4246f8
mov eax, dword [ebp + 8]
push eax
call fcn.0043644d
add esp, 4
mov eax, 0x31
jmp 0x4249d9
mov edi, 8
mov ecx, dword [ebp - 0x2b0]
test byte [ecx + 0x94], 1
je 0x424757
cmp dword [ebp - 0x18], edi
jb 0x424727
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0043644d
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp + 0x1c], edi
jb 0x42474c
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043644d
add esp, 4
mov eax, dword [ebp - 0x2b4]
jmp 0x4249d9
sub esp, 0xc
mov edi, esp
mov dword [ebp - 0x2a0], esp
push 0x457a70
call fcn.004081b0
add esp, 4
lea ecx, [ebp + 8]
call fcn.00414b80
add esp, 0xc
push str..
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.00408320
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00407630
mov esi, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], esi
jb 0x4247b7
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0043644d
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x4247c2
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x298]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, dword [ebp - 0x2b0]
mov dword [ebp - 0x2a4], eax
cmp eax, 0xffffffff
jne 0x424828
cmp byte [esi + 0x44], 0
je 0x424805
mov dword [esi + 0x40], 0
lea esi, [ebp - 0x2c]
call fcn.0041c1b0
lea esi, [ebp + 8]
call fcn.0041c1b0
xor eax, eax
jmp 0x4249d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x40], eax
lea esi, [ebp - 0x2c]
call fcn.0041c1b0
lea esi, [ebp + 8]
call fcn.0041c1b0
mov eax, 0x10
jmp 0x4249d9
mov edi, dword [ebp - 0x2b4]
mov ebx, dword [ebp - 0x2b8]
jmp 0x424840
mov ecx, 0x457918
lea eax, [ebp - 0x26c]
jmp 0x424850
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x424876
test dx, dx
je 0x424872
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x424876
add eax, 4
add ecx, 4
test dx, dx
jne 0x424850
xor eax, eax
jmp 0x42487b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42499e
mov ecx, 0x458078
lea eax, [ebp - 0x26c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4248b6
test dx, dx
je 0x4248b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4248b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x424890
xor eax, eax
jmp 0x4248bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42499e
mov eax, dword [ebp - 0x298]
test al, 0x10
je 0x424943
test eax, 0x400
je 0x424909
mov eax, dword [ebp - 0x274]
cmp eax, 0xa0000003
je 0x4248ef
cmp eax, 0xa000000c
je 0x4248ef
cmp eax, 0x8000000a
jne 0x424909
push 1
push str.___
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00408320
mov byte [ebp - 4], 8
jmp 0x424964
push ebx
push str.___
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00408320
sub esp, 0x10
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x2a0], esp
push eax
lea eax, [ebp - 0x26c]
call fcn.00407910
add esp, 4
mov ecx, esi
call fcn.004242c0
jmp 0x424982
test byte [esi + 0x94], 4
je 0x42499e
push 0
push str.___
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00408320
mov byte [ebp - 4], 0xa
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2a0], esp
push eax
lea eax, [ebp - 0x26c]
call fcn.00407910
add esp, 4
mov ecx, esi
call ebx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 8
mov edi, eax
jb 0x42499a
mov edx, dword [ebp - 0x48]
push edx
call fcn.0043644d
add esp, 4
test edi, edi
jne 0x4249c7
mov ecx, dword [ebp - 0x2a4]
lea eax, [ebp - 0x298]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x424840
mov edx, dword [ebp - 0x2a4]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea esi, [ebp - 0x2c]
call fcn.0041c1b0
lea esi, [ebp + 8]
call fcn.0041c1b0
mov eax, edi
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.00436268
mov esp, ebp
pop ebp
ret 0x20