Function at 0x47b370
Capabilities:
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d7c9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2c8
mov eax, dword [0x5f6ea4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c8], edx
mov dword [ebp - 0x2d4], ecx
xor eax, eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2cc], eax
push eax
movlpd qword [ebp - 0x1c], xmm0
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.0045d010
mov edi, eax
mov dword [ebp - 0x2c4], edi
mov dword [ebp - 0x1c], edi
push 0x18
mov byte [ebp - 4], 1
call fcn.005371e6
mov esi, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c0], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebx + 8]
cmp esi, eax
je 0x47b42f
cmp dword [ebx + 0x1c], 8
mov ecx, esi
push dword [ebx + 0x18]
cmovae eax, dword [ebx + 8]
push eax
call fcn.0044b750
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x47b439
mov eax, dword [esi]
cmp word [eax], 0x5c
je 0x47b4c4
push esi
mov edx, 0x5e2a90
lea ecx, [ebp - 0x64]
call fcn.0045bad0
mov edi, eax
add esp, 4
cmp esi, edi
je 0x47b484
mov ecx, esi
call fcn.00449940
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x47b4be
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47b4b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47bc40
push edx
push ecx
call fcn.00537216
add esp, 8
mov edi, dword [ebp - 0x2c4]
mov esi, dword [edi + 4]
lea eax, [ebp - 0x2c0]
push eax
push esi
push edi
call fcn.0045d040
mov edx, dword [ebp - 0x18]
mov ecx, 0x15555554
sub ecx, edx
cmp ecx, 1
jb 0x47bc45
add edx, 1
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov dword [esi], eax
je 0x47baea
mov dword [ebp - 0x2d0], edi
mov esi, edx
mov eax, dword [edi]
lea ecx, [ebp - 0x4c]
mov eax, dword [eax + 8]
push eax
mov dword [ebp - 0x2c0], eax
call fcn.0044d150
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp - 0x4c]
mov ecx, esp
push eax
call fcn.0044d150
lea ecx, [ebp - 0x34]
call fcn.0047a6c0
add esp, 0x18
mov ecx, dword [ebp - 0x2cc]
mov eax, 0x51eb851f
inc ecx
mov byte [ebp - 4], 3
mul ecx
mov dword [ebp - 0x2cc], ecx
shr edx, 5
imul eax, edx, 0x64
sub ecx, eax
jne 0x47b57a
mov eax, dword [ebp - 0x2cc]
push eax
cmp dword [ebp - 0x2d4], ecx
jne 0x47b56d
push str.___LOCAL:__i_dirs_processed.
jmp 0x47b572
push str.___NETWORK:__i_dirs_processed.
call fcn.0046b580
add esp, 8
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x2b8]
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c4], eax
cmp eax, 0xffffffff
jne 0x47b6a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2c8]
cmp dword [ebp - 0x38], 8
push eax
mov dword [ecx + 0x250], eax
lea ecx, [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x4c]
push ecx
push str._____FindFirstFile_fails_in_directory__s._Code__lu.
call fcn.0046b580
mov eax, dword [ebp - 0x2c8]
add esp, 0xc
cmp dword [eax + 0x250], 5
jne 0x47b619
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x4c]
call fcn.004715f0
test al, al
je 0x47b619
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x2b8]
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c4], eax
cmp eax, 0xffffffff
jne 0x47b6a5
mov eax, dword [ebp - 0x2c0]
test eax, eax
je 0x47b680
mov ecx, dword [eax + 0x14]
cmp ecx, 8
jb 0x47b662
mov eax, dword [eax]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x47b652
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47bc40
mov eax, edx
push ecx
push eax
call fcn.00537216
mov eax, dword [ebp - 0x2c0]
add esp, 8
xor ecx, ecx
mov dword [eax + 0x10], 0
push 0x18
mov dword [eax + 0x14], 7
push eax
mov word [eax], cx
call fcn.00537216
add esp, 8
mov edx, dword [edi]
dec esi
push 0xc
push edx
mov dword [ebp - 0x18], 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.00537216
add esp, 8
jmp 0x47ba56
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop dword [eax + eax]
push 0x5e15c0
lea eax, [ebp - 0x28c]
push eax
call esi
test eax, eax
je 0x47b9ab
push 0x5e27bc
lea eax, [ebp - 0x28c]
push eax
call esi
test eax, eax
je 0x47b9ab
mov eax, dword [ebp - 0x2b8]
test eax, 0x400
jne 0x47b9ab
cmp byte [0x5fd981], 0
jne 0x47bb50
test al, 0x10
je 0x47b850
sub esp, 0x18
lea ecx, [ebp - 0x28c]
mov edx, esp
mov dword [ebp - 0x2bc], esp
xor eax, eax
lea esi, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47b730
sub ecx, esi
lea eax, [ebp - 0x28c]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0044b750
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x4c]
mov ecx, esp
push eax
call fcn.0044d150
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.0047a370
add esp, 0x30
mov eax, dword [ebp - 0x2c8]
mov byte [ebp - 4], 5
cmp byte [eax + 0x242], 0
jne 0x47b7cd
mov edi, dword [0x5ff8fc]
lea ecx, [ebp - 0x64]
cmp dword [ebp - 0x50], 8
cmovae ecx, dword [ebp - 0x64]
mov esi, dword [edi]
mov dword [ebp - 0x2bc], ecx
cmp esi, edi
je 0x47b7c7
nop
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
jb 0x47b7ab
mov eax, dword [eax]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x47b845
mov esi, dword [esi]
mov ecx, dword [ebp - 0x2bc]
cmp esi, edi
jne 0x47b7a0
mov edi, dword [ebp - 0x2d0]
push 0x18
call fcn.005371e6
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x2bc], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea eax, [ebp - 0x64]
cmp ecx, eax
je 0x47b80a
cmp dword [ebp - 0x50], 8
push dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
push eax
call fcn.0044b750
mov esi, dword [edi + 4]
lea eax, [ebp - 0x2bc]
push eax
push esi
push edi
call fcn.0045d040
mov edx, dword [ebp - 0x18]
mov ecx, 0x15555554
sub ecx, edx
cmp ecx, 1
jb 0x47bc45
mov dword [edi + 4], eax
inc edx
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov dword [esi], eax
mov dword [ebp - 0x2d0], edi
jmp 0x47b967
mov edi, dword [ebp - 0x2d0]
jmp 0x47b967
mov eax, dword [ebp - 0x2c8]
cmp byte [eax + 0x242], 0
jne 0x47b872
lea ecx, [ebp - 0x28c]
call fcn.0047a8c0
test eax, eax
je 0x47b9ab
sub esp, 0x18
lea ecx, [ebp - 0x28c]
mov edx, esp
mov dword [ebp - 0x2d8], esp
xor eax, eax
lea esi, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47b8a0
sub ecx, esi
lea eax, [ebp - 0x28c]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0044b750
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp - 0x4c]
mov ecx, esp
push eax
call fcn.0044d150
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.0047a370
add esp, 0x30
mov esi, dword [ebp - 0x2c8]
mov byte [ebp - 4], 7
cmp byte [esi + 0x242], 0
jne 0x47b90c
sub esp, 0x18
lea eax, [ebp - 0x64]
mov ecx, esp
push eax
call fcn.0044d150
call fcn.0047b270
add esp, 0x18
test al, al
je 0x47b967
sub esp, 0x18
lea eax, [ebp - 0x64]
mov ecx, esp
push eax
call fcn.0044d150
mov ecx, dword [ebp - 0x2d4]
mov edx, esi
call fcn.0047fb40
add esp, 0x18
cmp eax, 0x1f40
jl 0x47b961
mov eax, dword [ebp - 0x2d4]
test eax, eax
jne 0x47b942
mov eax, dword [0x5ffa00]
jmp 0x47b958
cmp eax, 1
jne 0x47b94e
mov eax, dword [0x5ffa70]
jmp 0x47b958
cmp eax, 2
jne 0x47b961
mov eax, dword [0x5ffa38]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
inc dword [esi + 0x248]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x47b9a5
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47b99b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47bc40
push edx
push ecx
call fcn.00537216
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [ebp - 0x2b8]
push eax
push dword [ebp - 0x2c4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47b6b0
mov esi, dword [ebp - 0x2c0]
test esi, esi
je 0x47ba27
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x47ba09
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x47b9ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47bc40
mov eax, edx
push ecx
push eax
call fcn.00537216
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.00537216
add esp, 8
mov edx, dword [edi]
mov esi, dword [ebp - 0x18]
push 0xc
dec esi
mov ecx, dword [edx + 4]
mov eax, dword [edx]
push edx
mov dword [ebp - 0x18], esi
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
call fcn.00537216
add esp, 8
push dword [ebp - 0x2c4]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x47ba94
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47ba8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47bc40
push edx
push ecx
call fcn.00537216
add esp, 8
mov byte [ebp - 4], 1
xor eax, eax
mov edx, dword [ebp - 0x38]
mov word [ebp - 0x34], ax
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], eax
cmp edx, 8
jb 0x47bae2
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47bad8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47bc40
push edx
push ecx
call fcn.00537216
add esp, 8
test esi, esi
jne 0x47b504
mov eax, dword [edi]
mov dword [edi], edi
mov dword [edi + 4], edi
cmp eax, edi
je 0x47bb08
mov esi, dword [eax]
push 0xc
push eax
call fcn.00537216
add esp, 8
mov eax, esi
cmp esi, edi
jne 0x47baf5
push 0xc
push edi
call fcn.00537216
mov edx, dword [ebx + 0x1c]
add esp, 8
cmp edx, 8
jb 0x47bc22
mov ecx, dword [ebx + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47bc18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47bc4f
jmp 0x47bc18
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x47bb8a
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47bb80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47bc54
push edx
push ecx
call fcn.00537216
add esp, 8
mov edx, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 8
jb 0x47bbd8
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47bbce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47bc59
push edx
push ecx
call fcn.00537216
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov eax, dword [edi]
mov dword [edi], edi
mov dword [edi + 4], edi
cmp eax, edi
je 0x47bb08
nop dword [eax + eax]
mov esi, dword [eax]
push 0xc
push eax
call fcn.00537216
add esp, 8
mov eax, esi
cmp esi, edi
jne 0x47bc00
jmp 0x47bb08
push edx
push ecx
call fcn.00537216
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00536fd5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00552cb1
push str.list_T__too_long
call fcn.0053442e
call fcn.00552cb1
call fcn.00552cb1
call fcn.00552cb1
int3