Function at 0x41a1e0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x24c
push ebp
push edi
push esi
push ebx
mov ebp, dword [esp + 0x264]
mov edi, dword [esp + 0x268]
mov eax, dword [esp + 0x26c]
mov byte [eax], 0
mov edx, dword [esp + 0x270]
mov dword [edx], 0
mov ecx, dword [esp + 0x274]
mov dword [ecx], 0
mov ebx, dword [esp + 0x278]
mov dword [ebx], 0
mov esi, dword [esp + 0x27c]
mov dword [esi], 0
mov eax, dword [esp + 0x280]
mov dword [eax], 0
mov dword [eax + 4], 0
test ebp, ebp
je 0x41a0b4
cmp dword [0x4dfd64], ebp
jne 0x41a0b4
mov eax, dword [0x4dfd60]
inc eax
cmp eax, edi
jne 0x41a0b4
xor ecx, ecx
cmp ecx, ebp
jge 0x41a0a0
movzx edx, word [0x4ef770]
mov ebx, dword [esp + 0x260]
movsx eax, byte [ebx]
cmp edx, eax
jne 0x41a0a0
mov ebx, 0x4ef770
inc ecx
cmp ecx, ebp
jge 0x41a0a0
movzx edx, word [ebx + ecx*2]
mov esi, dword [esp + 0x260]
movsx eax, byte [ecx + esi]
cmp edx, eax
je 0x41a088
cmp ecx, ebp
jne 0x41a0b4
mov dword [0x4dfd60], edi
mov edi, 2
jmp 0x41a2a3
mov eax, dword [0x4dfd5c]
test eax, eax
je 0x41a0d3
add esp, 0xfffffff4
push eax
call sub.KERNEL32.dll_FindClose
mov dword [0x4dfd5c], 0
add esp, 0xc
mov dword [0x4dfd60], edi
test ebp, ebp
jne 0x41a110
call sub.KERNEL32.dll_GetLogicalDrives
xor ecx, ecx
bt eax, ecx
jae 0x41a0f0
dec edi
je 0x41a3b7
inc ecx
bt eax, ecx
jae 0x41a0fd
dec edi
je 0x41a3b7
inc ecx
cmp ecx, 0x19
jle 0x41a0e4
mov eax, 1
jmp 0x41a45e
xor ecx, ecx
lea eax, [ebp + ebp]
mov dword [esp + 0x1c], eax
cmp ecx, ebp
jge 0x41a1bb
mov ebx, 0x4ef770
mov eax, ebp
and eax, 3
test ebp, ebp
jle 0x41a169
test eax, eax
je 0x41a180
cmp eax, 1
jle 0x41a169
cmp eax, 2
jle 0x41a154
mov edx, dword [esp + 0x260]
movsx ax, byte [edx]
mov word [0x4ef770], ax
mov ecx, 1
mov esi, dword [esp + 0x260]
movsx ax, byte [ecx + esi]
mov word [ecx*2 + 0x4ef770], ax
inc ecx
mov edx, dword [esp + 0x260]
movsx ax, byte [ecx + edx]
mov word [ebx + ecx*2], ax
inc ecx
cmp ecx, ebp
jge 0x41a1bb
mov esi, esi
mov esi, dword [esp + 0x260]
movsx ax, byte [ecx + esi]
mov word [ebx + ecx*2], ax
lea edx, [ecx + 1]
movsx ax, byte [edx + esi]
mov word [ebx + edx*2], ax
lea edx, [ecx + 2]
movsx ax, byte [edx + esi]
mov word [ebx + edx*2], ax
lea edx, [ecx + 3]
movsx ax, byte [edx + esi]
mov word [ebx + edx*2], ax
add ecx, 4
cmp ecx, ebp
jl 0x41a180
mov eax, 0x4ef770
mov edx, dword [esp + 0x1c]
mov word [edx + eax], 0
mov dword [0x4dfd64], ebp
add esp, 0xfffffff8
push 0
push 0
push ebp
mov ecx, dword [esp + 0x274]
push ecx
push 0
push 0xfde9
call sub.KERNEL32.dll_MultiByteToWideChar
mov ebx, eax
add esp, 8
cmp ebx, 0x104
jle 0x41a203
mov eax, 2
jmp 0x41a45e
add esp, 0xfffffff8
push ebx
lea esi, [esp + 0x4c]
push esi
push ebp
mov eax, dword [esp + 0x274]
push eax
push 0
push 0xfde9
call sub.KERNEL32.dll_MultiByteToWideChar
lea ebp, [ebx + ebx]
mov word [ebp + esi], 0
add esp, 0xfffffffc
push esi
call fcn.00419d64
add esp, 0x10
test eax, eax
je 0x41a250
mov dword [0x4dfd64], 0
mov eax, 2
jmp 0x41a45e
cmp word [esi + ebx*2 - 2], 0x5c
je 0x41a260
mov word [ebp + esi], 0x5c
inc ebx
mov word [esi + ebx*2], 0x2a
mov word [esi + ebx*2 + 2], 0
add esp, 0xfffffff8
push 0x4ef520
push esi
call sub.KERNEL32.dll_FindFirstFileW
mov dword [0x4dfd5c], eax
add esp, 8
cmp eax, 0xffffffff
jne 0x41a2c2
call sub.KERNEL32.dll_GetLastError
mov edx, 2
cmp eax, 0x12
jne 0x41a29c
mov edx, 1
mov eax, edx
jmp 0x41a45e
add esp, 0xfffffff8
push 0x4ef520
push dword [0x4dfd5c]
call sub.KERNEL32.dll_FindNextFileW
add esp, 8
test eax, eax
je 0x41a413
dec edi
cmp word [0x4ef54c], 0x2e
jne 0x41a2e9
movzx eax, word [0x4ef54e]
test ax, ax
je 0x41a2e8
cmp ax, 0x2e
jne 0x41a2e9
cmp word [0x4ef550], 0
jne 0x41a2e9
inc edi
cmp edi, 1
jg 0x41a2a3
push 0
push 0
push 0x104
mov edx, dword [esp + 0x278]
push edx
push 0xffffffffffffffff
push 0x4ef54c
push 0
push 0xfde9
call sub.KERNEL32.dll_WideCharToMultiByte
mov ebx, eax
dec ebx
mov ecx, dword [esp + 0x270]
mov dword [ecx], ebx
add esp, 0xfffffff8
lea ebx, [esp + 0x30]
push ebx
push 0x4ef524
call sub.KERNEL32.dll_FileTimeToLocalFileTime
lea esi, [esp + 0x38]
push esi
push ebx
call sub.KERNEL32.dll_FileTimeToSystemTime
add esp, 0xfffffff8
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.00419ec8
mov edx, dword [esp + 0x294]
mov dword [edx], eax
add esp, 0x20
add esp, 0xfffffff8
push ebx
push 0x4ef534
call sub.KERNEL32.dll_FileTimeToLocalFileTime
push esi
push ebx
call sub.KERNEL32.dll_FileTimeToSystemTime
add esp, 0xfffffff8
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.00419ec8
mov ecx, dword [esp + 0x298]
mov dword [ecx], eax
add esp, 0x20
test byte [0x4ef520], 0x10
je 0x41a435
mov ebx, dword [esp + 0x27c]
mov dword [ebx], 1
jmp 0x41a45c
add cl, 0x41
mov esi, dword [esp + 0x26c]
mov byte [esi], cl
mov byte [esi + 1], 0x3a
mov eax, dword [esp + 0x270]
mov dword [eax], 2
mov edx, dword [esp + 0x274]
mov dword [edx], 0
mov ecx, dword [esp + 0x278]
mov dword [ecx], 0
mov ebx, dword [esp + 0x27c]
mov dword [ebx], 1
mov esi, dword [esp + 0x280]
mov dword [esi], 0
mov dword [esi + 4], 0
xor eax, eax
jmp 0x41a45e
add esp, 0xfffffff4
push dword [0x4dfd5c]
call sub.KERNEL32.dll_FindClose
mov dword [0x4dfd5c], 0
mov eax, 1
add esp, 0xc
jmp 0x41a45e
mov eax, dword [0x4ef540]
mov dword [esp + 0x20], eax
mov edx, dword [0x4ef53c]
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x280]
mov dword [eax], ebx
mov dword [eax + 4], esi
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
add esp, 0x24c
ret