Function at 0x140050180
Capabilities:
Set registry value

Disassembly:
jmp 0x140050180
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x2388
call fcn.1401b1720
sub rsp, rax
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov rax, qword [0x14028c8d0]
xor rax, rsp
mov qword [rsp + 0x2370], rax
xor eax, eax
mov word [rsp + 0x3c], ax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x74], 0
lea rdx, [rsp + 0x370]
mov rcx, qword [rsp + 0x2390]
call fcn.1400042a5
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1400501ff
mov eax, dword [rsp + 0x30]
jmp 0x140050953
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x370]
call fcn.1400034f4
test eax, eax
jne 0x14005027b
lea rcx, [0x140291b74]
call fcn.140004967
mov dword [rsp + 0x70], eax
mov r8d, 0x3d6
lea rdx, str.C:Program_Files__x86_Microsoft_Visual_Studio_12.0VC_atlmfcinclude_statreg.h
lea rcx, [rsp + 0x140]
call fcn.1400057f9
lea rcx, [rsp + 0x370]
mov qword [rsp + 0x20], rcx
lea r9, str._s_Type_not_supported_n
xor r8d, r8d
mov ecx, dword [rsp + 0x70]
mov edx, ecx
mov rcx, rax
call fcn.140002392
mov edx, 0x20f
mov rcx, qword [rsp + 0x2390]
call fcn.1400048b3
jmp 0x140050953
mov rcx, qword [rsp + 0x2390]
call fcn.140002649
lea rdx, [rsp + 0x370]
mov rcx, qword [rsp + 0x2390]
call fcn.1400042a5
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1400502b1
mov eax, dword [rsp + 0x30]
jmp 0x140050953
movzx eax, word [rsp + 0x3c]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 8
je 0x1400502ea
cmp dword [rsp + 0x48], 0x11
je 0x140050709
cmp dword [rsp + 0x48], 0x13
je 0x1400505ba
cmp dword [rsp + 0x48], 0x4008
je 0x1400503a1
jmp 0x140050911
mov r9d, 1
lea r8, [rsp + 0x370]
mov rdx, qword [rsp + 0x23a0]
mov rcx, qword [rsp + 0x2398]
call fcn.140004214
mov dword [rsp + 0x34], eax
cmp qword [rsp + 0x23a0], 0
jne 0x14005032d
lea rax, str.default
mov qword [rsp + 0xa8], rax
jmp 0x14005033d
mov rax, qword [rsp + 0x23a0]
mov qword [rsp + 0xa8], rax
lea rcx, [0x140291b74]
call fcn.140004967
mov dword [rsp + 0x7c], eax
mov r8d, 0x3e3
lea rdx, str.C:Program_Files__x86_Microsoft_Visual_Studio_12.0VC_atlmfcinclude_statreg.h
lea rcx, [rsp + 0x120]
call fcn.1400057f9
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x370]
mov qword [rsp + 0x20], rcx
lea r9, str.Setting_Value__s_at__s_n
mov r8d, 2
mov ecx, dword [rsp + 0x7c]
mov edx, ecx
mov rcx, rax
call fcn.140002392
jmp 0x140050911
cmp qword [rsp + 0x23a0], 0
jne 0x1400503bd
lea rax, str.default
mov qword [rsp + 0x90], rax
jmp 0x1400503cd
mov rax, qword [rsp + 0x23a0]
mov qword [rsp + 0x90], rax
lea rcx, [0x140291b74]
call fcn.140004967
mov dword [rsp + 0x84], eax
mov r8d, 0x3e8
lea rdx, str.C:Program_Files__x86_Microsoft_Visual_Studio_12.0VC_atlmfcinclude_statreg.h
lea rcx, [rsp + 0x100]
call fcn.1400057f9
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x370]
mov qword [rsp + 0x20], rcx
lea r9, str.Setting_Value__s_at__s_n
mov r8d, 2
mov ecx, dword [rsp + 0x84]
mov edx, ecx
mov rcx, rax
call fcn.140002392
lea rcx, [rsp + 0x370]
call qword [sym.imp.MSVCR120D.dll_wcslen]
add rax, 2
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x260]
call fcn.1400053a3
nop
movsxd rax, dword [rsp + 0x4c]
mov rdx, rax
lea rcx, [rsp + 0x260]
call fcn.140003ecc
nop
jmp 0x14005046e
lea rcx, [rsp + 0x260]
call fcn.140004520
test rax, rax
je 0x1400505a0
lea rcx, [rsp + 0x260]
call fcn.140004520
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x370]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x4c], 0
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
test eax, eax
je 0x140050553
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
cmp eax, 0x5c
jne 0x140050518
mov rax, qword [rsp + 0xa0]
movzx eax, word [rax]
cmp eax, 0x30
jne 0x140050518
xor eax, eax
mov rcx, qword [rsp + 0x40]
mov word [rcx], ax
mov rax, qword [rsp + 0x40]
add rax, 2
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [rsp + 0x50], rax
jmp 0x140050544
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
movzx ecx, word [rcx]
mov word [rax], cx
mov rax, qword [rsp + 0x40]
add rax, 2
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
jmp 0x1400504ab
xor eax, eax
mov rcx, qword [rsp + 0x40]
mov word [rcx], ax
mov rax, qword [rsp + 0x40]
add rax, 2
mov qword [rsp + 0x40], rax
xor eax, eax
mov rcx, qword [rsp + 0x40]
mov word [rcx], ax
lea rcx, [rsp + 0x260]
call fcn.140004520
mov r8, rax
mov rdx, qword [rsp + 0x23a0]
mov rcx, qword [rsp + 0x2398]
call fcn.140004ed0
mov dword [rsp + 0x34], eax
jmp 0x1400505a8
mov dword [rsp + 0x34], recv
lea rcx, [rsp + 0x260]
call fcn.14000437c
jmp 0x140050911
mov dword [rsp + 0xc8], 0
call fcn.140004b29
mov dword [rsp + 0xe0], eax
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xe8], 0
lea rcx, [rsp + 0xb0]
call fcn.140006087
nop
mov edx, 0x400
lea rcx, [rsp + 0x370]
call fcn.140005f92
mov qword [rsp + 0xd8], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140050652
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x78], eax
lea rcx, [rsp + 0xb0]
call fcn.140003d82
mov eax, dword [rsp + 0x78]
jmp 0x140050953
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x23a0]
mov rcx, qword [rsp + 0x2398]
call fcn.14000284c
mov dword [rsp + 0x34], eax
cmp qword [rsp + 0x23a0], 0
jne 0x14005068c
lea rax, str.default
mov qword [rsp + 0x88], rax
jmp 0x14005069c
mov rax, qword [rsp + 0x23a0]
mov qword [rsp + 0x88], rax
lea rcx, [0x140291b74]
call fcn.140004967
mov dword [rsp + 0x64], eax
mov r8d, 0x428
lea rdx, str.C:Program_Files__x86_Microsoft_Visual_Studio_12.0VC_atlmfcinclude_statreg.h
lea rcx, [rsp + 0x130]
call fcn.1400057f9
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x20], ecx
lea r9, str.Setting_Value__d_at__s_n
mov r8d, 2
mov ecx, dword [rsp + 0x64]
mov edx, ecx
mov rcx, rax
call fcn.140002392
nop
lea rcx, [rsp + 0xb0]
call fcn.140003d82
jmp 0x140050911
lea rcx, [rsp + 0x370]
call qword [sym.imp.MSVCR120D.dll_wcslen]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
and eax, 1
test eax, eax
je 0x140050778
lea rcx, [0x140291b74]
call fcn.140004967
mov dword [rsp + 0x80], eax
mov r8d, 0x430
lea rdx, str.C:Program_Files__x86_Microsoft_Visual_Studio_12.0VC_atlmfcinclude_statreg.h
lea rcx, [rsp + 0x110]
call fcn.1400057f9
lea r9, str.Binary_Data_does_not_fall_on_BYTE_boundries_n
xor r8d, r8d
mov ecx, dword [rsp + 0x80]
mov edx, ecx
mov rcx, rax
call fcn.140002392
mov eax, 0x80004005
jmp 0x140050953
mov eax, dword [rsp + 0x58]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x5c], eax
lea rcx, [rsp + 0x150]
call fcn.1400014a6
nop
movsxd rax, dword [rsp + 0x5c]
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.140002626
nop
jmp 0x1400507ab
lea rcx, [rsp + 0x150]
call fcn.1400028f1
test rax, rax
jne 0x1400507db
mov dword [rsp + 0x68], 0x80004005
lea rcx, [rsp + 0x150]
call fcn.140003ed1
mov eax, dword [rsp + 0x68]
jmp 0x140050953
movsxd rax, dword [rsp + 0x5c]
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x150]
call fcn.1400028f1
mov rcx, qword [rsp + 0xc0]
mov r8, rcx
xor edx, edx
mov rcx, rax
call sub.MSVCR120D.dll_memset
mov dword [rsp + 0x38], 0
jmp 0x14005081e
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x38], eax
jge 0x1400508af
mov eax, dword [rsp + 0x38]
cdq
sub eax, edx
sar eax, 1
cdqe
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0x150]
call fcn.1400028f1
mov rcx, qword [rsp + 0xd0]
add rax, rcx
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x38]
and eax, 1
mov ecx, 1
sub ecx, eax
mov eax, ecx
shl eax, 2
mov dword [rsp + 0x6c], eax
movsxd rcx, dword [rsp + 0x38]
movzx ecx, word [rsp + rcx*2 + 0x370]
call fcn.1400060f5
movzx eax, al
mov ecx, dword [rsp + 0x6c]
shl eax, cl
mov rcx, qword [rsp + 0x98]
movzx ecx, byte [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x98]
mov byte [rcx], al
jmp 0x140050814
lea rcx, [rsp + 0x150]
call fcn.1400028f1
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0x2398]
call fcn.140005943
mov ecx, dword [rsp + 0x5c]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0xb8]
mov qword [rsp + 0x20], rcx
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rsp + 0x23a0]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x150]
call fcn.140003ed1
cmp dword [rsp + 0x34], 0
je 0x14005092b
mov dword [rsp + 0x74], 0x204
mov ecx, dword [rsp + 0x34]
call fcn.140002a95
jmp 0x140050953
mov rdx, qword [rsp + 0x23a8]
mov rcx, qword [rsp + 0x2390]
call fcn.1400042a5
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140050951
mov eax, dword [rsp + 0x30]
jmp 0x140050953
xor eax, eax
mov rcx, qword [rsp + 0x2370]
xor rcx, rsp
call fcn.1401b0dd0
add rsp, 0x2388
ret