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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dcef9
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x7b2214]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x478], edi
push 0x140
lea eax, [ebp - 0x46c]
mov dword [ebp - 4], 2
push 0
push eax
call fcn.00668940
add esp, 0xc
lea eax, [ebp - 0x32c]
push 0x104
push 0
push eax
call fcn.00668940
add esp, 0xc
lea eax, [ebp + 0x14]
cmp dword [ebp + 0x28], 0x10
mov ebx, 1
mov dword [ebp - 0x470], ebx
cmovae eax, dword [ebp + 0x14]
push eax
push 0x76a040
lea eax, [ebp - 0x32c]
push 0x104
push eax
call fcn.0044ee70
add esp, 0x10
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x32c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x47c], eax
cmp eax, 0xffffffff
jne 0x4452cf
xor ebx, ebx
jmp 0x44557c
cmp dword [ebp + 0x40], 0x10
lea eax, [ebp + 0x2c]
cmovae eax, dword [ebp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x445300
sub esp, 0x18
lea eax, [ebp + 0x2c]
mov ecx, esp
push eax
call fcn.0042fd80
call fcn.004438b0
add esp, 0x18
nop dword [eax]
push 0x104
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.00668940
add esp, 0xc
lea eax, [ebp - 0x11c]
push 0x104
push 0
push eax
call fcn.00668940
mov al, byte [ebp - 0x43f]
add esp, 0xc
cmp byte [ebp - 0x440], 0x2e
jne 0x445343
test al, al
je 0x44554f
cmp al, 0x2e
jne 0x445354
cmp byte [ebp - 0x43e], 0
je 0x44554f
mov ecx, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
mov esi, dword [ebp + 8]
xor ebx, ebx
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4453be
xor edi, edi
cmp dword [esi + edi + 0x14], 0x10
lea eax, [esi + edi]
jb 0x44537f
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x440]
push eax
call fcn.00688f1f
add esp, 8
test eax, eax
je 0x445549
mov ecx, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
mov esi, dword [ebp + 8]
inc ebx
sub ecx, esi
add edi, 0x18
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x445373
mov edi, dword [ebp - 0x478]
cmp dword [ebp + 0x28], 0x10
lea ecx, [ebp - 0x440]
push ecx
lea eax, [ebp + 0x14]
cmovae eax, dword [ebp + 0x14]
push eax
push 0x76a048
lea eax, [ebp - 0x224]
push 0x104
push eax
call fcn.0044ee70
add esp, 0x14
lea ecx, [ebp - 0x440]
cmp dword [ebp + 0x40], 0x10
lea eax, [ebp + 0x2c]
cmovae eax, dword [ebp + 0x2c]
push ecx
push eax
push 0x76a048
lea eax, [ebp - 0x11c]
push 0x104
push eax
call fcn.0044ee70
add esp, 0x14
lea ecx, [ebp - 0x11c]
sub esp, 0x18
lea esi, [ecx + 1]
test byte [ebp - 0x46c], 0x10
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
je 0x4454d2
mov dword [ebp - 0x474], esp
mov al, byte [ecx]
inc ecx
test al, al
jne 0x445448
sub ecx, esi
lea eax, [ebp - 0x11c]
push ecx
push eax
mov ecx, edx
call fcn.00430430
sub esp, 0x18
mov byte [ebp - 4], 3
mov edx, esp
mov dword [ebp - 0x470], esp
lea ecx, [ebp - 0x224]
lea esi, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x445490
sub ecx, esi
lea eax, [ebp - 0x224]
push ecx
push eax
mov ecx, edx
call fcn.00430430
sub esp, 0xc
mov byte [ebp - 4], 4
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0042f8a0
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00445210
mov ebx, eax
add esp, 0x3c
mov dword [ebp - 0x470], ebx
jmp 0x44553f
mov dword [ebp - 0x480], esp
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4454d8
sub ecx, esi
lea eax, [ebp - 0x11c]
push ecx
push eax
mov ecx, edx
call fcn.00430430
sub esp, 0x18
mov byte [ebp - 4], 5
mov edx, esp
lea ecx, [ebp - 0x224]
lea esi, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x445513
sub ecx, esi
lea eax, [ebp - 0x224]
push ecx
push eax
mov ecx, edx
call fcn.00430430
mov byte [ebp - 4], 2
call fcn.00444fe0
add esp, 0x30
mov dword [ebp - 0x470], eax
mov ebx, eax
test ebx, ebx
jne 0x44554f
test edi, edi
je 0x445570
jmp 0x44554f
mov ebx, dword [ebp - 0x470]
lea eax, [ebp - 0x46c]
push eax
push dword [ebp - 0x47c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov edi, dword [ebp - 0x478]
test eax, eax
jne 0x445300
push dword [ebp - 0x47c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 0x28]
cmp edx, 0x10
jb 0x4455b0
mov ecx, dword [ebp + 0x14]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4455a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44562a
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov edx, dword [ebp + 0x40]
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x28], 0xf
mov byte [ebp + 0x14], 0
cmp edx, 0x10
jb 0x4455f2
mov ecx, dword [ebp + 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4455e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44562f
push edx
push ecx
call fcn.0062a23d
add esp, 8
lea ecx, [ebp + 8]
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x40], 0xf
mov byte [ebp + 0x2c], 0
call fcn.00430110
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00629f1d
mov esp, ebp
pop ebp
ret
call fcn.0068843e
call fcn.0068843e
int3