Function at 0x140081c30
Capabilities:
Check http status code
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xa08]
sub rsp, 0xae0
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140109388]
xor rax, rsp
mov qword [rbp + 0x9d0], rax
mov rsi, rdx
call fcn.1400762f8
xor r12d, r12d
test al, al
je 0x140081c88
mov edi, 0x80004005
jmp 0x14008213b
mov ecx, 0x640
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov qword [rsi + 0x10], rax
test rax, rax
je 0x140082136
mov eax, 0x1008
mov word [rsi], ax
mov dword [rsi + 8], r12d
mov ebx, 0x78
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x50]
call sub.msvcrt.dll_memset
mov dword [rbp - 0x28], SafeArrayUnlock
mov dword [rbp - 0x50], ebx
lea r8, [rbp - 0x78]
lea edx, [rbx - 0x68]
lea rcx, [rbp - 0x50]
call qword [sym.imp.WS2_32.dll_WSALookupServiceBeginW]
lea r15d, [rbx - 0x77]
test eax, eax
jne 0x140081f0c
mov qword [rsp + 0x48], r12
mov rdi, r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x30], ebx
or r13d, 0xffffffff
mov rax, qword [str.Xr_r_]
lea rcx, str.Xr_r_
mov rax, qword [rax + 0x18]
call qword [case.0x14006d218.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x68], rbx
movsxd r14, dword [rsp + 0x30]
mov ecx, r15d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r14d
or eax, ecx
jge 0x140081d4d
mov edx, r14d
lea rcx, [rsp + 0x68]
call fcn.140004de0
mov rbx, qword [rsp + 0x68]
test r14d, r14d
js 0x14008218c
cmp r14d, dword [rbx - 0xc]
jg 0x14008218c
mov dword [rbx - 0x10], r14d
mov word [rbx + r14*2], r12w
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, rbx
call sub.msvcrt.dll_memset
mov eax, dword [rsp + 0x30]
mov dword [rbx], eax
mov dword [rbx + 0x28], SafeArrayUnlock
mov r9, rbx
lea r8, [rsp + 0x30]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.WS2_32.dll_WSALookupServiceNextW]
test eax, eax
je 0x140081dfa
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x277e
je 0x140081e78
cmp eax, 0x271e
je 0x140081e4b
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140081ded
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
test edi, edi
js 0x140081ef9
jmp 0x140081e9e
mov r15, qword [rbx + 8]
mov r14, rdi
mov qword [rbp - 0x68], rdi
cmp rdi, qword [rsp + 0x58]
jb 0x140081e27
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x48]
call fcn.1400195e4
test al, al
je 0x140082181
mov rdi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x48]
lea rcx, [rax + r14*8]
mov qword [rbp - 0x60], rcx
mov rdx, r15
call fcn.140004a80
nop
mov r15d, 1
add rdi, r15
mov qword [rsp + 0x50], rdi
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140081e6e
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
mov rdi, qword [rsp + 0x50]
jmp 0x140081d05
mov edi, r12d
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140081e9e
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006d218.0]
mov rbx, r12
mov r14, qword [rsp + 0x50]
test r14, r14
je 0x140081ef9
mov eax, dword [rsi + 8]
mov r15, qword [rsp + 0x48]
cmp eax, 0xc8
jae 0x140081ef3
cmp rbx, r14
jae 0x140082176
mov rcx, qword [r15 + rbx*8]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edx, dword [rsi + 8]
mov rcx, qword [rsi + 0x10]
mov qword [rcx + rdx*8], rax
mov ecx, dword [rsi + 8]
mov rax, qword [rsi + 0x10]
cmp qword [rax + rcx*8], r12
je 0x140081f05
lea eax, [rcx + 1]
mov dword [rsi + 8], eax
inc rbx
cmp rbx, r14
jb 0x140081eb3
mov r15d, 1
lea rcx, [rsp + 0x48]
call fcn.1400620c8
jmp 0x140081f1a
mov edi, 0x8007000e
jmp 0x140081ef3
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
js 0x14008213b
mov qword [rsp + 0x70], r12
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftMediaPlayerPreferencesHME_
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140081fb2
mov r14, qword [rsp + 0x70]
mov dword [rsp + 0x34], r12d
mov dword [rsp + 0x38], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, str.DONOTAuthenticateRMEClient
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, r12b
cmp dword [rsp + 0x34], r15d
cmove ebx, r15d
test r14, r14
je 0x140081faa
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x140082130
cmp dword [rsi + 8], 0xc8
jae 0x140082130
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x40], r12
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.1400be080
mov edi, eax
test eax, eax
js 0x140082114
mov r15, qword [rsp + 0x40]
test r15, r15
je 0x140082114
mov r13d, 0x80
mov rbx, qword [r15 + 0x18]
test rbx, rbx
je 0x140082107
cmp dword [rsi + 8], 0xc8
jae 0x140082107
mov eax, 1
test byte [rbx + 4], al
je 0x1400820f9
cmp qword [rbx + 0x10], r12
je 0x1400820f9
movsxd r14, dword [rbx + 0x18]
cmp r14, r13
ja 0x1400820f9
mov r8, r13
xor edx, edx
lea rcx, [rbp + 0x30]
call sub.msvcrt.dll_memset
mov r8, r14
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp + 0x30]
call sub.msvcrt.dll_memcpy
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x30]
call fcn.1400be39c
mov edi, eax
test eax, eax
js 0x1400820b2
mov r14d, r12d
cmp dword [rsi + 8], r12d
jbe 0x1400820a3
mov r13d, 1
mov eax, r14d
mov rcx, qword [rsi + 0x10]
lea rdx, [rbp + 0x1c0]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x14008209d
add r14d, r13d
cmp r14d, dword [rsi + 8]
jb 0x140082078
mov r13d, 0x80
cmp r14d, dword [rsi + 8]
jne 0x1400820f9
lea rcx, [rbp + 0x1c0]
jmp 0x1400820d5
mov r8d, 0x81
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x30]
call fcn.1400be180
mov edi, eax
test eax, eax
js 0x1400820f9
lea rcx, [rbp + 0xb0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edx, dword [rsi + 8]
mov rcx, qword [rsi + 0x10]
mov qword [rcx + rdx*8], rax
mov ecx, dword [rsi + 8]
mov rax, qword [rsi + 0x10]
cmp qword [rax + rcx*8], r12
je 0x140082102
lea eax, [rcx + 1]
mov dword [rsi + 8], eax
mov rbx, qword [rbx + 8]
jmp 0x140081ffa
mov edi, 0x8007000e
mov r15, qword [r15 + 8]
test r15, r15
jne 0x140081ff6
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140082130
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
jns 0x140082144
jmp 0x14008213b
mov edi, 0x8007000e
mov rcx, rsi
call qword [sym.imp.ole32.dll_PropVariantClear]
mov eax, edi
mov rcx, qword [rbp + 0x9d0]
xor rcx, rsp
call fcn.1400cc8d0
lea r11, [rsp + 0xae0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80070057
call fcn.140004f64
nop
mov ecx, 0x8007000e
call fcn.140004f64
int3
mov ecx, 0x80070057
call fcn.140004f64
int3