Function at 0x41bac0
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 0x41b994
cmp dword [0x4f5d64], ebp
jne 0x41b994
mov eax, dword [0x4f5d60]
inc eax
cmp eax, edi
jne 0x41b994
xor ecx, ecx
cmp ecx, ebp
jge 0x41b980
movzx edx, word [0x505770]
mov ebx, dword [esp + 0x260]
movsx eax, byte [ebx]
cmp edx, eax
jne 0x41b980
mov ebx, 0x505770
inc ecx
cmp ecx, ebp
jge 0x41b980
movzx edx, word [ebx + ecx*2]
mov esi, dword [esp + 0x260]
movsx eax, byte [ecx + esi]
cmp edx, eax
je 0x41b968
cmp ecx, ebp
jne 0x41b994
mov dword [0x4f5d60], edi
mov edi, 2
jmp 0x41bb83
mov eax, dword [0x4f5d5c]
test eax, eax
je 0x41b9b3
add esp, 0xfffffff4
push eax
call sub.KERNEL32.dll_FindClose
mov dword [0x4f5d5c], 0
add esp, 0xc
mov dword [0x4f5d60], edi
test ebp, ebp
jne 0x41b9f0
call sub.KERNEL32.dll_GetLogicalDrives
xor ecx, ecx
bt eax, ecx
jae 0x41b9d0
dec edi
je 0x41bc97
inc ecx
bt eax, ecx
jae 0x41b9dd
dec edi
je 0x41bc97
inc ecx
cmp ecx, 0x19
jle 0x41b9c4
mov eax, 1
jmp 0x41bd3e
xor ecx, ecx
lea eax, [ebp + ebp]
mov dword [esp + 0x1c], eax
cmp ecx, ebp
jge 0x41ba9b
mov ebx, 0x505770
mov eax, ebp
and eax, 3
test ebp, ebp
jle 0x41ba49
test eax, eax
je 0x41ba60
cmp eax, 1
jle 0x41ba49
cmp eax, 2
jle 0x41ba34
mov edx, dword [esp + 0x260]
movsx ax, byte [edx]
mov word [0x505770], ax
mov ecx, 1
mov esi, dword [esp + 0x260]
movsx ax, byte [ecx + esi]
mov word [ecx*2 + 0x505770], 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 0x41ba9b
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 0x41ba60
mov eax, 0x505770
mov edx, dword [esp + 0x1c]
mov word [edx + eax], 0
mov dword [0x4f5d64], 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 0x41bae3
mov eax, 2
jmp 0x41bd3e
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.0041b644
add esp, 0x10
test eax, eax
je 0x41bb30
mov dword [0x4f5d64], 0
mov eax, 2
jmp 0x41bd3e
cmp word [esi + ebx*2 - 2], 0x5c
je 0x41bb40
mov word [ebp + esi], 0x5c
inc ebx
mov word [esi + ebx*2], 0x2a
mov word [esi + ebx*2 + 2], 0
add esp, 0xfffffff8
push 0x505520
push esi
call sub.KERNEL32.dll_FindFirstFileW
mov dword [0x4f5d5c], eax
add esp, 8
cmp eax, 0xffffffff
jne 0x41bba2
call sub.KERNEL32.dll_GetLastError
mov edx, 2
cmp eax, 0x12
jne 0x41bb7c
mov edx, 1
mov eax, edx
jmp 0x41bd3e
add esp, 0xfffffff8
push 0x505520
push dword [0x4f5d5c]
call sub.KERNEL32.dll_FindNextFileW
add esp, 8
test eax, eax
je 0x41bcf3
dec edi
cmp word [0x50554c], 0x2e
jne 0x41bbc9
movzx eax, word [0x50554e]
test ax, ax
je 0x41bbc8
cmp ax, 0x2e
jne 0x41bbc9
cmp word [0x505550], 0
jne 0x41bbc9
inc edi
cmp edi, 1
jg 0x41bb83
push 0
push 0
push 0x104
mov edx, dword [esp + 0x278]
push edx
push 0xffffffffffffffff
push 0x50554c
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 0x505524
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.0041b7a8
mov edx, dword [esp + 0x294]
mov dword [edx], eax
add esp, 0x20
add esp, 0xfffffff8
push ebx
push 0x505534
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.0041b7a8
mov ecx, dword [esp + 0x298]
mov dword [ecx], eax
add esp, 0x20
test byte [0x505520], 0x10
je 0x41bd15
mov ebx, dword [esp + 0x27c]
mov dword [ebx], 1
jmp 0x41bd3c
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 0x41bd3e
add esp, 0xfffffff4
push dword [0x4f5d5c]
call sub.KERNEL32.dll_FindClose
mov dword [0x4f5d5c], 0
mov eax, 1
add esp, 0xc
jmp 0x41bd3e
mov eax, dword [0x505540]
mov dword [esp + 0x20], eax
mov edx, dword [0x50553c]
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