Function at 0x410b90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5ed6
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x52ad60]
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 [0x52fe1c]
mov dword [ebp - 0x70], 0
test al, 1
jne 0x410c2b
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
mov ecx, dword [0x52c374]
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.00449e90
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.004493f0
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xa4], esi
mov byte [ebp - 4], 3
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 4
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x68], ebx
mov byte [ebp - 4], 5
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
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 0x410cfb
cmp cl, 7
je 0x410cfb
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
mov eax, dword [ebp - 0x6c]
add esp, 0xc
cmp byte [eax + 8], 0
jne 0x410d0b
mov ecx, 0x52fad0
jmp 0x410daf
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.0044ab30
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
mov dword [ebp - 0x54], ecx
cmp eax, ecx
je 0x410d94
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 0x410d83
cmp byte [ebp - 0x4d], 0
je 0x410d7f
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 0x410d83
add dword [ebp - 0x80], 2
add edx, 2
cmp byte [ebp - 0x4d], 0
jne 0x410d40
xor edx, edx
jmp 0x410d88
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x60], eax
test dl, dl
je 0x410d97
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, 0x52fad0
je 0x410daf
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.00449570
lea ecx, [ebp - 0x5c]
call fcn.004312a0
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 0x410e33
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x410e1e
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x410e1e
mov ecx, dword [ebp - 0x60]
call fcn.004047b0
mov dword [ebp - 0x60], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x410e13
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 0x410e33
push dword [edx - 0xc]
lea ecx, [ebp - 0xa4]
push edx
call fcn.004046f0
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 0x410e54
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 0x410e7f
cmp ecx, dword [esi]
jne 0x410e7f
mov eax, 1
lock xadd dword [edx], eax
jmp 0x410ebf
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov esi, eax
test esi, esi
jne 0x410e93
call fcn.0040c760
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.004b4771
add esp, 0x10
mov ecx, dword [ebp - 0x5c]
lea eax, [esi + 0x10]
mov dword [ecx], eax
call fcn.0040f480
add esp, 4
mov dword [ebp - 0x84], eax
test eax, eax
jne 0x4111ce
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0xa4]
push eax
mov edx, str.writeReg_hive_error_
lea ecx, [ebp - 0x6c]
call fcn.004269f0
add esp, 4
push str.writeReg
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.00403720
mov byte [ebp - 4], 0xb
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
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.00431540
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xd
call fcn.0040c8d0
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 0x410f69
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 0x410f89
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 0x410fa9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0xa0]
call fcn.00431370
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xe
call fcn.00449200
push ecx
push str.error
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call fcn.00449e90
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xe
call fcn.004493f0
cmp dword [ebp - 0x8c], 0x10
jb 0x411004
push dword [ebp - 0xa0]
call fcn.004b3a0c
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 0x411024
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 0x411041
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 0x41105e
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 0x41107e
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 0x41109b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x88]
mov ecx, dword [0x52f408]
mov eax, ecx
imul eax, ecx
imul eax, ecx
cdq
mov ecx, 0xe
idiv ecx
cmp edx, 0xa
jne 0x4110dc
lea eax, [ecx + 0x15]
mov edi, 0x36
test edi, edi
je 0x4110d5
cdq
idiv edi
mov ecx, edi
mov eax, ecx
mov edi, edx
test ecx, ecx
jne 0x4110c4
add eax, edi
mov dword [0x52f408], eax
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4110f1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0x514aec
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 [0x52a6d0]
mov ecx, 0x52a6d0
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.0044c090
mov byte [ebp - 4], 0x39
cmp dword [eax + 0x14], 0x10
jb 0x411148
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401250
lea ecx, [ebp - 0xac]
call fcn.004312a0
add esp, 0x18
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x3a
call fcn.00403880
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 0x411191
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 0x4111ac
push dword [ebp - 0xc4]
call fcn.004b3a0c
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 0x411fe3
call fcn.0040c760
mov esi, dword [ebp - 0x6c]
mov al, byte [esi + 8]
test al, al
je 0x4111f3
cmp al, 7
je 0x4111f3
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
add esp, 0xc
cmp byte [esi + 8], 0
jne 0x411203
mov ecx, 0x52fad0
jmp 0x41128c
mov dword [ebp - 0x74], 0x512f64
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.0044ab30
mov ecx, dword [esi]
cmp eax, ecx
je 0x411271
mov esi, dword [eax + 0x10]
mov edx, 0x512f64
nop
mov bl, byte [edx]
cmp bl, byte [esi]
mov byte [ebp - 0x4d], bl
mov ebx, dword [ebp - 0x68]
jne 0x411260
cmp byte [ebp - 0x4d], 0
je 0x41125c
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
mov byte [ebp - 0x4d], bl
mov ebx, dword [ebp - 0x68]
jne 0x411260
add edx, 2
add esi, 2
cmp byte [ebp - 0x4d], 0
jne 0x411230
xor edx, edx
jmp 0x411265
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x5c], eax
test dl, dl
je 0x411274
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, 0x52fad0
je 0x41128c
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.00449570
lea ecx, [ebp - 0x58]
call fcn.004312a0
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 0x411304
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x4112f5
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4112f5
mov ecx, dword [ebp - 0x5c]
call fcn.004047b0
mov dword [ebp - 0x5c], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4112ed
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 0x411304
push dword [edx - 0xc]
lea ecx, [ebp - 0x64]
push edx
call fcn.004046f0
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 0x411325
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 0x41134e
cmp cl, 7
je 0x41134e
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
mov eax, dword [ebp - 0x6c]
add esp, 0xc
cmp byte [eax + 8], 0
jne 0x41135e
mov ecx, 0x52fad0
jmp 0x4113f9
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.0044ab30
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x4113de
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 0x4113cd
cmp byte [ebp - 0x4d], 0
je 0x4113c9
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 0x4113cd
add dword [ebp - 0x54], 2
add edx, 2
cmp byte [ebp - 0x4d], 0
jne 0x411390
xor edx, edx
jmp 0x4113d2
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x5c], eax
test dl, dl
je 0x4113e1
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, 0x52fad0
je 0x4113f9
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.00449570
lea ecx, [ebp - 0x8c]
call fcn.004312a0
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 0x411471
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
jl 0x411462
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x411462
mov ecx, dword [ebp - 0x5c]
call fcn.004047b0
mov dword [ebp - 0x5c], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x41145a
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 0x411471
push dword [edx - 0xc]
lea ecx, [ebp - 0x68]
push edx
call fcn.004046f0
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 0x411495
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 0x4114c3
cmp cl, 7
je 0x4114c3
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
mov eax, dword [ebp - 0x6c]
add esp, 0xc
mov cl, byte [eax + 8]
mov byte [ebp - 0x4d], cl
test cl, cl
jne 0x4114d7
mov eax, 0x52fad0
jmp 0x411587
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.0044ab30
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x411561
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x54], edx
mov edx, str.value
lea esp, [esp]
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 0x41154d
cmp byte [ebp - 0x4e], 0
je 0x411549
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 0x41154d
add dword [ebp - 0x54], 2
add edx, 2
cmp byte [ebp - 0x4e], 0
jne 0x411510
xor edx, edx
jmp 0x411552
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x8c], eax
test dl, dl
je 0x411567
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 0x411584
mov eax, 0x52fad0
jmp 0x411587
add eax, 0x18
mov al, byte [eax + 8]
cmp al, 1
je 0x41195f
cmp al, 2
je 0x41195f
cmp al, 5
je 0x41195f
test cl, cl
je 0x4115c2
cmp cl, 7
je 0x4115c2
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
add esp, 0xc
mov eax, dword [ebp - 0x6c]
mov cl, byte [eax + 8]
mov byte [ebp - 0x4d], cl
test cl, cl
jne 0x4115d9
mov eax, 0x52fad0
jmp 0x411687
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.0044ab30
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x411661
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x54], edx
mov edx, str.value
jmp 0x411610
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 0x41164d
cmp byte [ebp - 0x4e], 0
je 0x411649
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 0x41164d
add dword [ebp - 0x54], 2
add edx, 2
cmp byte [ebp - 0x4e], 0
jne 0x411610
xor edx, edx
jmp 0x411652
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x8c], eax
test dl, dl
je 0x411667
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 0x411684
mov eax, 0x52fad0
jmp 0x411687
add eax, 0x18
cmp byte [eax + 8], 4
jne 0x41182c
mov dword [ebp - 0x60], 1
test cl, cl
je 0x4116b8
cmp cl, 7
je 0x4116b8
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
add esp, 0xc
mov eax, dword [ebp - 0x6c]
cmp byte [eax + 8], 0
jne 0x4116cb
mov ecx, 0x52fad0
jmp 0x411778
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.0044ab30
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x411757
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 0x411743
cmp byte [ebp - 0x4e], 0
je 0x41173f
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 0x411743
add dword [ebp - 0x54], 2
add edx, 2
cmp byte [ebp - 0x4e], 0
jne 0x411706
xor edx, edx
jmp 0x411748
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x8c], eax
test dl, dl
je 0x41175d
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, 0x52fad0
je 0x411778
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.00449570
lea ecx, [ebp - 0x70]
call fcn.004312a0
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 0x411802
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x4117ed
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4117ed
mov ecx, dword [ebp - 0x8c]
call fcn.004047b0
mov dword [ebp - 0x8c], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4117e2
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 0x411802
push dword [edx - 0xc]
lea ecx, [ebp - 0xa8]
push edx
call fcn.004046f0
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 0x411a35
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x411a35
push str.writeReg_invalid_value_type
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], 0
call fcn.00403720
push str.writeReg
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x19
call fcn.00403720
mov byte [ebp - 4], 0x1a
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
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.00431540
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x1c
call fcn.0040c8d0
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 0x4118b8
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 0x4118d8
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 0x4118f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0xa0]
call fcn.00431370
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1d
call fcn.00449200
push ecx
push str.error
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1e
call fcn.00449e90
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1d
call fcn.004493f0
cmp dword [ebp - 0x8c], 0x10
jb 0x411953
push dword [ebp - 0xa0]
call fcn.004b3a0c
add esp, 4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x54]
jmp 0x41100b
test cl, cl
je 0x41197f
cmp cl, 7
je 0x41197f
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
add esp, 0xc
mov eax, dword [ebp - 0x6c]
cmp byte [eax + 8], 0
jne 0x411992
mov ecx, 0x52fad0
jmp 0x411a2d
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.0044ab30
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x411a12
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 0x411a01
cmp byte [ebp - 0x4e], 0
je 0x4119fd
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 0x411a01
add dword [ebp - 0x54], 2
add edx, 2
cmp byte [ebp - 0x4e], 0
jne 0x4119c4
xor edx, edx
jmp 0x411a06
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x70], eax
test dl, dl
je 0x411a15
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, 0x52fad0
je 0x411a2d
lea ecx, [eax + 0x18]
call fcn.004496a0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x6c]
mov cl, byte [eax + 8]
test cl, cl
je 0x411a5e
cmp cl, 7
je 0x411a5e
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
mov eax, dword [ebp - 0x6c]
add esp, 0xc
cmp byte [eax + 8], 0
je 0x411b21
mov dword [ebp - 0x74], 0x512f70
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.0044ab30
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x411aee
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x54], edx
mov edx, 0x512f70
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 0x411add
cmp byte [ebp - 0x4e], 0
je 0x411ad9
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 0x411add
add dword [ebp - 0x54], 2
add edx, 2
cmp byte [ebp - 0x4e], 0
jne 0x411aa0
xor edx, edx
jmp 0x411ae2
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x70], eax
test dl, dl
je 0x411af1
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 0x411b21
add eax, 0x18
cmp eax, 0x52fad0
je 0x411b21
mov ecx, dword [ebp - 0x6c]
push 0x512f70
call fcn.0044a0b0
mov ecx, eax
call fcn.004496a0
jmp 0x411b23
xor eax, eax
mov ecx, 0x2001f
mov dword [ebp - 0x54], 0xf003f
cmp eax, 0x20
jne 0x411b42
mov ecx, 0x2021f
mov dword [ebp - 0x54], 0xf023f
jmp 0x411b53
cmp eax, 0x40
jne 0x411b53
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 0x411b8a
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 0x411d0a
mov edx, eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x54], 0
call fcn.004315e0
push eax
mov edx, str.writeReg_RegOpenKeyEx_or_RegCreateKeyEx_
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x20
call fcn.004269f0
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 0x411bd9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.writeReg
lea ecx, [ebp - 0x84]
call fcn.00403720
mov byte [ebp - 4], 0x23
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
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.00431540
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x25
call fcn.0040c8d0
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 0x411c53
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 0x411c73
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 0x411c96
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0xc4]
call fcn.00431370
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x26
call fcn.00449200
push ecx
push str.error
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x27
call fcn.00449e90
lea ecx, [ebp - 0x98]
push ecx
mov ecx, eax
call fcn.004494b0
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x98]
call fcn.004493f0
cmp dword [ebp - 0xb0], 0x10
jb 0x411953
push dword [ebp - 0xc4]
call fcn.004b3a0c
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x54]
add esp, 4
jmp 0x41100b
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x411d1b
push 4
lea eax, [ebp - 0x18]
push eax
push 4
jmp 0x411d32
cmp eax, 1
jne 0x411e88
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 0x411e88
mov edx, eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x54], 0
call fcn.004315e0
push eax
mov edx, str.writeReg_RegSetValueEx_
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x28
call fcn.004269f0
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 0x411d8d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.writeReg
lea ecx, [ebp - 0x60]
call fcn.00403720
mov byte [ebp - 4], 0x2b
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
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.00431540
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x2d
call fcn.0040c8d0
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 0x411e01
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 0x411e21
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 0x411e41
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0xc4]
call fcn.00431370
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x2e
call fcn.00449200
push ecx
push str.error
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x2f
call fcn.00449e90
lea ecx, [ebp - 0x98]
push ecx
mov ecx, eax
call fcn.004494b0
mov byte [ebp - 4], 0x2e
jmp 0x411cd8
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 0x411eab
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 0x411ec8
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 0x411068
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 0x412004
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x48], 0x514aec
jb 0x41201c
push dword [ebp - 0x44]
call fcn.004b3a0c
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], 0x5186b0
mov dword [ebp - 4], 0xffffffff
call fcn.004493f0
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.004b3a11
mov esp, ebp
pop ebp
ret