Function at 0x41c560
Capabilities:
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431b58
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x43e0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x80
push 3
push 0
push 1
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
or esi, 0xffffffff
cmp ebx, esi
jne 0x41c5e9
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x41c5d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x24]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x28], eax
cmp eax, esi
jne 0x41c637
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], esi
dec esi
test esi, esi
jg 0x41c5d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x24]
add eax, 1
mov esi, eax
adc ecx, 0
push esi
mov dword [ebp - 0x1c], ecx
call fcn.0041e543
mov edi, eax
add esp, 4
test edi, edi
jne 0x41c67a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41c5c7
push esi
push 0
push edi
call fcn.00420a30
add esp, 0xc
push 0
lea ecx, [ebp - 0x10]
push ecx
push esi
push edi
push ebx
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x10]
inc eax
push eax
mov dword [ebp - 0x14], eax
call fcn.0041e974
mov esi, eax
add esp, 4
test esi, esi
je 0x41c6c4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push eax
mov eax, edi
call fcn.0040cea0
add esp, 8
push edi
call fcn.0041f3ee
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0
test esi, esi
je 0x41c745
mov ebx, dword [ebp - 0x14]
add ebx, ebx
push ebx
call fcn.0041e543
mov edi, eax
add esp, 4
test edi, edi
je 0x41c73c
push ebx
push 0
push edi
call fcn.00420a30
mov edx, dword [ebp - 0x14]
add esp, 0xc
lea ecx, [ebp - 0x1c]
push ecx
sub ebx, 2
push edi
mov ecx, esi
mov dword [ebp - 0x1c], ebx
call fcn.00416520
mov ebx, eax
push esi
mov dword [ebp - 0x1c], ebx
call fcn.0041ea08
add esp, 0xc
test ebx, ebx
je 0x41c734
mov edx, dword [ebp + 8]
push edx
mov ecx, edi
call fcn.0041c790
mov dword [ebp - 0x1c], eax
push edi
call fcn.0041f3ee
jmp 0x41c742
push esi
call fcn.0041ea08
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c775
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8