Function at 0x428730
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 eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x264], eax
mov eax, dword [0x4d138c]
test eax, eax
jne 0x428793
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 0x4287a2
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 0x4287c4
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 0x4287eb
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 0x4289d3
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 0x428815
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 0x428a76
cmp eax, ecx
jg 0x428a76
cmp word [edi + eax*2], 0x5c
je 0x42886c
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 0x4288ae
mov eax, dword [ebp - 0x264]
mov ebx, dword [eax + 4]
jmp 0x4289d3
mov esi, dword [ebp - 0x270]
nop dword [eax]
nop dword [eax + eax]
mov ecx, 0x4a63d8
lea eax, [ebp - 0x234]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4288f6
test dx, dx
je 0x4288f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4288f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4288d0
xor eax, eax
jmp 0x4288fb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4289a7
mov ecx, 0x4a63dc
lea eax, [ebp - 0x234]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x428936
test dx, dx
je 0x428932
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x428936
add eax, 4
add ecx, 4
test dx, dx
jne 0x428910
xor eax, eax
jmp 0x42893b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4289a7
test byte [ebp - 0x260], 0x10
je 0x4289a7
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 0x428a6c
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 0x4289ad
mov ebx, dword [ebp - 0x264]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4288c0
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 0x4289f1
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 0x428a0a
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 0x428a4c
mov eax, dword [0x4d1388]
mov esi, dword [ebp - 0x274]
test eax, eax
jne 0x428a49
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 0x428a4c
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 8
push str.list_T__too_long
call fcn.0046a4ef
push 0x80070057
call fcn.00404ad0
int3