Function at 0x4116e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da756
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x532d60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x6c], ecx
and dword [ebp - 0x20], 0xfffffe00
mov dword [ebp - 0xac], edx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x74]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x74], eax
mov eax, dword [0x538390]
mov dword [ebp - 0x70], 0
test al, 1
jne 0x41177b
or eax, 1
push 0x4e75e0
mov dword [0x538390], eax
mov dword [0x538314], 0x51fae8
call fcn.004b8949
add esp, 4
mov ecx, dword [0x534374]
push 0xffffffffffffffff
mov eax, dword [ecx]
push str.success
call dword [eax + 0xc]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push eax
push ecx
push str.error
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0044d470
mov ecx, eax
call fcn.0044ca80
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.0044c9c0
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xa4], esi
mov byte [ebp - 4], 3
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 4
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x68], ebx
mov byte [ebp - 4], 5
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0xa8], edi
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x18], 0
mov cl, byte [eax + 8]
test cl, cl
je 0x41184b
cmp cl, 7
je 0x41184b
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004bac2c
mov eax, dword [ebp - 0x6c]
add esp, 0xc
cmp byte [eax + 8], 0
jne 0x41185b
mov ecx, 0x537e88
jmp 0x4118ff
mov dword [ebp - 0x74], str.hive
mov dword [ebp - 0x70], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.0044e110
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
mov dword [ebp - 0x54], ecx
cmp eax, ecx
je 0x4118e4
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x80], edx
mov edx, str.hive
mov bl, byte [edx]
mov byte [ebp - 0x4d], bl
mov ebx, dword [ebp - 0x80]
mov cl, byte [ebp - 0x4d]
cmp cl, byte [ebx]
mov ecx, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x68]
jne 0x4118d3
cmp byte [ebp - 0x4d], 0
je 0x4118cf
mov bl, byte [edx + 1]
mov byte [ebp - 0x4d], bl
mov ebx, dword [ebp - 0x80]
mov cl, byte [ebp - 0x4d]
cmp cl, byte [ebx + 1]
mov ecx, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x68]
jne 0x4118d3
add dword [ebp - 0x80], 2
add edx, 2
cmp byte [ebp - 0x4d], 0
jne 0x411890
xor edx, edx
jmp 0x4118d8
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x60], eax
test dl, dl
je 0x4118e7
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x60]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
mov ecx, 0x537e88
je 0x4118ff
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.0044cb40
lea ecx, [ebp - 0x5c]
call fcn.00433a00
add esp, 0x18
mov byte [ebp - 4], 9
mov edx, dword [eax]
lea ecx, [esi - 0x10]
lea eax, [edx - 0x10]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x84], ecx
cmp eax, ecx
je 0x411983
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x41196e
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x41196e
mov ecx, dword [ebp - 0x60]
call fcn.00404b50
mov dword [ebp - 0x60], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x411963
mov edx, dword [ebp - 0x84]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x60]
lea esi, [eax + 0x10]
mov dword [ebp - 0xa4], esi
jmp 0x411983
push dword [edx - 0xc]
lea ecx, [ebp - 0xa4]
push edx
call fcn.00404a90
mov esi, dword [ebp - 0xa4]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4119a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
push ecx
mov ecx, dword [esi]
mov dword [ebp - 0x5c], esp
mov eax, dword [ecx]
mov dword [ebp - 0x80], esi
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x4119cf
cmp ecx, dword [esi]
jne 0x4119cf
mov eax, 1
lock xadd dword [edx], eax
jmp 0x411a0f
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov esi, eax
test esi, esi
jne 0x4119e3
call fcn.0040caf0
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
mov ecx, dword [edx + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.004b8ee1
add esp, 0x10
mov ecx, dword [ebp - 0x5c]
lea eax, [esi + 0x10]
mov dword [ecx], eax
call fcn.00410050
add esp, 4
mov dword [ebp - 0x84], eax
test eax, eax
jne 0x411ce3
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0xa4]
push eax
mov edx, str.writeReg_hive_error_
lea ecx, [ebp - 0x6c]
call fcn.00427b90
add esp, 4
push str.writeReg
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.00403ac0
mov byte [ebp - 4], 0xb
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x5c], esi
lea eax, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xc
call fcn.00433ec0
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xd
call fcn.0040cd20
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411ab9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 0xb
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411ad9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411af9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0xa0]
call fcn.00433ad0
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xe
call fcn.0044c7d0
push ecx
push str.error
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call fcn.0044d470
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.0044ca80
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xe
call fcn.0044c9c0
cmp dword [ebp - 0x8c], 0x10
jb 0x411b54
push dword [ebp - 0xa0]
call fcn.004b817c
add esp, 4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411b74
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov ecx, esi
lea eax, [edi + 0xc]
mov byte [ebp - 4], 5
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411b91
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov ecx, esi
lea eax, [ebx + 0xc]
mov byte [ebp - 4], 4
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411bae
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411bce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x80]
mov ecx, esi
lea eax, [edx + 0xc]
mov byte [ebp - 4], 1
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411beb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x411c06
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0x51c0cc
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0x37
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x38
call fcn.0044f670
mov byte [ebp - 4], 0x39
cmp dword [eax + 0x14], 0x10
jb 0x411c5d
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401250
lea ecx, [ebp - 0xac]
call fcn.00433a00
add esp, 0x18
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x3a
call fcn.00403c20
mov byte [ebp - 4], 0x39
mov edx, dword [ebp - 0xac]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411ca6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x38
cmp dword [ebp - 0xb0], 0x10
jb 0x411cc1
push dword [ebp - 0xc4]
call fcn.004b817c
add esp, 4
mov esi, dword [ebp - 0x18]
mov eax, 8
mov word [ebx], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x412af3
call fcn.0040caf0
mov esi, dword [ebp - 0x6c]
mov al, byte [esi + 8]
test al, al
je 0x411d08
cmp al, 7
je 0x411d08
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004bac2c
add esp, 0xc
cmp byte [esi + 8], 0
jne 0x411d18
mov ecx, 0x537e88
jmp 0x411da0
mov dword [ebp - 0x74], 0x51a53c
mov dword [ebp - 0x70], 0
mov esi, dword [esi]
lea eax, [ebp - 0x74]
push eax
mov ecx, esi
mov dword [ebp - 0x60], esi
call fcn.0044e110
mov ecx, dword [esi]
cmp eax, ecx
je 0x411d85
mov esi, dword [eax + 0x10]
mov edx, 0x51a53c
mov bl, byte [edx]
cmp bl, byte [esi]
mov byte [ebp - 0x4d], bl
mov ebx, dword [ebp - 0x68]
jne 0x411d74
cmp byte [ebp - 0x4d], 0
je 0x411d70
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
mov byte [ebp - 0x4d], bl
mov ebx, dword [ebp - 0x68]
jne 0x411d74
add edx, 2
add esi, 2
cmp byte [ebp - 0x4d], 0
jne 0x411d44
xor edx, edx
jmp 0x411d79
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x5c], eax
test dl, dl
je 0x411d88
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
mov ecx, 0x537e88
je 0x411da0
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.0044cb40
lea ecx, [ebp - 0x58]
call fcn.00433a00
add esp, 0x18
mov byte [ebp - 4], 0x11
mov edx, dword [eax]
mov esi, dword [ebp - 0x64]
lea eax, [edx - 0x10]
lea ecx, [esi - 0x10]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], ecx
cmp eax, ecx
je 0x411e18
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x411e09
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x411e09
mov ecx, dword [ebp - 0x5c]
call fcn.00404b50
mov dword [ebp - 0x5c], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x411e01
mov edx, dword [ebp - 0x60]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x5c]
lea esi, [eax + 0x10]
mov dword [ebp - 0x64], esi
jmp 0x411e18
push dword [edx - 0xc]
lea ecx, [ebp - 0x64]
push edx
call fcn.00404a90
mov esi, dword [ebp - 0x64]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411e39
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x6c]
mov cl, byte [eax + 8]
test cl, cl
je 0x411e62
cmp cl, 7
je 0x411e62
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004bac2c
mov eax, dword [ebp - 0x6c]
add esp, 0xc
cmp byte [eax + 8], 0
jne 0x411e72
mov ecx, 0x537e88
jmp 0x411f0d
mov dword [ebp - 0x74], str.name
mov dword [ebp - 0x70], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.0044e110
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x411ef2
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x54], edx
mov edx, str.name
mov bl, byte [edx]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4d], bl
cmp bl, byte [esi]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x411ee1
cmp byte [ebp - 0x4d], 0
je 0x411edd
mov bl, byte [edx + 1]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4d], bl
cmp bl, byte [esi + 1]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x411ee1
add dword [ebp - 0x54], 2
add edx, 2
cmp byte [ebp - 0x4d], 0
jne 0x411ea4
xor edx, edx
jmp 0x411ee6
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x5c], eax
test dl, dl
je 0x411ef5
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x5c]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
mov ecx, 0x537e88
je 0x411f0d
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.0044cb40
lea ecx, [ebp - 0x8c]
call fcn.00433a00
add esp, 0x18
mov byte [ebp - 4], 0x13
mov edx, dword [eax]
lea ecx, [ebx - 0x10]
lea eax, [edx - 0x10]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], ecx
cmp eax, ecx
je 0x411f85
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
jl 0x411f76
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x411f76
mov ecx, dword [ebp - 0x5c]
call fcn.00404b50
mov dword [ebp - 0x5c], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x411f6e
mov edx, dword [ebp - 0x60]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x5c]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x68], ebx
jmp 0x411f85
push dword [edx - 0xc]
lea ecx, [ebp - 0x68]
push edx
call fcn.00404a90
mov ebx, dword [ebp - 0x68]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x8c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411fa9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x6c]
mov cl, byte [eax + 8]
test cl, cl
je 0x411fd7
cmp cl, 7
je 0x411fd7
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004bac2c
mov eax, dword [ebp - 0x6c]
add esp, 0xc
mov cl, byte [eax + 8]
mov byte [ebp - 0x4d], cl
test cl, cl
jne 0x411feb
mov eax, 0x537e88
jmp 0x412097
mov dword [ebp - 0x74], str.value
mov dword [ebp - 0x70], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.0044e110
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x412071
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x54], edx
mov edx, str.value
lea ecx, [ecx]
mov bl, byte [edx]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4e], bl
cmp bl, byte [esi]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x41205d
cmp byte [ebp - 0x4e], 0
je 0x412059
mov bl, byte [edx + 1]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4e], bl
cmp bl, byte [esi + 1]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x41205d
add dword [ebp - 0x54], 2
add edx, 2
cmp byte [ebp - 0x4e], 0
jne 0x412020
xor edx, edx
jmp 0x412062
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x8c], eax
test dl, dl
je 0x412077
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x8c]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
mov cl, byte [ebp - 0x4d]
jne 0x412094
mov eax, 0x537e88
jmp 0x412097
add eax, 0x18
mov al, byte [eax + 8]
cmp al, 1
je 0x41246f
cmp al, 2
je 0x41246f
cmp al, 5
je 0x41246f
test cl, cl
je 0x4120d2
cmp cl, 7
je 0x4120d2
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004bac2c
add esp, 0xc
mov eax, dword [ebp - 0x6c]
mov cl, byte [eax + 8]
mov byte [ebp - 0x4d], cl
test cl, cl
jne 0x4120e9
mov eax, 0x537e88
jmp 0x412197
mov dword [ebp - 0x74], str.value
mov dword [ebp - 0x70], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.0044e110
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x412171
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x54], edx
mov edx, str.value
jmp 0x412120
mov bl, byte [edx]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4e], bl
cmp bl, byte [esi]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x41215d
cmp byte [ebp - 0x4e], 0
je 0x412159
mov bl, byte [edx + 1]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4e], bl
cmp bl, byte [esi + 1]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x41215d
add dword [ebp - 0x54], 2
add edx, 2
cmp byte [ebp - 0x4e], 0
jne 0x412120
xor edx, edx
jmp 0x412162
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x8c], eax
test dl, dl
je 0x412177
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x8c]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
mov cl, byte [ebp - 0x4d]
jne 0x412194
mov eax, 0x537e88
jmp 0x412197
add eax, 0x18
cmp byte [eax + 8], 4
jne 0x41233c
mov dword [ebp - 0x60], 1
test cl, cl
je 0x4121c8
cmp cl, 7
je 0x4121c8
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004bac2c
add esp, 0xc
mov eax, dword [ebp - 0x6c]
cmp byte [eax + 8], 0
jne 0x4121db
mov ecx, 0x537e88
jmp 0x412288
mov dword [ebp - 0x90], str.value
mov dword [ebp - 0x8c], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x90]
push ecx
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.0044e110
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x412267
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x54], edx
mov edx, str.value
mov bl, byte [edx]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4e], bl
cmp bl, byte [esi]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x412253
cmp byte [ebp - 0x4e], 0
je 0x41224f
mov bl, byte [edx + 1]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4e], bl
cmp bl, byte [esi + 1]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x412253
add dword [ebp - 0x54], 2
add edx, 2
cmp byte [ebp - 0x4e], 0
jne 0x412216
xor edx, edx
jmp 0x412258
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x8c], eax
test dl, dl
je 0x41226d
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x8c]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
mov ecx, 0x537e88
je 0x412288
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.0044cb40
lea ecx, [ebp - 0x70]
call fcn.00433a00
add esp, 0x18
mov byte [ebp - 4], 0x18
mov edx, dword [eax]
lea ecx, [edi - 0x10]
lea eax, [edx - 0x10]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x5c], ecx
cmp eax, ecx
je 0x412312
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x4122fd
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4122fd
mov ecx, dword [ebp - 0x8c]
call fcn.00404b50
mov dword [ebp - 0x8c], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4122f2
mov edx, dword [ebp - 0x5c]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x8c]
lea edi, [eax + 0x10]
mov dword [ebp - 0xa8], edi
jmp 0x412312
push dword [edx - 0xc]
lea ecx, [ebp - 0xa8]
push edx
call fcn.00404a90
mov edi, dword [ebp - 0xa8]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412545
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x412545
push str.writeReg_invalid_value_type
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], 0
call fcn.00403ac0
push str.writeReg
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x19
call fcn.00403ac0
mov byte [ebp - 4], 0x1a
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x70], esi
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x1b
call fcn.00433ec0
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x1c
call fcn.0040cd20
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x8c]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4123c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 0x1a
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4123e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412408
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0xa0]
call fcn.00433ad0
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1d
call fcn.0044c7d0
push ecx
push str.error
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1e
call fcn.0044d470
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.0044ca80
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1d
call fcn.0044c9c0
cmp dword [ebp - 0x8c], 0x10
jb 0x412463
push dword [ebp - 0xa0]
call fcn.004b817c
add esp, 4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x54]
jmp 0x411b5b
test cl, cl
je 0x41248f
cmp cl, 7
je 0x41248f
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004bac2c
add esp, 0xc
mov eax, dword [ebp - 0x6c]
cmp byte [eax + 8], 0
jne 0x4124a2
mov ecx, 0x537e88
jmp 0x41253d
mov dword [ebp - 0x74], str.value
mov dword [ebp - 0x70], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.0044e110
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x412522
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x54], edx
mov edx, str.value
mov bl, byte [edx]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4e], bl
cmp bl, byte [esi]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x412511
cmp byte [ebp - 0x4e], 0
je 0x41250d
mov bl, byte [edx + 1]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4e], bl
cmp bl, byte [esi + 1]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x412511
add dword [ebp - 0x54], 2
add edx, 2
cmp byte [ebp - 0x4e], 0
jne 0x4124d4
xor edx, edx
jmp 0x412516
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x70], eax
test dl, dl
je 0x412525
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x70]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
mov ecx, 0x537e88
je 0x41253d
lea ecx, [eax + 0x18]
call fcn.0044cc70
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x6c]
mov cl, byte [eax + 8]
test cl, cl
je 0x41256e
cmp cl, 7
je 0x41256e
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004bac2c
mov eax, dword [ebp - 0x6c]
add esp, 0xc
cmp byte [eax + 8], 0
je 0x412631
mov dword [ebp - 0x74], 0x51a548
mov dword [ebp - 0x70], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.0044e110
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x4125fe
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x54], edx
mov edx, 0x51a548
lea ebx, [ebx]
mov bl, byte [edx]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4e], bl
cmp bl, byte [esi]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x4125ed
cmp byte [ebp - 0x4e], 0
je 0x4125e9
mov bl, byte [edx + 1]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4e], bl
cmp bl, byte [esi + 1]
mov ebx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x64]
jne 0x4125ed
add dword [ebp - 0x54], 2
add edx, 2
cmp byte [ebp - 0x4e], 0
jne 0x4125b0
xor edx, edx
jmp 0x4125f2
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x70], eax
test dl, dl
je 0x412601
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x70]
mov eax, dword [eax]
mov byte [ebp - 4], 7
cmp eax, dword [ecx]
je 0x412631
add eax, 0x18
cmp eax, 0x537e88
je 0x412631
mov ecx, dword [ebp - 0x6c]
push 0x51a548
call fcn.0044d690
mov ecx, eax
call fcn.0044cc70
jmp 0x412633
xor eax, eax
mov ecx, 0x2001f
mov dword [ebp - 0x54], 0xf003f
cmp eax, 0x20
jne 0x412652
mov ecx, 0x2021f
mov dword [ebp - 0x54], 0xf023f
jmp 0x412663
cmp eax, 0x40
jne 0x412663
mov ecx, 0x2011f
mov dword [ebp - 0x54], 0xf013f
lea eax, [ebp - 0x4c]
push eax
push ecx
push 0
push esi
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x41269a
push 0
lea eax, [ebp - 0x4c]
push eax
push 0
push dword [ebp - 0x54]
push 0
push 0
push 0
push esi
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x41281a
mov edx, eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x54], 0
call fcn.00433f60
push eax
mov edx, str.writeReg_RegOpenKeyEx_or_RegCreateKeyEx_
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x20
call fcn.00427b90
add esp, 4
mov byte [ebp - 4], 0x22
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4126e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.writeReg
lea ecx, [ebp - 0x84]
call fcn.00403ac0
mov byte [ebp - 4], 0x23
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x8c], esi
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x24
call fcn.00433ec0
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x25
call fcn.0040cd20
mov byte [ebp - 4], 0x24
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412763
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 0x23
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412783
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x22
mov edx, dword [ebp - 0x84]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4127a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0xc4]
call fcn.00433ad0
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x26
call fcn.0044c7d0
push ecx
push str.error
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x27
call fcn.0044d470
lea ecx, [ebp - 0x98]
push ecx
mov ecx, eax
call fcn.0044ca80
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x98]
call fcn.0044c9c0
cmp dword [ebp - 0xb0], 0x10
jb 0x412463
push dword [ebp - 0xc4]
call fcn.004b817c
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x54]
add esp, 4
jmp 0x411b5b
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x41282b
push 4
lea eax, [ebp - 0x18]
push eax
push 4
jmp 0x412842
cmp eax, 1
jne 0x412998
mov eax, dword [edi - 0xc]
lea eax, [eax*2 + 2]
push eax
push edi
push 1
push 0
push ebx
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x412998
mov edx, eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x54], 0
call fcn.00433f60
push eax
mov edx, str.writeReg_RegSetValueEx_
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x28
call fcn.00427b90
add esp, 4
mov byte [ebp - 4], 0x2a
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41289d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.writeReg
lea ecx, [ebp - 0x60]
call fcn.00403ac0
mov byte [ebp - 4], 0x2b
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x8c], esi
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x2c
call fcn.00433ec0
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x2d
call fcn.0040cd20
mov byte [ebp - 4], 0x2c
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412911
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 0x2b
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412931
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2a
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412951
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0xc4]
call fcn.00433ad0
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x2e
call fcn.0044c7d0
push ecx
push str.error
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x2f
call fcn.0044d470
lea ecx, [ebp - 0x98]
push ecx
mov ecx, eax
call fcn.0044ca80
mov byte [ebp - 4], 0x2e
jmp 0x4127e8
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov dword [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4129bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4129d8
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 3
or esi, 0xffffffff
jmp 0x411bb8
add esi, 0xfffffff0
mov dword [ebx + 8], eax
mov byte [ebp - 4], 0x37
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412b14
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x48], 0x51c0cc
jb 0x412b2c
push dword [ebp - 0x44]
call fcn.004b817c
add esp, 4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], 0x51fca0
mov dword [ebp - 4], 0xffffffff
call fcn.0044c9c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b8181
mov esp, ebp
pop ebp
ret