Function at 0x40330b
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428d90
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x354
mov eax, dword [0x433b34]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call fcn.00403150
push 0x104
lea eax, [ebp - 0x330]
push eax
push str._SystemDrive_ProgramDataNVIDIAResource
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea ecx, [ebp - 0x330]
push ecx
push str._s.old
lea edx, [ebp - 0x120]
push edx
call fcn.00413a44
add esp, 0xc
lea eax, [ebp - 0x330]
push eax
push str._s.new
lea ecx, [ebp - 0x228]
push ecx
call fcn.00413a44
add esp, 0xc
push str..dat
lea edx, [ebp - 0x330]
push edx
call fcn.00413b10
add esp, 8
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x42a7d8
lea ecx, [ebp - 0x228]
push ecx
call fcn.004147c8
add esp, 8
mov dword [ebp - 0x334], eax
cmp dword [ebp - 0x334], 0
je 0x403452
mov edx, dword [0x434f54]
shr edx, 4
mov dword [ebp - 0x338], edx
mov eax, dword [ebp - 0x334]
push eax
push 4
push 1
push 0x434f5c
call fcn.00414682
add esp, 0x10
mov ecx, dword [ebp - 0x334]
push ecx
push 4
push 1
lea edx, [ebp - 0x338]
push edx
call fcn.00414682
add esp, 0x10
mov dword [ebp - 0x33c], 0
jmp 0x40334f
mov eax, dword [ebp - 0x33c]
add eax, 1
mov dword [ebp - 0x33c], eax
mov ecx, dword [ebp - 0x33c]
cmp ecx, dword [ebp - 0x338]
jge 0x4033be
mov edx, dword [ebp - 0x33c]
shl edx, 4
add edx, dword [0x434f50]
mov eax, dword [edx]
mov dword [ebp - 0x34c], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x348], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x344], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x340], ecx
cmp dword [ebp - 0x344], 0
jne 0x4033a2
mov dword [ebp - 0x340], 0
mov edx, dword [ebp - 0x334]
push edx
push 0x10
push 1
lea eax, [ebp - 0x34c]
push eax
call fcn.00414682
add esp, 0x10
jmp 0x403340
mov dword [ebp - 0x350], 0
jmp 0x4033d9
mov ecx, dword [ebp - 0x350]
add ecx, 1
mov dword [ebp - 0x350], ecx
mov edx, dword [ebp - 0x350]
cmp edx, dword [ebp - 0x338]
jge 0x403443
mov eax, dword [ebp - 0x350]
shl eax, 4
add eax, dword [0x434f50]
mov ecx, dword [eax]
mov dword [ebp - 0x360], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x35c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x358], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x354], edx
cmp dword [ebp - 0x358], 0
je 0x403441
mov eax, dword [ebp - 0x334]
push eax
mov ecx, dword [ebp - 0x354]
push ecx
push 1
mov edx, dword [ebp - 0x358]
push edx
call fcn.00414682
add esp, 0x10
jmp 0x4033ca
mov eax, dword [ebp - 0x334]
push eax
call fcn.004144a4
add esp, 4
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x330]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [ebp - 0x330]
push ecx
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea eax, [ebp - 0x330]
push eax
call fcn.00402ee0
add esp, 4
call fcn.00402af0
mov byte [ebp - 0x361], al
movzx ecx, byte [ebp - 0x361]
test ecx, ecx
je 0x4034bb
lea edx, [ebp - 0x330]
push edx
call fcn.004030a0
add esp, 4
jmp 0x4034ca
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00413572
mov esp, ebp
pop ebp
ret