Function at 0x42acc0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490f7c
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4c9070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x4d138c]
test eax, eax
jne 0x42ad19
push str.Wow64DisableWow64FsRedirection
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4d138c], eax
test eax, eax
je 0x42ad28
lea ecx, [ebp - 0x268]
push ecx
call eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 4], 0
call fcn.00404a20
mov ecx, eax
test ecx, ecx
jne 0x42ad4a
push 0x80004005
call fcn.00404ad0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x264], esi
mov byte [ebp - 4], 1
test edi, edi
je 0x42aebd
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ad70
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x264]
call fcn.004046a0
mov eax, dword [ebp - 0x264]
mov edx, dword [eax - 0xc]
lea ecx, [edx - 1]
test ecx, ecx
js 0x42aeb3
cmp ecx, edx
jg 0x42aeb3
cmp word [eax + ecx*2], 0x5c
je 0x42adc1
push 1
push 0x4a1b6c
lea ecx, [ebp - 0x264]
call fcn.00403730
push 1
push 0x4a6494
lea ecx, [ebp - 0x264]
call fcn.00403730
mov esi, dword [ebp - 0x264]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42aebd
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax + eax]
mov edx, 0x4a63d8
lea ecx, [ebp - 0x234]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x42ae36
test ax, ax
je 0x42ae32
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x42ae36
add ecx, 4
add edx, 4
test ax, ax
jne 0x42ae10
xor eax, eax
jmp 0x42ae3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x42ae88
mov eax, 0x4a63dc
lea ecx, [ebp - 0x234]
nop word [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x42ae76
test dx, dx
je 0x42ae72
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x42ae76
add ecx, 4
add eax, 4
test dx, dx
jne 0x42ae50
xor eax, eax
jmp 0x42ae7b
sbb eax, eax
or eax, 1
test eax, eax
je 0x42ae88
test byte [ebp - 0x260], 0x10
jne 0x42aea5
lea eax, [ebp - 0x260]
push eax
push edi
call ebx
test eax, eax
jne 0x42ae00
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x42aebf
push edi
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x42aebf
push 0x80070057
call fcn.00404ad0
xor ebx, ebx
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42aedb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x26c], 0
je 0x42af1d
mov eax, dword [0x4d1388]
mov esi, dword [ebp - 0x268]
test eax, eax
jne 0x42af1a
push str.Wow64RevertWow64FsRedirection
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4d1388], eax
test eax, eax
je 0x42af1d
push esi
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046be2f
mov esp, ebp
pop ebp
ret