Function at 0x41ce36
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x250
lea ebp, [esp - 4]
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp + 0x250], eax
push 0x18
mov eax, 0x47f7c1
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.004017b3
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040bda0
push 0x5c
push eax
call fcn.0041c92f
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov bl, al
call fcn.00401100
test bl, bl
je 0x41ceb5
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.0041c94c
lea eax, [ebp - 0x18]
lea ecx, [esi + 0x3c]
push eax
call fcn.00403fca
mov ebx, 0x489fd4
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0041cc02
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 0x41cf39
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 0x41cf83
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040297d
push 0x489fd0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00416f8c
test eax, eax
je 0x41cf74
push 0x489fc8
lea ecx, [ebp - 0x10]
call fcn.00416f8c
test eax, eax
je 0x41cf74
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 0x41cf39
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x20], 0
jne 0x41cfab
xor edi, edi
inc edi
jmp 0x41cf03
mov ecx, esi
call fcn.0041c501
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.0042493b
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.0041cc02
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 0x41d00c
xor edi, edi
jmp 0x41cf07
xor ebx, ebx
test byte [ebp], 0x10
je 0x41d0a4
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040297d
push 0x489fd0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00416f8c
test eax, eax
je 0x41d095
push 0x489fc8
lea ecx, [ebp - 0x10]
call fcn.00416f8c
test eax, eax
je 0x41d095
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.0042493b
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 0x41d00e
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor edi, edi
inc edi
jmp 0x41cf07