Function at 0x140005c80
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push r12
mov eax, 0x12c0
call fcn.140022000
sub rsp, rax
mov rax, qword [0x14002b200]
xor rax, rsp
mov qword [rsp + 0x12a0], rax
mov rsi, rcx
mov r12, rdx
mov dword [rsp + 0x58], r8d
xor edi, edi
lea rcx, [rsp + 0xa92]
xor edx, edx
mov r8d, 0x800
mov qword [rsp + 0x50], rdi
mov word [rsp + 0xa90], di
call fcn.140012bd0
lea rcx, [rsp + 0x72]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x70], di
call fcn.140012bd0
lea rcx, [rsp + 0x282]
xor edx, edx
mov r8d, 0x800
mov word [rsp + 0x280], di
call fcn.140012bd0
lea r8, str.SoftwareDameWare_DevelopmentMini_Remote_ControlReverse_Connection
lea rdx, [0x140023a88]
lea rcx, [rsp + 0xa90]
mov dword [rsp + 0x60], edi
call qword [0x1400236f8]
lea r11, [rsp + 0x60]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0xa90]
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
call qword [section..rdata]
test eax, eax
je 0x140005d72
xor eax, eax
jmp 0x140005f73
mov r9, r12
or r8, 0xffffffffffffffff
mov edx, 0x158
mov rcx, rsi
mov qword [rsp + 0x12b8], rbp
call qword [0x140023608]
cmp eax, 0xffffffff
jne 0x140005dc3
mov r9, r12
xor r8d, r8d
mov edx, 0x143
mov rcx, rsi
call qword [0x140023608]
cmp eax, 0xffffffff
je 0x140005dc3
mov r9d, dword [rsp + 0x58]
movsxd r8, eax
mov edx, 0x151
mov rcx, rsi
call qword [0x140023608]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x146
mov rcx, rsi
call qword [0x140023608]
mov rbp, rax
test eax, eax
jle 0x140005ef8
mov qword [rsp + 0x12f8], rbx
mov qword [rsp + 0x12b0], r13
mov r13d, 0x17f2
nop dword [rax + rax]
movsxd rbx, edi
lea r9, [rsp + 0x280]
mov edx, 0x148
mov r8, rbx
mov rcx, rsi
call qword [0x140023608]
test rax, rax
je 0x140005ed9
xor r9d, r9d
mov r8, rbx
mov edx, 0x150
mov rcx, rsi
call qword [0x140023608]
lea rcx, [rsp + 0x280]
cmp eax, 0xffffffff
cmove eax, r13d
mov dword [rsp + 0x5c], eax
call qword [0x1400233c0]
lea rdx, str.Host__d
mov ebx, eax
lea rcx, [rsp + 0x70]
mov r8d, edi
add ebx, ebx
call qword [0x1400236f8]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x280]
lea rdx, [rsp + 0x70]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call qword [0x140023070]
lea rdx, str.Port__d
lea rcx, [rsp + 0x70]
mov r8d, edi
call qword [0x1400236f8]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x5c]
lea rdx, [rsp + 0x70]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [0x140023070]
test eax, eax
jne 0x140005ee8
cmp edi, 0x32
jg 0x140005ee8
inc edi
cmp edi, ebp
jl 0x140005e00
mov rbx, qword [rsp + 0x12f8]
mov r13, qword [rsp + 0x12b0]
mov rcx, r12
call qword [0x1400233c0]
mov rbp, qword [rsp + 0x12b8]
add eax, eax
je 0x140005f31
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x28], eax
lea rdx, str.Last
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], r12
call qword [0x140023070]
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x28], 4
lea rdx, str.Port
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x50]
mov r9d, 4
xor r8d, r8d
call qword [0x140023070]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140005f6e
call qword [0x140023058]
mov eax, 1
mov rcx, qword [rsp + 0x12a0]
xor rcx, rsp
call fcn.140012ba0
add rsp, 0x12c0
pop r12
pop rdi
pop rsi
ret