Function at 0x442110
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x30
mov rbp, rsp
mov qword [rbp + 0x28], 0
mov rax, qword [0x004497d0]
mov byte [rax], 1
nop
lea rcx, [0x0043e098]
call fcn.0040e190
nop
mov rax, qword [0x00449638]
mov qword [rax], 0
mov rax, qword [0x00449518]
mov byte [rax], 0
mov rax, qword [0x00449250]
mov byte [rax], 1
mov cl, 1
call fcn.00404600
mov rax, qword [0x00449570]
mov rcx, qword [0x004495d0]
movzx rcx, word [rcx]
mov qword [rax], rcx
xor rcx, rcx
call fcn.00422f50
mov rcx, qword [0x004493a0]
mov rdx, qword [0x004227f0]
mov r8d, 1
xor r9, r9
call fcn.0040b790
mov rcx, qword [0x00449808]
mov rdx, qword [0x00422830]
mov r8d, 1
xor r9, r9
call fcn.0040b790
mov rcx, qword [0x0043d900]
mov dl, 1
call fcn.0043dc20
mov qword [0x00467640], rax
mov rcx, qword [0x00467640]
lea rdx, [0x0044261c]
call fcn.0043dd30
test al, al
je 0x442212
mov rax, qword [0x00467640]
mov rcx, qword [rax + 0x58]
lea rdx, [0x00467648]
mov rax, qword [0x00467640]
movsxd r8, dword [rax + 0x60]
call fcn.00404eb0
mov rcx, qword [0x00467640]
call fcn.0043dd10
mov rax, qword [0x00449860]
mov ecx, dword [0x00467654]
mov dword [rax], ecx
mov rcx, qword [0x00467640]
lea rdx, [0x00442630]
call fcn.0043dd30
test al, al
je 0x44258c
lea rcx, [rbp + 0x28]
call fcn.004229b0
mov rcx, qword [rbp + 0x28]
call fcn.0040a6e0
mov qword [0x00467638], rax
mov rcx, qword [0x00467638]
mov edx, 0x8000
call fcn.00435f60
mov dword [0x00467630], eax
mov rcx, qword [0x00467638]
call fcn.00409fc0
mov dword [0x00467620], eax
mov rax, qword [0x004493a0]
mov rcx, qword [rax]
call fcn.0040b3f0
mov dword [0x00467624], eax
mov rcx, qword [0x004493a0]
mov rdx, qword [0x004227f0]
mov r8d, 1
mov r9d, dword [0x00467624]
add r9d, 1
movsxd r9, r9d
call fcn.0040b790
mov ecx, dword [0x00467620]
lea rcx, [rcx + rcx*2]
movsxd rcx, ecx
call fcn.00404ae0
mov rcx, qword [0x004493a0]
mov rcx, qword [rcx]
movsxd rdx, dword [0x00467624]
add rdx, rdx
lea rdx, [rdx + rdx*2]
mov qword [rcx + rdx*8], rax
mov rax, qword [0x004493a0]
mov rax, qword [rax]
movsxd rcx, dword [0x00467624]
add rcx, rcx
lea rcx, [rcx + rcx*2]
mov rcx, qword [rax + rcx*8]
mov rdx, qword [0x00467638]
call fcn.0041ac50
mov rax, qword [0x004493a0]
mov rax, qword [rax]
movsxd rcx, dword [0x00467624]
add rcx, rcx
lea rcx, [rcx + rcx*2]
mov edx, dword [0x00467630]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [0x00467630]
call sub.msvcrt.dll__get_osfhandle
mov rcx, qword [0x004493a0]
mov rcx, qword [rcx]
movsxd rdx, dword [0x00467624]
add rdx, rdx
lea rdx, [rdx + rdx*2]
mov qword [rcx + rdx*8 + 0x10], rax
mov rax, qword [0x004493a0]
mov rax, qword [rax]
movsxd rcx, dword [0x00467624]
add rcx, rcx
lea rcx, [rcx + rcx*2]
mov rdx, qword [0x00467640]
mov edx, dword [rdx + 0x60]
mov dword [rax + rcx*8 + 0x18], edx
mov rax, qword [0x004493a0]
mov rax, qword [rax]
movsxd rcx, dword [0x00467624]
add rcx, rcx
lea rcx, [rcx + rcx*2]
movsxd rcx, dword [rax + rcx*8 + 0x18]
call fcn.00404ae0
mov rcx, qword [0x004493a0]
mov rcx, qword [rcx]
movsxd rdx, dword [0x00467624]
add rdx, rdx
lea rdx, [rdx + rdx*2]
mov qword [rcx + rdx*8 + 0x20], rax
mov rax, qword [0x00467640]
mov rcx, qword [rax + 0x58]
mov rax, qword [0x004493a0]
mov rax, qword [rax]
movsxd rdx, dword [0x00467624]
add rdx, rdx
lea rdx, [rdx + rdx*2]
mov rdx, qword [rax + rdx*8 + 0x20]
mov rax, qword [0x00467640]
movsxd r8, dword [rax + 0x60]
call fcn.00404eb0
mov rax, qword [0x004493a0]
mov rax, qword [rax]
movsxd rcx, dword [0x00467624]
add rcx, rcx
lea rcx, [rcx + rcx*2]
mov rax, qword [rax + rcx*8 + 0x20]
mov qword [0x00467628], rax
xor rax, rax
mov rcx, qword [0x00467640]
mov ecx, dword [rcx + 0x60]
sub ecx, 1
mov dword [0x0046761c], eax
cmp dword [0x0046761c], ecx
jg 0x44245f
add ecx, 1
mov rax, qword [0x00467628]
xor byte [rax], 0xff
add qword [0x00467628], 1
add dword [0x0046761c], 1
cmp dword [0x0046761c], ecx
jne 0x44243e
nop
mov rax, qword [0x004493a0]
mov rax, qword [rax]
movsxd rcx, dword [0x00467624]
add rcx, rcx
lea rcx, [rcx + rcx*2]
mov dword [rax + rcx*8 + 0x28], 0
mov rcx, qword [0x00467640]
call fcn.00406bf0
call fcn.0043c270
mov rcx, qword [0x00449770]
mov rcx, qword [0x00467640]
call fcn.00406bf0