Function at 0x5176c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1817
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x11cc
call fcn.0055af50
mov eax, dword [0x62d12c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x11c0], ebx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x11cc], esi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x11d0], edi
xor eax, eax
mov dword [ebp - 0x11ac], eax
mov dword [ebp - 0x11b4], eax
push 0x2c
call fcn.00559a21
add esp, 4
test eax, eax
je 0x517aa7
mov dword [ebp - 0x11b8], eax
mov dword [eax], eax
mov eax, dword [ebp - 0x11b8]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x11b8]
mov dword [eax + 8], eax
mov eax, dword [ebp - 0x11b8]
mov byte [eax + 0x28], 1
mov ecx, dword [ebp - 0x11b8]
mov byte [ecx + 0x29], 1
mov dword [ebp - 4], 4
test esi, esi
jne 0x517809
push edi
call fcn.0053a1b0
add esp, 4
test al, al
je 0x517799
push 0x626720
push 0x267
push str.fts::FolderNameList
push str.Directory_name_cannot_be_empty
push esi
push esi
push esi
push 1
call edi
add esp, 0x20
lea edx, [ebp - 0x11bc]
push edx
mov ecx, ebx
call fcn.00435040
mov byte [ebp - 4], 4
mov dword [ebp - 0x11ac], 1
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x11b8]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [ebp - 0x11c4]
push eax
lea ecx, [ebp - 0x11bc]
call fcn.00434ac0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x11b8]
push ecx
call fcn.00558723
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00558b78
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 8
push esi
lea ecx, [ebp - 0x1030]
call fcn.00422280
mov byte [ebp - 4], 9
lea edx, [ebp - 0x1030]
push edx
lea eax, [ebp - 0x1068]
push eax
call fcn.005168b0
mov byte [ebp - 4], 0xa
push 0x5d91b4
push eax
lea ecx, [ebp - 0x104c]
push ecx
call fcn.00503ec0
add esp, 0x14
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1068]
call fcn.00421b10
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1030]
call fcn.00421b10
cmp dword [ebp - 0x1038], 0x10
mov eax, dword [ebp - 0x104c]
jae 0x51787c
lea eax, [ebp - 0x104c]
lea edx, [ebp - 0x11a8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x5179b2
mov bl, 0xe
jmp 0x5178a0
test dword [ebp - 0x11a8], 0x10
je 0x51798f
push 0x5c0494
lea eax, [ebp - 0x117c]
push eax
call fcn.00559e6a
add esp, 8
test eax, eax
je 0x51798f
push 0x5d6c18
lea ecx, [ebp - 0x117c]
push ecx
call fcn.00559e6a
add esp, 8
test eax, eax
je 0x51798f
push edi
call fcn.0053a1b0
add esp, 4
test al, al
je 0x517968
lea edx, [ebp - 0x117c]
push edx
lea ecx, [ebp - 0x1030]
call fcn.00422280
mov byte [ebp - 4], bl
push 0xffffffffffffffff
lea eax, [ebp - 0x1030]
push eax
lea ecx, [ebp - 0x1068]
push ecx
call fcn.00535360
add esp, 0xc
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
jb 0x51792e
mov eax, dword [eax]
push 0x626720
push 0x27b
push str.fts::FolderNameList
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 2
push 3
call edi
add esp, 0x20
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1068]
call fcn.004222c0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1030]
call fcn.00421b10
push 0
lea edx, [ebp - 0x117c]
push edx
lea ecx, [ebp - 0x11bc]
call fcn.005166f0
push eax
lea eax, [ebp - 0x11c8]
push eax
lea ecx, [ebp - 0x11bc]
call fcn.00434830
lea ecx, [ebp - 0x11a8]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x5178a0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp - 0x11c0]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x104c]
call fcn.00421b10
mov dword [ebp - 4], 4
jmp 0x517a5b
lea ecx, [ebp - 0x11bc]
push ecx
mov ecx, ebx
call fcn.00435040
mov byte [ebp - 4], 4
or dword [ebp - 0x11ac], 1
mov dword [ebp - 4], 0x13
mov eax, dword [ebp - 0x11b8]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [ebp - 0x11c4]
push edx
lea ecx, [ebp - 0x11bc]
call fcn.00434ac0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x11b8]
push eax
jmp 0x5177e3
mov dword [ebp - 0x11c4], 0
lea ecx, [ebp - 0x11c4]
push ecx
lea ecx, [ebp - 0x11dc]
call fcn.0055909d
mov dword [ebp - 4], 1
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
mov byte [ebp - 4], 0
push 0x60e354
lea edx, [ebp - 0x11dc]
push edx
call fcn.00559aa1
int3