Function at 0x4d7310
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5c2be3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x68
call fcn.0059cff9
add esp, 4
mov dword [esp + 0x28], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x298], esi
je 0x4d7355
mov ecx, eax
call fcn.00462e90
jmp 0x4d7357
xor eax, eax
or ebx, 0xffffffff
mov ecx, eax
mov dword [esp + 0x298], ebx
mov dword [esp + 0x2c], eax
call fcn.00462fd0
mov eax, dword [0x682c9c]
mov ecx, dword [esp + 0x2c]
push eax
add ecx, 0x58
push 0x656f5c
push ecx
call fcn.00599a28
mov eax, dword [edi + 0x1c]
lea ebp, [edi + 0x14]
add esp, 0xc
lea edx, [esp + 0x2c]
mov ecx, ebp
push edx
push eax
call fcn.00417a70
push 0x68
call fcn.0059cff9
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, esi
mov dword [esp + 0x298], 1
je 0x4d73c0
mov ecx, eax
call fcn.00462e90
mov esi, eax
mov ecx, esi
mov dword [esp + 0x298], ebx
mov dword [esi + 0x64], 2
call fcn.00462fd0
mov eax, dword [0x682c98]
lea ecx, [esi + 0x58]
push eax
push 0x656f5c
push ecx
call fcn.00599a28
mov ebx, dword [ebp + 8]
add esp, 0xc
mov ecx, ebp
lea edx, [ebx + 1]
push 0xffffffffffffffff
push edx
call fcn.004d7940
mov eax, dword [ebp + 4]
mov dword [eax + ebx*4], esi
mov al, byte [edi + 4]
test al, al
je 0x4d7659
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], ebx
mov word [esp + 0x20], bx
mov eax, dword [edi + 8]
mov dword [esp + 0x298], 2
cmp eax, ebx
je 0x4d7434
mov edi, eax
jmp 0x4d7437
add edi, 0xc
mov edx, str._sq_.dt
test edx, edx
je 0x4d7517
cmp edi, ebx
je 0x4d7517
push edi
lea ecx, [esp + 0x14]
call fcn.00403ad0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x298], 3
call fcn.00401070
push str._sq_.dt
lea ecx, [esp + 0x34]
call fcn.00401e50
mov eax, dword [esp + 0x10]
mov byte [esp + 0x298], 4
cmp eax, ebx
jne 0x4d7489
lea eax, [esp + 0x14]
mov esi, dword [esp + 0x38]
push eax
call fcn.00584816
lea esi, [eax + esi + 2]
lea ebx, [esi + esi]
push ebx
call fcn.0059cff9
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x1c], edi
je 0x4d74ef
mov ecx, ebx
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x10]
call fcn.00401ed0
push eax
lea ecx, [esp + 0x34]
call fcn.00401ed0
push eax
mov eax, dword [esp + 0x24]
push esi
push eax
call fcn.005847a6
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00584816
add esp, 0x14
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x298], 3
call fcn.00401070
lea ecx, [esp + 0x10]
mov byte [esp + 0x298], 2
call fcn.00401070
mov ecx, dword [esp + 0x1c]
xor ebx, ebx
cmp ecx, ebx
mov eax, ecx
jne 0x4d7521
lea eax, [esp + 0x20]
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x28], edi
je 0x4d7645
lea eax, [esp + 0x6c]
push 0x5f
push eax
call fcn.00584766
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4d762a
mov cx, word [esi + 2]
add esi, 2
push ecx
call fcn.0058766a
add esp, 4
test eax, eax
je 0x4d762a
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x18], bx
call fcn.00401ee0
mov eax, dword [esp + 0x10]
mov byte [esp + 0x298], 5
cmp eax, ebx
jne 0x4d7598
lea eax, [esp + 0x14]
push 0x2e
push eax
call fcn.00584c8f
add esp, 8
cmp eax, ebx
je 0x4d7615
mov word [eax], bx
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x4d75b6
lea eax, [esp + 0x14]
push eax
call fcn.005861d1
mov edi, eax
add esp, 4
cmp edi, 2
jle 0x4d7615
push 0x68
call fcn.0059cff9
add esp, 4
mov dword [esp + 0x3c], eax
cmp eax, ebx
mov byte [esp + 0x298], 6
je 0x4d75eb
mov ecx, eax
call fcn.00462e90
mov esi, eax
jmp 0x4d75ed
xor esi, esi
mov ecx, esi
mov byte [esp + 0x298], 5
mov dword [esi + 0x64], edi
call fcn.00462fd0
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
mov ecx, ebp
lea edx, [edi + 1]
push edx
call fcn.004d7940
mov eax, dword [ebp + 4]
mov dword [eax + edi*4], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x298], 2
call fcn.00401070
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x40]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4d753c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x298], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x290]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28c
ret