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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436170
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x360
mov eax, dword [0x44500c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
mov dword [ebp - 0x36c], edi
mov dword [ebp - 0x348], 0
mov dword [ebp - 0x358], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x348], 1
call fcn.004168e0
add eax, 0x14
lea ecx, [ebp - 0x368]
push eax
call fcn.0041bcb0
mov dword [ebp - 0x348], 3
xor ecx, ecx
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x368]
mov eax, 0x92492493
mov dword [ebp - 0x354], ecx
mov ecx, dword [ebp - 0x364]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41bc4f
xor edi, edi
mov dword [ebp - 0x35c], edi
nop dword [eax + eax]
lea eax, [esi + edi]
push eax
lea ecx, [ebp - 0x64]
call fcn.00415280
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x368]
cmp dword [ebp - 0x50], 8
mov esi, dword [eax + edi + 0x18]
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push eax
mov dword [ebp - 0x344], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x41bbac
push str..
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0xc4]
call fcn.00415510
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x41b718
mov eax, dword [eax]
lea ecx, [ebp - 0x340]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0xb0]
mov edi, eax
mov dword [ebp - 0x34c], edi
cmp edx, 8
jb 0x41b76e
mov ecx, dword [ebp - 0xc4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b764
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bc7c
push edx
push ecx
call fcn.00432a88
add esp, 8
xor eax, eax
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
nop dword [eax + eax]
mov ecx, 0x43ba28
lea eax, [ebp - 0x314]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41b7c6
test dx, dx
je 0x41b7c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41b7c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41b7a0
xor eax, eax
jmp 0x41b7cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x41ba1c
mov ecx, 0x43ba2c
lea eax, [ebp - 0x314]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41b806
test dx, dx
je 0x41b802
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41b806
add eax, 4
add ecx, 4
test dx, dx
jne 0x41b7e0
xor eax, eax
jmp 0x41b80b
sbb eax, eax
or eax, 1
test eax, eax
je 0x41ba1c
xor eax, eax
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x314]
mov dword [ebp - 0x18], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b830
sub eax, edx
lea ecx, [ebp - 0x2c]
sar eax, 1
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00415360
mov byte [ebp - 4], 3
test byte [ebp - 0x340], 0x10
je 0x41b8a3
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x41ba1c
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b894
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bc7c
push edx
push ecx
call fcn.00432a88
add esp, 8
jmp 0x41ba1c
test esi, esi
jle 0x41ba4a
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x32c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xec]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
movzx eax, word [ebp - 0x30]
mov dword [ebp - 0x88], eax
movzx eax, word [ebp - 0x32]
mov dword [ebp - 0x84], eax
movzx eax, word [ebp - 0x34]
mov dword [ebp - 0x80], eax
movzx eax, word [ebp - 0x36]
mov dword [ebp - 0x7c], eax
movzx eax, word [ebp - 0x3a]
dec eax
mov esi, dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__mktime64]
mov dword [ebp - 0x78], eax
movzx eax, word [ebp - 0x3c]
sub eax, 0x76c
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], eax
movzx eax, word [ebp - 0x38]
mov dword [ebp - 0x70], eax
movzx eax, word [ebp - 0x40]
mov dword [ebp - 0xac], eax
movzx eax, word [ebp - 0x42]
mov dword [ebp - 0xa8], eax
movzx eax, word [ebp - 0x44]
mov dword [ebp - 0xa4], eax
movzx eax, word [ebp - 0x46]
mov dword [ebp - 0xa0], eax
movzx eax, word [ebp - 0x4a]
dec eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x9c], eax
movzx eax, word [ebp - 0x4c]
sub eax, 0x76c
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x98], eax
movzx eax, word [ebp - 0x48]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x8c], 0
call esi
add esp, 4
mov dword [ebp - 0x350], eax
lea eax, [ebp - 0xac]
mov edi, edx
push eax
call esi
mov ecx, eax
add esp, 4
imul eax, dword [ebp - 0x344], 0x15180
mov esi, edx
sub dword [ebp - 0x350], ecx
sbb edi, esi
cdq
cmp edi, edx
jl 0x41ba44
jg 0x41b9d2
cmp dword [ebp - 0x350], eax
jbe 0x41ba44
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x41ba10
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ba06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bc7c
push edx
push ecx
call fcn.00432a88
add esp, 8
mov edi, dword [ebp - 0x34c]
mov esi, dword [ebp - 0x344]
lea eax, [ebp - 0x340]
push eax
push edi
invalid
invalid
invalid
test al, 0xf0