Function at 0x45ea20
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b1ab
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x5caea4]
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.00459d80
mov edi, eax
mov dword [ebp - 0x18], edi
push 0x18
mov dword [ebp - 4], 0
call fcn.00518d38
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 0x45eab2
mov esi, dword [esi]
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45eab7
sub ecx, ebx
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.0044a1c0
mov ebx, dword [edi + 4]
lea eax, [ebp - 0x2b4]
push eax
push ebx
push edi
call fcn.00459db0
mov esi, dword [ebp - 0x14]
mov ecx, eax
mov eax, 0x15555554
sub eax, esi
cmp eax, 1
jb 0x45ef15
add esi, 1
mov dword [edi + 4], ecx
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
mov dword [ebx], ecx
je 0x45eec1
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.0044baa0
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.0044baa0
lea ecx, [ebp - 0x30]
call fcn.0045e700
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 0x45ec0d
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.0045a000
add esp, 0xc
test ebx, ebx
je 0x45ebe8
mov ecx, dword [ebx + 0x14]
cmp ecx, 8
jb 0x45ebca
mov eax, dword [ebx]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x45ebc0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ef10
mov eax, edx
push ecx
push eax
call fcn.00518d68
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.00518d68
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.00518d68
add esp, 8
jmp 0x45ee32
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x5be168
lea eax, [ebp - 0x284]
push eax
call ebx
test eax, eax
je 0x45ed8a
push 0x5c09b0
lea eax, [ebp - 0x284]
push eax
call ebx
test eax, eax
je 0x45ed8a
mov eax, dword [ebp - 0x2b0]
test eax, 0x400
jne 0x45ed8a
test al, 0x10
je 0x45ed75
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 0x45ec80
sub eax, esi
mov ecx, edx
sar eax, 1
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.0044a1c0
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.0044baa0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.0045e250
push 0x18
mov byte [ebp - 4], 4
call fcn.00518d38
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 0x45ecfd
cmp dword [ebp - 0x4c], 8
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.0044a1c0
mov ebx, dword [edi + 4]
lea eax, [ebp - 0x2b8]
push eax
push ebx
push edi
call fcn.00459db0
mov esi, dword [ebp - 0x14]
mov ecx, eax
mov eax, 0x15555554
sub eax, esi
cmp eax, 1
jb 0x45ef15
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 0x45ed6a
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45ed60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ef10
push edx
push ecx
call fcn.00518d68
add esp, 8
mov edi, dword [ebp - 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x45ed8a
lea ecx, [ebp - 0x284]
call fcn.0045e900
test eax, eax
je 0x45ed8a
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 0x45ec13
mov ebx, dword [ebp - 0x2c0]
test ebx, ebx
je 0x45ee06
mov ecx, dword [ebx + 0x14]
cmp ecx, 8
jb 0x45ede8
mov eax, dword [ebx]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x45edde
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ef10
mov eax, edx
push ecx
push eax
call fcn.00518d68
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.00518d68
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.00518d68
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 0x45ee70
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45ee66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ef10
push edx
push ecx
call fcn.00518d68
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 0x45eeb9
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45eeaf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ef10
push edx
push ecx
call fcn.00518d68
add esp, 8
test esi, esi
jne 0x45eb10
mov eax, dword [edi]
mov dword [edi], edi
mov dword [edi + 4], edi
cmp eax, edi
je 0x45eee3
nop dword [eax]
mov esi, dword [eax]
push 0xc
push eax
call fcn.00518d68
add esp, 8
mov eax, esi
cmp esi, edi
jne 0x45eed0
push 0xc
push edi
call fcn.00518d68
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.00518b27
mov esp, ebp
pop ebp
ret
call fcn.005343f1
push str.list_T__too_long
call fcn.005164bf
int3