Function at 0x42ee08
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b9cb7
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x4fc504]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push esi
push edi
mov eax, dword [0x4fc504]
xor eax, esp
push eax
lea eax, [esp + 0x2f0]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x7c]
mov ebx, dword [ebp + 8]
push 0x4d8a54
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
call fcn.0042f8f2
and dword [esp + 0x2f8], 0
lea eax, [esp + 0x7c]
push eax
push esi
lea ecx, [esp + 0x54]
call fcn.0042e708
push 0
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x300], 2
call fcn.0040f05a
cmp dword [esp + 0x60], 8
mov eax, dword [esp + 0x4c]
jae 0x42eea4
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x94]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42f029
xor bl, bl
lea eax, [esp + 0xc0]
push 0x4d8a48
push eax
call fcn.00496071
pop ecx
pop ecx
test eax, eax
je 0x42f001
lea eax, [esp + 0xc0]
push 0x4d8a4c
push eax
call fcn.00496071
pop ecx
pop ecx
test eax, eax
je 0x42f001
test byte [esp + 0x94], 0x10
lea eax, [esp + 0xc0]
push eax
je 0x42ef7e
lea ecx, [esp + 0x20]
call fcn.0042f8f2
mov byte [esp + 0x2f8], 3
cmp dword [esi + 0x14], 8
jb 0x42ef25
mov eax, dword [esi]
jmp 0x42ef27
mov eax, esi
push eax
lea ecx, [esp + 0x38]
call fcn.0042e6e9
lea eax, [esp + 0x1c]
mov byte [esp + 0x2f8], 4
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x6c]
call fcn.0042e708
mov byte [esp + 0x2f8], 5
mov ecx, dword [esp + 0x18]
push eax
call fcn.0042fa1f
push 0
push 1
lea ecx, [esp + 0x6c]
call fcn.0040f05a
push 0
push 1
lea ecx, [esp + 0x3c]
call fcn.0040f05a
lea ecx, [esp + 0x1c]
jmp 0x42eff0
lea ecx, [esp + 0x38]
call fcn.0042f8f2
mov byte [esp + 0x2f8], 6
cmp dword [esi + 0x14], 8
jb 0x42ef99
mov eax, dword [esi]
jmp 0x42ef9b
mov eax, esi
push eax
lea ecx, [esp + 0x20]
call fcn.0042e6e9
lea eax, [esp + 0x34]
mov byte [esp + 0x2f8], 7
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x6c]
call fcn.0042e708
mov byte [esp + 0x2f8], 8
mov ecx, dword [esp + 0x14]
push eax
call fcn.0042fa1f
push 0
push 1
lea ecx, [esp + 0x6c]
call fcn.0040f05a
push 0
push 1
lea ecx, [esp + 0x24]
call fcn.0040f05a
lea ecx, [esp + 0x34]
push 0
push 1
mov byte [esp + 0x300], 2
call fcn.0040f05a
lea eax, [esp + 0x94]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42f016
mov bl, 1
test bl, bl
je 0x42eec0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x18], 0
push dword [esp + 0x18]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
push 0x18
cdq
pop esi
idiv esi
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
push eax
call fcn.0043025c
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
cdq
idiv esi
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov byte [esp + 0x1c], 0
push dword [esp + 0x1c]
push eax
call fcn.0043025c
add esp, 0x10
lea ecx, [esp + 0x4c]
push 0
push 1
call fcn.0040f05a
mov ecx, dword [esp + 0x2f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.004906a0
mov esp, ebp
pop ebp
ret 8