Function at 0x45e1e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a6ab
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x5c9ea4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x2bc], 0
push 0
movlpd qword [ebp - 0x18], xmm0
push 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.004595f0
mov edi, eax
mov dword [ebp - 0x18], edi
push 0x18
mov dword [ebp - 4], 0
call fcn.005183e4
mov edx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x2b4], edx
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
cmp dword [esi + 0x14], 8
jb 0x45e272
mov esi, dword [esi]
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45e277
sub ecx, ebx
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.0044a150
mov ebx, dword [edi + 4]
lea eax, [ebp - 0x2b4]
push eax
push ebx
push edi
call fcn.00459620
mov esi, dword [ebp - 0x14]
mov ecx, eax
mov eax, 0x15555554
sub eax, esi
cmp eax, 1
jb 0x45e6d5
add esi, 1
mov dword [edi + 4], ecx
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
mov dword [ebx], ecx
je 0x45e681
nop dword [eax]
mov eax, dword [edi]
lea ecx, [ebp - 0x48]
mov ebx, dword [eax + 8]
push ebx
mov dword [ebp - 0x2c0], ebx
call fcn.0044ba30
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.0044ba30
lea ecx, [ebp - 0x30]
call fcn.0045dec0
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2b0]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push ecx
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2b4], eax
cmp eax, 0xffffffff
jne 0x45e3cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x48]
push eax
cmovae ecx, dword [ebp - 0x48]
push ecx
push str.____FindFirstFile_fails_in_directory__s._Code__lu.
call fcn.00459870
add esp, 0xc
test ebx, ebx
je 0x45e3a8
mov ecx, dword [ebx + 0x14]
cmp ecx, 8
jb 0x45e38a
mov eax, dword [ebx]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x45e380
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e6d0
mov eax, edx
push ecx
push eax
call fcn.00518414
add esp, 8
xor eax, eax
mov dword [ebx + 0x10], 0
push 0x18
mov dword [ebx + 0x14], 7
push ebx
mov word [ebx], ax
call fcn.00518414
add esp, 8
mov edx, dword [edi]
dec esi
push 0xc
push edx
mov dword [ebp - 0x14], esi
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
call fcn.00518414
add esp, 8
jmp 0x45e5f2
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x5bd158
lea eax, [ebp - 0x284]
push eax
call ebx
test eax, eax
je 0x45e54a
push 0x5bf730
lea eax, [ebp - 0x284]
push eax
call ebx
test eax, eax
je 0x45e54a
mov eax, dword [ebp - 0x2b0]
test eax, 0x400
jne 0x45e54a
test al, 0x10
je 0x45e535
sub esp, 0x18
xor eax, eax
mov edx, esp
mov dword [ebp - 0x2b8], esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
lea eax, [ebp - 0x284]
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45e440
sub eax, esi
mov ecx, edx
sar eax, 1
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.0044a150
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.0044ba30
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.0045da10
push 0x18
mov byte [ebp - 4], 4
call fcn.005183e4
mov ecx, eax
add esp, 0x34
xor eax, eax
mov dword [ebp - 0x2b8], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea eax, [ebp - 0x60]
cmp ecx, eax
je 0x45e4bd
cmp dword [ebp - 0x4c], 8
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.0044a150
mov ebx, dword [edi + 4]
lea eax, [ebp - 0x2b8]
push eax
push ebx
push edi
call fcn.00459620
mov esi, dword [ebp - 0x14]
mov ecx, eax
mov eax, 0x15555554
sub eax, esi
cmp eax, 1
jb 0x45e6d5
mov dword [edi + 4], ecx
inc esi
mov dword [ebx], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x14], esi
cmp edx, 8
jb 0x45e52a
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45e520
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e6d0
push edx
push ecx
call fcn.00518414
add esp, 8
mov edi, dword [ebp - 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x45e54a
lea ecx, [ebp - 0x284]
call fcn.0045e0c0
test eax, eax
je 0x45e54a
inc dword [ebp - 0x2bc]
lea eax, [ebp - 0x2b0]
push eax
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45e3d3
mov ebx, dword [ebp - 0x2c0]
test ebx, ebx
je 0x45e5c6
mov ecx, dword [ebx + 0x14]
cmp ecx, 8
jb 0x45e5a8
mov eax, dword [ebx]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x45e59e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e6d0
mov eax, edx
push ecx
push eax
call fcn.00518414
add esp, 8
xor eax, eax
mov dword [ebx + 0x10], 0
push 0x18
mov dword [ebx + 0x14], 7
push ebx
mov word [ebx], ax
call fcn.00518414
add esp, 8
mov edx, dword [edi]
dec esi
push 0xc
push edx
mov dword [ebp - 0x14], esi
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
call fcn.00518414
add esp, 8
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x45e630
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45e626
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e6d0
push edx
push ecx
call fcn.00518414
add esp, 8
xor eax, eax
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x34]
mov word [ebp - 0x30], ax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], eax
cmp edx, 8
jb 0x45e679
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45e66f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e6d0
push edx
push ecx
call fcn.00518414
add esp, 8
test esi, esi
jne 0x45e2d0
mov eax, dword [edi]
mov dword [edi], edi
mov dword [edi + 4], edi
cmp eax, edi
je 0x45e6a3
nop dword [eax]
mov esi, dword [eax]
push 0xc
push eax
call fcn.00518414
add esp, 8
mov eax, esi
cmp esi, edi
jne 0x45e690
push 0xc
push edi
call fcn.00518414
mov eax, dword [ebp - 0x2bc]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005181d3
mov esp, ebp
pop ebp
ret
call fcn.00533a91
push str.list_T__too_long
call fcn.00515b6e
int3