Function at 0x411f50
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442c0b
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x45a024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x494], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x28]
mov esi, 8
cmp dword [ebp + 0x3c], esi
jae 0x411f9d
lea eax, [ebp + 0x28]
lea ecx, [ebp - 0x48c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x490], eax
cmp eax, 0xffffffff
je 0x4121a5
lea ebx, [ebx]
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x21a]
push eax
mov word [ebp - 0x21c], dx
call fcn.004212c0
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x20], esi
jae 0x411fe9
lea eax, [ebp + 0xc]
lea edx, [ebp - 0x21c]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x411ff1
lea edi, [ebp - 0x21c]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x412010
mov ecx, dword [0x4502a0]
lea eax, [ebp - 0x460]
mov dword [edi], ecx
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412030
lea edi, [ebp - 0x21c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x412046
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor edx, edx
lea eax, [ebp - 0x21c]
mov word [ebp - 0x238], dx
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
lea edx, [eax + 2]
jmp 0x412090
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412090
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
lea esi, [ebp - 0x238]
call fcn.00404070
push 4
push str.2345
mov eax, esi
push eax
xor eax, eax
mov byte [ebp - 4], 2
call fcn.004071d0
cmp eax, 0xffffffff
jne 0x412162
push 4
push 0x450ea8
mov edx, esi
push edx
xor eax, eax
call fcn.004071d0
cmp eax, 0xffffffff
je 0x4120ff
mov byte [ebp - 4], 1
cmp dword [ebp - 0x224], 8
jb 0x41217e
mov eax, dword [ebp - 0x238]
push eax
jmp 0x412176
push 2
push 0x450eb4
lea ecx, [ebp - 0x238]
push ecx
xor eax, eax
call fcn.004071d0
cmp eax, 0xffffffff
je 0x41212f
mov byte [ebp - 4], 1
cmp dword [ebp - 0x224], 8
jb 0x41217e
mov edx, dword [ebp - 0x238]
push edx
jmp 0x412176
push 2
push 0x450ebc
lea eax, [ebp - 0x238]
push eax
xor eax, eax
call fcn.004071d0
cmp eax, 0xffffffff
jne 0x412162
mov edx, dword [ebp - 0x48c]
mov eax, dword [ebp - 0x494]
push edx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00410ba0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x224], 8
jb 0x41217e
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.0041afda
add esp, 4
mov eax, dword [ebp - 0x490]
lea edx, [ebp - 0x48c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, 8
test eax, eax
jne 0x411fc0
mov eax, dword [ebp - 0x490]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x20], esi
jb 0x4121bd
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0041afda
add esp, 4
xor edx, edx
mov dword [ebp + 0x20], 7
mov dword [ebp + 0x1c], 0
mov word [ebp + 0xc], dx
cmp dword [ebp + 0x3c], esi
jb 0x4121e2
mov eax, dword [ebp + 0x28]
push eax
call fcn.0041afda
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041af7a
mov esp, ebp
pop ebp
ret 0x3c