Function at 0x4567c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56192c
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x5b3680]
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 esi, ecx
mov dword [ebp - 0x488], esi
mov edi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
push 0x208
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
mov dword [ebp - 0x474], edi
call fcn.00531bd0
mov edx, dword [esi + 8]
add esp, 0xc
add esi, 4
mov dword [ebp - 0x478], esi
push dword [ebp - 0x474]
push ecx
mov ecx, dword [esi]
call fcn.00459690
mov eax, dword [esi]
lea edx, [ebp - 0x220]
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
sub edx, edi
lea esp, [esp]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x456850
lea ecx, [ebp - 0x220]
add ecx, 0xfffffffe
lea esp, [esp]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x456870
mov eax, dword [0x58bccc]
mov esi, ebx
mov dword [ecx], eax
mov eax, dword [0x58bcd0]
mov dword [ecx + 4], eax
lea ecx, [ecx]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x456890
lea edi, [ebp - 0x220]
sub ebx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4568a6
mov ecx, ebx
lea eax, [ebp - 0x470]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebx
lea eax, [ebp - 0x220]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4568fb
xor eax, eax
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.005295e2
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, dword [ebp - 0x478]
jmp 0x456910
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x480], 0
call fcn.00402a00
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x456a52
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x47c], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x474]
lea eax, [ebp - 0x47c]
push 0x58ae70
push eax
call fcn.00415d20
mov eax, dword [ebp - 0x468]
add esp, 0x10
test byte [ebp - 0x470], 0x10
mov dword [ebp - 0x480], eax
mov eax, dword [ebp - 0x46c]
mov dword [ebp - 0x484], eax
jne 0x45699f
lea eax, [ebp - 0x484]
mov ecx, edi
push eax
call fcn.00459220
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x47c]
mov dword [ebp - 0x478], eax
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x47c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4569d9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x470]
push eax
push esi
call ebx
test eax, eax
je 0x4569f7
mov eax, dword [ebp - 0x488]
cmp byte [eax + 0x40], 0
je 0x456910
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4568db
mov eax, dword [ebp - 0x488]
mov ecx, dword [edi]
push 0x456230
mov esi, dword [eax + 8]
mov edx, esi
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
push eax
call fcn.004594b0
add esp, 8
mov eax, 1
jmp 0x4568dd
push 0x80004005
call fcn.004027b0
int3