Function at 0x47fd60
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x513993
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.004dd9d5
test eax, eax
je 0x47fd97
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x47fd99
xor eax, eax
mov ebx, 1
lea ecx, [eax + 0x81c]
push ebx
push 0
call fcn.004e6b1b
mov ecx, dword [eax + 0x4b0]
test ecx, ecx
je 0x4801ae
call fcn.004dd9d5
test eax, eax
je 0x47fdcc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x47fdce
xor eax, eax
push ebx
push 0
lea ecx, [eax + 0x81c]
call fcn.004e6b1b
mov eax, dword [eax + 0x4b0]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x4801ae
call fcn.004dd9d5
test eax, eax
je 0x47fdff
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x47fe01
xor eax, eax
push ebx
push 0
lea ecx, [eax + 0x81c]
call fcn.004e6b1b
mov eax, dword [eax + 0x4b0]
cmp dword [eax + 0x7c], 2
jne 0x47fe28
mov eax, dword [0x55e96c]
test eax, eax
je 0x4801ae
mov ecx, esi
call fcn.004801f0
mov eax, dword [0x55e964]
test eax, eax
jne 0x47fe3e
mov dword [esp + 0x24], ebx
jmp 0x47fe4d
dec eax
neg eax
sbb eax, eax
and eax, 0x17
add eax, 7
mov dword [esp + 0x24], eax
mov ecx, dword [0x5581a0]
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.004d3ecc
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 0x47ffde
lea edx, [esp + 0xa8]
lea ecx, [esp + 0x14]
push edx
call fcn.004dd1bf
mov eax, dword [esp + 0x14]
mov byte [esp + 0x1c4], 1
mov ecx, dword [eax - 8]
cmp ecx, 0xa
jle 0x47ffa6
mov eax, ecx
push 0xb
add eax, 0xfffffff1
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004d396f
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1c8], 2
call fcn.004dd28a
lea ecx, [esp + 0x48]
mov byte [esp + 0x1c4], 1
call fcn.004dd151
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.004c2223
add esp, 0x14
cmp eax, 3
jne 0x47ffa6
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.004d4106
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.004d41ea
mov ecx, eax
call fcn.004801d0
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 0x47ffa6
lea ecx, [esp + 0xa8]
lea edx, [esp + 0x10]
push ecx
push ebp
push 0x5571d0
push edx
xor ebx, ebx
call fcn.004d3ecc
add esp, 0x10
lea eax, [esp + 0x7c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x47ffc0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
or esi, 0xffffffff
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c4], 0
call fcn.004dd151
cmp esi, 0xffffffff
jne 0x47fe9f
test ebx, ebx
je 0x480029
lea ecx, [esp + 0x18]
push str._m._d._Y
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.004d41ea
mov ecx, eax
call fcn.004d43af
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.004d3ecc
add esp, 0x14
lea ecx, [esp + 0x18]
mov byte [esp + 0x1c4], 0
call fcn.004dd151
push ebp
call fcn.0048c950
add esp, 4
lea ecx, [esp + 0x28]
call fcn.004dd7ce
mov edx, dword [0x5581a0]
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.004dd2da
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 0x480164
push eax
push eax
lea ecx, [esp + 0x30]
call fcn.004dd7f6
call fcn.004dd9d5
test eax, eax
je 0x4800c4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x4800c6
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.004c28ff
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.004d41ea
mov ecx, eax
call fcn.004d43af
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.004d3ecc
add esp, 0x18
lea ecx, [esp + 0x18]
mov byte [esp + 0x1c4], bl
call fcn.004dd151
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 0x480164
push eax
push eax
lea ecx, [esp + 0x30]
call fcn.004dd7f6
jmp 0x48017d
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.00480210
mov dword [esp + 0x28], vtable.CFileException.0
lea ecx, [esp + 0x38]
mov byte [esp + 0x1c4], 8
call fcn.004dd151
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c4], 0xffffffff
call fcn.004dd151
mov eax, edi
jmp 0x4801b0
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