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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dcfc6
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x7b2214]
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 edi, ecx
push 0x140
lea eax, [ebp - 0x45c]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.00668940
push 0x104
lea eax, [ebp - 0x31c]
push 0
push eax
call fcn.00668940
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov esi, 1
cmovae eax, dword [ebp + 8]
push eax
push 0x76a040
lea eax, [ebp - 0x31c]
push 0x104
push eax
call fcn.0044ee70
add esp, 0x28
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x31c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x445b79
xor esi, esi
jmp 0x445d7b
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x445bb0
sub esp, 0x18
lea eax, [ebp + 0x20]
mov ecx, esp
push eax
call fcn.0042fd80
call fcn.004438b0
add esp, 0x18
nop word [eax + eax]
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00668940
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00668940
mov al, byte [ebp - 0x42f]
add esp, 0x18
cmp byte [ebp - 0x430], 0x2e
jne 0x445bf0
test al, al
je 0x445d5e
cmp al, 0x2e
jne 0x445c01
cmp byte [ebp - 0x42e], 0
je 0x445d5e
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x430]
push ecx
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0x76a048
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0044ee70
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp - 0x430]
push ecx
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
push 0x76a048
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0044ee70
add esp, 0x28
sub esp, 0x18
test byte [ebp - 0x45c], 0x10
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
je 0x445ce5
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x460], esp
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x445c84
sub ecx, esi
lea eax, [ebp - 0x114]
push ecx
push eax
mov ecx, edx
call fcn.00430430
sub esp, 0x18
mov byte [ebp - 4], 2
mov edx, esp
lea ecx, [ebp - 0x218]
lea esi, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x445cc0
sub ecx, esi
lea eax, [ebp - 0x218]
push ecx
push eax
mov ecx, edx
call fcn.00430430
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00445ad0
jmp 0x445d51
lea eax, [ebp - 0x114]
mov dword [ebp - 0x464], esp
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x445cf4
sub eax, esi
mov ecx, edx
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00430430
sub esp, 0x18
mov byte [ebp - 4], 3
mov edx, esp
lea ecx, [ebp - 0x218]
lea esi, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x445d30
sub ecx, esi
lea eax, [ebp - 0x218]
push ecx
push eax
mov ecx, edx
call fcn.00430430
mov byte [ebp - 4], 1
call fcn.00444fe0
mov esi, eax
add esp, 0x30
test esi, esi
jne 0x445d5e
test edi, edi
je 0x445d74
lea eax, [ebp - 0x45c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x445bb0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x445dab
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x445da1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445e0b
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x445ded
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x445de3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445e10
push edx
push ecx
call fcn.0062a23d
add esp, 8
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.00629f1d
mov esp, ebp
pop ebp
ret
call fcn.0068843e
call fcn.0068843e
int3