Function at 0x403230
Capabilities:
Delete file
Move file
Query environment variable
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a800
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x354
mov eax, dword [0x435b3c]
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.00403160
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.00414291
add esp, 0xc
lea eax, [ebp - 0x330]
push eax
push str._s.new
lea ecx, [ebp - 0x228]
push ecx
call fcn.00414291
add esp, 0xc
push str..dat
lea edx, [ebp - 0x330]
push edx
call fcn.00414370
add esp, 8
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x42c7d8
lea ecx, [ebp - 0x228]
push ecx
call fcn.00415018
add esp, 8
mov dword [ebp - 0x334], eax
cmp dword [ebp - 0x334], 0
je 0x403462
mov edx, dword [0x436f34]
shr edx, 4
mov dword [ebp - 0x338], edx
mov eax, dword [ebp - 0x334]
push eax
push 4
push 1
push 0x436f3c
call fcn.00414ed2
add esp, 0x10
mov ecx, dword [ebp - 0x334]
push ecx
push 4
push 1
lea edx, [ebp - 0x338]
push edx
call fcn.00414ed2
add esp, 0x10
mov dword [ebp - 0x33c], 0
jmp 0x40335f
mov eax, dword [ebp - 0x33c]
add eax, 1
mov dword [ebp - 0x33c], eax
mov ecx, dword [ebp - 0x33c]
cmp ecx, dword [ebp - 0x338]
jge 0x4033ce
mov edx, dword [ebp - 0x33c]
shl edx, 4
add edx, dword [0x436f30]
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 0x4033b2
mov dword [ebp - 0x340], 0
mov edx, dword [ebp - 0x334]
push edx
push 0x10
push 1
lea eax, [ebp - 0x34c]
push eax
call fcn.00414ed2
add esp, 0x10
jmp 0x403350
mov dword [ebp - 0x350], 0
jmp 0x4033e9
mov ecx, dword [ebp - 0x350]
add ecx, 1
mov dword [ebp - 0x350], ecx
mov edx, dword [ebp - 0x350]
cmp edx, dword [ebp - 0x338]
jge 0x403453
mov eax, dword [ebp - 0x350]
shl eax, 4
add eax, dword [0x436f30]
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 0x403451
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.00414ed2
add esp, 0x10
jmp 0x4033da
mov eax, dword [ebp - 0x334]
push eax
call fcn.00414cf4
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.00402ef0
add esp, 4
call fcn.00402b00
mov byte [ebp - 0x361], al
movzx ecx, byte [ebp - 0x361]
test ecx, ecx
je 0x4034cb
lea edx, [ebp - 0x330]
push edx
call fcn.004030b0
add esp, 4
jmp 0x4034da
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.00413d9d
mov esp, ebp
pop ebp
ret