Function at 0x4072e5
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x44c39e
call fcn.0044ae38
sub esp, 0x300
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x9c]
call fcn.004021c9
or dword [ebp - 0x1c], 0xffffffff
mov byte [ebx], 0
and dword [ebp - 4], 0
lea edi, [ebx + 4]
mov ecx, edi
call fcn.00401673
push ecx
mov ecx, edi
call fcn.0040170e
test al, al
je 0x4076ce
sub esp, 0x18
mov esi, esp
lea eax, [ebp + 0x50]
push eax
push ecx
lea edx, [ebp + 0x38]
lea ecx, [ebp - 0x6c]
call fcn.004047c1
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00404779
pop ecx
push 0x64
mov ecx, edi
call fcn.004018e7
cmp eax, 0xffffffff
sete bl
lea ecx, [ebp - 0x6c]
call fcn.00402091
test bl, bl
je 0x407387
mov ecx, edi
call fcn.00401c4f
mov dword [ebp - 0x20], 1
push 0x461dc8
lea eax, [ebp - 0x20]
push eax
call fcn.0042ebd4
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 0x20]
call fcn.0040675e
mov edi, eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp + 0x20]
call fcn.00406721
mov esi, eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 0x20]
call fcn.0040675e
push dword [edi]
push dword [esi]
push dword [eax]
lea ecx, [ebp - 0x3c]
call fcn.00407cf5
add esp, 0xc
lea eax, [ebp - 0x304]
push eax
push 0x459698
lea edx, [ebp + 8]
lea ecx, [ebp - 0x6c]
call fcn.00406b5e
pop ecx
mov ecx, eax
call fcn.00404c42
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x6c]
call fcn.004034ff
cmp esi, 0xffffffff
jne 0x407430
sub esp, 0x18
mov ecx, esp
push 0x459594
call fcn.00402178
push 0x65
mov edi, dword [ebp - 0x18]
lea ecx, [edi + 4]
call fcn.004018e7
lea ecx, [edi + 4]
call fcn.00401c4f
mov dword [ebp - 0x24], 2
push 0x461dc8
lea eax, [ebp - 0x24]
jmp 0x407381
lea eax, [ebp - 0x304]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
je 0x407686
mov ebx, dword [ebp - 0x18]
cmp byte [ebx], 0
je 0x407462
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [ebx + 4]
call fcn.00401c4f
jmp 0x4076f5
test byte [ebp - 0x304], 0x10
je 0x407570
mov ecx, 0x4595d4
lea eax, [ebp - 0x2d8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4074a0
test dx, dx
je 0x40749c
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4074a0
add eax, 4
add ecx, 4
test dx, dx
jne 0x40747a
xor eax, eax
jmp 0x4074a5
sbb eax, eax
or eax, 1
test eax, eax
je 0x407570
mov ecx, 0x4596bc
lea eax, [ebp - 0x2d8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4074de
test dx, dx
je 0x4074da
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4074de
add eax, 4
add ecx, 4
test dx, dx
jne 0x4074b8
xor eax, eax
jmp 0x4074e3
sbb eax, eax
or eax, 1
test eax, eax
je 0x407570
push 0x4596b8
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x54]
call fcn.00403509
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0xb4]
call fcn.00406c3d
pop ecx
mov edx, eax
lea ecx, [ebp - 0x6c]
call fcn.00407d1f
pop ecx
lea ecx, [ebp - 0xb4]
call fcn.004034ff
lea ecx, [ebp - 0x54]
call fcn.004034ff
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 0x20]
push eax
call fcn.0040659e
sub esp, 0x18
mov ecx, esp
lea eax, [ebp - 0x6c]
push eax
call fcn.0040659e
mov ecx, ebx
call fcn.00407733
test al, al
jne 0x407568
mov dword [ebp - 0x28], 3
push 0x461dc8
lea eax, [ebp - 0x28]
jmp 0x407381
lea ecx, [ebp - 0x6c]
call fcn.004034ff
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x84]
call fcn.00403509
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x84]
call fcn.0040675e
mov edi, eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x84]
call fcn.00406721
mov esi, eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x84]
call fcn.0040675e
push dword [edi]
push dword [esi]
push dword [eax]
lea ecx, [ebp - 0x30]
call fcn.00407cf5
add esp, 8
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x84]
call fcn.00407b77
cmp eax, 0xffffffff
je 0x407673
push 0x250
lea eax, [ebp - 0x304]
push eax
lea ecx, [ebp - 0x54]
call fcn.0040219f
push eax
lea ecx, [ebp - 0x9c]
call fcn.0040209b
lea ecx, [ebp - 0x54]
call fcn.00402091
sub esp, 0x18
mov esi, esp
lea eax, [ebp - 0x9c]
push eax
push 0x467c58
lea edx, [ebp + 8]
lea ecx, [ebp - 0xb4]
call fcn.0041429c
mov edx, eax
lea ecx, [ebp - 0x54]
call fcn.00404779
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00404779
pop ecx
push 0x66
lea ecx, [ebx + 4]
call fcn.004018e7
cmp eax, 0xffffffff
sete bl
lea ecx, [ebp - 0x54]
call fcn.00402091
lea ecx, [ebp - 0xb4]
call fcn.00402091
test bl, bl
je 0x407673
mov dword [ebp - 0x2c], 4
push 0x461dc8
lea eax, [ebp - 0x2c]
jmp 0x407381
lea ecx, [ebp - 0x84]
call fcn.004034ff
mov esi, dword [ebp - 0x1c]
jmp 0x407430
or dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov edi, dword [ebp - 0x18]
sub esp, 0x18
mov esi, esp
lea eax, [ebp + 0x50]
push eax
push ecx
lea edx, [ebp + 0x38]
lea ecx, [ebp - 0x54]
call fcn.004047c1
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00404779
pop ecx
push 0x67
lea ecx, [edi + 4]
call fcn.004018e7
lea ecx, [ebp - 0x54]
call fcn.00402091
lea ecx, [edi + 4]
jmp 0x407458
push 0
push 0
jmp 0x407382
lea ecx, [ebp - 0x9c]
call fcn.00402091
lea ecx, [ebp + 8]
call fcn.004034ff
lea ecx, [ebp + 0x20]
call fcn.004034ff
lea ecx, [ebp + 0x38]
call fcn.00402091
lea ecx, [ebp + 0x50]
call fcn.00402091
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x60