Function at 0x42a980
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490cf7
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
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 dword [ebp - 0x264], edx
mov ebx, ecx
mov eax, dword [0x4d138c]
test eax, eax
jne 0x42a9df
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 0x42a9ee
lea ecx, [ebp - 0x274]
push ecx
call eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x278], eax
mov dword [ebp - 4], 0
call fcn.00404a20
mov ecx, eax
test ecx, ecx
jne 0x42aa10
push 0x80004005
call fcn.00404ad0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x268], esi
mov byte [ebp - 4], 1
call fcn.00404a20
mov ecx, eax
test ecx, ecx
jne 0x42aa37
push 0x80004005
call fcn.00404ad0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x26c], edi
mov byte [ebp - 4], 2
test ebx, ebx
je 0x42ac13
mov ecx, dword [ebp - 0x264]
call fcn.00428d10
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42aa61
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x26c]
call fcn.004046a0
mov edi, dword [ebp - 0x26c]
mov ecx, dword [edi - 0xc]
lea eax, [ecx - 1]
test eax, eax
js 0x42acb4
cmp eax, ecx
jg 0x42acb4
cmp word [edi + eax*2], 0x5c
je 0x42aab8
push 1
push 0x4a1b6c
lea ecx, [ebp - 0x26c]
call fcn.00403730
mov edi, dword [ebp - 0x26c]
push edi
lea eax, [ebp - 0x268]
push 0x4a6f7c
push eax
call fcn.00409370
mov esi, dword [ebp - 0x268]
lea eax, [ebp - 0x260]
add esp, 0xc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp eax, 0xffffffff
jne 0x42aafa
mov eax, dword [ebp - 0x264]
mov ebx, dword [eax + 4]
jmp 0x42ac13
mov esi, dword [ebp - 0x270]
mov ecx, 0x4a63d8
lea eax, [ebp - 0x234]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42ab36
test dx, dx
je 0x42ab32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42ab36
add eax, 4
add ecx, 4
test dx, dx
jne 0x42ab10
xor eax, eax
jmp 0x42ab3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x42abe7
mov ecx, 0x4a63dc
lea eax, [ebp - 0x234]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42ab76
test dx, dx
je 0x42ab72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42ab76
add eax, 4
add ecx, 4
test dx, dx
jne 0x42ab50
xor eax, eax
jmp 0x42ab7b
sbb eax, eax
or eax, 1
test eax, eax
je 0x42abe7
test byte [ebp - 0x260], 0x10
je 0x42abe7
lea eax, [ebp - 0x234]
push eax
push edi
lea eax, [ebp - 0x268]
push 0x4a6f84
push eax
call fcn.00409370
mov ebx, dword [ebp - 0x264]
lea eax, [ebp - 0x268]
add esp, 0x10
mov esi, dword [ebx]
push eax
push dword [esi + 4]
push esi
call fcn.00429090
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x42acaa
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [esi + 4], edx
mov eax, dword [edx + 4]
mov esi, dword [ebp - 0x270]
mov dword [eax], edx
jmp 0x42abed
mov ebx, dword [ebp - 0x264]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42ab00
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebx + 4]
mov esi, dword [ebp - 0x268]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ac31
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x42ac4a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 3
cmp dword [ebp - 0x278], 0
je 0x42ac8c
mov eax, dword [0x4d1388]
mov esi, dword [ebp - 0x274]
test eax, eax
jne 0x42ac89
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 0x42ac8c
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
push str.list_T__too_long
call fcn.0046a4ef
push 0x80070057
call fcn.00404ad0
int3