Function at 0x415200
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535ec1
mov eax, dword fs:[0]
push eax
sub esp, 0x7a4
mov eax, dword [0x595834]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x424], 1
mov byte [ebp - 0x214], 0
push 0x1ff
push 0
lea eax, [ebp - 0x213]
push eax
call fcn.0051ab50
add esp, 0xc
mov byte [ebp - 0x764], 0
push 0x1ff
push 0
lea ecx, [ebp - 0x763]
push ecx
call fcn.0051ab50
add esp, 0xc
mov byte [ebp - 0x41c], 0
push 0x1ff
push 0
lea edx, [ebp - 0x41b]
push edx
call fcn.0051ab50
add esp, 0xc
lea ecx, [ebp - 0x21c]
call fcn.0040a830
mov byte [ebp - 4], 1
mov dword [ebp - 0x218], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x778], ecx
cmp dword [ebp - 0x778], 0x200
jle 0x4152f3
mov byte [ebp - 4], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x21c]
call fcn.0041b810
mov dword [ebp - 4], 3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0041b810
jmp 0x4154dd
mov edx, dword [ebp + 0xc]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x784], eax
cmp dword [ebp - 0x784], 0x200
jae 0x41536f
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x79c], ecx
lea edx, [ebp - 0x41c]
mov dword [ebp - 0x7a0], edx
mov eax, dword [ebp - 0x7a0]
mov dword [ebp - 0x7a4], eax
mov ecx, dword [ebp - 0x79c]
mov dl, byte [ecx]
mov byte [ebp - 0x7a5], dl
mov eax, dword [ebp - 0x7a0]
mov cl, byte [ebp - 0x7a5]
mov byte [eax], cl
mov edx, dword [ebp - 0x79c]
add edx, 1
mov dword [ebp - 0x79c], edx
mov eax, dword [ebp - 0x7a0]
add eax, 1
mov dword [ebp - 0x7a0], eax
cmp byte [ebp - 0x7a5], 0
jne 0x41532c
lea ecx, [ebp - 0x41c]
add ecx, 0xffffffff
mov dword [ebp - 0x7ac], ecx
mov edx, dword [ebp - 0x7ac]
mov al, byte [edx + 1]
mov byte [ebp - 0x7ad], al
add dword [ebp - 0x7ac], 1
cmp byte [ebp - 0x7ad], 0
jne 0x41537e
mov edi, dword [ebp - 0x7ac]
mov ecx, dword [0x54ca9c]
mov dword [edi], ecx
mov dl, byte [0x54caa0]
mov byte [edi + 4], dl
lea eax, [ebp - 0x564]
push eax
lea ecx, [ebp - 0x41c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0xffffffff
jne 0x415405
mov byte [ebp - 4], 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x21c]
call fcn.0041b810
mov dword [ebp - 4], 5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0041b810
jmp 0x4154dd
mov dword [ebp - 0x768], 0
cmp dword [ebp - 0x424], 0
je 0x4154a7
mov edx, dword [ebp - 0x768]
add edx, 1
mov dword [ebp - 0x768], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x790], ecx
cmp dword [ebp - 0x790], 0x200
jbe 0x415445
jmp 0x4154a7
lea edx, [ebp - 0x538]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x54ca94
lea ecx, [ebp - 0x214]
push ecx
call fcn.0051c994
add esp, 0x10
mov edx, dword [ebp - 0x564]
and edx, 0x10
je 0x415471
jmp 0x415488
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x538]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00408db0
lea eax, [ebp - 0x564]
push eax
mov ecx, dword [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x424], eax
jmp 0x41540f
mov edx, dword [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x21c]
call fcn.0041b810
mov dword [ebp - 4], 7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0041b810
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051a243
mov esp, ebp
pop ebp
ret