Function at 0x47e360
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1953
mov eax, dword fs:[0]
push eax
sub esp, 0x528
mov eax, dword [0x5091d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x524], eax
lea eax, [ebp - 0x52c]
push eax
call fcn.0047efd0
push dword [ebp - 0x52c]
lea eax, [ebp - 0x534]
mov dword [ebp - 4], 0
push eax
call fcn.0047eeb0
push 0x250
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.004a1860
add esp, 0x18
push str..lnk
call fcn.0047f0f0
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0047e270
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x47e3f4
mov eax, dword [eax]
lea ecx, [ebp - 0x2c0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x5c]
mov edi, eax
mov dword [ebp - 0x51c], edi
cmp edx, 8
jb 0x47e444
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47e43a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47e8cf
push edx
push ecx
call fcn.0049f81a
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edi, 0xffffffff
je 0x47e85b
call fcn.0047f0f0
mov edi, eax
mov ecx, 0x7ffffffe
mov eax, dword [edi + 0x10]
sub ecx, eax
mov dword [ebp - 0x518], eax
cmp ecx, 1
jb 0x47e8ca
cmp dword [edi + 0x14], 8
jb 0x47e489
mov edi, dword [edi]
lea ecx, [eax + 1]
mov dword [ebp - 0x40], 0
mov esi, 7
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x520], ecx
mov dword [ebp - 0x514], eax
cmp ecx, esi
jbe 0x47e4f3
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x47e4cd
mov esi, 0x7ffffffe
jmp 0x47e4d8
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x40]
call fcn.004141b0
mov ecx, dword [ebp - 0x520]
mov dword [ebp - 0x514], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x518]
add esi, esi
mov dword [ebp - 0x30], ecx
push esi
push edi
push eax
call fcn.004a11f0
mov eax, dword [ebp - 0x514]
mov ecx, 0x5c
add esp, 0xc
xor edx, edx
mov word [esi + eax], cx
mov ecx, dword [ebp - 0x518]
mov word [eax + ecx*2 + 2], dx
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 2
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47e535
sub ecx, edx
lea eax, [ebp - 0x294]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.0041a2c0
mov dword [ebp - 0x58], 0
xor ecx, ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x47e5cb
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47e5c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47e8cf
push edx
push ecx
call fcn.0049f81a
add esp, 8
mov edx, dword [ebp - 0x534]
xor eax, eax
cmp dword [ebp - 0x44], 8
mov word [ebp - 0x40], ax
push 0
mov eax, dword [edx]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov ecx, dword [eax + 0x14]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push edx
call ecx
test eax, eax
js 0x47e72a
push 0x250
lea eax, [ebp - 0x510]
push 0
push eax
call fcn.004a1860
xor eax, eax
mov dword [ebp - 0x28], 0
add esp, 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push eax
push 0x104
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.0041a110
mov edx, dword [ebp - 0x52c]
lea esi, [ebp - 0x510]
cmp dword [ebp - 0x14], 8
push 1
push esi
mov eax, dword [edx]
push 0x104
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push edx
call ecx
test eax, eax
js 0x47e6dc
sub esp, 0x18
lea ecx, [ebp - 0x28]
mov eax, esp
push ecx
push eax
call fcn.0048bc80
add esp, 8
lea eax, [ebp - 0x40]
push eax
call fcn.00402cd0
add esp, 0x1c
lea ecx, [ebp - 0x40]
push 0
push str.win_vind
call fcn.0043e9c0
cmp eax, 0xffffffff
jne 0x47e788
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x47e6dc
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47e6d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47e8d4
push edx
push ecx
call fcn.0049f81a
add esp, 8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x47e71a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47e710
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47e8d9
push edx
push ecx
call fcn.0049f81a
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x47e768
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47e75e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47e8d9
push edx
push ecx
call fcn.0049f81a
add esp, 8
lea eax, [ebp - 0x2c0]
push eax
push dword [ebp - 0x51c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47e461
jmp 0x47e84f
mov eax, dword [ebp - 0x524]
mov eax, dword [eax]
mov byte [eax], 1
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x47e7c7
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47e7bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47e8d4
push edx
push ecx
call fcn.0049f81a
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x47e801
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47e7f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47e8d9
push edx
push ecx
call fcn.0049f81a
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x47e84f
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47e845
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47e8d9
push edx
push ecx
call fcn.0049f81a
add esp, 8
push dword [ebp - 0x51c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x530]
or edi, 0xffffffff
test esi, esi
je 0x47e887
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x47e887
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x47e887
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x528]
test esi, esi
je 0x47e8af
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x47e8af
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x47e8af
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049f836
mov esp, ebp
pop ebp
ret
call fcn.00402d70
call fcn.004a48ef
call fcn.004a48ef
call fcn.004a48ef
int3