Function at 0x4191b0
Capabilities:
Delete file
Read file on windows
Set file attributes

Disassembly:
sub esp, 0x164
push ebx
mov ebx, dword [esp + 0x16c]
push ebp
push esi
push edi
mov ecx, 7
mov esi, 0x45f070
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
mov dword [esp + 0x10], edi
mov esi, dword [edi*4 + 0x466c98]
test esi, esi
je 0x419217
mov eax, dword [edi*4 + 0x466c58]
add eax, esi
xor ebp, ebp
cmp esi, eax
jae 0x419217
push esi
push ebx
call fcn.00452568
add esp, 8
test eax, eax
je 0x41922e
mov ecx, dword [edi*4 + 0x466c98]
mov edx, dword [edi*4 + 0x466c58]
add esi, 0x16
add ecx, edx
inc ebp
cmp esi, ecx
jb 0x4191f1
inc edi
cmp edi, 0x10
mov dword [esp + 0x10], edi
jl 0x4191d7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret
mov edx, dword [esi + 0xe]
mov eax, dword [edi*4 + 0x45ff14]
push 0
push 0
push edx
push eax
call dword [sym.imp.kernel32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x4194a6
mov ecx, dword [esp + 0x17c]
push 0
push ecx
call fcn.00417830
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
mov dword [esp + 0x14], edi
je 0x4194a6
mov edx, dword [esi + 0x12]
push edx
call fcn.00451b32
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4192a4
push edi
call fcn.00417220
mov eax, dword [esp + 0x180]
add esp, 4
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret
mov edx, dword [esi + 0x12]
mov eax, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [eax*4 + 0x45ff14]
push edx
push ebx
push ecx
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x419486
mov eax, dword [esp + 0x1c]
mov edx, dword [ebx]
lea ecx, [eax - 8]
cmp edx, ecx
jne 0x419388
mov edx, dword [ebx + 4]
mov dword [esp + 0x18], edx
jmp 0x4192e8
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push eax
call fcn.00451b32
mov esi, eax
add esp, 4
test esi, esi
jne 0x41936c
mov edi, dword [esp + 0x17c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edx, [esp + 0x50]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x34]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
lea edx, [esp + 0x50]
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
shr ecx, 2
dec edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x50]
and ecx, 3
push 0x35
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00411150
add esp, 8
cmp eax, 2
jne 0x4192e4
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x419487
push 0xffffffffffffffff
push esi
push ebx
call fcn.0044ec7c
push ebx
call fcn.00451be4
mov eax, dword [esp + 0x28]
add esp, 0x10
mov ebx, esi
mov dword [esp + 0x1c], eax
push 0
lea ecx, [esp + 0x24]
push ecx
push eax
push ebx
push edi
call fcn.00417970
add esp, 0x14
test eax, eax
je 0x419486
push ebx
call fcn.00451be4
push edi
call fcn.00417220
mov eax, dword [esp + 0x18]
lea ebx, [eax*4 + 0x466d18]
mov eax, dword [ebx]
add esp, 8
test eax, eax
je 0x41942b
mov ecx, dword [esp + 0x17c]
push 0
push 0x8000127
push 3
push 0
push 0
push 0xc0000000
push ecx
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
mov eax, dword [ebx]
mov edx, ebp
shl edx, 4
add eax, edx
xor edx, edx
mov dx, word [eax + 4]
mov ax, word [eax + 2]
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
call dword [sym.imp.kernel32.dll_DosDateTimeToFileTime]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
lea eax, [esp + 0x24]
push eax
push 0
push 0
push esi
call dword [sym.imp.kernel32.dll_SetFileTime]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ebx, dword [ebx]
test ebx, ebx
je 0x419476
shl ebp, 4
mov ax, word [ebx + ebp]
xor ecx, ecx
test al, 1
je 0x419443
mov ecx, 1
test al, 2
je 0x41944c
mov ecx, 2
test al, 4
je 0x419455
mov ecx, 4
test al, 0x10
je 0x41945e
mov ecx, 0x10
test al, 0x20
je 0x419467
mov ecx, 0x20
push ecx
mov ecx, dword [esp + 0x180]
push ecx
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x164
ret
push edi
call fcn.00417220
mov edx, dword [esp + 0x180]
add esp, 4
push edx
call dword [sym.imp.kernel32.dll_DeleteFileA]
push ebx
call fcn.00451be4
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret