Function at 0x4131ca
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov eax, 0x4d80ce
call fcn.004c2f74
mov eax, 0x1440
call fcn.004c3900
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
push edi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x2c], 0xf
call fcn.00401fb1
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x14]
test eax, eax
mov dword [ebp - 4], edi
jbe 0x41323e
push edi
mov ecx, esi
call fcn.00411444
cmp byte [eax], 0x22
jne 0x41321e
push 0x4e56d4
lea ecx, [ebp - 0x44]
call fcn.0040a0f1
jmp 0x413238
push edi
mov ecx, esi
call fcn.00411444
mov al, byte [eax]
mov byte [ebp + 8], al
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
push 1
call fcn.00402350
inc edi
cmp edi, dword [esi + 0x14]
jb 0x413202
lea eax, [ebp - 0x44c]
push eax
push str.score.html
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
test esi, esi
je 0x41327c
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x44c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x413256
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
inc esi
push esi
push dword [0x4faeb4]
lea ecx, [ebp - 0xa8]
push 0x21
push str.scoreul.tpl
call fcn.004c0dcf
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0xa4]
cmp dword [eax + 0x4c], 0xffffffff
mov byte [ebp - 4], 1
jne 0x4132dc
push str.Failed_to_open_score_upload_template.
lea ecx, [ebp - 0x28]
call fcn.004028b0
mov eax, dword [ebx]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 2
call dword [eax + 0x5c]
push esi
lea ecx, [ebp - 0x28]
call fcn.00401fcd
jmp 0x4134e9
mov eax, dword [ebx + 0x534]
push 0x64
pop ecx
cdq
idiv ecx
lea eax, [ebp - 0x30c]
push edx
push str.score_d.html
push eax
call fcn.004c3391
add esp, 0xc
push esi
push dword [0x4faeb4]
lea eax, [ebp - 0x30c]
push 2
push eax
lea ecx, [ebp - 0x10c]
call fcn.004c0dcf
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x108]
cmp dword [eax + 0x4c], 0xffffffff
mov byte [ebp - 4], 3
jne 0x413353
push str.Failed_to_create_score_upload_file.
lea ecx, [ebp - 0x28]
call fcn.004028b0
mov eax, dword [ebx]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 4
call dword [eax + 0x5c]
jmp 0x4134c6
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xa0], 1
jne 0x41346e
push 0xa
push 0x1000
lea eax, [ebp - 0x144c]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00411485
lea eax, [ebp - 0x144c]
push str._DATA
push eax
call fcn.004c4120
mov esi, eax
lea eax, [ebp - 0x144c]
push str._NAME
push eax
call fcn.004c4120
add esp, 0x10
test esi, esi
mov edi, eax
lea eax, [ebp - 0x144c]
push eax
je 0x413410
and byte [esi], 0
lea ecx, [ebp - 0x100]
call fcn.004c12c6
mov ecx, dword [ebx + 0xe54]
lea eax, [ebp - 0x28]
push eax
add ecx, 0xa28
call fcn.00423af0
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 5
jb 0x4133e9
mov eax, dword [eax + 4]
jmp 0x4133ec
add eax, 4
push eax
lea ecx, [ebp - 0x100]
call fcn.004c12c6
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00401fcd
and byte [esi + 4], 0
add esi, 5
push esi
jmp 0x413442
test edi, edi
je 0x413442
and byte [edi], 0
lea ecx, [ebp - 0x100]
call fcn.004c12c6
cmp dword [ebp - 0x2c], 0x10
mov eax, dword [ebp - 0x40]
jae 0x41342e
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x100]
call fcn.004c12c6
and byte [edi + 4], 0
add edi, 5
push edi
lea ecx, [ebp - 0x100]
call fcn.004c12c6
push eax
call fcn.004111e1
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xa0], 1
pop ecx
je 0x41336a
xor esi, esi
inc esi
lea eax, [ebp - 0x20c]
push 0x100
push eax
call fcn.004c40cf
lea eax, [ebp - 0x20c]
push 0x4e564c
push eax
call fcn.004c3400
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004c3400
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004028b0
mov eax, dword [ebx]
push 0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 6
call dword [eax + 0x70]
lea ecx, [ebp - 0x28]
push esi
call fcn.00401fcd
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 1
call fcn.004c0e98
lea ecx, [ebp - 0xf8]
call fcn.004c0ca4
and byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.004c0e98
lea ecx, [ebp - 0x94]
call fcn.004c0ca4
lea ecx, [ebp - 0x44]
push esi
call fcn.00401fcd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4