Function at 0x41cdd5
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x250
lea ebp, [esp - 4]
mov eax, dword [0x4ad40c]
xor eax, ebp
mov dword [ebp + 0x250], eax
push 0x18
mov eax, 0x47faed
call fcn.00442103
mov eax, dword [ebp + 0x25c]
mov edi, dword [ebp + 0x260]
and dword [ebp - 0x20], 0
mov esi, ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0040297d
and dword [ebp - 4], 0
lea ecx, [esi + 0x44]
push edi
call fcn.004017a9
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040bf5a
push 0x5c
push eax
call fcn.0041c8d0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov bl, al
call fcn.00401100
test bl, bl
je 0x41ce54
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.0041c93f
lea eax, [ebp - 0x18]
lea ecx, [esi + 0x3c]
push eax
call fcn.00404143
mov ebx, 0x48afec
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0041cc0f
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add esp, 0xc
lea ecx, [ebp]
push ecx
push eax
call edi
mov ecx, dword [ebp - 0x24]
cmp eax, 0xffffffff
sete byte [ebp - 0x11]
add ecx, 0xfffffff0
mov dword [ebp - 0x1c], eax
call fcn.00401100
cmp byte [ebp - 0x11], 0
je 0x41ced8
xor edi, edi
mov byte [esi + 0x28], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401100
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.004420f4
add ebp, 0x254
leave
ret 8
test byte [ebp], 0x10
je 0x41cf22
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040297d
push 0x48afe8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00416fb5
test eax, eax
je 0x41cf13
push 0x48afe0
lea ecx, [ebp - 0x10]
call fcn.00416fb5
test eax, eax
je 0x41cf13
inc dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401100
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41ced8
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x20], 0
jne 0x41cf4a
xor edi, edi
inc edi
jmp 0x41cea2
mov ecx, esi
call fcn.0041c535
mov eax, dword [ebp - 0x20]
xor ecx, ecx
push 4
pop edx
mov dword [esi + 0xc], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00424946
mov dword [esi + 4], eax
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [esi + 0x28], 1
call fcn.0041cc0f
mov eax, dword [eax]
add esp, 0x10
lea ecx, [ebp]
push ecx
push eax
call edi
mov ecx, dword [ebp - 0x24]
cmp eax, 0xffffffff
sete bl
add ecx, 0xfffffff0
mov dword [ebp - 0x1c], eax
call fcn.00401100
test bl, bl
je 0x41cfab
xor edi, edi
jmp 0x41cea6
xor ebx, ebx
test byte [ebp], 0x10
je 0x41d043
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040297d
push 0x48afe8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00416fb5
test eax, eax
je 0x41d034
push 0x48afe0
lea ecx, [ebp - 0x10]
call fcn.00416fb5
test eax, eax
je 0x41d034
lea eax, [ebp + 0x2c]
push eax
call fcn.00441cf4
mov edi, eax
inc edi
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00424946
mov ecx, dword [esi + 4]
mov dword [ebx + ecx], eax
push edi
lea eax, [ebp + 0x2c]
push eax
mov eax, dword [esi + 4]
push dword [eax + ebx]
call fcn.00442620
mov eax, dword [esi + 4]
mov eax, dword [eax + ebx]
xor ecx, ecx
add esp, 0x14
mov word [eax + edi*2 - 2], cx
add ebx, 4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401100
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41cfad
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor edi, edi
inc edi
jmp 0x41cea6