Function at 0x411180
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470239
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x29c], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2a0], edi
mov dword [ebp - 0x298], 0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
push edx
mov dword [ebp - 0x298], 1
call fcn.00407a80
mov dword [ebp - 4], 2
mov eax, SysReAllocString
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x4113f9
cmp dword [esi + 0x14], 8
jb 0x41122e
mov esi, dword [esi]
push ecx
push esi
push 1
push 0x480c40
push ecx
push dword [ebp - 0x2a0]
lea ecx, [ebp - 0x28]
call fcn.00408350
mov dword [ebp - 0x298], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x41125b
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00412d20
mov eax, 3
mov dword [ebp - 0x298], eax
and eax, 0xfffffffd
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00404570
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x294]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x29c], eax
cmp eax, 0xffffffff
je 0x4113c8
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x268]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4112e0
sub eax, edx
lea ecx, [ebp - 0x2c]
sar eax, 1
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.00404600
mov eax, dword [ebp - 0x294]
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
shr eax, 4
and al, 1
cmp esi, 8
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x1c]
cmovae ecx, ebx
cmp eax, 1
jne 0x411339
push eax
mov edx, 0x47f588
call fcn.0040d150
add esp, 4
test eax, eax
je 0x41138e
mov eax, dword [ebp - 0x1c]
cmp esi, 8
lea ecx, [ebp - 0x2c]
cmovae ecx, ebx
cmp eax, 2
jne 0x411359
push eax
mov edx, 0x480c1c
call fcn.0040d150
add esp, 4
test eax, eax
je 0x41138e
mov esi, dword [edi + 4]
lea eax, [ebp - 0x2c]
push eax
cmp esi, dword [edi + 8]
je 0x411386
mov ecx, esi
mov dword [ebp - 0x2a4], esi
call fcn.00407a80
mov byte [ebp - 4], 5
mov al, byte [ebp - 0x14]
mov byte [esi + 0x18], al
mov byte [ebp - 4], 4
add dword [edi + 4], 0x1c
jmp 0x41138e
push esi
mov ecx, edi
call fcn.00413640
lea eax, [ebp - 0x294]
push eax
push dword [ebp - 0x29c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4113b6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00404570
jmp 0x4112b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00404570
mov eax, dword [ebp - 0x29c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00404570
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 - 0x10]
xor ecx, ebp
call fcn.0046c079
mov esp, ebp
pop ebp
ret
call fcn.004044c0
int3