Function at 0x100057c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018ce0f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x348
mov eax, dword [0x101f62b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x2f8], edi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov dword [ebp - 4], eax
xorps xmm0, xmm0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 1
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], eax
push 8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.1015c88b
lea ecx, [ebp - 0x28]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x28], eax
mov dword [eax], ecx
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 3
xorps xmm0, xmm0
mov dword [edi], eax
mov dword [edi + 4], eax
cmp dword [esi + 0x14], 0x10
movlpd qword [ebp - 0x2f0], xmm0
jb 0x100058a3
mov esi, dword [esi]
push 0
lea edx, [ebp - 0x64]
mov ecx, esi
call fcn.10101490
add esp, 4
test al, al
jne 0x100058e4
call fcn.1004cb70
push str.Failed_to_convert_multibyte_path_to_wide_char
push 0x101aedac
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x50]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0xc
mov byte [ebp - 0x2e1], 0
jmp 0x10005d37
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x10005934
call fcn.1004cb70
cmp dword [ebp - 0x50], 8
lea ecx, [ebp - 0x64]
cmovae ecx, dword [ebp - 0x64]
mov esi, dword [eax]
push ecx
push str.Path:_s_is_not_a_directory
push 0x101aee58
mov esi, dword [esi + 0x54]
mov ecx, esi
push eax
call dword [0x1019a4f8]
call esi
add esp, 0x10
mov byte [ebp - 0x2e1], 0
jmp 0x10005d37
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x7c]
call fcn.10002700
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.1000a9b0
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
cmp esi, edi
je 0x10005971
nop word [eax + eax]
mov ecx, esi
call fcn.10001d00
add esi, 0x18
cmp esi, edi
jne 0x10005960
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x2ec]
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x2f0]
test ecx, ecx
je 0x10005ceb
mov dword [ebp - 0x2f4], esi
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x28]
add eax, ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x84], eax
dec ecx
dec eax
and ecx, eax
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x7c]
cmp ecx, eax
je 0x100059c9
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x100059bd
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.10001d60
push 0x101ace08
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x340]
call fcn.1000b090
add esp, 4
push 1
push 0x101b02a8
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.10001e70
or dword [ebp - 0x2e8], 1
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x90], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0x4c]
movq qword [ebp - 0x2f0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.10001d00
movups xmm0, xmmword [ebp - 0x90]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [ebp - 0x2f0]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x32c]
movq qword [ebp - 0x3c], xmm0
cmp edx, 8
jb 0x10005a86
mov ecx, dword [ebp - 0x340]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005a7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005f63
push edx
push ecx
call fcn.1015cbd5
add esp, 8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
dec eax
mov edx, dword [ebp - 0x20]
add ecx, eax
mov eax, dword [ebp - 0x24]
dec edx
and edx, ecx
mov ecx, dword [eax + edx*4]
call fcn.10001d00
sub dword [ebp - 0x18], 1
mov ecx, 0
mov eax, dword [ebp - 0x1c]
cmove eax, ecx
cmp dword [ebp - 0x38], 8
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x2e0]
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2ec], eax
cmp eax, 0xffffffff
je 0x10005f29
nop word [eax + eax]
mov edx, 0x101afe34
lea ecx, [ebp - 0x2b4]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x10005b16
test ax, ax
je 0x10005b12
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x10005b16
add ecx, 4
add edx, 4
test ax, ax
jne 0x10005af0
xor eax, eax
jmp 0x10005b1b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10005caa
mov eax, 0x101afe38
lea ecx, [ebp - 0x2b4]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10005b56
test dx, dx
je 0x10005b52
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10005b56
add ecx, 4
add eax, 4
test dx, dx
jne 0x10005b30
xor eax, eax
jmp 0x10005b5b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10005caa
test byte [ebp - 0x2e0], 0x10
lea edx, [ebp - 0x7c]
push 0x101ace08
lea ecx, [ebp - 0x328]
je 0x10005dd2
call fcn.1000b090
add esp, 4
mov edx, eax
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 6
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005b95
sub ecx, esi
lea eax, [ebp - 0x2b4]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.10001e70
or dword [ebp - 0x2e8], 2
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x338], xmm0
movups xmmword [ebp - 0x358], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x88], xmm0
movq qword [ebp - 0x348], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea eax, [edx + 1]
cmp ecx, eax
ja 0x10005c13
push ecx
lea ecx, [ebp - 0x28]
call fcn.1000b500
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
dec ecx
and eax, ecx
mov dword [ebp - 0x1c], eax
add eax, edx
and ecx, eax
mov eax, dword [ebp - 0x24]
lea esi, [ecx*4]
cmp dword [esi + eax], 0
jne 0x10005c43
push 0x18
call fcn.1015c88b
mov ecx, dword [ebp - 0x24]
add esp, 4
mov dword [esi + ecx], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [esi + eax]
movups xmm0, xmmword [ebp - 0x338]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x88]
movq qword [eax + 0x10], xmm0
inc dword [ebp - 0x18]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x314]
cmp edx, 8
jb 0x10005ca4
mov ecx, dword [ebp - 0x328]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005c9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005f63
push edx
push ecx
call fcn.1015cbd5
add esp, 8
mov esi, dword [ebp - 0x2f4]
lea eax, [ebp - 0x2e0]
push eax
push dword [ebp - 0x2ec]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10005ae0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x2ec]
cmp eax, 0x12
jne 0x10005f23
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x10005991
mov eax, dword [ebp - 0x2f8]
mov byte [ebp - 0x2e1], 1
mov dword [eax], esi
mov dword [eax + 4], edi
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x10005d37
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005d2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005f63
push edx
push ecx
call fcn.1015cbd5
add esp, 8
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x10005d71
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005d67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005f63
push edx
push ecx
call fcn.1015cbd5
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.1000aa20
lea ecx, [ebp - 0x34]
call fcn.1000ad70
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x10005f3f
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005f35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005f63
jmp 0x10005f35
call fcn.1000b090
add esp, 4
mov edx, eax
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 8
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005df0
sub ecx, esi
lea eax, [ebp - 0x2b4]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.10001e70
or dword [ebp - 0x2e8], 4
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
movups xmmword [ebp - 0x310], xmm0
mov dword [eax + 0x10], 0
movq qword [ebp - 0x300], xmm1
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
je 0x10005e68
mov dword [eax + 0x10], ecx
lea edx, [ecx + 7]
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm1
xor eax, eax
add dword [ebp - 0x30], 0x18
mov word [ebp - 0x310], ax
jmp 0x10005e7e
lea ecx, [ebp - 0x310]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.1000b200
mov edx, dword [ebp - 0x2fc]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x10005ebc
mov ecx, dword [ebp - 0x310]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005eb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005f63
push edx
push ecx
call fcn.1015cbd5
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x314]
cmp edx, 8
jb 0x10005efc
mov ecx, dword [ebp - 0x328]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005ef2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005f63
push edx
push ecx
call fcn.1015cbd5
add esp, 8
mov ecx, dword [ebp - 0x2c4]
xor eax, eax
mov esi, dword [ebp - 0x2f4]
neg ecx
add ecx, dword [ebp - 0x2c0]
adc eax, eax
add esi, ecx
mov dword [ebp - 0x2f4], esi
adc edi, eax
jmp 0x10005caa
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x2e1], 0
jmp 0x10005cfd
push edx
push ecx
call fcn.1015cbd5
add esp, 8
mov al, byte [ebp - 0x2e1]
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.1015c875
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.101686f5
int3