Function at 0x45de50
Capabilities:
Delete file
Set environment variable

Disassembly:
push rbp
push rbx
sub rsp, 0xd8
mov rbp, rsp
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xa8], rbp
mov rax, qword [0x0046c750]
mov byte [rax], 1
nop
lea rcx, [0x00457f00]
call fcn.0040f3f0
nop
mov rax, qword [0x0046c3c8]
mov dword [rax], 0
mov rcx, qword [0x00457558]
mov dl, 1
call fcn.00457900
mov qword [0x00476508], rax
mov rcx, qword [0x00476508]
lea rdx, [0x0045e4ac]
call fcn.00457b20
test al, al
je 0x45e30c
mov rax, qword [0x00476508]
mov rcx, qword [rax + 0x60]
lea rdx, [0x004764c0]
mov rax, qword [0x00476508]
movsxd r8, dword [rax + 0x68]
call fcn.00405630
mov rcx, qword [0x00476508]
call fcn.004579f0
mov rcx, qword [0x00476508]
lea rdx, [0x0045e4c0]
call fcn.00457b20
test al, al
je 0x45e2c9
lea rcx, [rbp + 0xa0]
xor rdx, rdx
call fcn.00457200
lea rcx, [0x004764e8]
mov rdx, qword [rbp + 0xa0]
call fcn.0040a570
lea rcx, [rbp + 0x90]
lea rdx, [0x004764c0]
call fcn.0040b560
lea rcx, [rbp + 0x98]
mov rdx, qword [0x004764e8]
mov r8, qword [rbp + 0x90]
call fcn.00428f60
lea rcx, [0x004764f0]
mov rdx, qword [rbp + 0x98]
call fcn.0040a570
mov rcx, qword [0x00476508]
mov rdx, qword [0x004764f0]
call fcn.00457a10
lea rcx, [rbp + 0x88]
lea rdx, [0x004571b0]
call fcn.0040ebc0
mov rcx, qword [rbp + 0x88]
call fcn.0040b3b0
mov rbx, rax
lea rcx, [rbp + 0x80]
call fcn.00428da0
mov rcx, qword [rbp + 0x80]
call fcn.0040b3b0
mov rcx, rbx
mov rdx, rax
call sub.kernel32.dll_SetEnvironmentVariableW
lea rcx, [rbp + 0x78]
mov edx, dword [0x004764c8]
call fcn.00457200
call sub.kernel32.dll_GetTickCount_1
lea rcx, [rbp + 0x70]
mov edx, eax
mov r8d, 6
call fcn.0041c770
mov ecx, 0xff
call fcn.00405980
lea rcx, [rbp + 0x68]
mov edx, eax
mov r8d, 2
call fcn.0041c750
lea rcx, [0x00476520]
mov edx, 5
mov r8, qword [rbp + 0x78]
lea r9, [0x0045e4d4]
mov rax, qword [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea rax, [0x0045e4e8]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x30], rax
call fcn.0040b870
mov rcx, qword [0x00476520]
call fcn.0041d170
lea rcx, [rbp + 0x60]
lea rdx, [0x004571c0]
call fcn.0040ebc0
mov rcx, qword [rbp + 0x60]
call fcn.0040b3b0
mov rbx, rax
mov rcx, qword [0x00476520]
call fcn.0040b3b0
mov rcx, rbx
mov rdx, rax
call sub.kernel32.dll_SetEnvironmentVariableW
mov qword [0x00476510], 0
nop
lea rcx, [rbp + 0x58]
xor rdx, rdx
call fcn.004058e0
mov rcx, qword [0x00454938]
mov dl, 1
mov r8, qword [rbp + 0x58]
xor r9, r9
mov dword [rsp + 0x20], 0
call fcn.00455ce0
mov qword [0x00476510], rax
mov rcx, qword [0x00476510]
mov rdx, qword [0x00476520]
call fcn.004567e0
jmp 0x45e1a2
lea rcx, [rbp + 0x50]
mov rax, qword [0x0046c698]
mov rdx, qword [rax]
call fcn.0040b450
lea rcx, [0x00476500]
mov edx, 5
lea r8, [0x0045e540]
mov r9, qword [0x004764f0]
lea rax, [0x0045e568]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [0x0045e57c]
mov qword [rsp + 0x30], rax
call fcn.0040b870
mov rcx, qword [0x00476500]
call fcn.00457380
mov rcx, qword [0x0046c3c8]
mov dword [rcx], eax
mov rcx, qword [0x004764f0]
call fcn.0040b3b0
mov rcx, rax
call sub.kernel32.dll_DeleteFileW
cmp qword [0x00476510], 0
je 0x45e2b8
xor rax, rax
mov rcx, qword [0x00476510]
mov ebx, dword [rcx + 0x30]
sub ebx, 1
mov dword [0x00476518], eax
cmp dword [0x00476518], ebx
jg 0x45e2ab
add ebx, 1
lea rcx, [rbp + 0x48]
mov edx, 3
mov r8, qword [0x00476520]
lea r9, [0x0045e58c]
mov rax, qword [0x00476510]
mov rax, qword [rax + 0x38]
movsxd r10, dword [0x00476518]
lea r10, [r10 + r10*4]
mov rax, qword [rax + r10*8 + 0x20]
mov qword [rsp + 0x20], rax
call fcn.0040b870
mov rcx, qword [rbp + 0x48]
call fcn.0040b3b0
mov rcx, rax
call sub.kernel32.dll_DeleteFileW
add dword [0x00476518], 1
cmp dword [0x00476518], ebx
jne 0x45e24e
nop
mov rcx, qword [0x00476510]
call fcn.00407240
mov rcx, qword [0x00476520]
call fcn.0041d1a0
jmp 0x45e34d
lea rcx, [rbp + 0xc0]
lea rdx, [0x004571d0]
call fcn.0040ebc0
nop
mov rcx, qword [0x0046c510]
mov rdx, qword [rbp + 0xc0]
call fcn.00406b60
mov rcx, rax
call fcn.00406cd0
call fcn.004055a0
nop
lea rcx, [rbp + 0xc0]
call fcn.00409f90
jmp 0x45e34d
lea rcx, [rbp + 0xb8]
lea rdx, [0x004571f0]
call fcn.0040ebc0
nop
mov rcx, qword [0x0046c510]
mov rdx, qword [rbp + 0xb8]
call fcn.00406b60
mov rcx, rax
call fcn.00406cd0
call fcn.004055a0
nop
lea rcx, [rbp + 0xb8]
call fcn.00409f90
mov rcx, qword [0x00476508]
call fcn.00407240
nop
lea rcx, [rbp + 0x48]
mov edx, 0xc
call fcn.0040a070
lea rcx, [rbp + 0xb8]
mov edx, 3
call fcn.0040a070
call fcn.00409bc0
jmp 0x45e38a
lea rsp, [rbp + 0xd8]
pop rbx
pop rbp
ret