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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402b88
push 0x45ea34
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x574
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
or dword [ebp - 0x37c], 0xffffffff
mov al, byte [0x460a68]
mov byte [ebp - 0x11c], al
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x11b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x374], 5
mov byte [ebp - 0x36c], 4
and dword [ebp - 0x368], 0
mov byte [ebp - 0x36b], 0x10
push 0x409
call fcn.004252ac
pop ecx
mov dword [ebp - 0x364], eax
mov dword [ebp - 0x370], 0x2700
lea eax, [ebp - 0x374]
push eax
push 1
pop esi
push esi
push 0x414
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x378], esi
and dword [ebp - 4], 0
push 0x40aad4
push dword [ebp + 0xc]
mov ebx, 0x40aa14
push ebx
push 0x104
lea eax, [ebp - 0x360]
push eax
mov esi, dword [sym.imp.MSVCRT.dll__snprintf]
call esi
add esp, 0x14
and byte [ebp - 0x25d], 0
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x360]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x37c], eax
cmp eax, 0xffffffff
je 0x42101c
mov eax, 0x40aad0
lea edi, [ebp - 0x230]
mov dl, byte [edi]
mov cl, dl
cmp dl, byte [eax]
jne 0x420f02
test cl, cl
je 0x420efe
mov dl, byte [edi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x420f02
inc edi
inc edi
inc eax
inc eax
test cl, cl
jne 0x420ee0
xor eax, eax
jmp 0x420f07
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x421001
mov eax, 0x40aacc
lea edi, [ebp - 0x230]
mov dl, byte [edi]
mov cl, dl
cmp dl, byte [eax]
jne 0x420f3c
test cl, cl
je 0x420f38
mov dl, byte [edi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x420f3c
inc edi
inc edi
inc eax
inc eax
test cl, cl
jne 0x420f1a
xor eax, eax
jmp 0x420f41
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x421001
test byte [ebp - 0x25c], 0x10
je 0x421001
test byte [ebp - 0x25c], 2
jne 0x421001
mov byte [ebp - 0x36b], 0x50
lea eax, [ebp - 0x230]
mov dword [ebp - 0x364], eax
mov eax, dword [ebp - 0x378]
add eax, 0x2700
mov dword [ebp - 0x370], eax
push 2
pop eax
mov dword [ebp - 0x368], eax
mov dword [ebp - 0x374], eax
lea eax, [ebp - 0x230]
push eax
push dword [ebp + 0xc]
push ebx
push 0x103
lea eax, [ebp - 0x11c]
push eax
call esi
lea eax, [ebp - 0x11c]
push eax
call fcn.0045a30a
add esp, 0x18
test eax, eax
je 0x420fd1
push 8
pop eax
mov dword [ebp - 0x368], eax
mov dword [ebp - 0x374], eax
cmp dword [0x4766c8], 0
je 0x420fe4
mov dword [ebp - 0x374], 0xfffffffe
lea eax, [ebp - 0x374]
push eax
push 1
push 0x414
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
inc dword [ebp - 0x378]
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x37c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x420ed5
push dword [ebp - 0x37c]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x40aad4
push dword [ebp + 0xc]
push ebx
push 0x104
lea eax, [ebp - 0x360]
push eax
call esi
add esp, 0x14
and byte [ebp - 0x25d], 0
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x360]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x37c], eax
cmp eax, 0xffffffff
je 0x42129a
mov eax, 0x40aad0
lea edi, [ebp - 0x230]
mov dl, byte [edi]
mov cl, dl
cmp dl, byte [eax]
jne 0x421099
test cl, cl
je 0x421095
mov dl, byte [edi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x421099
inc edi
inc edi
inc eax
inc eax
test cl, cl
jne 0x421077
xor eax, eax
jmp 0x42109e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x421261
mov eax, 0x40aacc
lea edi, [ebp - 0x230]
mov dl, byte [edi]
mov cl, dl
cmp dl, byte [eax]
jne 0x4210d3
test cl, cl
je 0x4210cf
mov dl, byte [edi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x4210d3
inc edi
inc edi
inc eax
inc eax
test cl, cl
jne 0x4210b1
xor eax, eax
jmp 0x4210d8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x421261
test byte [ebp - 0x25c], 0x12
jne 0x421261
push 0x41
pop ecx
xor eax, eax
lea edi, [ebp - 0x480]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x230]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 4
pop edi
sub ecx, edi
push ecx
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x480]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push dword [ebp + 0xc]
push ebx
push 0x104
lea eax, [ebp - 0x584]
push eax
call esi
add esp, 0x14
and byte [ebp - 0x481], 0
lea eax, [ebp - 0x584]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 2
jne 0x421261
mov byte [ebp - 0x36b], 0x50
lea eax, [ebp - 0x480]
mov dword [ebp - 0x364], eax
mov eax, dword [ebp - 0x378]
add eax, 0x2700
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x230]
push eax
push dword [ebp + 0xc]
push ebx
push 0x103
lea eax, [ebp - 0x11c]
push eax
call esi
lea eax, [ebp - 0x230]
push eax
call fcn.00427325
add esp, 0x18
test eax, eax
je 0x4211be
push 3
pop eax
mov dword [ebp - 0x374], eax
mov dword [ebp - 0x368], eax
jmp 0x4211df
lea eax, [ebp - 0x230]
push eax
call fcn.004272c6
pop ecx
test eax, eax
je 0x421261
mov dword [ebp - 0x374], edi
mov dword [ebp - 0x368], edi
lea eax, [ebp - 0x11c]
push eax
call fcn.0045a30a
pop ecx
test eax, eax
je 0x421225
lea eax, [ebp - 0x230]
push eax
call fcn.00427325
pop ecx
test eax, eax
je 0x421205
push 7
jmp 0x421218
lea eax, [ebp - 0x230]
push eax
call fcn.004272c6
pop ecx
test eax, eax
je 0x421225
push 9
pop eax
mov dword [ebp - 0x374], eax
mov dword [ebp - 0x368], eax
cmp dword [0x4766c8], 0
je 0x421238
mov dword [ebp - 0x374], 0xfffffffe
lea eax, [ebp - 0x374]
push eax
push 1
push 0x414
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
inc dword [ebp - 0x378]
cmp dword [ebp - 0x378], 0x100
jg 0x42128e
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x37c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42106c
jmp 0x42128e
push dword [ebp - 0x37c]
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 4], 0xffffffff
push 1
pop eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret