Function at 0x45e6c0
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 [0x0046c810]
mov byte [rax], 1
nop
lea rcx, [0x00458760]
call fcn.0040f290
nop
mov rax, qword [0x0046c490]
mov dword [rax], 0
mov rcx, qword [0x00457e78]
mov dl, 1
call fcn.00458230
mov qword [0x00476530], rax
mov rcx, qword [0x00476530]
lea rdx, [0x0045ed1c]
mov r8b, 1
call fcn.00458450
test al, al
je 0x45eb82
mov rax, qword [0x00476530]
mov rcx, qword [rax + 0x58]
lea rdx, [0x004764e8]
mov rax, qword [0x00476530]
movsxd r8, dword [rax + 0x60]
call fcn.00405630
mov rcx, qword [0x00476530]
call fcn.00458320
mov rcx, qword [0x00476530]
lea rdx, [0x0045ed30]
mov r8b, 1
call fcn.00458450
test al, al
je 0x45eb3f
lea rcx, [rbp + 0xa0]
xor rdx, rdx
call fcn.00457b20
lea rcx, [0x00476510]
mov rdx, qword [rbp + 0xa0]
call fcn.0040a550
lea rcx, [rbp + 0x90]
lea rdx, [0x004764e8]
call fcn.0040b400
lea rcx, [rbp + 0x98]
mov rdx, qword [0x00476510]
mov r8, qword [rbp + 0x90]
call fcn.00429090
lea rcx, [0x00476518]
mov rdx, qword [rbp + 0x98]
call fcn.0040a550
mov rcx, qword [0x00476530]
mov rdx, qword [0x00476518]
call fcn.00458340
lea rcx, [rbp + 0x88]
lea rdx, [0x004578b0]
call fcn.0040ea60
mov rcx, qword [rbp + 0x88]
call fcn.0040b250
mov rbx, rax
lea rcx, [rbp + 0x80]
call fcn.00428ed0
mov rcx, qword [rbp + 0x80]
call fcn.0040b250
mov rcx, rbx
mov rdx, rax
call sub.kernel32.dll_SetEnvironmentVariableW
lea rcx, [rbp + 0x78]
mov edx, dword [0x004764f0]
call fcn.00457b20
call sub.kernel32.dll_GetTickCount_1
lea rcx, [rbp + 0x70]
mov edx, eax
mov r8d, 6
call fcn.0041c6a0
mov ecx, 0xff
call fcn.00405980
lea rcx, [rbp + 0x68]
mov edx, eax
mov r8d, 2
call fcn.0041c680
lea rcx, [0x00476548]
mov edx, 5
mov r8, qword [rbp + 0x78]
lea r9, [0x0045ed44]
mov rax, qword [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea rax, [0x0045ed58]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x30], rax
call fcn.0040b710
mov rcx, qword [0x00476548]
call fcn.0041d2a0
lea rcx, [rbp + 0x60]
lea rdx, [0x004578c0]
call fcn.0040ea60
mov rcx, qword [rbp + 0x60]
call fcn.0040b250
mov rbx, rax
mov rcx, qword [0x00476548]
call fcn.0040b250
mov rcx, rbx
mov rdx, rax
call sub.kernel32.dll_SetEnvironmentVariableW
mov qword [0x00476538], 0
nop
lea rcx, [rbp + 0x58]
xor rdx, rdx
call fcn.004058e0
mov rcx, qword [0x00455038]
mov dl, 1
mov r8, qword [rbp + 0x58]
xor r9, r9
mov dword [rsp + 0x20], 0
call fcn.004563e0
mov qword [0x00476538], rax
mov rcx, qword [0x00476538]
mov rdx, qword [0x00476548]
call fcn.00456ee0
jmp 0x45ea18
lea rcx, [rbp + 0x50]
mov rax, qword [0x0046c760]
mov rdx, qword [rax]
call fcn.0040b2f0
lea rcx, [0x00476528]
mov edx, 5
lea r8, [0x0045edb0]
mov r9, qword [0x00476518]
lea rax, [0x0045edd8]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [0x0045edec]
mov qword [rsp + 0x30], rax
call fcn.0040b710
mov rcx, qword [0x00476528]
call fcn.00457ca0
mov rcx, qword [0x0046c490]
mov dword [rcx], eax
mov rcx, qword [0x00476518]
call fcn.0040b250
mov rcx, rax
call sub.kernel32.dll_DeleteFileW
cmp qword [0x00476538], 0
je 0x45eb2e
xor rax, rax
mov rcx, qword [0x00476538]
mov ebx, dword [rcx + 0x30]
sub ebx, 1
mov dword [0x00476540], eax
cmp dword [0x00476540], ebx
jg 0x45eb21
add ebx, 1
lea rcx, [rbp + 0x48]
mov edx, 3
mov r8, qword [0x00476548]
lea r9, [0x0045edfc]
mov rax, qword [0x00476538]
mov rax, qword [rax + 0x38]
movsxd r10, dword [0x00476540]
lea r10, [r10 + r10*4]
mov rax, qword [rax + r10*8 + 0x20]
mov qword [rsp + 0x20], rax
call fcn.0040b710
mov rcx, qword [rbp + 0x48]
call fcn.0040b250
mov rcx, rax
call sub.kernel32.dll_DeleteFileW
add dword [0x00476540], 1
cmp dword [0x00476540], ebx
jne 0x45eac4
nop
mov rcx, qword [0x00476538]
call fcn.00407240
mov rcx, qword [0x00476548]
call fcn.00457900
jmp 0x45ebc3
lea rcx, [rbp + 0xc0]
lea rdx, [0x004578d0]
call fcn.0040ea60
nop
mov rcx, qword [0x0046c5d8]
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 0x45ebc3
lea rcx, [rbp + 0xb8]
lea rdx, [0x004578f0]
call fcn.0040ea60
nop
mov rcx, qword [0x0046c5d8]
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 [0x00476530]
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 0x45ec00
lea rsp, [rbp + 0xd8]
pop rbx
pop rbp
ret