Function at 0x41b773
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x250
lea ebp, [esp - 4]
mov eax, dword [0x4aa3ec]
xor eax, ebp
mov dword [ebp + 0x250], eax
push 0x18
mov eax, 0x47df78
call fcn.004409e3
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.00402833
and dword [ebp - 4], 0
lea ecx, [esi + 0x44]
push edi
call fcn.004017b1
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040b7fd
push 0x5c
push eax
call fcn.0041b2e3
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov bl, al
call fcn.00401100
test bl, bl
je 0x41b7f2
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.0041b300
lea eax, [ebp - 0x18]
lea ecx, [esi + 0x3c]
push eax
call fcn.00403f46
mov ebx, 0x488e54
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0041b5b6
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 0x41b876
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.004409d4
add ebp, 0x254
leave
ret 8
test byte [ebp], 0x10
je 0x41b8c0
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402833
push 0x488e50
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00415cdf
test eax, eax
je 0x41b8b1
push 0x488e48
lea ecx, [ebp - 0x10]
call fcn.00415cdf
test eax, eax
je 0x41b8b1
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 0x41b876
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x20], 0
jne 0x41b8e8
xor edi, edi
inc edi
jmp 0x41b840
mov ecx, esi
call fcn.0041aee4
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.0042321b
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.0041b5b6
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 0x41b949
xor edi, edi
jmp 0x41b844
xor ebx, ebx
test byte [ebp], 0x10
je 0x41b9e1
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402833
push 0x488e50
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00415cdf
test eax, eax
je 0x41b9d2
push 0x488e48
lea ecx, [ebp - 0x10]
call fcn.00415cdf
test eax, eax
je 0x41b9d2
lea eax, [ebp + 0x2c]
push eax
call fcn.004405d4
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.0042321b
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.00440f00
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 0x41b94b
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor edi, edi
inc edi
jmp 0x41b844