Function at 0x478ce0
Capabilities:
Delete file
Set environment variable

Disassembly:
push rbp
push rbx
sub rsp, 0xf8
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 + 0xe8], 0
mov qword [rbp + 0xe0], 0
mov qword [rbp + 0xd0], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xa8], rbp
nop
lea rcx, [0x00473b00]
call fcn.0040f790
nop
mov rax, qword [0x00488bf0]
mov dword [rax], 0
mov rcx, qword [0x004731e8]
mov dl, 1
call fcn.00473570
mov qword [0x00493500], rax
mov rcx, qword [0x00493500]
lea rdx, [0x0047932c]
call fcn.00473780
test al, al
je 0x4791dd
mov rax, qword [0x00493500]
mov rcx, qword [rax + 0x60]
lea rdx, [0x004934c0]
mov rax, qword [0x00493500]
movsxd r8, dword [rax + 0x68]
call fcn.00405c00
mov rcx, qword [0x00493500]
call fcn.00473660
mov rcx, qword [0x00493500]
lea rdx, [0x00479344]
call fcn.00473780
test al, al
je 0x479185
lea rcx, [rbp + 0xa0]
xor rdx, rdx
call fcn.00472ea0
lea rcx, [0x004934e0]
mov rdx, qword [rbp + 0xa0]
call fcn.0040a650
lea rcx, [rbp + 0x90]
lea rdx, [0x004934c4]
call fcn.0040b520
lea rcx, [rbp + 0x98]
mov rdx, qword [0x004934e0]
mov r8, qword [rbp + 0x90]
call fcn.004308e0
lea rcx, [0x004934e8]
mov rdx, qword [rbp + 0x98]
call fcn.0040a650
mov rcx, qword [0x00493500]
mov rdx, qword [0x004934e8]
call fcn.00473680
lea rcx, [rbp + 0x88]
lea rdx, [0x00472e50]
call fcn.0040ef30
mov rcx, qword [rbp + 0x88]
call fcn.0040b300
mov rbx, rax
lea rcx, [rbp + 0x80]
call fcn.00430720
mov rcx, qword [rbp + 0x80]
call fcn.0040b300
mov rcx, rbx
mov rdx, rax
call sub.kernel32.dll_SetEnvironmentVariableW
lea rcx, [rbp + 0x78]
mov edx, dword [0x004934c0]
call fcn.00472ea0
call sub.kernel32.dll_GetTickCount_1
lea rcx, [rbp + 0x70]
mov edx, eax
mov r8d, 6
call fcn.00421bd0
mov ecx, 0xff
call fcn.00405f50
lea rcx, [rbp + 0x68]
mov edx, eax
mov r8d, 2
call fcn.00421bb0
lea rcx, [0x00493518]
mov edx, 5
mov r8, qword [rbp + 0x78]
lea r9, [0x00479360]
mov rax, qword [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea rax, [0x00479374]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x30], rax
call fcn.0040b820
mov rcx, qword [0x00493518]
call fcn.004226d0
lea rcx, [rbp + 0x60]
lea rdx, [0x00472e60]
call fcn.0040ef30
mov rcx, qword [rbp + 0x60]
call fcn.0040b300
mov rbx, rax
mov rcx, qword [0x00493518]
call fcn.0040b300
mov rcx, rbx
mov rdx, rax
call sub.kernel32.dll_SetEnvironmentVariableW
mov qword [0x00493508], 0
nop
lea rcx, [rbp + 0x58]
xor rdx, rdx
call fcn.00405eb0
mov rcx, qword [0x00470660]
mov dl, 1
mov r8, qword [rbp + 0x58]
xor r9, r9
mov dword [rsp + 0x20], 0
call fcn.00471a00
mov qword [0x00493508], rax
mov rcx, qword [0x00493508]
mov rdx, qword [0x00493518]
call fcn.00472480
jmp 0x47905e
lea rcx, [rbp + 0x50]
mov rax, qword [0x00488f50]
mov rdx, qword [rax]
call fcn.0040b380
lea rcx, [0x004934f8]
mov edx, 5
lea r8, [0x004793e4]
mov r9, qword [0x004934e8]
lea rax, [0x0047940c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [0x00479420]
mov qword [rsp + 0x30], rax
call fcn.0040b820
mov rcx, qword [0x004934f8]
call fcn.00473020
mov rcx, qword [0x00488bf0]
mov dword [rcx], eax
mov rcx, qword [0x004934e8]
call fcn.0040b300
mov rcx, rax
call sub.kernel32.dll_DeleteFileW
cmp qword [0x00493508], 0
je 0x479174
xor rax, rax
mov rcx, qword [0x00493508]
mov ebx, dword [rcx + 0x30]
sub ebx, 1
mov dword [0x00493510], eax
cmp dword [0x00493510], ebx
jg 0x479167
add ebx, 1
lea rcx, [rbp + 0x48]
mov edx, 3
mov r8, qword [0x00493518]
lea r9, [0x00479430]
mov rax, qword [0x00493508]
mov rax, qword [rax + 0x38]
movsxd r10, dword [0x00493510]
lea r10, [r10 + r10*4]
mov rax, qword [rax + r10*8 + 0x20]
mov qword [rsp + 0x20], rax
call fcn.0040b820
mov rcx, qword [rbp + 0x48]
call fcn.0040b300
mov rcx, rax
call sub.kernel32.dll_DeleteFileW
add dword [0x00493510], 1
cmp dword [0x00493510], ebx
jne 0x47910a
nop
mov rcx, qword [0x00493508]
call fcn.00407440
mov rcx, qword [0x00493518]
call fcn.004226f0
jmp 0x479233
lea rcx, [rbp + 0xd0]
lea rdx, [0x00472e70]
call fcn.0040ef30
lea rcx, [rbp + 0xc8]
lea rdx, [0x004793cc]
call fcn.0040a6d0
mov rcx, qword [rbp + 0xd0]
call fcn.0040b300
mov rbx, rax
mov rcx, qword [rbp + 0xc8]
call fcn.0040b300
xor rcx, rcx
mov rdx, rbx
mov r8, rax
mov r9d, 0x40
call sub.user32.dll_MessageBoxW
jmp 0x479233
lea rcx, [rbp + 0xc0]
lea rdx, [0x00472e90]
call fcn.0040ef30
lea rcx, [rbp + 0xb8]
lea rdx, [0x00479440]
call fcn.0040a6d0
mov rcx, qword [rbp + 0xc0]
call fcn.0040b300
mov rbx, rax
mov rcx, qword [rbp + 0xb8]
call fcn.0040b300
xor rcx, rcx
mov rdx, rbx
mov r8, rax
mov r9d, 0x40
call sub.user32.dll_MessageBoxW
mov rcx, qword [0x00493500]
call fcn.00407440
nop
lea rcx, [rbp + 0x48]
mov edx, 0xc
call fcn.0040a130
lea rcx, [rbp + 0xb8]
mov edx, 4
call fcn.0040a130
lea rcx, [rbp + 0xe0]
mov edx, 2
call fcn.0040a130
call fcn.00409cd0
jmp 0x479282
lea rsp, [rbp + 0xf8]
pop rbx
pop rbp
ret