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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573cf3
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x5eaea4]
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.0045a480
mov esi, eax
mov dword [ebp - 0x18], esi
push 0x18
mov byte [ebp - 4], 1
call fcn.0052edc8
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 0x4733ce
cmp dword [ebp + 0x1c], 8
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
call fcn.0044a8b0
mov edi, dword [esi + 4]
lea eax, [ebp - 0x2d4]
push eax
push edi
push esi
call fcn.0045a460
mov ebx, dword [ebp - 0x14]
mov ecx, 0x15555554
sub ecx, ebx
cmp ecx, 1
jb 0x473ac0
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 0x473a46
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.0044c0e0
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp - 0x68]
mov ecx, esp
push eax
call fcn.0044c0e0
lea ecx, [ebp - 0x50]
call fcn.00472490
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 0x473482
mov eax, dword [ebp - 0x2dc]
push eax
cmp dword [ebp - 0x2e4], ecx
jne 0x473475
push str.___LOCAL:__i_dirs_processed.
jmp 0x47347a
push str.___NETWORK:__i_dirs_processed.
call fcn.00463390
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 0x4735a0
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.00463390
add esp, 0xc
cmp esi, 5
jne 0x47350d
cmp dword [ebp - 0x54], 8
lea ecx, [ebp - 0x68]
cmovae ecx, dword [ebp - 0x68]
call fcn.00469a40
test al, al
je 0x47350d
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 0x473593
mov esi, dword [ebp - 0x2d4]
test esi, esi
je 0x47356e
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x473550
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x473546
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x473aca
mov eax, edx
push ecx
push eax
call fcn.0052edf8
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.0052edf8
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.0052edf8
add esp, 8
jmp 0x4739b3
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop dword [eax]
push 0x5d74e0
lea eax, [ebp - 0x2a4]
push eax
call esi
test eax, eax
je 0x47390b
push 0x5dcd5c
lea eax, [ebp - 0x2a4]
push eax
call esi
test eax, eax
je 0x47390b
mov eax, dword [ebp - 0x2d0]
test eax, 0x400
jne 0x47390b
lea ecx, [ebp - 0x2a4]
test al, 0x10
je 0x473710
call fcn.00472690
test eax, eax
je 0x47390b
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 0x473620
sub eax, esi
mov ecx, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.0044a8b0
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x68]
mov ecx, esp
push eax
call fcn.0044c0e0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00472140
push 0x18
mov byte [ebp - 4], 5
call fcn.0052edc8
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 0x47369d
cmp dword [ebp - 0x24], 8
push dword [ebp - 0x28]
cmovae eax, dword [ebp - 0x38]
push eax
call fcn.0044a8b0
mov esi, dword [edi + 4]
lea eax, [ebp - 0x2d8]
push eax
push esi
push edi
call fcn.0045a460
mov ebx, dword [ebp - 0x14]
mov ecx, 0x15555554
sub ecx, ebx
cmp ecx, 1
jb 0x473ac0
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 0x473708
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4736fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x473aca
push edx
push ecx
call fcn.0052edf8
add esp, 8
mov edi, dword [ebp - 0x18]
jmp 0x473905
call fcn.00472970
test eax, eax
je 0x47390b
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 0x473741
sub ecx, esi
lea eax, [ebp - 0x2a4]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0044a8b0
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp - 0x68]
mov ecx, esp
push eax
call fcn.0044c0e0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 3
call fcn.00472140
add esp, 0x30
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x38]
call fcn.0044c0e0
cmp byte [0x5f17a7], 0
jne 0x47384a
mov eax, dword [0x5f176c]
shl eax, 0xa
test eax, eax
je 0x47384a
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 0x47384a
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 [0x5f176c]
shl eax, 0xa
cmp dword [ebp - 0x1c], 0
jg 0x47384a
jl 0x473807
cmp dword [ebp - 0x20], eax
jae 0x47384a
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x4738c7
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47383b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x473aca
push edx
push ecx
call fcn.0052edf8
add esp, 8
jmp 0x4738c7
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x473884
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47387a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x473aca
push edx
push ecx
call fcn.0052edf8
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x80]
mov ecx, esp
push eax
call fcn.0044c0e0
mov esi, dword [ebp - 0x2e4]
mov ecx, esi
call fcn.004777c0
add esp, 0x18
cmp eax, 0x1388
jl 0x4738c7
test esi, esi
jne 0x4738b4
mov eax, dword [0x5f2204]
jmp 0x4738be
cmp esi, 1
jne 0x4738c7
mov eax, dword [0x5f223c]
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 0x473905
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4738fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x473aca
push edx
push ecx
call fcn.0052edf8
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 0x4735a0
mov esi, dword [ebp - 0x2d4]
test esi, esi
je 0x473987
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x473969
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x47395f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x473aca
mov eax, edx
push ecx
push eax
call fcn.0052edf8
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.0052edf8
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.0052edf8
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 0x4739f1
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4739e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x473aca
push edx
push ecx
call fcn.0052edf8
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 0x473a3f
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x473a35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x473aca
push edx
push ecx
call fcn.0052edf8
add esp, 8
test ebx, ebx
jmp 0x473400
mov dword [edi], edi
mov dword [edi + 4], edi
cmp eax, edi
je 0x473a63
nop
mov esi, dword [eax]
push 0xc
push eax
call fcn.0052edf8
add esp, 8
mov eax, esi
cmp esi, edi
jne 0x473a50
push 0xc
push edi
call fcn.0052edf8
mov edx, dword [ebp + 0x1c]
add esp, 8
cmp edx, 8
jb 0x473aa4
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x473a9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x473aca
push edx
push ecx
call fcn.0052edf8
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.0052ebb7
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0052c00e
call fcn.0054a8a1
int3