Function at 0x45f180
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b226
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
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
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.00459d80
mov esi, eax
mov dword [ebp - 0x18], esi
push 0x18
mov byte [ebp - 4], 1
call fcn.00518d38
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 0x45f224
cmp dword [ebp + 0x1c], 8
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
call fcn.0044a1c0
mov ebx, dword [esi + 4]
lea eax, [ebp - 0x2b4]
push eax
push ebx
push esi
call fcn.00459db0
mov edi, dword [ebp - 0x14]
mov ecx, 0x15555554
sub ecx, edi
cmp ecx, 1
jb 0x45f893
add edi, 1
mov dword [esi + 4], eax
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x14], edi
je 0x45f757
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.0044baa0
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.0044baa0
lea ecx, [ebp - 0x30]
call fcn.0045e700
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 0x45f35d
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.0045a000
add esp, 0xc
test esi, esi
je 0x45f338
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x45f31a
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x45f310
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f89d
mov eax, edx
push ecx
push eax
call fcn.00518d68
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.00518d68
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.00518d68
add esp, 8
jmp 0x45f6c3
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x5be168
lea eax, [ebp - 0x284]
push eax
call esi
test eax, eax
je 0x45f61b
push 0x5c09b0
lea eax, [ebp - 0x284]
push eax
call esi
test eax, eax
je 0x45f61b
mov eax, dword [ebp - 0x2b0]
test eax, 0x400
jne 0x45f61b
test al, 0x10
je 0x45f4c0
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 0x45f3d0
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], 4
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.0044baa0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.0045e250
push 0x18
mov byte [ebp - 4], 5
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 - 0x48]
cmp ecx, eax
je 0x45f44d
cmp dword [ebp - 0x34], 8
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
push eax
call fcn.0044a1c0
mov esi, dword [ebx + 4]
lea eax, [ebp - 0x2b8]
push eax
push esi
push ebx
call fcn.00459db0
mov edi, dword [ebp - 0x14]
mov ecx, 0x15555554
sub ecx, edi
cmp ecx, 1
jb 0x45f893
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 0x45f4b8
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45f4ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f89d
push edx
push ecx
call fcn.00518d68
add esp, 8
mov ebx, dword [ebp - 0x18]
jmp 0x45f615
lea ecx, [ebp - 0x284]
call fcn.0045e900
test eax, eax
je 0x45f61b
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 0x45f500
sub ecx, esi
lea eax, [ebp - 0x284]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0044a1c0
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.0044baa0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.0045e250
add esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.0044baa0
call fcn.00458fb0
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 0x45f5d7
push esi
push str.____i_files_processed.
call fcn.0045a000
add esp, 8
lea esi, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae esi, dword [ebp + 8]
cmp dword [0x5d12e4], 0
je 0x45f5d7
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 [0x5d12e4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x45f615
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45f60b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f89d
push edx
push ecx
call fcn.00518d68
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 0x45f363
mov esi, dword [ebp - 0x2d0]
test esi, esi
je 0x45f697
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x45f679
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x45f66f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f89d
mov eax, edx
push ecx
push eax
call fcn.00518d68
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.00518d68
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.00518d68
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 0x45f701
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45f6f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f89d
push edx
push ecx
call fcn.00518d68
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 0x45f74f
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45f745
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f89d
push edx
push ecx
call fcn.00518d68
add esp, 8
test edi, edi
jne 0x45f260
mov edi, dword [ebp - 0x2c8]
push edi
push str.____i_files_processed.
call fcn.0045a000
mov eax, dword [ebp + 0x1c]
lea esi, [ebp + 8]
mov ecx, dword [ebp + 8]
add esp, 8
mov edx, dword [0x5d12e4]
cmp eax, 8
cmovae esi, ecx
test edx, edx
je 0x45f7ce
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 [0x5d12e4]
call edi
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 8]
mov edx, dword [0x5d12e4]
jmp 0x45f7d4
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 8
lea esi, [ebp + 8]
cmovae esi, ecx
test edx, edx
je 0x45f818
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 [0x5d12e4]
call edi
mov eax, dword [ebx]
mov dword [ebx], ebx
mov dword [ebx + 4], ebx
cmp eax, ebx
je 0x45f836
mov esi, dword [eax]
push 0xc
push eax
call fcn.00518d68
add esp, 8
mov eax, esi
cmp esi, ebx
jne 0x45f823
push 0xc
push ebx
call fcn.00518d68
mov edx, dword [ebp + 0x1c]
add esp, 8
cmp edx, 8
jb 0x45f877
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45f86d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f89d
push edx
push ecx
call fcn.00518d68
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
push str.list_T__too_long
call fcn.005164bf
call fcn.005343f1
int3