Function at 0x140001380
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x318
mov rax, qword [0x140034040]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov dword [rsp + 0x188], 0
lea rax, [rsp + 0x1c0]
lea rcx, str.fodlwg
mov rdi, rax
mov rsi, rcx
mov ecx, 0x46
rep movsb byte [rdi], byte [rsi]
mov eax, 2
imul rax, rax, 0x22
movzx eax, word [rsp + rax + 0x1c0]
test eax, eax
je 0x1400013eb
mov dword [rsp + 0x64], 1
jmp 0x1400013f3
mov dword [rsp + 0x64], 0
movzx eax, byte [rsp + 0x64]
test eax, eax
je 0x140001456
mov dword [rsp + 0x3c], 0
jmp 0x140001410
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0x23
jge 0x140001456
movsxd rax, dword [rsp + 0x3c]
movzx eax, word [rsp + rax*2 + 0x1c0]
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0x3c]
cdq
mov ecx, 0x35
idiv ecx
mov eax, edx
add eax, 0x35
mov ecx, dword [rsp + 0x98]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x3c]
mov word [rsp + rcx*2 + 0x1c0], ax
jmp 0x140001406
lea rax, [rsp + 0x1c0]
mov r8, qword [rsp + 0x338]
mov rdx, rax
lea rcx, [rsp + 0x2b0]
call fcn.140002890
nop
lea rax, [rsp + 0xd0]
lea rcx, str.i_t_bd9
mov rdi, rax
mov rsi, rcx
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
mov eax, 2
imul rax, rax, 4
movzx eax, word [rsp + rax + 0xd0]
test eax, eax
je 0x1400014b2
mov dword [rsp + 0x68], 1
jmp 0x1400014ba
mov dword [rsp + 0x68], 0
movzx eax, byte [rsp + 0x68]
test eax, eax
je 0x14000151d
mov dword [rsp + 0x40], 0
jmp 0x1400014d7
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 5
jge 0x14000151d
movsxd rax, dword [rsp + 0x40]
movzx eax, word [rsp + rax*2 + 0xd0]
mov dword [rsp + 0x9c], eax
mov eax, dword [rsp + 0x40]
cdq
mov ecx, 0x35
idiv ecx
mov eax, edx
add eax, 0x35
mov ecx, dword [rsp + 0x9c]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x40]
mov word [rsp + rcx*2 + 0xd0], ax
jmp 0x1400014cd
lea rax, [rsp + 0xd0]
mov r8, qword [rsp + 0x330]
mov rdx, rax
lea rcx, [rsp + 0x290]
call fcn.140002890
nop
lea rax, [rsp + 0x2b0]
mov rcx, rax
call fcn.140002780
mov qword [rsp + 0x128], rax
lea r8, [rsp + 0x280]
mov rdx, qword [rsp + 0x128]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x1400015a8
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x290]
call fcn.140002620
nop
lea rcx, [rsp + 0x2b0]
call fcn.140002620
movzx eax, byte [rsp + 0x30]
jmp 0x140001d9b
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
shl rax, 1
mov dword [rsp + 0xa4], eax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x108], rax
lea rax, [rsp + 0x290]
mov rcx, rax
call fcn.140002780
mov qword [rsp + 0x108], rax
lea rax, [rsp + 0x198]
lea rcx, str._V_jZHU_
mov rdi, rax
mov rsi, rcx
mov ecx, 0x14
rep movsb byte [rdi], byte [rsi]
mov eax, 2
imul rax, rax, 9
movzx eax, word [rsp + rax + 0x198]
test eax, eax
je 0x14000162d
mov dword [rsp + 0x6c], 1
jmp 0x140001635
mov dword [rsp + 0x6c], 0
movzx eax, byte [rsp + 0x6c]
test eax, eax
je 0x140001698
mov dword [rsp + 0x44], 0
jmp 0x140001652
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0xa
jge 0x140001698
movsxd rax, dword [rsp + 0x44]
movzx eax, word [rsp + rax*2 + 0x198]
mov dword [rsp + 0xa0], eax
mov eax, dword [rsp + 0x44]
cdq
mov ecx, 0x35
idiv ecx
mov eax, edx
add eax, 0x35
mov ecx, dword [rsp + 0xa0]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x44]
mov word [rsp + rcx*2 + 0x198], ax
jmp 0x140001648
lea rax, [rsp + 0x198]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0x140], rax
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x20], rax
mov r9d, 2
mov r8, qword [rsp + 0x138]
xor edx, edx
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x140001731
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsp + 0x31], 0
lea rcx, [rsp + 0x290]
call fcn.140002620
nop
lea rcx, [rsp + 0x2b0]
call fcn.140002620
movzx eax, byte [rsp + 0x31]
jmp 0x140001d9b
lea rax, [rsp + 0xe0]
lea rcx, str.aOG_9
mov rdi, rax
mov rsi, rcx
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
mov eax, 2
imul rax, rax, 4
movzx eax, word [rsp + rax + 0xe0]
test eax, eax
je 0x14000176c
mov dword [rsp + 0x70], 1
jmp 0x140001774
mov dword [rsp + 0x70], 0
movzx eax, byte [rsp + 0x70]
test eax, eax
je 0x1400017d7
mov dword [rsp + 0x48], 0
jmp 0x140001791
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 5
jge 0x1400017d7
movsxd rax, dword [rsp + 0x48]
movzx eax, word [rsp + rax*2 + 0xe0]
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0x48]
cdq
mov ecx, 0x35
idiv ecx
mov eax, edx
add eax, 0x35
mov ecx, dword [rsp + 0xa8]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x48]
mov word [rsp + rcx*2 + 0xe0], ax
jmp 0x140001787
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x28], 4
lea rax, [0x14002f1a8]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8, qword [rsp + 0x148]
xor edx, edx
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x14000186c
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsp + 0x32], 0
lea rcx, [rsp + 0x290]
call fcn.140002620
nop
lea rcx, [rsp + 0x2b0]
call fcn.140002620
movzx eax, byte [rsp + 0x32]
jmp 0x140001d9b
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x88]
lea rcx, str._BSTU
mov rdi, rax
mov rsi, rcx
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 9
movsx eax, byte [rsp + rax + 0x88]
test eax, eax
je 0x1400018b5
mov dword [rsp + 0x74], 1
jmp 0x1400018bd
mov dword [rsp + 0x74], 0
movzx eax, byte [rsp + 0x74]
test eax, eax
je 0x14000191f
mov dword [rsp + 0x4c], 0
jmp 0x1400018da
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0xa
jge 0x14000191f
movsxd rax, dword [rsp + 0x4c]
movsx eax, byte [rsp + rax + 0x88]
mov dword [rsp + 0xac], eax
mov eax, dword [rsp + 0x4c]
cdq
mov ecx, 0x35
idiv ecx
mov eax, edx
add eax, 0x35
mov ecx, dword [rsp + 0xac]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x4c]
mov byte [rsp + rcx + 0x88], al
jmp 0x1400018d0
lea rax, [rsp + 0x88]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
jne 0x14000196d
mov byte [rsp + 0x33], 0
lea rcx, [rsp + 0x290]
call fcn.140002620
nop
lea rcx, [rsp + 0x2b0]
call fcn.140002620
movzx eax, byte [rsp + 0x33]
jmp 0x140001d9b
lea rax, [rsp + 0x110]
lea rcx, str.gB_y_PNOInM_7___G
mov rdi, rax
mov rsi, rcx
mov ecx, 0x13
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0x12
movsx eax, byte [rsp + rax + 0x110]
test eax, eax
je 0x1400019a8
mov dword [rsp + 0x78], 1
jmp 0x1400019b0
mov dword [rsp + 0x78], 0
movzx eax, byte [rsp + 0x78]
test eax, eax
je 0x140001a12
mov dword [rsp + 0x50], 0
jmp 0x1400019cd
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x13
jge 0x140001a12
movsxd rax, dword [rsp + 0x50]
movsx eax, byte [rsp + rax + 0x110]
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0x50]
cdq
mov ecx, 0x35
idiv ecx
mov eax, edx
add eax, 0x35
mov ecx, dword [rsp + 0xb0]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x50]
mov byte [rsp + rcx + 0x110], al
jmp 0x1400019c3
lea rax, [rsp + 0x110]
mov rdx, rax
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0xf0]
lea rcx, str.BWX
mov rdi, rax
mov rsi, rcx
mov ecx, 0xd
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0xc
movsx eax, byte [rsp + rax + 0xf0]
test eax, eax
je 0x140001a6e
mov dword [rsp + 0x7c], 1
jmp 0x140001a76
mov dword [rsp + 0x7c], 0
movzx eax, byte [rsp + 0x7c]
test eax, eax
je 0x140001ad8
mov dword [rsp + 0x54], 0
jmp 0x140001a93
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0xd
jge 0x140001ad8
movsxd rax, dword [rsp + 0x54]
movsx eax, byte [rsp + rax + 0xf0]
mov dword [rsp + 0xb4], eax
mov eax, dword [rsp + 0x54]
cdq
mov ecx, 0x35
idiv ecx
mov eax, edx
add eax, 0x35
mov ecx, dword [rsp + 0xb4]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x54]
mov byte [rsp + rcx + 0xf0], al
jmp 0x140001a89
lea rax, [rsp + 0xf0]
mov rdx, rax
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x178], rax
mov dword [rsp + 0xb8], 0xa
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x160], rax
lea r9, [rsp + 0x288]
xor r8d, r8d
mov dl, 1
mov ecx, dword [rsp + 0xb8]
call qword [rsp + 0x160]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
jge 0x140001b64
mov byte [rsp + 0x34], 0
lea rcx, [rsp + 0x290]
call fcn.140002620
nop
lea rcx, [rsp + 0x2b0]
call fcn.140002620
movzx eax, byte [rsp + 0x34]
jmp 0x140001d9b
lea rax, [rsp + 0x210]
lea rcx, str.idR_PIONDbr__
mov rdi, rax
mov rsi, rcx
mov ecx, 0x6a
rep movsb byte [rdi], byte [rsi]
mov eax, 2
imul rax, rax, 0x34
movzx eax, word [rsp + rax + 0x210]
test eax, eax
je 0x140001ba2
mov dword [rsp + 0x80], 1
jmp 0x140001bad
mov dword [rsp + 0x80], 0
movzx eax, byte [rsp + 0x80]
test eax, eax
je 0x140001c13
mov dword [rsp + 0x38], 0
jmp 0x140001bcd
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x35
jge 0x140001c13
movsxd rax, dword [rsp + 0x38]
movzx eax, word [rsp + rax*2 + 0x210]
mov dword [rsp + 0xbc], eax
mov eax, dword [rsp + 0x38]
cdq
mov ecx, 0x35
idiv ecx
mov eax, edx
add eax, 0x35
mov ecx, dword [rsp + 0xbc]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x38]
mov word [rsp + rcx*2 + 0x210], ax
jmp 0x140001bc3
lea rax, [rsp + 0x210]
mov r8, qword [rsp + 0x338]
mov rdx, rax
lea rcx, [rsp + 0x2e0]
call fcn.140002890
nop
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0xc8]
cmp qword [rax + 0x18], 7
jbe 0x140001c70
mov dword [rsp + 0x84], 1
jmp 0x140001c7b
mov dword [rsp + 0x84], 0
movzx eax, byte [rsp + 0x84]
mov byte [rsp + 0x35], al
movzx eax, byte [rsp + 0x35]
test eax, eax
je 0x140001cb3
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x170], rax
mov rdx, qword [rsp + 0x170]
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x180], rax
lea rcx, [rsp + 0x2d0]
call qword [rsp + 0x180]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0xc000010e
jne 0x140001d4b
mov byte [rsp + 0x36], 1
lea rcx, [rsp + 0x2e0]
call fcn.140002620
nop
lea rcx, [rsp + 0x290]
call fcn.140002620
nop
lea rcx, [rsp + 0x2b0]
call fcn.140002620
movzx eax, byte [rsp + 0x36]
jmp 0x140001d9b
cmp dword [rsp + 0x5c], 0
jl 0x140001d5c
mov dword [rsp + 0x60], 1
jmp 0x140001d64
mov dword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x37], al
lea rcx, [rsp + 0x2e0]
call fcn.140002620
nop
lea rcx, [rsp + 0x290]
call fcn.140002620
nop
lea rcx, [rsp + 0x2b0]
call fcn.140002620
movzx eax, byte [rsp + 0x37]
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.14002b1c0
add rsp, 0x318
pop rdi
pop rsi
ret