Function at 0x45e940
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a726
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
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
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push 0
movlpd qword [ebp - 0x18], xmm0
push 0
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.004595f0
mov esi, eax
mov dword [ebp - 0x18], esi
push 0x18
mov byte [ebp - 4], 1
call fcn.005183e4
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x2b4], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea eax, [ebp + 8]
cmp ecx, eax
je 0x45e9e4
cmp dword [ebp + 0x1c], 8
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
call fcn.0044a140
mov ebx, dword [esi + 4]
lea eax, [ebp - 0x2b4]
push eax
push ebx
push esi
call fcn.00459620
mov edi, dword [ebp - 0x14]
mov ecx, 0x15555554
sub ecx, edi
cmp ecx, 1
jb 0x45f053
add edi, 1
mov dword [esi + 4], eax
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x14], edi
je 0x45ef17
nop dword [eax]
mov eax, dword [ebx]
lea ecx, [ebp - 0x60]
mov esi, dword [eax + 8]
push esi
mov dword [ebp - 0x2d0], esi
call fcn.0044ba20
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.0044ba20
lea ecx, [ebp - 0x30]
call fcn.0045dec0
add esp, 0x18
mov byte [ebp - 4], 3
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 0x45eb1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x4c], 8
lea ecx, [ebp - 0x60]
push eax
cmovae ecx, dword [ebp - 0x60]
push ecx
push str.____FindFirstFile_fails_in_directory__s._Code__lu.
call fcn.00459870
add esp, 0xc
test esi, esi
je 0x45eaf8
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x45eada
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x45ead0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f05d
mov eax, edx
push ecx
push eax
call fcn.00518414
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
push 0x18
mov dword [esi + 0x14], 7
push esi
mov word [esi], ax
call fcn.00518414
add esp, 8
mov edx, dword [ebx]
dec edi
push 0xc
push edx
mov dword [ebp - 0x14], edi
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 0x45ee83
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x5bd148
lea eax, [ebp - 0x284]
push eax
call esi
test eax, eax
je 0x45eddb
push 0x5bf728
lea eax, [ebp - 0x284]
push eax
call esi
test eax, eax
je 0x45eddb
mov eax, dword [ebp - 0x2b0]
test eax, 0x400
jne 0x45eddb
test al, 0x10
je 0x45ec80
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 0x45eb90
sub eax, esi
mov ecx, edx
sar eax, 1
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.0044a140
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.0044ba20
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.0045da10
push 0x18
mov byte [ebp - 4], 5
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 - 0x48]
cmp ecx, eax
je 0x45ec0d
cmp dword [ebp - 0x34], 8
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
push eax
call fcn.0044a140
mov esi, dword [ebx + 4]
lea eax, [ebp - 0x2b8]
push eax
push esi
push ebx
call fcn.00459620
mov edi, dword [ebp - 0x14]
mov ecx, 0x15555554
sub ecx, edi
cmp ecx, 1
jb 0x45f053
mov dword [ebx + 4], eax
inc edi
mov dword [esi], eax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x14], edi
cmp edx, 8
jb 0x45ec78
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45ec6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f05d
push edx
push ecx
call fcn.00518414
add esp, 8
mov ebx, dword [ebp - 0x18]
jmp 0x45edd5
lea ecx, [ebp - 0x284]
call fcn.0045e0c0
test eax, eax
je 0x45eddb
sub esp, 0x18
lea ecx, [ebp - 0x284]
mov edx, esp
mov dword [ebp - 0x2cc], esp
xor eax, eax
lea esi, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ecc0
sub ecx, esi
lea eax, [ebp - 0x284]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0044a140
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.0044ba20
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.0045da10
add esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.0044ba20
call fcn.00458840
mov esi, dword [ebp - 0x2c8]
mov eax, 0x51eb851f
inc esi
add esp, 0x18
mul esi
mov ecx, esi
mov dword [ebp - 0x2c8], esi
shr edx, 5
imul eax, edx, 0x64
sub ecx, eax
jne 0x45ed97
push esi
push str.____i_files_processed.
call fcn.00459870
add esp, 8
lea esi, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae esi, dword [ebp + 8]
cmp dword [0x5d02c0], 0
je 0x45ed97
push esi
mov dword [ebp - 0x2c4], 2
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x2bc], esi
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x2c4]
push eax
push dword [ebp - 0x2c8]
push 0x4a
push dword [0x5d02c0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x45edd5
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45edcb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f05d
push edx
push ecx
call fcn.00518414
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [ebp - 0x2b0]
push eax
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45eb23
mov esi, dword [ebp - 0x2d0]
test esi, esi
je 0x45ee57
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x45ee39
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x45ee2f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f05d
mov eax, edx
push ecx
push eax
call fcn.00518414
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
push 0x18
mov dword [esi + 0x14], 7
push esi
mov word [esi], ax
call fcn.00518414
add esp, 8
mov edx, dword [ebx]
dec edi
push 0xc
push edx
mov dword [ebp - 0x14], edi
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], 2
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x45eec1
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45eeb7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f05d
push edx
push ecx
call fcn.00518414
add esp, 8
mov byte [ebp - 4], 1
xor eax, eax
mov edx, dword [ebp - 0x4c]
mov word [ebp - 0x30], ax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], eax
cmp edx, 8
jb 0x45ef0f
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45ef05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f05d
push edx
push ecx
call fcn.00518414
add esp, 8
test edi, edi
jne 0x45ea20
mov edi, dword [ebp - 0x2c8]
push edi
push str.____i_files_processed.
call fcn.00459870
mov eax, dword [ebp + 0x1c]
lea esi, [ebp + 8]
mov ecx, dword [ebp + 8]
add esp, 8
mov edx, dword [0x5d02c0]
cmp eax, 8
cmovae esi, ecx
test edx, edx
je 0x45ef8e
push esi
mov dword [ebp - 0x2c4], 2
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x2bc], esi
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x2c4]
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x4a
push dword [0x5d02c0]
call edi
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 8]
mov edx, dword [0x5d02c0]
jmp 0x45ef94
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 8
lea esi, [ebp + 8]
cmovae esi, ecx
test edx, edx
je 0x45efd8
push esi
mov dword [ebp - 0x2c4], 3
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x2bc], esi
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x2c4]
push eax
push 0
push 0x4a
push dword [0x5d02c0]
call edi
mov eax, dword [ebx]
mov dword [ebx], ebx
mov dword [ebx + 4], ebx
cmp eax, ebx
je 0x45eff6
mov esi, dword [eax]
push 0xc
push eax
call fcn.00518414
add esp, 8
mov eax, esi
cmp esi, ebx
jne 0x45efe3
push 0xc
push ebx
call fcn.00518414
mov edx, dword [ebp + 0x1c]
add esp, 8
cmp edx, 8
jb 0x45f037
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45f02d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f05d
push edx
push ecx
call fcn.00518414
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
push str.list_T__too_long
call fcn.00515b6e
call fcn.00533a91
int3