Function at 0x42766c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcec
mov eax, 0x6862d4
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
call fcn.006658cc
mov word [ebp - 0x20], 0x18
lea eax, [ebp - 4]
call fcn.00404fd8
push eax
inc dword [ebp - 0x14]
mov edx, 0x68468e
lea eax, [ebp - 8]
call fcn.00673474
mov edx, eax
inc dword [ebp - 0x14]
mov eax, dword [ebp + 8]
pop ecx
call fcn.00673654
dec dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00673604
mov word [ebp - 0x20], 0xc
lea ecx, [ebp - 0x2a4]
push ecx
cmp dword [ebp - 4], 0
je 0x4276da
mov ecx, dword [ebp - 4]
jmp 0x4276df
mov ecx, 0x684692
push ecx
call sub.KERNEL32.DLL_FindFirstFileW
mov esi, eax
cmp esi, 0xffffffff
jne 0x42770b
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00673604
mov ecx, dword [ebp - 0x30]
mov dword fs:[0], ecx
jmp 0x427937
test byte [ebp - 0x2a4], 0x10
jne 0x42789d
mov word [ebp - 0x20], 0x24
lea edx, [ebp - 0x278]
lea eax, [ebp - 0xc]
call fcn.006735a0
inc dword [ebp - 0x14]
cmp dword [ebx + 0x10], 0
jne 0x427739
xor ecx, ecx
jmp 0x427749
mov ecx, dword [ebx + 0x14]
sub ecx, dword [ebx + 0x10]
test ecx, ecx
jns 0x427746
add ecx, 3
sar ecx, 2
cmp dword [ebx + 0x10], 0
jne 0x427753
xor eax, eax
jmp 0x427763
mov eax, dword [ebx + 0x18]
sub eax, dword [ebx + 0x10]
test eax, eax
jns 0x427760
add eax, 3
sar eax, 2
cmp ecx, eax
jae 0x4277a2
mov edi, dword [ebx + 0x14]
lea edx, [ebx + 8]
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x3c]
push dword [ecx + 4]
push dword [ecx]
mov edx, dword [ebp - 0x34]
push edx
lea ecx, [ebp - 0xc]
push ecx
push 1
push edi
call fcn.00427940
add esp, 0x18
add edi, 4
mov dword [ebx + 0x14], edi
jmp 0x42788d
mov edi, dword [ebx + 0x14]
mov dword [ebp - 0x2ac], edi
cmp dword [ebx + 0x10], 0
jne 0x4277b5
xor eax, eax
jmp 0x4277c5
mov eax, dword [ebx + 0x14]
sub eax, dword [ebx + 0x10]
test eax, eax
jns 0x4277c2
add eax, 3
sar eax, 2
test eax, eax
jne 0x4277cd
xor edx, edx
jmp 0x4277f2
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x2bc], ecx
mov edx, dword [ebp - 0x2ac]
sub edx, dword [ebp - 0x2bc]
test edx, edx
jns 0x4277ef
add edx, 3
sar edx, 2
mov dword [ebp - 0x48], edx
lea eax, [ebp - 0xc]
push eax
push 1
add esp, 0xfffffff0
mov ecx, dword [ebp - 0x2b4]
mov dword [esp], ecx
mov ecx, dword [ebp - 0x2b0]
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x2ac]
mov dword [esp + 8], eax
push ebx
call fcn.004279f4
add esp, 0x1c
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x50], edx
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x2cc], eax
mov edx, dword [ebp - 0x2d4]
mov dword [ebp - 0x2e4], edx
mov edx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2e0], edx
mov ecx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2dc], ecx
mov eax, dword [ebp - 0x50]
shl eax, 2
add dword [ebp - 0x2dc], eax
mov edx, dword [ebp - 0x2e4]
mov dword [ebp - 0x2f4], edx
mov edx, dword [ebp - 0x2e0]
mov dword [ebp - 0x2f0], edx
mov ecx, dword [ebp - 0x2dc]
mov dword [ebp - 0x2ec], ecx
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00673604
lea ecx, [ebp - 0x2a4]
push ecx
push esi
call sub.KERNEL32.DLL_FindNextFileW
test eax, eax
jne 0x42770b
push esi
call sub.KERNEL32.DLL_FindClose
mov eax, dword [ebx + 0x14]
mov esi, eax
mov dword [ebp - 0x2fc], esi
mov ecx, esi
mov edx, dword [ebx + 0x10]
mov eax, edx
mov dword [ebp - 0x30c], eax
sub ecx, eax
test ecx, ecx
push 0x428d88
jns 0x4278de
add ecx, 3
sar ecx, 2
push ecx
add esp, 0xfffffff0
mov edx, dword [ebp - 0x304]
mov dword [esp], edx
mov edx, dword [ebp - 0x300]
mov dword [esp + 4], edx
mov dword [esp + 8], esi
add esp, 0xfffffff0
mov ecx, dword [ebp - 0x314]
mov dword [esp], ecx
mov ecx, dword [ebp - 0x310]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00428e40
add esp, 0x28
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00673604
mov eax, dword [ebp - 0x30]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret