Function at 0x47ae70
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 0x57d329
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.0045cb30
mov edi, eax
mov dword [ebp - 0x2c4], edi
mov dword [ebp - 0x1c], edi
push 0x18
mov byte [ebp - 4], 1
call fcn.00536d77
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 0x47af2f
cmp dword [ebx + 0x1c], 8
mov ecx, esi
push dword [ebx + 0x18]
cmovae eax, dword [ebx + 8]
push eax
call fcn.0044b740
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x47af39
mov eax, dword [esi]
cmp word [eax], 0x5c
je 0x47afc4
push esi
mov edx, 0x5e2a48
lea ecx, [ebp - 0x64]
call fcn.0045b5f0
mov edi, eax
add esp, 4
cmp esi, edi
je 0x47af84
mov ecx, esi
call fcn.00449930
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 0x47afbe
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47afb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47b740
push edx
push ecx
call fcn.00536da7
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.0045cb60
mov edx, dword [ebp - 0x18]
mov ecx, 0x15555554
sub ecx, edx
cmp ecx, 1
jb 0x47b745
add edx, 1
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov dword [esi], eax
je 0x47b5ea
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.0044d140
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp - 0x4c]
mov ecx, esp
push eax
call fcn.0044d140
lea ecx, [ebp - 0x34]
call fcn.0047a1b0
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 0x47b07a
mov eax, dword [ebp - 0x2cc]
push eax
cmp dword [ebp - 0x2d4], ecx
jne 0x47b06d
push str.___LOCAL:__i_dirs_processed.
jmp 0x47b072
push str.___NETWORK:__i_dirs_processed.
call fcn.0046b090
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 0x47b1a5
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.0046b090
mov eax, dword [ebp - 0x2c8]
add esp, 0xc
cmp dword [eax + 0x250], 5
jne 0x47b119
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x4c]
call fcn.004710e0
test al, al
je 0x47b119
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 0x47b1a5
mov eax, dword [ebp - 0x2c0]
test eax, eax
je 0x47b180
mov ecx, dword [eax + 0x14]
cmp ecx, 8
jb 0x47b162
mov eax, dword [eax]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x47b152
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47b740
mov eax, edx
push ecx
push eax
call fcn.00536da7
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.00536da7
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.00536da7
add esp, 8
jmp 0x47b556
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop dword [eax + eax]
push 0x5e15b0
lea eax, [ebp - 0x28c]
push eax
call esi
test eax, eax
je 0x47b4ab
push 0x5e2774
lea eax, [ebp - 0x28c]
push eax
call esi
test eax, eax
je 0x47b4ab
mov eax, dword [ebp - 0x2b8]
test eax, 0x400
jne 0x47b4ab
cmp byte [0x5fd961], 0
jne 0x47b650
test al, 0x10
je 0x47b350
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 0x47b230
sub ecx, esi
lea eax, [ebp - 0x28c]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0044b740
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x4c]
mov ecx, esp
push eax
call fcn.0044d140
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00479e60
add esp, 0x30
mov eax, dword [ebp - 0x2c8]
mov byte [ebp - 4], 5
cmp byte [eax + 0x242], 0
jne 0x47b2cd
mov edi, dword [0x5ff8dc]
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 0x47b2c7
nop
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
jb 0x47b2ab
mov eax, dword [eax]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x47b345
mov esi, dword [esi]
mov ecx, dword [ebp - 0x2bc]
cmp esi, edi
jne 0x47b2a0
mov edi, dword [ebp - 0x2d0]
push 0x18
call fcn.00536d77
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 0x47b30a
cmp dword [ebp - 0x50], 8
push dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
push eax
call fcn.0044b740
mov esi, dword [edi + 4]
lea eax, [ebp - 0x2bc]
push eax
push esi
push edi
call fcn.0045cb60
mov edx, dword [ebp - 0x18]
mov ecx, 0x15555554
sub ecx, edx
cmp ecx, 1
jb 0x47b745
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 0x47b467
mov edi, dword [ebp - 0x2d0]
jmp 0x47b467
mov eax, dword [ebp - 0x2c8]
cmp byte [eax + 0x242], 0
jne 0x47b372
lea ecx, [ebp - 0x28c]
call fcn.0047a3b0
test eax, eax
je 0x47b4ab
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 0x47b3a0
sub ecx, esi
lea eax, [ebp - 0x28c]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0044b740
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp - 0x4c]
mov ecx, esp
push eax
call fcn.0044d140
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00479e60
add esp, 0x30
mov esi, dword [ebp - 0x2c8]
mov byte [ebp - 4], 7
cmp byte [esi + 0x242], 0
jne 0x47b40c
sub esp, 0x18
lea eax, [ebp - 0x64]
mov ecx, esp
push eax
call fcn.0044d140
call fcn.0047ad70
add esp, 0x18
test al, al
je 0x47b467
sub esp, 0x18
lea eax, [ebp - 0x64]
mov ecx, esp
push eax
call fcn.0044d140
mov ecx, dword [ebp - 0x2d4]
mov edx, esi
call fcn.0047f6a0
add esp, 0x18
cmp eax, 0x1f40
jl 0x47b461
mov eax, dword [ebp - 0x2d4]
test eax, eax
jne 0x47b442
mov eax, dword [0x5ff9e0]
jmp 0x47b458
cmp eax, 1
jne 0x47b44e
mov eax, dword [0x5ffa50]
jmp 0x47b458
cmp eax, 2
jne 0x47b461
mov eax, dword [0x5ffa18]
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 0x47b4a5
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47b49b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47b740
push edx
push ecx
call fcn.00536da7
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 0x47b1b0
mov esi, dword [ebp - 0x2c0]
test esi, esi
je 0x47b527
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x47b509
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x47b4ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47b740
mov eax, edx
push ecx
push eax
call fcn.00536da7
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.00536da7
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.00536da7
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 0x47b594
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47b58a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47b740
push edx
push ecx
call fcn.00536da7
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 0x47b5e2
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47b5d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47b740
push edx
push ecx
call fcn.00536da7
add esp, 8
test esi, esi
jne 0x47b004
mov eax, dword [edi]
mov dword [edi], edi
mov dword [edi + 4], edi
cmp eax, edi
je 0x47b608
mov esi, dword [eax]
push 0xc
push eax
call fcn.00536da7
add esp, 8
mov eax, esi
cmp esi, edi
jne 0x47b5f5
push 0xc
push edi
call fcn.00536da7
mov edx, dword [ebx + 0x1c]
add esp, 8
cmp edx, 8
jb 0x47b722
mov ecx, dword [ebx + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47b718
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47b74f
jmp 0x47b718
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x47b68a
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47b680
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47b754
push edx
push ecx
call fcn.00536da7
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 0x47b6d8
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47b6ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47b759
push edx
push ecx
call fcn.00536da7
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 0x47b608
nop dword [eax + eax]
mov esi, dword [eax]
push 0xc
push eax
call fcn.00536da7
add esp, 8
mov eax, esi
cmp esi, edi
jne 0x47b700
jmp 0x47b608
push edx
push ecx
call fcn.00536da7
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.00536b66
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00552841
push str.list_T__too_long
call fcn.00533fbe
call fcn.00552841
call fcn.00552841
call fcn.00552841
int3