Function at 0x476be7
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28c
push ebx
push esi
push edi
mov esi, ecx
mov edx, 0x4ab30c
push str.ConfigPlugins_
lea ecx, [esp + 0x2c]
call fcn.0043ab55
mov ecx, dword [esi]
add ecx, 0x10
mov dword [esp], 0x4a38e4
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00459506
mov dword [esp + 0x30], eax
test eax, eax
je 0x476e60
mov ecx, dword [esi]
push str.title
add ecx, 0x10
call fcn.0045d768
mov dword [esp + 0x44], eax
test eax, eax
je 0x476e60
and dword [esp + 0x10], 0
lea edx, [esp + 0x28]
push 0x49add8
lea ecx, [esp + 0x38]
call fcn.0043ab55
pop ecx
lea ecx, [esp + 0x48]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [esp + 0x34]
mov ebx, eax
add ecx, 0xfffffff0
mov dword [esp + 0x40], ebx
call fcn.0043c924
cmp ebx, 0xffffffff
je 0x476e60
and dword [esp + 0x18], 0
and dword [esp + 0x1c], 0
and dword [esp + 0x20], 0
test byte [esp + 0x48], 0x10
je 0x476e12
lea eax, [esp + 0x74]
push 0x497e48
push eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x44]
call fcn.0043ab55
pop ecx
mov edx, eax
lea ecx, [esp + 0x3c]
call fcn.0043ab55
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [esp + 0x38]
mov edi, eax
add ecx, 0xfffffff0
call fcn.0043c924
mov ecx, dword [esp + 0x3c]
add ecx, 0xfffffff0
call fcn.0043c924
test edi, edi
je 0x476e12
push str.DismCreateInstance2
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x476e12
mov ecx, dword [esi]
lea eax, [esp + 0x14]
and dword [esp + 0x14], 0
push eax
push 0x4a20bc
mov ecx, dword [ecx + 0x230]
push dword [ecx + 0x228]
call edi
test eax, eax
jne 0x476da6
and dword [esp + 0x24], eax
lea edx, [esp + 0x24]
mov eax, dword [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
xor edi, edi
cmp dword [esp + 0x24], edi
je 0x476e04
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
jne 0x476d94
push dword [esp + 0x10]
mov ecx, dword [esi]
push ebx
call fcn.00476954
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
cmp ecx, dword [esp + 0x20]
je 0x476d85
mov dword [ecx], eax
add dword [esp + 0x1c], 4
jmp 0x476d94
lea eax, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.0047f9b3
and dword [esp + 0x10], 0
inc edi
cmp edi, dword [esp + 0x24]
jne 0x476d4e
mov ebx, dword [esp + 0x40]
jmp 0x476e04
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi]
push 0x4a20ac
mov eax, dword [eax + 0x230]
push dword [eax + 0x228]
call edi
test eax, eax
jne 0x476e04
cmp dword [esp + 0x10], eax
je 0x476e04
push dword [esp + 0x10]
mov ecx, dword [esi]
push dword [esp + 0x34]
call fcn.00476954
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
cmp ecx, dword [esp + 0x20]
je 0x476df0
mov dword [ecx], eax
add dword [esp + 0x1c], 4
jmp 0x476dff
lea eax, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.0047f9b3
and dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x476e12
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [esp + 0x48]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x476c99
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 8
lea edi, [esp + 0x1c]
lea ebx, [esp + 0x48]
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
test eax, eax
je 0x476e49
mov dword [eax], edi
mov dword [eax + 4], ebx
jmp 0x476e4b
xor eax, eax
mov edx, eax
mov ecx, 0x47eb3b
call fcn.0042c4b6
lea ecx, [esp + 0x18]
call fcn.00430403
mov ecx, dword [esi]
push 0
mov ecx, dword [ecx + 0x230]
call fcn.0047dbc3
mov ecx, dword [esp + 0x28]
lea ecx, [ecx - 0x10]
call fcn.0043c924
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret