Function at 0x4c9f50
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5e5c7c
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x2d8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2e8]
mov edi, dword [esp + 0x2ec]
mov esi, dword [esp + 0x2f0]
push edi
push eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x70]
push eax
call fcn.0043bbd0
add esp, 0xc
mov eax, dword [esp + 0x6c]
xor ebp, ebp
cmp dword [esp + 0x80], 8
mov dword [esp + 0x2e0], ebp
jae 0x4c9fce
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x84]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x4ca18a
xor edx, edx
mov eax, edi
mov word [esp + 0x50], dx
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4ca002
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x54]
call fcn.00439ce0
mov ebx, 1
push ebx
push ebp
push 0x5fb420
lea ecx, [esp + 0x58]
mov byte [esp + 0x2ec], bl
call fcn.0045c080
cmp eax, 0xffffffff
je 0x4ca04f
push 2
push 0x5f0ddc
push ebx
push eax
lea ecx, [esp + 0x5c]
call fcn.004c4140
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.004c9aa0
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], ebp
mov dword [eax], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 8], eax
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0xb0]
push edx
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0043bbd0
add esp, 0xc
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x2ec], 2
call fcn.00439be0
mov edi, 8
mov byte [esp + 0x2e0], bl
cmp dword [esp + 0x38], edi
jb 0x4ca0c3
mov edx, dword [esp + 0x24]
push edx
call fcn.00506f70
add esp, 4
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x64], edi
jae 0x4ca0d1
lea eax, [esp + 0x50]
lea ecx, [esp + 0x18]
push ecx
push eax
lea edx, [esp + 0xb8]
push edx
call fcn.0057ef73
mov eax, dword [esp + 0x24]
lea ecx, [eax - 1]
add esp, 0xc
cmp ecx, 0xea5e
ja 0x4ca151
push 0xffffffffffffffff
mov dword [esp + 0x24], eax
push ebp
lea eax, [esp + 0x70]
xor edx, edx
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], dx
call fcn.00439be0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x44]
push edx
mov ecx, esi
mov byte [esp + 0x2e8], 3
call fcn.004c9d00
mov byte [esp + 0x2e0], bl
cmp dword [esp + 0x3c], edi
jb 0x4ca151
mov eax, dword [esp + 0x28]
push eax
call fcn.00506f70
add esp, 4
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x84]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x4ca075
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
cmp dword [esp + 0x64], edi
jb 0x4ca18a
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00506f70
add esp, 4
cmp dword [esp + 0x80], 8
jb 0x4ca1a1
mov edx, dword [esp + 0x6c]
push edx
call fcn.00506f70
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c0]
xor ecx, esp
call fcn.005792fc
add esp, 0x2d0
ret