Function at 0x180002e00
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1198
call fcn.180013d40
sub rsp, rax
lea rbp, [rsp + 0x30]
mov rax, qword [0x1800bd6d8]
xor rax, rbp
mov qword [rbp + 0x1150], rax
mov r15, r8
mov qword [rbp + 0x10], r8
mov r13, rdx
mov r12, rcx
mov qword [rbp + 0x18], rcx
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x28], r8
mov qword [rbp + 0x38], r9
lea rdx, [rbp + 0x150]
call fcn.180007b00
test eax, eax
js 0x18000344d
lea rdx, [0x180062c50]
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x180002e7e
lea ebx, [rax + 8]
jmp 0x180002ee0
lea rdx, [0x180062c60]
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x180002e9d
mov ebx, 0x4008
jmp 0x180002ee0
lea rdx, [0x180062c70]
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x180002eba
lea ebx, [rax + 0x13]
jmp 0x180002ee0
lea rdx, [0x180062c80]
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x180003448
lea ebx, [rax + 0x11]
nop dword [rax]
mov rdx, qword [r12]
movsx ecx, byte [rdx]
sub ecx, 9
je 0x180003436
sub ecx, 1
je 0x180003436
sub ecx, 3
je 0x180003436
cmp ecx, 0x13
je 0x180003436
lea rdx, [rbp + 0x150]
mov rcx, r12
call fcn.180007b00
test eax, eax
js 0x18000344d
cmp ebx, 8
je 0x1800033e0
cmp ebx, 0x11
je 0x180003265
cmp ebx, 0x13
je 0x1800030cc
cmp ebx, 0x4008
jne 0x1800030b2
lea rcx, [rbp + 0x150]
mov rsi, 0xffffffffffffffff
mov rax, rsi
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x180002f60
add eax, 2
xor edi, edi
mov qword [rbp + 0x40], rdi
movsxd rcx, eax
test eax, eax
je 0x180002fa6
xor edx, edx
mov rax, rsi
div rcx
cmp rax, 1
jb 0x180003470
cmp rcx, 0x100
jbe 0x180002fa6
mov rdx, rcx
lea rcx, [rbp + 0x40]
call fcn.180003580
mov rbx, qword [rbp + 0x40]
jmp 0x180002fae
lea rbx, [rbp + 0x48]
mov qword [rbp + 0x40], rbx
jmp 0x180002fc9
test rbx, rbx
je 0x180003092
lea r14, [rbp + 0x150]
cmp byte [rbp + 0x150], 0
je 0x180003036
mov rcx, r14
call qword [sym.imp.USER32.dll_CharNextA]
movzx ecx, byte [r14]
cmp cl, 0x5c
jne 0x18000300a
cmp byte [rax], 0x30
jne 0x18000300a
mov byte [rbx], 0
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextA]
mov r14, rax
jmp 0x18000302d
mov byte [rbx], cl
movzx ecx, byte [r14]
call qword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x18000302a
inc rbx
inc r14
movzx eax, byte [r14]
test al, al
je 0x180003036
mov byte [rbx], al
inc r14
inc rbx
cmp byte [r14], 0
jne 0x180002fe2
mov word [rbx], 0
mov rbx, qword [rbp + 0x40]
test rbx, rbx
jne 0x180003049
lea esi, [rbx + 0xd]
jmp 0x180003097
mov r9d, edi
mov r8, rbx
nop
mov rcx, rsi
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180003053
inc ecx
mov eax, ecx
add r8, rax
add r9d, ecx
cmp ecx, 1
jne 0x180003050
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], rbx
lea r9d, [rcx + 6]
xor r8d, r8d
mov rdx, r15
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov rbx, qword [rbp + 0x40]
jmp 0x180003097
mov esi, 0xe
lea rax, [rbp + 0x48]
cmp rbx, rax
je 0x180003425
lea rcx, [rbp + 0x40]
call fcn.180006d00
jmp 0x180003425
xor edi, edi
mov rdx, qword [rbp + 0x38]
mov rcx, r12
call fcn.180007b00
test eax, eax
cmovs edi, eax
mov eax, edi
jmp 0x18000344d
xor edi, edi
mov ebx, edi
mov qword [rbp + 0x30], rbx
lea rcx, [rbp + 0x150]
mov rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp byte [rcx + rax], 0
jne 0x1800030e5
inc eax
cdqe
lea rcx, [rax + rax]
mov eax, 0x80000000
add rax, rcx
mov edx, 0xffffffff
cmp rax, rdx
ja 0x1800031b1
movsxd r15, ecx
cmp ecx, 0x400
jg 0x180003149
mov rcx, r15
call fcn.180010c30
test al, al
je 0x180003149
lea rax, [r15 + 0xf]
cmp rax, r15
ja 0x180003136
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.180013d40
sub rsp, rax
lea r14, [rsp + 0x30]
jmp 0x180003176
mov rax, r15
not rax
cmp rax, 0x10
jb 0x18000347b
lea rcx, [r15 + 0x10]
call fcn.1800242f8
test rax, rax
jne 0x18000316c
mov r14, rdi
jmp 0x180003176
mov qword [rax], rdi
mov rbx, rax
lea r14, [rax + 0x10]
shr r15, 1
test r14, r14
je 0x1800031ad
mov word [r14], di
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r14
mov r9d, esi
lea r8, [rbp + 0x150]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
cmove r14, rdi
mov r15, qword [rbp + 0x10]
jmp 0x1800031b4
mov r15, qword [rbp + 0x10]
mov r14, rdi
test r14, r14
jne 0x1800031da
test rbx, rbx
je 0x1800031d0
nop
mov rcx, rbx
mov rbx, qword [rbx]
call fcn.1800242e4
test rbx, rbx
jne 0x1800031c0
mov eax, 0x8007000e
jmp 0x18000344d
lea r9, [rbp]
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov esi, eax
test eax, eax
jns 0x180003217
test rbx, rbx
je 0x180003210
nop word [rax + rax]
mov rcx, rbx
mov rbx, qword [rbx]
call fcn.1800242e4
test rbx, rbx
jne 0x180003200
mov eax, esi
jmp 0x18000344d
mov eax, dword [rbp]
mov dword [rbp + 8], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, r15
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test rbx, rbx
je 0x180003425
nop
mov rcx, rbx
mov rbx, qword [rbx]
call fcn.1800242e4
test rbx, rbx
jne 0x180003250
jmp 0x180003425
lea rax, [rbp + 0x150]
mov rsi, 0xffffffffffffffff
mov rbx, rsi
inc rbx
cmp byte [rax + rbx], 0
jne 0x180003276
mov dword [rbp + 8], ebx
test bl, 1
jne 0x180003310
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
movsxd r15, eax
mov dword [rbp], r15d
xor edi, edi
mov qword [rbp + 0x40], rdi
mov r14, r15
mov qword [rbp + 0x30], r15
test eax, eax
je 0x1800032d7
xor edx, edx
mov rax, rsi
div r14
cmp rax, 1
jb 0x180003486
cmp r14, 0x100
jbe 0x1800032d7
mov rdx, r14
lea rcx, [rbp + 0x40]
call fcn.1800035e0
mov rcx, qword [rbp + 0x40]
jmp 0x1800032df
lea rcx, [rbp + 0x48]
mov qword [rbp + 0x40], rcx
mov rsi, qword [rbp + 0x10]
jmp 0x180003302
test rcx, rcx
jne 0x18000331a
lea rcx, [rbp + 0x40]
call fcn.180006d20
mov eax, 0x80004005
jmp 0x18000344d
mov r8, r14
xor edx, edx
call fcn.180016650
mov r10d, edi
movsxd r11, ebx
test ebx, ebx
jle 0x1800033a5
mov r9, rdi
lea rbx, [0x180000000]
nop dword [rax + rax]
mov r8d, r10d
shr r8, 1
add r8, qword [rbp + 0x40]
movsx edx, byte [rbp + r9 + 0x150]
lea eax, [rdx - 0x30]
cmp eax, 0x36
ja case.0x18000336f.51
cdqe
movzx eax, byte [rbx + rax + 0x34a4]
mov ecx, dword [rbx + rax*4 + 0x3494]
add rcx, rbx
jmp rcx
sub dl, 0x30
jmp 0x180003382
sub dl, 0x37
jmp 0x180003382
sub dl, 0x57
jmp 0x180003382
xor dl, dl
mov ecx, r10d
and ecx, 1
shl ecx, 2
mov eax, 4
sub eax, ecx
movzx ecx, al
shl dl, cl
or byte [r8], dl
inc r10d
inc r9
cmp r9, r11
jl 0x180003340
mov dword [rsp + 0x28], r15d
mov rax, qword [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
lea rax, [rbp + 0x48]
cmp qword [rbp + 0x40], rax
je 0x180003425
lea rcx, [rbp + 0x40]
call fcn.180006d20
jmp 0x180003425
lea rax, [rbp + 0x150]
mov rsi, 0xffffffffffffffff
nop
inc rsi
cmp byte [rax + rsi], 0
jne 0x1800033f0
inc esi
mov dword [rsp + 0x28], esi
lea rax, [rbp + 0x150]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, r15
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
xor edi, edi
test esi, esi
je 0x1800030b4
mov ecx, esi
call fcn.1800037c0
jmp 0x18000344d
mov rcx, rdx
call qword [sym.imp.USER32.dll_CharNextA]
mov qword [r12], rax
jmp 0x180002ee0
mov eax, 0x80020009
mov rcx, qword [rbp + 0x1150]
xor rcx, rbp
call fcn.180013da0
lea rsp, [rbp + 0x1168]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80070216
call fcn.180003880
nop
mov ecx, 0x80070216
call fcn.180003880
nop
mov ecx, 0x80070216
call fcn.180003880
int3