Function at 0x42eb20
Capabilities:
Enumerate files on windows
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fc43
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4ac084]
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 esi, ecx
mov dword [ebp - 0x278], esi
mov ecx, dword [esi + 8]
lea ebx, [esi + 8]
test ecx, ecx
je 0x42eb78
mov edx, dword [ebx + 4]
call fcn.004184a0
push dword [ebx]
call fcn.00461787
add esp, 4
mov dword [ebx], 0
lea eax, [esi + 4]
mov dword [ebx + 4], 0
push ecx
mov edx, eax
mov dword [ebx + 8], 0
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x274], eax
call fcn.0042f310
push esi
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.0041a7c0
add esp, 8
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov edx, dword [ebp - 0x270]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ebd9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x250
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.0045b910
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
jne 0x42ec14
xor esi, esi
jmp 0x42ee03
mov esi, dword [ebp - 0x264]
nop word [eax + eax]
test dword [ebp - 0x260], 0x410
jne 0x42eddd
lea ecx, [ebp - 0x234]
mov eax, 0x491030
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42ec66
test dx, dx
je 0x42ec62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42ec66
add eax, 4
add ecx, 4
test dx, dx
jne 0x42ec40
xor eax, eax
jmp 0x42ec6b
sbb eax, eax
or eax, 1
test eax, eax
je 0x42eddd
lea eax, [ebp - 0x234]
mov ecx, 0x491034
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x42eca6
test dx, dx
je 0x42eca2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x42eca6
add ecx, 4
add eax, 4
test dx, dx
jne 0x42ec80
xor eax, eax
jmp 0x42ecab
sbb eax, eax
or eax, 1
test eax, eax
je 0x42eddd
mov eax, dword [ebp - 0x274]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00402e80
add eax, 0x10
add esp, 4
mov dword [ebp - 0x268], eax
push 0x5c
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 3
call fcn.004185b0
lea ecx, [ebp - 0x234]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ecf0
sub ecx, edx
lea eax, [ebp - 0x234]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x268]
call fcn.00409770
mov esi, dword [ebp - 0x268]
push 0
push 0
push 3
push 0
push 7
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42edb9
lea eax, [ebp - 0x280]
xorps xmm0, xmm0
push eax
push edi
movq qword [ebp - 0x280], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp dword [ebp - 0x27c], 0
jg 0x42ed6f
jl 0x42ed66
cmp dword [ebp - 0x280], 2
ja 0x42ed6f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42edb9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x284], ebx
mov edi, dword [ebx + 4]
mov dword [ebp - 0x288], edi
cmp edi, dword [ebx + 8]
jb 0x42ed9d
lea eax, [edi + 1]
mov ecx, ebx
push eax
call fcn.00418410
test al, al
je 0x42ee43
mov eax, dword [ebx]
lea ecx, [eax + edi*4]
mov dword [ebp - 0x28c], ecx
mov byte [ebp - 4], 4
test ecx, ecx
je 0x42edb6
push esi
call fcn.00403ac0
inc dword [ebx + 4]
or edi, 0xffffffff
mov byte [ebp - 4], 2
mov eax, edi
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42edd7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x264]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42ec20
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x278]
mov esi, dword [esi + 0xc]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x42ee25
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.00458d41
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.004039a0
int3