Function at 0x140084db0
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x2158
call fcn.1402ddd10
sub rsp, rax
mov rsi, r9
mov rbx, r8
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x2150], rax
lea r15, [rsp + 0x150]
mov r8d, 0x2000
mov rcx, r15
mov dl, 0xaa
call fcn.1402e0d10
mov rcx, rdi
mov rdx, r15
call fcn.14035c230
test eax, eax
js 0x140084ec5
lea rdx, [0x140494baa]
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140084efb
lea rdx, [0x140494bae]
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140084ef4
lea rdx, [0x140494bb2]
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140084eed
lea rdx, [0x140494bb6]
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
mov r12d, reloc.WS2_32.dll_recvfrom
mov ebp, 0x80020009
test eax, eax
cmovne r12d, ecx
jne 0x140084ec7
jmp 0x140084f00
cmp eax, 0x13
jne 0x140085160
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
lea rcx, [rsp + 0x150]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
jns 0x140085134
mov ebp, eax
mov rcx, qword [rsp + 0x2150]
xor rcx, rsp
call fcn.1402ddd70
mov eax, ebp
add rsp, 0x2158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r12w, reloc.WS2_32.dll_send
jmp 0x140084f00
mov r12w, 0x4008
jmp 0x140084f00
mov r12w, 8
mov rax, qword [rdi]
movabs r15, 0x100002600
mov r13, qword [sym.imp.USER32.dll_CharNextW]
jmp 0x140084f1f
mov rcx, rax
call r13
mov qword [rdi], rax
movzx ecx, word [rax]
cmp rcx, 0x20
ja 0x140084f2e
bt r15, rcx
jb 0x140084f16
lea r15, [rsp + 0x150]
mov rcx, rdi
mov rdx, r15
call fcn.14035c230
test eax, eax
js 0x140084ec5
movzx eax, r12w
cmp eax, 0x12
jg 0x140084e95
cmp eax, 0x11
jne 0x140085079
lea rcx, [rsp + 0x150]
call fcn.140303804
mov r12, rax
mov ebp, 0x80004005
test r12b, 1
jne 0x140084ec7
mov r15d, r12d
shr r15d, 0x1f
add r15d, r12d
sar r15d, 1
lea r13, [rsp + 0x50]
mov r8d, 0x100
mov rcx, r13
mov dl, 0xaa
call fcn.1402e0d10
mov r8, r13
mov qword [r13 - 8], 0
movsxd r13, r15d
xor edx, edx
cmp r12d, 2
cmovae rdx, r13
cmp rdx, 0x101
jae 0x140085050
mov qword [rsp + 0x48], r8
test r8, r8
je 0x140085005
mov qword [rsp + 0x38], r8
mov rcx, r8
xor edx, edx
mov r8, r13
call fcn.1402e0d10
test r12d, r12d
jle 0x14008500b
mov eax, r12d
xor edx, edx
mov r8d, 0x3ff
mov r9d, 0x7e0000
movabs r10, 0x7e000000000000
xor r11d, r11d
jmp 0x140085107
xor eax, eax
xor ebx, ebx
jmp 0x14008503b
mov rax, qword [rsp + 0x48]
mov rcx, qword [r14]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
mov rdx, rbx
xor r8d, r8d
mov r9d, 3
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x38]
lea rcx, [rsp + 0x50]
cmp rax, rcx
jne 0x140085067
test r8, r8
je 0x140084ec7
jmp 0x1400850ad
lea rcx, [rsp + 0x48]
call fcn.14035c200
lea rax, [rsp + 0x48]
mov r8, qword [rax]
jmp 0x140084fc6
lea rcx, [rsp + 0x48]
mov r14, r8
call fcn.14035c550
mov r8, r14
jmp 0x140085045
cmp eax, 8
jne 0x1400850bd
mov rcx, r15
call fcn.140303804
lea eax, [rax*2 + 2]
mov rcx, qword [r14]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
mov rdx, rbx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test ebx, ebx
je 0x1400850bd
mov ecx, ebx
call fcn.14035c500
jmp 0x140084ec5
mov rcx, rdi
mov rdx, rsi
call fcn.14035c230
mov ebp, eax
sar ebp, 0x1f
and ebp, eax
jmp 0x140084ec7
add cl, 0xc9
jmp 0x1400850dc
add cl, 0xd0
mov r12d, ecx
mov ecx, edx
not cl
and cl, 4
shl r12b, cl
mov rcx, qword [rsp + 0x48]
mov r13d, r11d
shr r13d, 1
or byte [rcx + r13], r12b
inc r11
add dl, 4
cmp rax, r11
je 0x14008500b
movzx ecx, word [rsp + r11*2 + 0x150]
xor r12d, r12d
lea r13d, [rcx - 0x30]
cmp r13d, 0x36
ja 0x1400850df
bt r8, r13
jb 0x1400850d9
bt r9, r13
jb 0x1400850d4
bt r10, r13
jae 0x1400850df
add cl, 0xa9
jmp 0x1400850dc
mov eax, dword [rsp + 0x44]
lea rdx, [rsp + 0x48]
mov dword [rdx], eax
mov rcx, qword [r14]
mov qword [rsp + 0x20], rdx
mov dword [rsp + 0x28], 4
mov rdx, rbx
xor r8d, r8d
mov r9d, 4
jmp 0x1400850a5
cmp eax, 0x4008
jne 0x1400850bd
lea r12, [rsp + 0x150]
mov rcx, r12
call fcn.140303804
mov rbp, rax
lea r15, [rsp + 0x50]
mov r8d, 0x100
mov rcx, r15
mov dl, 0xaa
call fcn.1402e0d10
mov qword [r15 - 8], 0
add ebp, 2
movsxd rdx, ebp
lea rbp, [rsp + 0x48]
mov rcx, rbp
call fcn.14035c510
mov rbp, qword [rbp]
test rbp, rbp
jne 0x1400851d6
mov ebx, select
xor eax, eax
cmp rax, r15
je 0x1400850ad
lea rcx, [rsp + 0x48]
call fcn.14035c550
jmp 0x1400850ad
cmp word [rsp + 0x150], 0
jne 0x14008520d
mov dword [rbp], 0
mov r13, qword [rsp + 0x48]
test r13, r13
jne 0x140085235
mov ebx, reloc.WS2_32.dll_listen
jmp 0x1400851bc
mov word [rbp], cx
add r12, 2
add rbp, 2
cmp word [r12], 0
je 0x1400851e1
mov rcx, r12
call r13
movzx ecx, word [r12]
cmp cx, 0x5c
jne 0x1400851f9
cmp word [rax], 0x30
jne 0x1400851f9
mov word [rbp], 0
mov rcx, rax
call r13
mov r12, rax
jmp 0x140085201
xor ebp, ebp
mov r12, r13
mov rcx, r12
call fcn.140303804
lea ecx, [rax + 1]
lea r12, [r12 + rcx*2]
mov edx, ebp
lea rbp, [rdx + rcx*2]
test eax, eax
jne 0x14008523a
mov rcx, qword [r14]
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], r13
mov rdx, rbx
xor r8d, r8d
mov r9d, 7
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rax, qword [rsp + 0x48]
jmp 0x1400851be