Function at 0x4d4050
Capabilities:
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff728
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6b8
mov eax, dword [0x6b000c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x694], ecx
xor edx, edx
nop dword [eax]
movzx eax, word [edx + 0x6b88a0]
lea edx, [edx + 2]
mov word [ebp + edx - 0x23a], ax
test ax, ax
jne 0x4d40a0
xor ecx, ecx
nop dword [eax]
movzx eax, word [ebp + ecx - 0x238]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x442], ax
test ax, ax
jne 0x4d40c0
lea ecx, [ebp - 0x238]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d40e1
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 - 2]
cmp word [ebp + ecx - 0x238], 0x5c
jne 0x4d4118
cmp ecx, 0x208
jae 0x4d43ad
xor eax, eax
mov word [ebp + ecx - 0x238], ax
push str._type.dll
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4d43a3
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x6a0], esi
mov dword [ebp - 4], 1
lea eax, [ebp - 0x690]
push eax
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x698], edi
cmp edi, 0xffffffff
jne 0x4d41c0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x69c], esp
push 0x6b1538
call fcn.00420d90
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
xor ecx, ecx
call fcn.004e1110
lea eax, [ebp - 0x238]
push eax
push str.When_Init_DLL_Error
call fcn.004131f0
add esp, 0x20
mov dword [ebp - 4], edi
add esi, 0xfffffff0
or eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jmp 0x4d437b
lea eax, [ebp - 0x664]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x6a0]
push str._s_type_s
movups xmmword [ebp - 0x6c4], xmm0
push eax
movups xmmword [ebp - 0x6b4], xmm0
mov dword [ebp - 0x6c4], 0x20
call fcn.0040d300
add esp, 0x10
lea eax, [ebp - 0x690]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, dword [ebp - 0x6a0]
push esi
push str.Found_DLL__s
mov dword [ebp - 0x69c], eax
call fcn.004131f0
add esp, 8
cmp dword [esi - 0xc], 0
jl 0x4d4320
push str.file_
push esi
call fcn.00587dd7
add esp, 8
test eax, eax
je 0x4d4320
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4d4320
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov dword [ebp - 0x6bc], edi
test edi, edi
jne 0x4d4270
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4d431a
push str.GetSupportFormat
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x6b4], eax
test eax, eax
jne 0x4d4292
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4d431a
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov byte [ebp - 0x18], 0
push ecx
movups xmmword [ebp - 0x2c], xmm0
call eax
add esp, 4
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x6a4]
push eax
call fcn.0040c2f0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x694]
push eax
add ecx, 0xc
call fcn.004c5c40
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x6a4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d42f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x694]
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x4d430d
mov dword [eax], edi
add dword [ecx + 4], 4
mov edi, dword [ebp - 0x698]
jmp 0x4d4326
lea edx, [ebp - 0x6bc]
push edx
push eax
call fcn.004d9270
mov edi, dword [ebp - 0x698]
mov ecx, dword [ebp - 0x694]
cmp dword [ebp - 0x69c], 0
jne 0x4d41c0
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
test eax, 0xfffffffc
jne 0x4d4366
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x69c], esp
push 0x6b1538
call fcn.00420d90
mov byte [ebp - 4], 6
mov byte [ebp - 4], 1
xor ecx, ecx
call fcn.004e1110
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or edi, 0xffffffff
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4d4385
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.0040b250
call fcn.0055faf0
int3