Function at 0x47fd20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x513953
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
call fcn.004dd995
test eax, eax
je 0x47fd57
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x47fd59
xor eax, eax
mov ebx, 1
lea ecx, [eax + 0x81c]
push ebx
push 0
call fcn.004e6adb
mov ecx, dword [eax + 0x4b0]
test ecx, ecx
je 0x48016e
call fcn.004dd995
test eax, eax
je 0x47fd8c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x47fd8e
xor eax, eax
push ebx
push 0
lea ecx, [eax + 0x81c]
call fcn.004e6adb
mov eax, dword [eax + 0x4b0]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x48016e
call fcn.004dd995
test eax, eax
je 0x47fdbf
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x47fdc1
xor eax, eax
push ebx
push 0
lea ecx, [eax + 0x81c]
call fcn.004e6adb
mov eax, dword [eax + 0x4b0]
cmp dword [eax + 0x7c], 2
jne 0x47fde8
mov eax, dword [0x55e86c]
test eax, eax
je 0x48016e
mov ecx, esi
call fcn.004801b0
mov eax, dword [0x55e864]
test eax, eax
jne 0x47fdfe
mov dword [esp + 0x24], ebx
jmp 0x47fe0d
dec eax
neg eax
sbb eax, eax
and eax, 0x17
add eax, 7
mov dword [esp + 0x24], eax
mov ecx, dword [0x5580a0]
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 0x1d0]
mov ebp, dword [esp + 0x1cc]
push edi
push ebp
lea edx, [esp + 0x18]
push str._s_s.txt
push edx
mov dword [esp + 0x1d4], 0
call fcn.004d3e8c
mov ecx, dword [esp + 0x20]
add esp, 0x10
lea eax, [esp + 0x7c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x47ff9e
lea edx, [esp + 0xa8]
lea ecx, [esp + 0x14]
push edx
call fcn.004dd17f
mov eax, dword [esp + 0x14]
mov byte [esp + 0x1c4], 1
mov ecx, dword [eax - 8]
cmp ecx, 0xa
jle 0x47ff66
mov eax, ecx
push 0xb
add eax, 0xfffffff1
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004d392f
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1c8], 2
call fcn.004dd24a
lea ecx, [esp + 0x48]
mov byte [esp + 0x1c4], 1
call fcn.004dd111
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x44]
push edx
push eax
push str._d._d._d
push ecx
call fcn.004c21e3
add esp, 0x14
cmp eax, 3
jne 0x47ff66
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push 0xffffffffffffffff
push 0
push 0
push 0
push edx
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.004d40c6
mov edx, dword [esp + 0x44]
push ecx
mov eax, esp
mov dword [esp + 0x54], esp
lea ecx, [esp + 0x24]
mov dword [eax], edx
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.004d41aa
mov ecx, eax
call fcn.00480190
mov ecx, dword [esp + 0x18]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x24]
cmp edx, eax
jge 0x47ff66
lea ecx, [esp + 0xa8]
lea edx, [esp + 0x10]
push ecx
push ebp
push 0x5570d0
push edx
xor ebx, ebx
call fcn.004d3e8c
add esp, 0x10
lea eax, [esp + 0x7c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x47ff80
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
or esi, 0xffffffff
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c4], 0
call fcn.004dd111
cmp esi, 0xffffffff
jne 0x47fe5f
test ebx, ebx
je 0x47ffe9
lea ecx, [esp + 0x18]
push str._m._d._Y
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.004d41aa
mov ecx, eax
call fcn.004d436f
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
push edi
push ebp
push str._s_s_s.txt
push ecx
mov byte [esp + 0x1d8], 3
call fcn.004d3e8c
add esp, 0x14
lea ecx, [esp + 0x18]
mov byte [esp + 0x1c4], 0
call fcn.004dd111
push ebp
call fcn.0048c910
add esp, 4
lea ecx, [esp + 0x28]
call fcn.004dd78e
mov edx, dword [0x5580a0]
mov dword [esp + 0x38], edx
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1c8], 5
mov dword [esp + 0x2c], vtable.CFileException.0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0xffffffff
call fcn.004dd29a
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov bl, 6
mov edx, dword [eax + 0x234]
lea esi, [eax + 0x234]
lea eax, [esp + 0x28]
mov byte [esp + 0x1c4], bl
push eax
push 0x3021
push ecx
mov ecx, esi
call dword [edx + 0x20]
mov edi, eax
test edi, edi
jne 0x480124
push eax
push eax
lea ecx, [esp + 0x30]
call fcn.004dd7b6
call fcn.004dd995
test eax, eax
je 0x480084
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x480086
xor eax, eax
mov edx, dword [eax + 0xbc4]
lea ecx, [esp + 0x54]
push 0x28
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [esp + 0x63]
push eax
call fcn.004c28bf
add esp, 4
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
mov edi, eax
push str._m._d._Y
push ecx
push edx
call fcn.004d41aa
mov ecx, eax
call fcn.004d436f
mov eax, dword [eax]
mov ecx, dword [esp + 0x1d0]
push edi
push eax
push ecx
push ebp
lea edx, [esp + 0x20]
push str._s_s_s_v_i.txt
push edx
mov byte [esp + 0x1dc], 7
call fcn.004d3e8c
add esp, 0x18
lea ecx, [esp + 0x18]
mov byte [esp + 0x1c4], bl
call fcn.004dd111
mov edx, dword [esp + 0x10]
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push 0x3021
push edx
mov ecx, esi
call dword [eax + 0x20]
mov edi, eax
test edi, edi
jne 0x480124
push eax
push eax
lea ecx, [esp + 0x30]
call fcn.004dd7b6
jmp 0x48013d
mov eax, dword [esi]
push 2
push 0
mov ecx, esi
call dword [eax + 0x28]
mov ecx, dword [esp + 0x1c]
push str._r_n_r_n
call fcn.004801d0
mov dword [esp + 0x28], vtable.CFileException.0
lea ecx, [esp + 0x38]
mov byte [esp + 0x1c4], 8
call fcn.004dd111
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c4], 0xffffffff
call fcn.004dd111
mov eax, edi
jmp 0x480170
mov eax, ebx
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1b8
ret 8