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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x51a0a0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x58], eax
nop dword [eax + eax]
mov al, byte [esi]
test al, al
jne 0x44d7b1
cmp dword [esi + 0x2a4], 0
je 0x44d981
test al, al
jne 0x44d7b1
mov ecx, dword [esi + 0x2a4]
xor eax, eax
add ecx, dword [esi + 0x2a0]
mov edx, dword [esi + 0x294]
test edx, edx
je 0x44d69f
mov edx, dword [edx]
test edx, edx
je 0x44d69f
mov eax, dword [edx]
lea edx, [ecx - 1]
test eax, eax
je 0x44d6b6
mov eax, dword [eax]
test eax, eax
je 0x44d6b6
mov eax, dword [eax]
test eax, eax
je 0x44d6b6
mov eax, dword [eax]
jmp 0x44d6b8
xor eax, eax
mov ecx, dword [eax + 8]
lea edi, [esi + 0x258]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
mov eax, dword [eax + ecx*4]
cmp edi, eax
je 0x44d6da
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.0041b960
mov eax, dword [esi + 0x2a4]
mov ecx, dword [esi + 0x2a0]
dec eax
add ecx, eax
mov eax, dword [esi + 0x29c]
dec eax
and ecx, eax
mov eax, dword [esi + 0x298]
mov ecx, dword [eax + ecx*4]
call fcn.0043ef40
add dword [esi + 0x2a4], 0xffffffff
jne 0x44d713
mov dword [esi + 0x2a0], 0
mov eax, dword [esi + 0x290]
sub eax, 0
je 0x44d74d
sub eax, 1
je 0x44d739
xor eax, eax
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
jmp 0x44d788
sub esp, 8
mov eax, esp
mov dword [eax], 0x503a78
mov dword [eax + 4], 1
jmp 0x44d774
sub esp, 8
cmp dword [esi + 0x28c], 8
mov edx, esp
jb 0x44d763
mov eax, dword [esi + 0x278]
jmp 0x44d769
lea eax, [esi + 0x278]
mov dword [edx], eax
mov eax, dword [esi + 0x288]
mov dword [edx + 4], eax
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.0043fdb0
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x44d78b
lea eax, [ebp - 0x38]
push 2
push 0
push 0
lea ebx, [esi + 4]
push ebx
push 1
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
lea ecx, [ebp - 0x38]
mov dword [esi + 0x254], eax
mov byte [esi], 1
call fcn.0043ef40
jmp 0x44d7db
lea eax, [esi + 4]
push eax
push dword [esi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44d7db
push dword [esi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esi + 0x254], 0xffffffff
cmp dword [esi + 0x254], 0xffffffff
jne 0x44d80b
cmp dword [esi + 0x290], 0
mov byte [esi], 0
jne 0x44d660
push 1
push 0x503a78
lea ecx, [esi + 0x278]
call fcn.0041b8e7
jmp 0x44d660
lea edx, [esi + 0x30]
test edx, edx
jne 0x44d816
xor ecx, ecx
jmp 0x44d834
cmp word [edx], 0
jne 0x44d820
xor ecx, ecx
jmp 0x44d834
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44d825
sub ecx, edi
sar ecx, 1
xor eax, eax
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], ax
mov ebx, 7
mov dword [ebp - 0xc], ebx
test ecx, ecx
jne 0x44d858
xor edi, edi
mov word [ebp - 0x20], ax
mov dword [ebp - 0x10], edi
jmp 0x44d868
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.0041b8e7
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
xor eax, eax
lea ecx, [ebp - 0x20]
push 1
push eax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x54]
push eax
call fcn.00424226
mov ecx, eax
cmp ecx, 0xffffffff
je 0x44d89f
cmp edi, ecx
jb 0x44d9f5
cmp ebx, 8
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
xor edx, edx
mov word [eax + ecx*2], dx
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.00451f10
test al, al
je 0x44d8bb
lea ecx, [ebp - 0x20]
call fcn.0043ef40
jmp 0x44d660
mov ebx, dword [esi + 4]
lea eax, [ebp - 0x20]
sub esp, 8
shr ebx, 4
cmp dword [ebp - 0xc], 8
mov ecx, esp
cmovae eax, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [esi + 0x258]
call fcn.0043fdb0
and bl, 1
je 0x44d91e
cmp byte [esi + 0x270], 0
je 0x44d91e
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x44d91e
lea eax, [ebp - 0x50]
push eax
lea ecx, [esi + 0x294]
call fcn.0044dad0
xor eax, eax
test bl, bl
setne al
inc eax
test dword [esi + 0x274], eax
je 0x44d96c
mov eax, dword [esi + 0x290]
sub eax, 0
je 0x44d9ac
sub eax, 1
jne 0x44d96c
cmp dword [esi + 0x28c], 8
lea ecx, [esi + 0x278]
jb 0x44d94f
mov ecx, dword [ecx]
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
push ecx
cmovae eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
sete al
test al, al
jne 0x44d9ac
lea ecx, [ebp - 0x50]
call fcn.0043ef40
lea ecx, [ebp - 0x20]
call fcn.0043ef40
jmp 0x44d660
mov ecx, dword [ebp - 0x58]
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0x58]
xor eax, eax
push 0xffffffffffffffff
push eax
mov ecx, ebx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
lea eax, [ebp - 0x50]
push eax
call fcn.0041b960
lea ecx, [ebp - 0x50]
call fcn.0043ef40
lea ecx, [ebp - 0x20]
call fcn.0043ef40
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x20]
call fcn.0041cbaf
int3