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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [0x4f002c]
mov edi, ecx
lea ecx, [ebp - 0x34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0
call fcn.0041f330
lea ecx, [edi + 0x30]
lea esi, [edi + 4]
lea eax, [edi + 0x294]
lea edx, [edi + 0x258]
lea ebx, [ebp - 0x28]
mov dword [ebp - 0x44], ecx
lea ecx, [edi + 0x278]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x38], ecx
jmp 0x4197a7
mov ecx, ebx
call fcn.0040fa30
cmp byte [edi], 0
je 0x4197e0
push esi
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x419890
cmp dword [edi + 0x254], 0xffffffff
jne 0x419922
jmp 0x419940
mov eax, dword [edi + 0x2a0]
cmp dword [edi + 0x29c], eax
je 0x419ae6
mov ecx, dword [edi + 0x298]
test eax, eax
cmove eax, ecx
dec eax
cmp ecx, eax
jb 0x419b1a
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 0x3c]
shl eax, 3
add eax, dword [edi + 0x294]
push eax
call fcn.0040fa90
mov edx, dword [edi + 0x2a0]
mov ecx, dword [edi + 0x298]
test edx, edx
je 0x4198ab
lea eax, [edx - 1]
cmp ecx, edx
mov dword [edi + 0x2a0], eax
jb 0x419b29
cmp ecx, eax
jb 0x419b24
cmp edx, 0x80000000
je 0x419b1f
mov ebx, dword [ebp - 0x40]
lea eax, [eax + eax*2]
mov ecx, dword [ebx]
lea ecx, [ecx + eax*8]
call fcn.0040fa30
mov ecx, ebx
call fcn.00419ed0
mov eax, dword [edi + 0x290]
test eax, eax
je 0x4198bf
cmp eax, 1
lea ebx, [ebp - 0x28]
jne 0x4198e7
mov ecx, dword [ebp - 0x3c]
push 1
push 0x4cd520
jmp 0x4198df
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x254], 0xffffffff
jmp 0x419940
lea eax, [ecx - 1]
mov edx, ecx
mov dword [edi + 0x2a0], eax
cmp ecx, eax
jae 0x419848
jmp 0x419b24
mov eax, dword [edi + 0x288]
cmp dword [edi + 0x28c], 7
mov edx, dword [ebp - 0x38]
lea ebx, [ebp - 0x28]
jbe 0x4198da
mov edx, dword [edi + 0x278]
mov ecx, dword [ebp - 0x3c]
push eax
push edx
push ebx
call fcn.00410cd0
jmp 0x4198ee
mov ecx, ebx
call fcn.0040f840
cmp dword [ebp - 0x14], 7
mov eax, ebx
jbe 0x4198f9
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.0040fa30
cmp dword [edi + 0x254], 0xffffffff
je 0x419940
mov eax, dword [ebp - 0x44]
cmp word [eax], 0
je 0x419980
xor eax, eax
nop dword [eax]
cmp word [edi + eax*2 + 0x32], 0
lea eax, [eax + 1]
jne 0x419930
jmp 0x419982
mov byte [edi], 0
cmp dword [edi + 0x290], 0
jne 0x4197a7
mov eax, dword [edi + 0x28c]
test eax, eax
je 0x419a30
cmp eax, 8
mov eax, dword [ebp - 0x38]
jb 0x41996b
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [edi + 0x288], 1
mov dword [eax], 0x2a
jmp 0x4197a7
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp - 0x44]
call fcn.0040f980
mov ecx, edi
push ebx
call fcn.00420d40
test al, al
jne 0x4197a0
mov edx, ebx
mov ebx, dword [edi + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x3c]
push edx
mov esi, eax
push eax
call fcn.00411270
test bl, 0x10
je 0x419a80
cmp byte [edi + 0x270], 0
je 0x419a80
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x4199d1
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x419a80
mov ecx, dword [ebp - 0x40]
push 1
call fcn.00419c30
mov eax, dword [edi + 0x2a0]
cmp dword [edi + 0x298], eax
jb 0x419b2e
lea ecx, [eax + eax*2]
shl ecx, 3
add ecx, dword [edi + 0x294]
push esi
call fcn.0040f860
mov edx, dword [edi + 0x298]
mov ecx, dword [edi + 0x2a0]
lea eax, [edx - 1]
cmp ecx, eax
jne 0x419a56
mov dword [edi + 0x2a0], 0
jmp 0x419a67
sub esp, 0xc
mov al, byte [ebp - 0x28]
mov byte [esp + 4], al
mov dword [esp + 8], 0x4cd520
mov dword [esp], 1
mov ecx, dword [ebp - 0x38]
call fcn.00402b9a
jmp 0x4197a7
mov dword [ebp - 0x48], edx
mov edx, ecx
inc edx
mov dword [edi + 0x2a0], edx
mov edx, dword [ebp - 0x48]
jne 0x419a69
mov ecx, eax
cmp edx, ecx
jb 0x419b33
nop word cs:[eax + eax]
nop dword [eax + eax]
and ebx, 0x10
mov ecx, edi
shr ebx, 4
push ebx
call fcn.00420eb0
test al, al
mov eax, esi
mov esi, dword [ebp - 0x4c]
lea ebx, [ebp - 0x28]
je 0x419ada
mov eax, dword [edi + 0x290]
cmp eax, 1
je 0x419aae
test eax, eax
mov eax, dword [ebp + 8]
jne 0x419ada
jmp 0x419af2
cmp dword [edi + 0x28c], 8
mov eax, dword [ebp - 0x38]
jb 0x419abf
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp dword [ebp - 0x14], 7
mov ecx, ebx
jbe 0x419aca
mov ecx, dword [ebp - 0x28]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
mov eax, dword [ebp + 8]
je 0x419af2
mov ecx, eax
call fcn.0040fa30
jmp 0x4197a0
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0040f840
jmp 0x419afc
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0040fa30
lea ecx, [ebp - 0x34]
call fcn.0041f3e0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048bd44
mov eax, esi
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3
int3
int3
int3
int3
int3