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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44abf1
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x45e274]
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 0x41fe1f
mov ebx, dword [ebx + 0xc]
call fcn.00420870
mov edi, dword [ebp - 0x264]
mov eax, dword [edi + 8]
push eax
call fcn.0042f9cf
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.00420620
push ebx
lea edx, [ebp - 0x26c]
push edx
mov ebx, eax
mov dword [ebp - 4], 0
call fcn.00420570
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 0x41fe7b
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.00431630
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 0x41fee0
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 0x41fed5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x420110
mov eax, dword [ebp - 0x260]
test eax, 0x400
jne 0x4200b9
test al, 0x10
jne 0x4200b9
lea ecx, [ebp - 0x234]
mov eax, 0x451938
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41ff2a
test dx, dx
je 0x41ff26
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41ff2a
add eax, 4
add ecx, 4
test dx, dx
jne 0x41ff04
xor eax, eax
jmp 0x41ff2f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4200b9
lea ecx, [ebp - 0x234]
mov eax, 0x45193c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41ff68
test dx, dx
je 0x41ff64
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41ff68
add eax, 4
add ecx, 4
test dx, dx
jne 0x41ff42
xor eax, eax
jmp 0x41ff6d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4200b9
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 0x42012b
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, ebx
or ecx, edx
jge 0x41ffc8
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 0x42012b
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 0x41fff0
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 0x420099
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 0x420082
jl 0x420065
cmp dword [ebp - 0x278], 2
ja 0x420082
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 0x4200ad
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x264]
push edi
add eax, 8
push eax
call fcn.004206e0
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 0x4200b9
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 0x41fee0
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 0x42010e
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.0042f0df
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403700
int3