Function at 0x4711c0
Capabilities:
Enumerate files on windows
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571793
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x5e8ea4]
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 dword [ebp - 0x2e4], ecx
xor eax, eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2dc], eax
push eax
movlpd qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.00458410
mov esi, eax
mov dword [ebp - 0x18], esi
push 0x18
mov byte [ebp - 4], 1
call fcn.0052ca97
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x2d4], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea eax, [ebp + 8]
cmp ecx, eax
je 0x47125e
cmp dword [ebp + 0x1c], 8
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
call fcn.0044a890
mov edi, dword [esi + 4]
lea eax, [ebp - 0x2d4]
push eax
push edi
push esi
call fcn.004583f0
mov ebx, dword [ebp - 0x14]
mov ecx, 0x15555554
sub ecx, ebx
cmp ecx, 1
jb 0x471950
add ebx, 1
mov dword [esi + 4], eax
mov dword [edi], eax
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
mov eax, dword [edi]
je 0x4718d6
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x68]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push eax
mov dword [ebp - 0x2d4], eax
call fcn.0044c0c0
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp - 0x68]
mov ecx, esp
push eax
call fcn.0044c0c0
lea ecx, [ebp - 0x50]
call fcn.00470320
add esp, 0x18
mov ecx, dword [ebp - 0x2dc]
mov eax, 0x51eb851f
inc ecx
mov byte [ebp - 4], 3
mul ecx
mov dword [ebp - 0x2dc], ecx
shr edx, 5
imul eax, edx, 0x64
sub ecx, eax
jne 0x471312
mov eax, dword [ebp - 0x2dc]
push eax
cmp dword [ebp - 0x2e4], ecx
jne 0x471305
push str.___LOCAL:__i_dirs_processed.
jmp 0x47130a
push str.___NETWORK:__i_dirs_processed.
call fcn.004612c0
add esp, 8
cmp dword [ebp - 0x3c], 8
lea ecx, [ebp - 0x2d0]
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2e0], eax
cmp eax, 0xffffffff
jne 0x471430
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x54], 8
lea ecx, [ebp - 0x68]
mov esi, eax
cmovae ecx, dword [ebp - 0x68]
push esi
push ecx
push str.____FindFirstFile_fails_in_directory__s._Code__lu.
call fcn.004612c0
add esp, 0xc
cmp esi, 5
jne 0x47139d
cmp dword [ebp - 0x54], 8
lea ecx, [ebp - 0x68]
cmovae ecx, dword [ebp - 0x68]
call fcn.004678c0
test al, al
je 0x47139d
cmp dword [ebp - 0x3c], 8
lea ecx, [ebp - 0x2d0]
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2e0], eax
cmp eax, 0xffffffff
jne 0x471423
mov esi, dword [ebp - 0x2d4]
test esi, esi
je 0x4713fe
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x4713e0
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4713d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47195a
mov eax, edx
push ecx
push eax
call fcn.0052cac7
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.0052cac7
add esp, 8
mov edx, dword [edi]
dec ebx
push 0xc
push edx
mov dword [ebp - 0x14], ebx
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.0052cac7
add esp, 8
jmp 0x471843
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop dword [eax]
push 0x5d54d0
lea eax, [ebp - 0x2a4]
push eax
call esi
test eax, eax
je 0x47179b
push 0x5daac4
lea eax, [ebp - 0x2a4]
push eax
call esi
test eax, eax
je 0x47179b
mov eax, dword [ebp - 0x2d0]
test eax, 0x400
jne 0x47179b
lea ecx, [ebp - 0x2a4]
test al, 0x10
je 0x4715a0
call fcn.00470520
test eax, eax
je 0x47179b
sub esp, 0x18
xor eax, eax
mov edx, esp
mov dword [ebp - 0x2d8], esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
lea eax, [ebp - 0x2a4]
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4714b0
sub eax, esi
mov ecx, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.0044a890
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x68]
mov ecx, esp
push eax
call fcn.0044c0c0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.0046ffd0
push 0x18
mov byte [ebp - 4], 5
call fcn.0052ca97
mov ecx, eax
add esp, 0x34
xor eax, eax
mov dword [ebp - 0x2d8], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea eax, [ebp - 0x38]
cmp ecx, eax
je 0x47152d
cmp dword [ebp - 0x24], 8
push dword [ebp - 0x28]
cmovae eax, dword [ebp - 0x38]
push eax
call fcn.0044a890
mov esi, dword [edi + 4]
lea eax, [ebp - 0x2d8]
push eax
push esi
push edi
call fcn.004583f0
mov ebx, dword [ebp - 0x14]
mov ecx, 0x15555554
sub ecx, ebx
cmp ecx, 1
jb 0x471950
mov dword [edi + 4], eax
inc ebx
mov dword [esi], eax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ebx
cmp edx, 8
jb 0x471598
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47158e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47195a
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov edi, dword [ebp - 0x18]
jmp 0x471795
call fcn.00470800
test eax, eax
je 0x47179b
sub esp, 0x18
lea ecx, [ebp - 0x2a4]
mov edx, esp
mov dword [ebp - 0x1c], esp
xor eax, eax
lea esi, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4715d1
sub ecx, esi
lea eax, [ebp - 0x2a4]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0044a890
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp - 0x68]
mov ecx, esp
push eax
call fcn.0044c0c0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 3
call fcn.0046ffd0
add esp, 0x30
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x38]
call fcn.0044c0c0
cmp byte [0x5ef785], 0
jne 0x4716da
mov eax, dword [0x5ef74c]
shl eax, 0xa
test eax, eax
je 0x4716da
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
push 0
cmovae eax, dword [ebp - 0x38]
push 0x2000000
push 3
push 0
push 7
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4716da
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push esi
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x5ef74c]
shl eax, 0xa
cmp dword [ebp - 0x1c], 0
jg 0x4716da
jl 0x471697
cmp dword [ebp - 0x20], eax
jae 0x4716da
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x471757
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4716cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47195a
push edx
push ecx
call fcn.0052cac7
add esp, 8
jmp 0x471757
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x471714
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47170a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47195a
push edx
push ecx
call fcn.0052cac7
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x80]
mov ecx, esp
push eax
call fcn.0044c0c0
mov esi, dword [ebp - 0x2e4]
mov ecx, esi
call fcn.004754a0
add esp, 0x18
cmp eax, 0x1388
jl 0x471757
test esi, esi
jne 0x471744
mov eax, dword [0x5f01e0]
jmp 0x47174e
cmp esi, 1
jne 0x471757
mov eax, dword [0x5f0218]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x471795
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47178b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47195a
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [ebp - 0x2d0]
push eax
push dword [ebp - 0x2e0]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x471430
mov esi, dword [ebp - 0x2d4]
test esi, esi
je 0x471817
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x4717f9
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4717ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47195a
mov eax, edx
push ecx
push eax
call fcn.0052cac7
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.0052cac7
add esp, 8
mov edx, dword [edi]
dec ebx
push 0xc
push edx
mov dword [ebp - 0x14], ebx
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.0052cac7
add esp, 8
push dword [ebp - 0x2e0]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x471881
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471877
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47195a
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov byte [ebp - 4], 1
xor eax, eax
mov edx, dword [ebp - 0x54]
mov word [ebp - 0x50], ax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], eax
cmp edx, 8
jb 0x4718cf
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4718c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47195a
push edx
push ecx
call fcn.0052cac7
add esp, 8
test ebx, ebx
jmp 0x471290
mov dword [edi], edi
mov dword [edi + 4], edi
cmp eax, edi
je 0x4718f3
nop
mov esi, dword [eax]
push 0xc
push eax
call fcn.0052cac7
add esp, 8
mov eax, esi
cmp esi, edi
jne 0x4718e0
push 0xc
push edi
call fcn.0052cac7
mov edx, dword [ebp + 0x1c]
add esp, 8
cmp edx, 8
jb 0x471934
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47192a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47195a
push edx
push ecx
call fcn.0052cac7
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.0052c886
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.00529cde
call fcn.00548571
int3