Function at 0x4579b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x16bc
call fcn.00471f10
mov eax, dword [0x541280]
xor eax, esp
mov dword [esp + 0x16b8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
push esi
push edi
test ebx, ebx
je 0x457e63
test eax, eax
je 0x457e63
mov edx, dword [ebp + 0x10]
xor edi, edi
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457a07
sub ecx, esi
sar ecx, 1
je 0x457e63
push edx
lea ecx, [esp + 0xa94]
call fcn.00458e50
mov eax, dword [esp + 0xe98]
test eax, eax
je 0x457a5a
cmp word [esp + eax*2 + 0xa92], 0x5c
je 0x457a5a
push 1
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x5c
push eax
lea ecx, [esp + 0xa98]
call fcn.00459de0
push dword [ebp + 0x14]
lea ecx, [esp + 0xea4]
call fcn.00458e50
mov eax, dword [esp + 0x12a8]
test eax, eax
je 0x457a9a
cmp word [esp + eax*2 + 0xea2], 0x5c
je 0x457a9a
push 1
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x5c
push eax
lea ecx, [esp + 0xea8]
call fcn.00459de0
push dword [esp + 0xe98]
lea eax, [esp + 0x12b8]
mov dword [esp + 0x16bc], edi
mov dword [esp + 0x12b4], eax
lea ecx, [esp + 0x12b4]
xor eax, eax
mov word [esp + 0x12b8], ax
lea eax, [esp + 0xa98]
push eax
call fcn.00447200
push 1
push 0x53ab14
lea ecx, [esp + 0x12b8]
call fcn.00459de0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x12b8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x457e43
mov esi, dword [esp + 0x10]
jmp 0x457b10
test byte [esp + 0x20], 0x10
je 0x457c8b
mov ecx, 0x534b18
lea eax, [esp + 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x457b4a
test dx, dx
je 0x457b46
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x457b4a
add eax, 4
add ecx, 4
test dx, dx
jne 0x457b24
xor eax, eax
jmp 0x457b4f
sbb eax, eax
or eax, 1
test eax, eax
je 0x457c8b
mov ecx, 0x53ab18
lea eax, [esp + 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x457b86
test dx, dx
je 0x457b82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x457b86
add eax, 4
add ecx, 4
test dx, dx
jne 0x457b60
xor eax, eax
jmp 0x457b8b
sbb eax, eax
or eax, 1
test eax, eax
je 0x457c8b
push dword [esp + 0xe98]
lea eax, [esp + 0x688]
mov dword [esp + 0xa8c], 0
mov dword [esp + 0x684], eax
lea ecx, [esp + 0x684]
xor eax, eax
mov word [esp + 0x688], ax
lea eax, [esp + 0xa98]
push eax
call fcn.00447200
push dword [esp + 0x12a8]
lea eax, [esp + 0x278]
mov dword [esp + 0x67c], 0
mov dword [esp + 0x274], eax
lea ecx, [esp + 0x274]
xor eax, eax
mov word [esp + 0x278], ax
lea eax, [esp + 0xea8]
push eax
call fcn.00447200
lea ecx, [esp + 0x4c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457c16
sub ecx, edx
lea eax, [esp + 0x4c]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x688]
call fcn.00459de0
lea ecx, [esp + 0x4c]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457c40
sub ecx, edx
lea eax, [esp + 0x4c]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x278]
call fcn.00459de0
push dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x278]
push ebx
push edx
lea edx, [esp + 0x690]
mov eax, dword [ecx]
push edx
push dword [esp + 0x28]
push esi
call dword [eax + 0x6c]
add edi, eax
jmp 0x457e28
mov ecx, 0x534b18
lea eax, [esp + 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x457cba
test dx, dx
je 0x457cb6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x457cba
add eax, 4
add ecx, 4
test dx, dx
jne 0x457c94
xor eax, eax
jmp 0x457cbf
sbb eax, eax
or eax, 1
test eax, eax
je 0x457e28
mov ecx, 0x53ab18
lea eax, [esp + 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x457cf6
test dx, dx
je 0x457cf2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x457cf6
add eax, 4
add ecx, 4
test dx, dx
jne 0x457cd0
xor eax, eax
jmp 0x457cfb
sbb eax, eax
or eax, 1
test eax, eax
je 0x457e28
push dword [esp + 0xe98]
lea eax, [esp + 0x688]
mov dword [esp + 0xa8c], 0
mov dword [esp + 0x684], eax
lea ecx, [esp + 0x684]
xor eax, eax
mov word [esp + 0x688], ax
lea eax, [esp + 0xa98]
push eax
call fcn.00447200
push dword [esp + 0x12a8]
lea eax, [esp + 0x278]
mov dword [esp + 0x67c], 0
mov dword [esp + 0x274], eax
lea ecx, [esp + 0x274]
xor eax, eax
mov word [esp + 0x278], ax
lea eax, [esp + 0xea8]
push eax
call fcn.00447200
lea ecx, [esp + 0x4c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457d86
sub ecx, edx
lea eax, [esp + 0x4c]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x688]
call fcn.00459de0
lea ecx, [esp + 0x4c]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457db0
sub ecx, edx
lea eax, [esp + 0x4c]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x278]
call fcn.00459de0
mov eax, dword [ebx]
lea ecx, [esp + 0x274]
push ecx
mov ecx, ebx
xor esi, esi
call dword [eax + 0x78]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x457df8
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x74]
test eax, eax
je 0x457df8
mov esi, dword [eax + 4]
push dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x278]
push esi
push edx
lea edx, [esp + 0x690]
mov eax, dword [ecx]
push edx
push dword [esp + 0x28]
push dword [esp + 0x24]
call dword [eax + 0x68]
mov esi, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x457e28
inc edi
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x457b10
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x16b8]
xor ecx, esp
call fcn.0045e339
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esp + 0x16c4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045e339
mov esp, ebp
pop ebp
ret 0x18