Function at 0x47acc0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed477
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x53f100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x270], eax
cmp dword [ebp + 0x14], 0
mov dword [ebp - 4], 1
je 0x47ad0a
push eax
call fcn.0042cb65
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], 0
jne 0x47ad2e
push 0x506f1c
call fcn.004cbe7a
add esp, 4
push eax
push 0x506f1c
lea ecx, [ebp + 0x10]
call fcn.004253b1
lea ecx, [ebp - 0x260]
push ecx
push ecx
mov esi, esp
mov dword [ebp - 0x26c], esp
mov dword [ebp - 0x268], esi
call fcn.004bcd4c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47ad5e
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, 0x4ff58c
mov byte [ebp - 4], 2
test ecx, 0xffff0000
jne 0x47ad97
mov edx, ecx
movzx edi, dx
push edi
call fcn.004c4eeb
test eax, eax
je 0x47adb1
push edi
push eax
mov ecx, esi
call fcn.00424e60
jmp 0x47adb1
push 0x4ff58c
call fcn.004cbe7a
add esp, 4
push eax
push 0x4ff58c
mov ecx, esi
call fcn.004253b1
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x268], esp
mov esi, esp
push eax
call fcn.00425422
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 0x264], esp
mov esi, esp
push eax
call fcn.00425422
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea edi, [ebp - 0x274]
mov byte [ebp - 4], 1
call fcn.00477ed0
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
mov dword [ebp - 0x26c], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ae34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
je 0x47b086
lea ecx, [ecx]
call fcn.004bcd4c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x47ad54
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x264], ebx
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 5
mov edx, ecx
test ecx, 0xffff0000
jne 0x47af41
movzx esi, dx
push esi
call fcn.004c4eeb
mov edi, eax
test edi, edi
je 0x47af63
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x47af63
push esi
push eax
push edi
call fcn.004226d5
mov edi, eax
add esp, 0xc
test edi, edi
je 0x47af63
movzx esi, word [edi]
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x47aee1
push esi
lea ecx, [ebp - 0x264]
call fcn.004224ff
movzx eax, word [edi]
lea ebx, [edi + 2]
cmp eax, 0xffffffff
jne 0x47aef6
push ebx
call fcn.004cbe7a
add esp, 4
inc eax
lea edx, [eax + eax]
push edx
push ebx
mov ebx, dword [ebp - 0x264]
lea edi, [esi + esi]
push edi
push ebx
call fcn.004cb905
add esp, 0x10
cmp eax, 0x50
ja case.0x47af1e.1
movzx eax, byte [eax + 0x47b100]
jmp dword [eax*4 + 0x47b0f0]
test esi, esi
jl 0x47b07c
cmp esi, dword [ebx - 8]
jg 0x47b07c
xor ecx, ecx
mov dword [ebx - 0xc], esi
mov word [edi + ebx], cx
jmp 0x47af5d
push edx
call fcn.004cbe7a
add esp, 4
push eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
call fcn.004253b1
mov ebx, dword [ebp - 0x264]
mov edi, dword [ebp - 0x270]
mov byte [ebp - 4], 6
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x47af78
xor eax, eax
jmp 0x47af80
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x47afbd
mov ecx, dword [ebp - 0x26c]
mov byte [ebp - 0x268], 0
mov eax, dword [ebp - 0x268]
push eax
push ecx
lea edx, [ebp - 0x264]
push edx
push 1
push esi
call fcn.00425e92
add esp, 0x14
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x47afdf
cmp ecx, esi
jbe 0x47afc6
call fcn.004cbff1
mov eax, dword [edi]
push esi
push eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x27c]
push ecx
mov eax, edi
call fcn.004250ba
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47afff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x26c]
lea ecx, [ebp - 0x260]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47ae40
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47b045
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47b06b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x47b0d1
call fcn.004bd2b4
call fcn.004bd2ec
push 0x80070057
call fcn.00422000
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47b0a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47b0cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cb516
mov esp, ebp
pop ebp
ret