Function at 0x140001389
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x140020c50
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x68
xor ebx, ebx
mov dword [rbp + 0x18], 4
lea rcx, str.Enter_SystemTransformationCreateParamatersToReg___n
mov qword [rbp - 0x10], rbx
mov dword [rbp - 0x18], ebx
mov dword [rbp + 0x30], ebx
mov dword [rbp + 0x20], 1
mov dword [rbp + 0x28], 1
call fcn.1400045d9
lea rax, [rbp - 0x18]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SYSTEMCurrentControlSetServicesIBMPMSVCTransformParameters
lea rax, [rbp - 0x10]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x140020cd9
lea rcx, str.Error_SystemTransformationCreateParamatersToReg_RegCreateKeyEx_error____n
call fcn.1400045d9
jmp 0x140020e48
cmp dword [rbp - 0x18], 2
lea rdx, str.CurrentSetting
mov rcx, qword [rbp - 0x10]
jne 0x140020d88
lea rax, [rbp + 0x18]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea rdx, str.ChkINode
lea rax, [rbp + 0x28]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea rdx, str.ChkOSV
lea rax, [rbp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [rbp + 0x20]
lea rcx, str.SystemTransformationCreateParamatersToReg___already_have_than_read_the_dwCurrentSetting_read_value:__x_n
call fcn.1400045d9
mov edx, dword [rbp + 0x28]
lea rcx, str.SystemTransformationCreateParamatersToReg___already_have_than_read_the_dwChkINode_read_value:__x_n
call fcn.1400045d9
lea rcx, str.SystemTransformationCreateParamatersToReg___already_have_than_read_the_dwChkOSV_read_value:__x_n
jmp 0x140020e20
mov eax, dword [rbp + 0x18]
mov r9d, 4
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [rbp + 0x18]
lea rdx, str.ChkINode
mov rcx, qword [rbp - 0x10]
mov r9d, 4
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [rbp + 0x18]
lea rdx, str.ChkOSV
mov rcx, qword [rbp - 0x10]
mov r9d, 4
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [rbp + 0x20]
lea rcx, str.SystemTransformationCreateParamatersToReg___Crelate_and_set_dwCurrentSetting_read_value:__x_n
call fcn.1400045d9
mov edx, dword [rbp + 0x28]
lea rcx, str.SystemTransformationCreateParamatersToReg___Crelate_and_set_dwChkINode_read_value:__x_n
call fcn.1400045d9
lea rcx, str.SystemTransformationCreateParamatersToReg___Crelate_and_set_dwChkOSV_read_value:__x_n
mov edx, dword [rbp + 0x30]
call fcn.1400045d9
mov eax, dword [rbp + 0x20]
mov ebx, 1
mov dword [0x1400cefb0], eax
mov eax, dword [rbp + 0x28]
mov dword [0x1400cefb4], eax
mov eax, dword [rbp + 0x30]
mov dword [0x1400cefb8], eax
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140020e57
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.Exit_SystemTransformationCreateParamatersToReg___n
call fcn.1400045d9
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
ret