Function at 0x479560
Capabilities:
Encode data using xor
Hash data with crc32
Set environment variable

Disassembly:
push rbp
sub rsp, 0xc0
mov rbp, rsp
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x98], rbp
mov rax, qword [0x0048a1d8]
mov byte [rax], 1
nop
lea rcx, [0x00473060]
call fcn.0040ffe0
nop
lea rcx, [0x004a83e0]
lea rdx, [0x00472660]
call fcn.0040f7b0
mov rax, qword [0x0048a030]
mov qword [rax], 0
mov rax, qword [0x00489ec8]
mov byte [rax], 0
mov rax, qword [0x00489bc0]
mov byte [rax], 1
mov cl, 1
call fcn.00404d90
mov rax, qword [0x00489f28]
mov rcx, qword [0x00489fa8]
movzx rcx, word [rcx]
mov qword [rax], rcx
xor rcx, rcx
call sub.kernel32.dll_SetThreadUILanguage
mov rcx, qword [0x00489d38]
mov rdx, qword [0x0042a540]
mov r8d, 1
xor r9, r9
call fcn.0040d510
mov rcx, qword [0x0048a218]
mov rdx, qword [0x0042a580]
mov r8d, 1
xor r9, r9
call fcn.0040d510
mov rcx, qword [0x00472690]
mov dl, 1
call fcn.004729c0
mov qword [0x004a83b0], rax
mov rcx, qword [0x004a83b0]
lea rdx, [0x00479dac]
mov r8b, 1
call fcn.00472c30
test al, al
je 0x4796d3
mov rax, qword [0x004a83b0]
mov rcx, qword [rax + 0x50]
lea rdx, [0x004a83b8]
mov rax, qword [0x004a83b0]
movsxd r8, dword [rax + 0x58]
call fcn.00405640
mov rcx, qword [0x004a83b0]
call fcn.00472ab0
mov rcx, qword [0x004a83b0]
lea rdx, [0x00479dc0]
xor r8, r8
call fcn.00472c30
test al, al
je 0x479717
mov rax, qword [0x004a83b0]
mov rcx, qword [rax + 0x50]
lea rdx, [0x004a83ec]
mov r8d, 4
call fcn.00405640
mov rcx, qword [0x004a83b0]
call fcn.00472ab0
mov rax, qword [0x0048a288]
mov ecx, dword [0x004a83c4]
mov dword [rax], ecx
mov rcx, qword [0x004a83b0]
lea rdx, [0x00479dd4]
mov r8b, 1
call fcn.00472c30
test al, al
je 0x479cff
mov dword [0x004a83e8], 0xffffffff
mov rax, qword [0x004a83b0]
mov rax, qword [rax + 0x50]
mov rcx, qword [0x004a83b0]
mov ecx, dword [rcx + 0x58]
lea rax, [rax + rcx - 1]
mov qword [rbp + 0xb0], rax
xor rax, rax
mov rcx, qword [0x004a83b0]
mov ecx, dword [rcx + 0x58]
sub ecx, 1
mov dword [rbp + 0xbc], eax
cmp dword [rbp + 0xbc], ecx
ja 0x4797e0
add ecx, 1
mov eax, dword [0x004a83e8]
shr eax, 8
lea rdx, [0x004894f8]
mov r8, qword [rbp + 0xb0]
movzx r8, byte [r8]
mov r9d, dword [0x004a83e8]
and r9d, 0xff
xor r8d, r9d
mov r8d, r8d
xor eax, dword [rdx + r8*4]
mov dword [0x004a83e8], eax
sub qword [rbp + 0xb0], 1
add dword [rbp + 0xbc], 1
cmp dword [rbp + 0xbc], ecx
jne 0x479790
nop
mov eax, dword [0x004a83e8]
cmp eax, dword [0x004a83ec]
je 0x479827
lea rcx, [rbp + 0x90]
lea rdx, [0x00472680]
call fcn.0040f7b0
mov rcx, qword [0x00489d40]
mov rdx, qword [rbp + 0x90]
call fcn.004076b0
mov rcx, rax
call fcn.00407820
call fcn.004055b0
jmp 0x479d21
lea rcx, [rbp + 0x88]
call fcn.0042a710
mov rcx, qword [rbp + 0x88]
call fcn.0040bdd0
mov qword [0x004a83a8], rax
mov rcx, qword [0x004a83a8]
mov edx, 0x8000
call fcn.00470eb0
mov dword [0x004a83a4], eax
mov rcx, qword [0x004a83a8]
call fcn.0040b270
mov dword [0x004a839c], eax
mov rax, qword [0x00489d38]
mov rcx, qword [rax]
call fcn.0040d170
mov dword [0x004a83a0], eax
mov rcx, qword [0x00489d38]
mov rdx, qword [0x0042a540]
mov r8d, 1
mov r9d, dword [0x004a83a0]
add r9d, 1
movsxd r9, r9d
call fcn.0040d510
mov ecx, dword [0x004a839c]
lea rcx, [rcx + rcx*2]
movsxd rcx, ecx
call fcn.00405270
mov rcx, qword [0x00489d38]
mov rcx, qword [rcx]
movsxd rdx, dword [0x004a83a0]
add rdx, rdx
lea rdx, [rdx + rdx*2]
mov qword [rcx + rdx*8], rax
mov rax, qword [0x00489d38]
mov rax, qword [rax]
movsxd rcx, dword [0x004a83a0]
add rcx, rcx
lea rcx, [rcx + rcx*2]
mov rcx, qword [rax + rcx*8]
mov rdx, qword [0x004a83a8]
call fcn.0041e530
mov rax, qword [0x00489d38]
mov rax, qword [rax]
movsxd rcx, dword [0x004a83a0]
add rcx, rcx
lea rcx, [rcx + rcx*2]
mov edx, dword [0x004a83a4]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [0x004a83a4]
call sub.msvcrt.dll__get_osfhandle
mov rcx, qword [0x00489d38]
mov rcx, qword [rcx]
movsxd rdx, dword [0x004a83a0]
add rdx, rdx
lea rdx, [rdx + rdx*2]
mov qword [rcx + rdx*8 + 0x10], rax
mov rax, qword [0x00489d38]
mov rax, qword [rax]
movsxd rcx, dword [0x004a83a0]
add rcx, rcx
lea rcx, [rcx + rcx*2]
mov rdx, qword [0x004a83b0]
mov edx, dword [rdx + 0x58]
mov dword [rax + rcx*8 + 0x18], edx
mov rax, qword [0x00489d38]
mov rax, qword [rax]
movsxd rcx, dword [0x004a83a0]
add rcx, rcx
lea rcx, [rcx + rcx*2]
movsxd rcx, dword [rax + rcx*8 + 0x18]
call fcn.00405270
mov rcx, qword [0x00489d38]
mov rcx, qword [rcx]
movsxd rdx, dword [0x004a83a0]
add rdx, rdx
lea rdx, [rdx + rdx*2]
mov qword [rcx + rdx*8 + 0x20], rax
mov rax, qword [0x004a83b0]
mov rcx, qword [rax + 0x50]
mov rax, qword [0x00489d38]
mov rax, qword [rax]
movsxd rdx, dword [0x004a83a0]
add rdx, rdx
lea rdx, [rdx + rdx*2]
mov rdx, qword [rax + rdx*8 + 0x20]
mov rax, qword [0x004a83b0]
movsxd r8, dword [rax + 0x58]
call fcn.00405640
mov rax, qword [0x00489d38]
mov rax, qword [rax]
movsxd rcx, dword [0x004a83a0]
add rcx, rcx
lea rcx, [rcx + rcx*2]
mov rcx, qword [rax + rcx*8 + 0x20]
mov rax, qword [0x004a83b0]
mov edx, dword [rax + 0x58]
call fcn.0042acf0
mov rax, qword [0x00489d38]
mov rax, qword [rax]
movsxd rcx, dword [0x004a83a0]
add rcx, rcx
lea rcx, [rcx + rcx*2]
mov dword [rax + rcx*8 + 0x28], 0
mov rcx, qword [0x004a83b0]
call fcn.00407d90
lea rcx, [rbp + 0x80]
lea rdx, [0x00472640]
call fcn.0040f7b0
mov rcx, qword [0x00489d40]
mov rdx, qword [rbp + 0x80]
call fcn.004076b0
mov rcx, rax
call fcn.00407820
call fcn.004055b0
lea rcx, [rbp + 0x78]
lea rdx, [0x00472670]
call fcn.0040f7b0
mov rcx, qword [0x00489d40]
mov rdx, qword [rbp + 0x78]
call fcn.004076b0
mov rcx, rax
call fcn.00407820
call fcn.004055b0
lea rcx, [rbp + 0x70]
lea rdx, [0x00472640]
call fcn.0040f7b0
mov rcx, qword [0x00489d40]
mov rdx, qword [rbp + 0x70]
call fcn.004076b0
mov rcx, rax
call fcn.00407820
call fcn.004055b0
lea rcx, [rbp + 0x68]
lea rdx, [0x00472650]
call fcn.0040f7b0
mov rcx, qword [0x00489d40]
mov rdx, qword [rbp + 0x68]
call fcn.004076b0
mov rcx, rax
call fcn.00407820
call fcn.004055b0
mov rcx, qword [0x0048a000]
call fcn.00406b70
call fcn.004055b0
lea rcx, [rbp + 0x60]
mov edx, dword [0x004a83c0]
call fcn.00472eb0
call sub.kernel32.dll_GetTickCount_1
lea rcx, [rbp + 0x58]
mov edx, eax
mov r8d, 6
call fcn.0041d7a0
mov ecx, 0xff
call fcn.00405990
lea rcx, [rbp + 0x50]
mov edx, eax
mov r8d, 2
call fcn.0041d780
mov rcx, qword [0x0048a298]
mov edx, 5
mov r8, qword [rbp + 0x60]
lea r9, [0x00479de8]
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x20], rax
lea rax, [0x00479dfc]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x30], rax
call fcn.0040c290
mov rax, qword [0x0048a298]
mov rcx, qword [rax]
call fcn.0041e490
mov rax, qword [0x0048a298]
mov rcx, qword [rax]
call fcn.0040bdd0
lea rcx, [0x00479e00]
mov rdx, rax
call sub.kernel32.dll_SetEnvironmentVariableW
mov rax, qword [0x00489f20]
mov qword [rax], 0
nop
lea rcx, [rbp + 0x48]
xor rdx, rdx
call fcn.004058f0
mov rcx, qword [0x0046b2f8]
mov dl, 1
mov r8, qword [rbp + 0x48]
xor r9, r9
mov dword [rsp + 0x20], 0
call fcn.0046c6a0
mov rcx, qword [0x00489f20]
mov qword [rcx], rax
mov rax, qword [0x00489f20]
mov rcx, qword [rax]
mov rax, qword [0x0048a298]
mov rdx, qword [rax]
call fcn.0046d1a0
jmp 0x479c3d
call fcn.0046dbd0
mov rcx, qword [0x0048a178]
mov qword [rcx], rax
mov rax, qword [0x0048a178]
cmp qword [rax], 0
je 0x479d0b
mov rcx, qword [0x0048a1c0]
call fcn.0042a2c0
test eax, eax
je 0x479c78
mov ecx, 0xff
call fcn.0046ee70
mov ecx, 1
mov rax, qword [0x0048a178]
mov edx, dword [rax]
mov rax, qword [0x00489de0]
mov r8d, dword [rax]
call fcn.00433b50
mov rcx, qword [0x0048a230]
mov qword [rcx], rax
mov rax, qword [0x0048a230]
cmp qword [rax], 1
jne 0x479cb8
mov ecx, 1
call fcn.0046ee70
mov rax, qword [0x0048a230]
cmp qword [rax], 0xffffffffffffffff
jne 0x479ccd
xor rcx, rcx
call fcn.0046ee70
xor rcx, rcx
mov rax, qword [0x0048a230]
mov rdx, qword [rax]
call fcn.00436720
mov rcx, qword [0x00489bd0]
mov word [rcx], ax
call fcn.00471bc0
mov rax, qword [0x00489bd0]
movzx ecx, word [rax]
call fcn.0046ee70
jmp 0x479d0b
mov rcx, qword [0x004a83b0]
call fcn.00407d90
xor rcx, rcx
call fcn.0046ee70
mov rax, qword [0x00489a88]
mov dword [rax], 0
nop
lea rcx, [rbp + 0x48]
mov edx, 0xa
call fcn.0040abc0
call fcn.0040a710
jmp 0x479d3f
lea rsp, [rbp + 0xc0]
pop rbp
ret