Function at 0x44fc60
Capabilities:
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [0x5599f4]
mov edi, ecx
lea ebx, [ebp - 0x28]
lea edx, [edi + 0x294]
lea ecx, [edi + 0x30]
lea esi, [edi + 4]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x3c], ecx
lea edx, [edi + 0x258]
lea ecx, [edi + 0x278]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
jmp 0x44fcb7
mov ecx, ebx
call fcn.00401930
cmp byte [edi], 0
je 0x44fcf0
push esi
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x44fd80
cmp dword [edi + 0x254], 0xffffffff
jne 0x44fdec
jmp 0x44fee0
mov eax, dword [edi + 0x2a0]
cmp dword [edi + 0x29c], eax
je 0x44ff82
test eax, eax
jne 0x44fd0c
mov eax, dword [edi + 0x298]
mov ecx, dword [edi + 0x294]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8 - 0x18]
mov ecx, dword [ebp - 0x30]
push eax
call fcn.00410510
mov eax, dword [edi + 0x2a0]
test eax, eax
jne 0x44fd32
mov eax, dword [edi + 0x298]
dec eax
lea ecx, [eax + eax*2]
mov dword [edi + 0x2a0], eax
shl ecx, 3
add ecx, dword [edi + 0x294]
call fcn.00401930
mov ecx, dword [ebp - 0x34]
call fcn.00450240
mov eax, dword [edi + 0x290]
cmp eax, 1
je 0x44fd9b
test eax, eax
jne 0x44fdad
mov eax, dword [edi + 0x288]
cmp dword [edi + 0x28c], 7
mov edx, dword [ebp - 0x2c]
jbe 0x44fd79
mov edx, dword [edi + 0x278]
mov ecx, dword [ebp - 0x30]
push eax
push edx
jmp 0x44fda5
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x254], 0xffffffff
jmp 0x44fee0
mov ecx, dword [ebp - 0x30]
push 1
push 0x512b74
push ebx
call fcn.00411430
jmp 0x44fdb4
mov ecx, ebx
call fcn.004103c0
cmp dword [ebp - 0x14], 7
mov eax, ebx
jbe 0x44fdbf
mov eax, dword [ebp - 0x28]
push 2
push 0
push 0
push esi
push 1
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov ecx, ebx
mov dword [edi + 0x254], eax
mov byte [edi], 1
call fcn.00401930
cmp dword [edi + 0x254], 0xffffffff
je 0x44fee0
mov ebx, dword [ebp - 0x3c]
push ebx
call fcn.004dc2cd
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push ebx
lea ebx, [ebp - 0x28]
call fcn.00410460
mov ecx, edi
push ebx
call fcn.00450300
test al, al
jne 0x44fcb0
mov edx, ebx
mov ebx, dword [edi + 4]
mov ecx, dword [ebp - 0x30]
push edx
push dword [ebp + 8]
call fcn.00411d80
test bl, 0x10
je 0x44fea0
cmp byte [edi + 0x270], 0
je 0x44fea0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 7
jbe 0x44fe42
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
jb 0x44fea0
mov ecx, dword [ebp - 0x34]
push 1
call fcn.00450060
mov ecx, dword [edi + 0x2a0]
mov eax, dword [edi + 0x294]
lea ecx, [ecx + ecx*2]
lea ecx, [eax + ecx*8]
push dword [ebp + 8]
call fcn.004103e0
mov eax, dword [edi + 0x298]
mov ecx, dword [edi + 0x2a0]
mov edx, 0
dec eax
cmp ecx, eax
lea eax, [ecx + 1]
cmove eax, edx
mov dword [edi + 0x2a0], eax
nop word cs:[eax + eax]
and ebx, 0x10
mov ecx, edi
shr ebx, 4
push ebx
call fcn.00450460
mov esi, dword [ebp + 8]
test al, al
lea ebx, [ebp - 0x28]
je 0x44ff6c
mov eax, dword [edi + 0x290]
cmp eax, 1
je 0x44ff43
test eax, eax
jne 0x44ff6c
jmp 0x44ff8e
mov byte [edi], 0
cmp dword [edi + 0x290], 0
jne 0x44fcb7
mov eax, dword [edi + 0x28c]
test eax, eax
je 0x44ff1c
cmp eax, 8
mov eax, dword [ebp - 0x2c]
jb 0x44ff07
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [edi + 0x288], 1
mov dword [eax], 0x2a
jmp 0x44fcb7
sub esp, 0xc
movzx eax, byte [ebp - 0x28]
mov byte [esp + 4], al
mov dword [esp + 8], 0x512b74
mov dword [esp], 1
mov ecx, dword [ebp - 0x2c]
call fcn.00401822
jmp 0x44fcb7
cmp dword [edi + 0x28c], 8
mov eax, dword [ebp - 0x2c]
jb 0x44ff54
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
cmp dword [ebp - 0x14], 7
mov ecx, ebx
jbe 0x44ff5f
mov ecx, dword [ebp - 0x28]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x44ff8e
mov ecx, esi
call fcn.00401930
mov ecx, ebx
call fcn.00401930
mov esi, dword [ebp - 0x38]
jmp 0x44fcb7
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004103c0
jmp 0x44ff96
lea ecx, [ebp - 0x28]
call fcn.00401930
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d4bc8
mov eax, esi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret 4