Function at 0x100457a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6ac
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov byte [ebp - 0x6a8], al
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x6a4], eax
cmp dword [eax + 0x10], 0
mov dword [ebp - 0x6ac], ecx
je 0x10045e56
push ebx
call fcn.10045f60
add esp, 4
test eax, eax
je 0x10045e56
push esi
push edi
push 0x20
mov dword [ebp - 0x69c], 0
call fcn.10213511
mov edi, eax
add esp, 4
cmp byte [ebp + 0x18], 0
mov dword [edi], edi
mov dword [edi + 4], edi
mov dword [ebp - 0x6a0], edi
je 0x10045828
lea eax, [ebp - 0x6a0]
push eax
push ebx
call fcn.10044da0
add esp, 8
jmp 0x10045860
cmp dword [ebp - 0x69c], 0x7ffffff
je 0x10045e67
push 0x20
call fcn.10213511
add esp, 4
mov esi, eax
push ebx
lea ecx, [esi + 8]
call fcn.10006aa0
mov ecx, dword [edi + 4]
mov dword [esi], edi
mov dword [esi + 4], ecx
mov dword [edi + 4], esi
mov dword [ecx], esi
inc dword [ebp - 0x69c]
mov edi, dword [ebp - 0x6a0]
xor bh, bh
mov esi, dword [edi]
cmp esi, edi
je 0x10045df7
cmp dword [esi + 0x18], 0x104
jae 0x10045de9
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
jb 0x1004588b
mov eax, dword [esi + 8]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1020eeb0
mov ecx, dword [ebp - 0x6a4]
add esp, 0xc
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x100458b0
mov eax, dword [ecx]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x10045de9
mov eax, dword [ebp - 0x6a4]
push eax
call fcn.100438c0
add esp, 4
test al, al
je 0x10045c30
mov eax, dword [0x10255438]
test eax, eax
jne 0x100458f0
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x10045932
mov eax, dword [0x10255438]
test eax, eax
jne 0x1004590c
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x1004591a
mov eax, dword [eax + 0x64]
jmp 0x1004591c
xor eax, eax
test eax, eax
je 0x10045932
lea ecx, [ebp - 0x694]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
call eax
jmp 0x10045946
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x698], eax
cmp eax, 0xffffffff
je 0x10045de9
jmp 0x10045960
test byte [ebp - 0x694], 0x10
jne 0x10045b60
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
jb 0x10045979
mov eax, dword [esi + 8]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.1020eeb0
add esp, 0xc
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x10045b60
xor eax, eax
mov dword [ebp - 0x41c], 0
lea ecx, [ebp - 0x414]
mov dword [ebp - 0x418], 7
mov word [ebp - 0x42c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100459d0
sub ecx, edx
lea eax, [ebp - 0x414]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x42c]
call fcn.10008240
push dword [ebp + 0x20]
lea eax, [ebp - 0x42c]
push dword [ebp + 0x1c]
push eax
call fcn.10043260
mov edx, dword [ebp - 0x418]
add esp, 0xc
mov bl, al
cmp edx, 8
jb 0x10045a49
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10045a3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045e71
push edx
push ecx
call fcn.102134ff
add esp, 8
test bl, bl
je 0x10045b60
xor eax, eax
mov dword [ebp - 0x41c], 0
mov word [ebp - 0x42c], ax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10045a77
sub eax, edx
lea ecx, [ebp - 0x42c]
sar eax, 1
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.10008240
lea eax, [ebp - 0x42c]
push eax
push dword [ebp - 0x6a8]
lea eax, [ebp - 0x444]
push eax
call fcn.10041220
mov ecx, dword [ebp - 0x6ac]
add esp, 0xc
push eax
call fcn.10054840
mov edx, dword [ebp - 0x430]
cmp edx, 8
jb 0x10045b01
mov ecx, dword [ebp - 0x444]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10045af7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045e71
push edx
push ecx
call fcn.102134ff
add esp, 8
mov edx, dword [ebp - 0x418]
xor eax, eax
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 7
mov word [ebp - 0x444], ax
cmp edx, 8
jb 0x10045b5e
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10045b54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045e71
push edx
push ecx
call fcn.102134ff
add esp, 8
mov bh, 1
mov eax, dword [0x10255438]
test eax, eax
jne 0x10045b73
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x10045bb4
mov eax, dword [0x10255438]
test eax, eax
jne 0x10045b8f
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x10045b9d
mov eax, dword [eax + 0x6c]
jmp 0x10045b9f
xor eax, eax
test eax, eax
je 0x10045bb4
lea ecx, [ebp - 0x694]
push ecx
push dword [ebp - 0x698]
call eax
jmp 0x10045bc7
lea eax, [ebp - 0x694]
push eax
push dword [ebp - 0x698]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10045960
mov eax, dword [0x10255438]
test eax, eax
jne 0x10045be2
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x10045c1f
mov eax, dword [0x10255438]
test eax, eax
jne 0x10045bfe
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x10045c0c
mov eax, dword [eax + 0x70]
jmp 0x10045c0e
xor eax, eax
test eax, eax
je 0x10045c1f
push dword [ebp - 0x698]
call eax
jmp 0x10045de9
push dword [ebp - 0x698]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x10045de9
xor eax, eax
mov dword [ebp - 0x41c], 0
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x418], 7
mov word [ebp - 0x42c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10045c56
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x42c]
call fcn.10008240
push dword [ebp + 0x20]
lea eax, [ebp - 0x42c]
push dword [ebp + 0x1c]
push eax
call fcn.10043260
mov edx, dword [ebp - 0x418]
add esp, 0xc
mov bl, al
cmp edx, 8
jb 0x10045ccf
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10045cc5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045e71
push edx
push ecx
call fcn.102134ff
add esp, 8
test bl, bl
je 0x10045de9
xor eax, eax
mov dword [ebp - 0x41c], 0
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x418], 7
mov word [ebp - 0x42c], ax
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10045d00
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x42c]
call fcn.10008240
lea eax, [ebp - 0x42c]
push eax
push dword [ebp - 0x6a8]
lea eax, [ebp - 0x444]
push eax
call fcn.10041220
mov ecx, dword [ebp - 0x6ac]
add esp, 0xc
push eax
call fcn.10054840
mov edx, dword [ebp - 0x430]
cmp edx, 8
jb 0x10045d8a
mov ecx, dword [ebp - 0x444]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10045d80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045e71
push edx
push ecx
call fcn.102134ff
add esp, 8
mov edx, dword [ebp - 0x418]
xor eax, eax
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 7
mov word [ebp - 0x444], ax
cmp edx, 8
jb 0x10045de7
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10045ddd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045e71
push edx
push ecx
call fcn.102134ff
add esp, 8
mov bh, 1
mov esi, dword [esi]
cmp esi, dword [ebp - 0x6a0]
jne 0x10045872
mov edi, dword [ebp - 0x6a0]
mov eax, dword [edi + 4]
mov dword [eax], 0
mov edi, dword [edi]
test edi, edi
je 0x10045e33
lea esp, [esp]
mov esi, dword [edi]
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x6a0]
push eax
call fcn.100218c0
push 0x20
push edi
call fcn.102134ff
add esp, 0x10
mov edi, esi
test esi, esi
jne 0x10045e10
push 0x20
push dword [ebp - 0x6a0]
call fcn.102134ff
add esp, 8
mov al, bh
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.101d9a10
call fcn.10200ab0
int3