Function at 0x428600
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e66c
mov eax, dword fs:[0]
push eax
sub esp, 0x614
mov eax, dword [0x4ade78]
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 ebx, ecx
mov dword [ebp - 0x620], ebx
mov eax, dword [0x4adbb8]
mov ecx, 0x4adbb8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x608], eax
push 0x140
lea eax, [ebp - 0x5fc]
push 0
push eax
mov dword [ebp - 4], 0
call fcn.00462e00
lea edi, [ebx + 0x24]
push 0x491810
lea eax, [ebp - 0x610]
push edi
push eax
mov dword [ebp - 0x61c], edi
call fcn.00402d20
add esp, 0x18
push eax
lea ecx, [ebp - 0x608]
mov byte [ebp - 4], 1
call fcn.00402970
mov edx, dword [ebp - 0x610]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [edx + 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4286b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x608]
lea eax, [ebp - 0x5fc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x610], eax
cmp eax, 0xffffffff
je 0x428980
jmp 0x4286e0
lea ecx, [ebp - 0x5d0]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4286f0
sub ecx, edx
je 0x428808
lea eax, [ebp - 0x5d0]
push 0x491814
push eax
call fcn.0046236e
add esp, 8
test eax, eax
je 0x428808
lea eax, [ebp - 0x5d0]
push 0x491818
push eax
call fcn.0046236e
add esp, 8
test eax, eax
je 0x428808
lea ecx, [ebp - 0x5d0]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428740
sub ecx, edx
push ecx
lea eax, [ebp - 0x5d0]
push eax
lea ecx, [ebp - 0x608]
call fcn.00408620
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp - 0x608]
test eax, eax
je 0x428785
cmp dword [esi - 0xc], 0
jl 0x428785
push eax
push esi
call fcn.004627c2
add esp, 8
test eax, eax
je 0x428785
sub eax, esi
jns 0x428808
push 0x4918d4
lea eax, [ebp - 0x618]
push edi
push eax
call fcn.00402d20
lea ecx, [ebp - 0x608]
push ecx
push eax
lea eax, [ebp - 0x614]
push eax
mov byte [ebp - 4], 2
call fcn.00402c60
add esp, 0x18
push 1
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00428a20
mov edx, dword [ebp - 0x614]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4287e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x618]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x428808
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x4af2c0]
imul eax, eax
cdq
mov ecx, 0x15
idiv ecx
cmp edx, 5
jne 0x4288b9
xor eax, eax
mov dword [ebp - 0x604], eax
lea esi, [ebp - 0x4bc]
nop
xor ecx, ecx
mov dword [ebp - 0x60c], ecx
mov dword [ebp - 0x600], esi
mov edi, edi
mov esi, dword [0x4af2c0]
lea ebx, [ecx + 1]
lea ecx, [eax + 1]
mov eax, esi
cdq
idiv ecx
mov eax, esi
mov ecx, esi
sub ecx, dword [ebp - 0x604]
mov esi, dword [ebp - 0x600]
mov edi, edx
cdq
imul edi, ecx
idiv ebx
add edi, eax
sub edi, dword [ebp - 0x60c]
push edi
push 0x490f88
call fcn.004628cc
mov eax, dword [ebp - 0x604]
mov ecx, ebx
add esi, 4
add esp, 8
mov dword [ebp - 0x60c], ecx
mov dword [ebp - 0x600], esi
cmp ecx, 0x17
jl 0x428840
inc eax
mov dword [ebp - 0x604], eax
cmp eax, 0xd
jl 0x428830
mov esi, dword [ebp - 0x608]
mov ebx, dword [ebp - 0x620]
mov edi, dword [ebp - 0x61c]
lea eax, [ebp - 0x5fc]
push eax
push dword [ebp - 0x610]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4286e0
mov edx, dword [0x4af2c0]
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0x15
idiv ecx
cmp edx, 4
jne 0x428974
mov esi, dword [0x4af2c0]
mov eax, esi
cdq
lea edi, [ecx + 0x5e]
xor ecx, ecx
sub eax, edx
sar eax, 1
mov dword [ebp - 0x604], ecx
mov dword [ebp - 0x60c], eax
test eax, eax
jle 0x428963
mov eax, esi
cdq
and edx, 3
lea ebx, [edx + eax]
mov eax, dword [ebp - 0x60c]
sar ebx, 2
xor edx, edx
mov dword [ebp - 0x600], eax
test ebx, ebx
jle 0x428952
mov eax, edx
mov ecx, ebx
jmp 0x428940
add edi, eax
dec eax
dec ecx
jne 0x428940
mov eax, dword [ebp - 0x600]
mov ecx, dword [ebp - 0x604]
add edx, ecx
dec eax
mov dword [ebp - 0x600], eax
jne 0x428933
mov eax, dword [ebp - 0x60c]
inc ecx
mov dword [ebp - 0x604], ecx
cmp ecx, edi
jl 0x428915
mov esi, dword [ebp - 0x608]
push dword [ebp - 0x610]
call dword [sym.imp.KERNEL32.dll_FindClose]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4289a1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.00461234
mov esp, ebp
pop ebp
ret