Function at 0x44c460
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57bf9b
mov eax, dword fs:[0]
push eax
sub esp, 0x1dc
mov eax, dword [0x5fbea4]
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 - 0x1c8], edx
mov dword [ebp - 0x1c4], ecx
mov eax, dword [ebp + 8]
mov edx, ecx
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp + 0x18]
push str..
mov dword [ebp - 0x1cc], eax
call fcn.00452330
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1b4]
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
push ecx
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x1d0], esi
cmp esi, 0xffffffff
je 0x44c874
nop dword [eax]
nop dword [eax + eax]
cmp byte [ebp - 0x188], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jne 0x44c52f
xor ecx, ecx
jmp 0x44c541
lea ecx, [ebp - 0x188]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44c538
sub ecx, edx
push ecx
lea eax, [ebp - 0x188]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0044fdd0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
mov ecx, 0x5f3a90
mov esi, dword [ebp - 0x2c]
cmp edi, 0x10
cmovae eax, esi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x44c590
test dl, dl
je 0x44c58c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x44c590
add eax, 2
add ecx, 2
test dl, dl
jne 0x44c570
xor eax, eax
jmp 0x44c595
sbb eax, eax
or eax, 1
test eax, eax
je 0x44c81a
cmp edi, 0x10
lea eax, [ebp - 0x2c]
mov ecx, 0x5f3a94
cmovae eax, esi
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x44c5d0
test dl, dl
je 0x44c5cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x44c5d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x44c5b0
xor eax, eax
jmp 0x44c5d5
sbb eax, eax
or eax, 1
test eax, eax
je 0x44c81a
mov edx, dword [ebp - 0x1c4]
lea ecx, [ebp - 0x1e8]
push 0x5f3a98
call fcn.00452330
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.00452450
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1d4]
cmp eax, 0x10
jb 0x44c658
mov ecx, dword [ebp - 0x1e8]
inc eax
cmp eax, 0x1000
jb 0x44c64f
test cl, 0x1f
jne 0x44c898
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x44c898
sub ecx, eax
cmp ecx, 4
jb 0x44c898
cmp ecx, 0x23
ja 0x44c898
mov ecx, eax
push ecx
call fcn.0057a868
add esp, 4
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
mov dword [ebp - 0x1d4], 0xf
cmovae eax, dword [ebp - 0x44]
push eax
mov dword [ebp - 0x1d8], 0
mov byte [ebp - 0x1e8], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x44c6dc
test al, 0x10
je 0x44c6dc
mov esi, dword [ebp - 0x1c8]
lea ecx, [ebp - 0x2c]
mov edx, esi
call fcn.0044c220
test al, al
jne 0x44c7ca
mov edi, dword [ebp - 0x1cc]
lea ecx, [ebp - 0x44]
mov edx, edi
call fcn.0044c330
push edi
push dword [ebp - 0x1b8]
mov edx, esi
lea ecx, [ebp - 0x44]
push ebx
push dword [ebp - 0x1c0]
push dword [ebp - 0x1bc]
call fcn.0044c460
add esp, 0x14
jmp 0x44c7ca
mov eax, dword [ebp - 0x1bc]
mov esi, dword [eax]
mov edi, dword [eax + 4]
cmp esi, edi
je 0x44c708
nop dword [eax + eax]
push esi
lea ecx, [ebp - 0x2c]
call fcn.0044fca0
test eax, eax
je 0x44c7ca
add esi, 0x18
cmp esi, edi
jne 0x44c6f0
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 0x14], 0x2e
cmp ecx, 1
jb 0x44c757
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x2c]
lea edx, [ecx - 1]
cmp esi, 0x10
cmovae eax, edi
add edx, eax
cmp byte [edx], 0x2e
sete al
test al, al
je 0x44c73b
mov al, byte [edx]
lea ecx, [ebp - 0x14]
cmp al, byte [ecx]
je 0x44c74a
lea ecx, [ebp - 0x2c]
call fcn.0044fdc0
cmp edx, eax
je 0x44c757
dec edx
jmp 0x44c728
cmp esi, 0x10
lea eax, [ebp - 0x2c]
cmovae eax, edi
sub edx, eax
jmp 0x44c75a
or edx, 0xffffffff
cmp edx, 0xffffffff
je 0x44c7b6
push 0xffffffffffffffff
lea eax, [edx + 1]
push eax
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0044fd40
mov eax, dword [ebp - 0x1c0]
mov byte [ebp - 4], 5
mov esi, dword [eax]
mov edi, dword [eax + 4]
cmp esi, edi
je 0x44c798
push esi
lea ecx, [ebp - 0x74]
call fcn.0044fca0
test eax, eax
je 0x44c7ac
add esi, 0x18
cmp esi, edi
jne 0x44c784
mov edx, dword [ebp - 0x1b8]
lea eax, [ebp - 0x44]
push eax
mov ecx, ebx
call fcn.0044b990
add esp, 4
lea ecx, [ebp - 0x74]
call fcn.0044fff0
jmp 0x44c7ca
mov edx, dword [ebp - 0x1b8]
lea eax, [ebp - 0x44]
push eax
mov ecx, ebx
call fcn.0044b990
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x44c814
mov ecx, dword [ebp - 0x44]
inc eax
cmp eax, 0x1000
jb 0x44c80b
test cl, 0x1f
jne 0x44c898
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x44c898
sub ecx, eax
cmp ecx, 4
jb 0x44c898
cmp ecx, 0x23
ja 0x44c898
mov ecx, eax
push ecx
call fcn.0057a868
add esp, 4
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 0
cmp edi, 0x10
jb 0x44c851
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x44c848
test byte [ebp - 0x2c], 0x1f
jne 0x44c898
mov eax, dword [esi - 4]
cmp eax, esi
jae 0x44c898
sub esi, eax
cmp esi, 4
jb 0x44c898
cmp esi, 0x23
ja 0x44c898
mov esi, eax
push esi
call fcn.0057a868
add esp, 4
mov esi, dword [ebp - 0x1d0]
lea eax, [ebp - 0x1b4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x44c510
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x5c]
call fcn.0044fff0
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.0057a738
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3