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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a9d1
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x45d274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebx + 8]
mov dword [ebp - 0x264], ebx
test edi, edi
je 0x41ff3f
mov ebx, dword [ebx + 0xc]
call fcn.00420990
mov edi, dword [ebp - 0x264]
mov eax, dword [edi + 8]
push eax
call fcn.0042f7bf
add esp, 4
mov dword [edi + 8], 0
mov ebx, edi
lea ecx, [ebp - 0x27c]
lea edi, [ebx + 4]
push ecx
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
call fcn.00420740
push ebx
lea edx, [ebp - 0x26c]
push edx
mov ebx, eax
mov dword [ebp - 4], 0
call fcn.00420690
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x27c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ff9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x250
lea ecx, [ebp - 0x260]
push 0
push ecx
call fcn.00431420
mov eax, dword [ebp - 0x26c]
add esp, 0xc
lea edx, [ebp - 0x260]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x280], eax
cmp eax, 0xffffffff
jne 0x420000
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fff5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x420230
mov eax, dword [ebp - 0x260]
test eax, 0x400
jne 0x4201d9
test al, 0x10
jne 0x4201d9
lea ecx, [ebp - 0x234]
mov eax, 0x451940
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42004a
test dx, dx
je 0x420046
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42004a
add eax, 4
add ecx, 4
test dx, dx
jne 0x420024
xor eax, eax
jmp 0x42004f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4201d9
lea ecx, [ebp - 0x234]
mov eax, 0x451944
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x420088
test dx, dx
je 0x420084
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x420088
add eax, 4
add ecx, 4
test dx, dx
jne 0x420062
xor eax, eax
jmp 0x42008d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4201d9
mov eax, dword [ebp - 0x264]
mov eax, dword [eax + 4]
sub eax, 0x10
push eax
call fcn.00403470
add eax, 0x10
add esp, 4
mov dword [ebp - 0x268], eax
mov byte [ebp - 4], 3
mov edi, dword [eax - 0xc]
lea ebx, [edi + 1]
test ebx, ebx
js 0x42024b
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, ebx
or ecx, edx
jge 0x4200e8
push ebx
lea ecx, [ebp - 0x268]
call fcn.004035c0
mov eax, dword [ebp - 0x268]
mov ecx, 0x5c
mov word [eax + edi*2], cx
cmp ebx, dword [eax - 8]
jg 0x42024b
xor edx, edx
mov dword [eax - 0xc], ebx
mov word [eax + ebx*2], dx
lea eax, [ebp - 0x234]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x420110
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x234]
push eax
lea ebx, [ebp - 0x268]
call fcn.00402e80
mov edi, dword [ebp - 0x268]
push 0
push 0
push 3
push 0
push 7
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4201b9
lea ecx, [ebp - 0x278]
xor eax, eax
push ecx
push ebx
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp dword [ebp - 0x274], 0
jg 0x4201a2
jl 0x420185
cmp dword [ebp - 0x278], 2
ja 0x4201a2
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4201cd
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x264]
push edi
add eax, 8
push eax
call fcn.00420800
lea eax, [edi - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4201d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x280]
lea ecx, [ebp - 0x260]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x420000
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x264]
mov edi, dword [edx + 0xc]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42022e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042eecf
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403700
int3