Function at 0x428a90
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490d3c
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4c9070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4d138c]
mov edi, dword [ebp + 8]
test eax, eax
jne 0x428aea
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 0x428af9
lea ecx, [ebp - 0x26c]
push ecx
call eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x270], eax
mov dword [ebp - 4], 0
call fcn.00404a20
mov ecx, eax
test ecx, ecx
jne 0x428b1b
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
test edi, edi
je 0x428c8d
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428b40
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x268]
call fcn.004046a0
mov eax, dword [ebp - 0x268]
mov edx, dword [eax - 0xc]
lea ecx, [edx - 1]
test ecx, ecx
js 0x428c83
cmp ecx, edx
jg 0x428c83
cmp word [eax + ecx*2], 0x5c
je 0x428b91
push 1
push 0x4a1b6c
lea ecx, [ebp - 0x268]
call fcn.00403730
push 1
push 0x4a6494
lea ecx, [ebp - 0x268]
call fcn.00403730
mov esi, dword [ebp - 0x268]
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x428c8d
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax + eax]
mov edx, 0x4a63d8
lea ecx, [ebp - 0x238]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x428c06
test ax, ax
je 0x428c02
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x428c06
add ecx, 4
add edx, 4
test ax, ax
jne 0x428be0
xor eax, eax
jmp 0x428c0b
sbb eax, eax
or eax, 1
test eax, eax
je 0x428c58
mov eax, 0x4a63dc
lea ecx, [ebp - 0x238]
nop word [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x428c46
test dx, dx
je 0x428c42
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x428c46
add ecx, 4
add eax, 4
test dx, dx
jne 0x428c20
xor eax, eax
jmp 0x428c4b
sbb eax, eax
or eax, 1
test eax, eax
je 0x428c58
test byte [ebp - 0x264], 0x10
jne 0x428c75
lea eax, [ebp - 0x264]
push eax
push edi
call ebx
test eax, eax
jne 0x428bd0
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x428c8f
push edi
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x428c8f
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 0x428cab
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x270], 0
je 0x428ced
mov eax, dword [0x4d1388]
mov esi, dword [ebp - 0x26c]
test eax, eax
jne 0x428cea
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 0x428ced
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 - 0x14]
xor ecx, ebp
call fcn.0046be2f
mov esp, ebp
pop ebp
ret 4