Function at 0x413110
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4303
mov eax, dword fs:[0]
push eax
sub esp, 0x304
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 eax, edx
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x298], ecx
and dword [ebp - 0x228], 0xfffffe00
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 4], 1
mov esi, dword [0x52f408]
mov eax, esi
imul eax, esi
cdq
mov ecx, 6
idiv ecx
cmp edx, 5
jne 0x4131ca
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x7b]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b31e0
push eax
call fcn.004b429b
add esp, 8
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x2c4], edi
mov byte [ebp - 4], 2
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x2ac], ebx
mov byte [ebp - 4], 3
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
mov dword [ebp - 0x2b8], eax
add eax, 0x10
mov dword [ebp - 0x2dc], eax
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x298]
mov al, byte [esi + 8]
test al, al
je 0x413246
cmp al, 7
je 0x413246
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 0x413256
mov ecx, 0x52fad0
jmp 0x41330c
mov dword [ebp - 0x2b4], str.hive
mov dword [ebp - 0x2b0], 0
mov esi, dword [esi]
lea eax, [ebp - 0x2b4]
push eax
mov ecx, esi
call fcn.0044ab30
mov ecx, dword [esi]
cmp eax, ecx
je 0x4132e6
mov esi, dword [eax + 0x10]
mov edx, str.hive
jmp 0x413290
mov bl, byte [edx]
cmp bl, byte [esi]
mov byte [ebp - 0x291], bl
mov ebx, dword [ebp - 0x2ac]
jne 0x4132d2
cmp byte [ebp - 0x291], 0
je 0x4132ce
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
mov byte [ebp - 0x291], bl
mov ebx, dword [ebp - 0x2ac]
jne 0x4132d2
add edx, 2
add esi, 2
cmp byte [ebp - 0x291], 0
jne 0x413290
xor edx, edx
jmp 0x4132d7
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x2a0], eax
test dl, dl
je 0x4132ec
mov dword [ebp - 0x2a0], ecx
mov edx, dword [ebp - 0x298]
lea eax, [ebp - 0x2a0]
mov ecx, dword [edx]
mov eax, dword [eax]
mov byte [ebp - 4], 5
cmp eax, dword [ecx]
mov ecx, 0x52fad0
je 0x41330c
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.00449570
lea ecx, [ebp - 0x2a4]
call fcn.004312a0
add esp, 0x18
mov byte [ebp - 4], 7
mov edx, dword [eax]
lea ecx, [edi - 0x10]
lea esi, [edx - 0x10]
mov dword [ebp - 0x2a0], ecx
cmp esi, ecx
je 0x413397
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x413382
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x413382
mov ecx, esi
call fcn.004047b0
or esi, 0xffffffff
mov dword [ebp - 0x2a8], eax
mov ecx, esi
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x413377
mov edx, dword [ebp - 0x2a0]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2a8]
lea edi, [eax + 0x10]
mov dword [ebp - 0x2c4], edi
jmp 0x41339a
push dword [edx - 0xc]
lea ecx, [ebp - 0x2c4]
push edx
call fcn.004046f0
mov edi, dword [ebp - 0x2c4]
or esi, 0xffffffff
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2a4]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4133bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [edi - 0x10]
push ecx
mov ecx, dword [eax]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ecx]
mov dword [ebp - 0x2a4], esp
call dword [eax + 0x10]
cmp dword [edi - 4], 0
lea edx, [edi - 4]
mov ecx, eax
jl 0x4133f2
cmp ecx, dword [edi - 0x10]
jne 0x4133f2
lea ecx, [edi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x413438
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x2a8], edx
test edx, edx
jne 0x41340c
call fcn.0040c760
mov eax, dword [edi - 0xc]
mov dword [edx + 4], eax
mov ecx, dword [edi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push edi
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004b4771
mov ecx, dword [ebp - 0x2a8]
add esp, 0x10
lea eax, [ecx + 0x10]
mov ecx, dword [ebp - 0x2a4]
mov dword [ecx], eax
call fcn.0040f480
add esp, 4
mov dword [ebp - 0x2a4], eax
test eax, eax
jne 0x413677
mov dword [ebp - 0x298], eax
lea eax, [ebp - 0x2c4]
push eax
mov edx, str.enumRegValues_hive_error_
lea ecx, [ebp - 0x298]
call fcn.004269f0
add esp, 4
push str.enumRegValue_
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 8
call fcn.00403720
mov byte [ebp - 4], 9
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2bc], esi
lea eax, [ebp - 0x298]
push eax
lea edx, [ebp - 0x2bc]
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0xa
call fcn.00431540
add esp, 4
mov edi, eax
push str.GlobalLog
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0xb
call fcn.00403720
push 2
push edi
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x2a4]
push eax
mov ecx, 0x52f7a4
mov byte [ebp - 4], 0xc
call fcn.004018e0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x2a4]
add edx, 0xfffffff0
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413521
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x29c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413544
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 9
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413561
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x2a8]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413584
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x298]
lea ecx, [ebp - 0x2f8]
call fcn.00431370
push eax
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 0xd
call fcn.00449200
push ecx
push str.error
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xe
call fcn.00449e90
lea ecx, [ebp - 0x2d4]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 0xd
call fcn.004493f0
cmp dword [ebp - 0x2e4], 0x10
jb 0x4135ee
push dword [ebp - 0x2f8]
call fcn.004b3a0c
add esp, 4
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x298]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413611
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2b8]
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413631
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41364e
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2a0]
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4142f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4142f1
mov eax, dword [ebp - 0x298]
mov al, byte [eax + 8]
test al, al
je 0x41369f
cmp al, 7
je 0x41369f
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
add esp, 0xc
mov eax, dword [ebp - 0x298]
cmp byte [eax + 8], 0
jne 0x4136b5
mov ecx, 0x52fad0
jmp 0x41376f
mov dword [ebp - 0x2b4], 0x512f64
mov dword [ebp - 0x2b0], 0
mov esi, dword [eax]
lea eax, [ebp - 0x2b4]
push eax
mov ecx, esi
call fcn.0044ab30
mov ecx, dword [esi]
cmp eax, ecx
je 0x413746
mov esi, dword [eax + 0x10]
mov edx, 0x512f64
jmp 0x4136f0
mov bl, byte [edx]
cmp bl, byte [esi]
mov byte [ebp - 0x291], bl
mov ebx, dword [ebp - 0x2ac]
jne 0x413732
cmp byte [ebp - 0x291], 0
je 0x41372e
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
mov byte [ebp - 0x291], bl
mov ebx, dword [ebp - 0x2ac]
jne 0x413732
add edx, 2
add esi, 2
cmp byte [ebp - 0x291], 0
jne 0x4136f0
xor edx, edx
jmp 0x413737
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x29c], eax
test dl, dl
je 0x41374c
mov dword [ebp - 0x29c], ecx
mov edx, dword [ebp - 0x298]
lea eax, [ebp - 0x29c]
mov ecx, dword [edx]
mov eax, dword [eax]
mov byte [ebp - 4], 5
or esi, 0xffffffff
cmp eax, dword [ecx]
mov ecx, 0x52fad0
je 0x41376f
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.00449570
lea ecx, [ebp - 0x2a8]
call fcn.004312a0
add esp, 0x18
mov byte [ebp - 4], 0x10
mov edx, dword [eax]
lea ecx, [ebx - 0x10]
lea eax, [edx - 0x10]
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x2bc], ecx
cmp eax, ecx
je 0x413801
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
jl 0x4137ec
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4137ec
mov ecx, dword [ebp - 0x29c]
call fcn.004047b0
mov dword [ebp - 0x29c], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x4137e1
mov edx, dword [ebp - 0x2bc]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x29c]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x2ac], ebx
jmp 0x413801
push dword [edx - 0xc]
lea ecx, [ebp - 0x2ac]
push edx
call fcn.004046f0
mov ebx, dword [ebp - 0x2ac]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2a8]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413824
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x298]
mov al, byte [esi + 8]
test al, al
je 0x41384c
cmp al, 7
je 0x41384c
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
add esp, 0xc
mov al, byte [esi + 8]
mov byte [ebp - 0x292], al
test al, al
je 0x413a03
mov dword [ebp - 0x2b4], 0x512f70
mov dword [ebp - 0x2b0], 0
mov esi, dword [esi]
lea eax, [ebp - 0x2b4]
push eax
mov ecx, esi
call fcn.0044ab30
mov ecx, dword [esi]
cmp eax, ecx
je 0x4138e6
mov esi, dword [eax + 0x10]
mov edx, 0x512f70
nop
mov bl, byte [edx]
cmp bl, byte [esi]
mov byte [ebp - 0x291], bl
mov ebx, dword [ebp - 0x2ac]
jne 0x4138d2
cmp byte [ebp - 0x291], 0
je 0x4138ce
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
mov byte [ebp - 0x291], bl
mov ebx, dword [ebp - 0x2ac]
jne 0x4138d2
add edx, 2
add esi, 2
cmp byte [ebp - 0x291], 0
jne 0x413890
xor edx, edx
jmp 0x4138d7
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x29c], eax
test dl, dl
je 0x4138ec
mov dword [ebp - 0x29c], ecx
mov esi, dword [ebp - 0x298]
lea eax, [ebp - 0x29c]
mov ecx, dword [esi]
mov eax, dword [eax]
mov byte [ebp - 4], 5
cmp eax, dword [ecx]
je 0x413a03
add eax, 0x18
cmp eax, 0x52fad0
je 0x413a03
cmp byte [ebp - 0x292], 7
je 0x413936
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 0x41394b
mov ecx, 0x52fad0
call fcn.004496a0
jmp 0x413a05
mov dword [ebp - 0x2b4], 0x512f70
mov dword [ebp - 0x2b0], 0
mov esi, dword [esi]
lea eax, [ebp - 0x2b4]
push eax
mov ecx, esi
call fcn.0044ab30
mov ecx, dword [esi]
cmp eax, ecx
je 0x4139d6
mov esi, dword [eax + 0x10]
mov edx, 0x512f70
lea ecx, [ecx]
mov bl, byte [edx]
cmp bl, byte [esi]
mov byte [ebp - 0x292], bl
mov ebx, dword [ebp - 0x2ac]
jne 0x4139c2
cmp byte [ebp - 0x292], 0
je 0x4139be
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
mov byte [ebp - 0x292], bl
mov ebx, dword [ebp - 0x2ac]
jne 0x4139c2
add edx, 2
add esi, 2
cmp byte [ebp - 0x292], 0
jne 0x413980
xor edx, edx
jmp 0x4139c7
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x29c], eax
test dl, dl
je 0x4139dc
mov dword [ebp - 0x29c], ecx
mov edx, dword [ebp - 0x298]
lea eax, [ebp - 0x29c]
mov ecx, dword [edx]
mov eax, dword [eax]
mov byte [ebp - 4], 5
cmp eax, dword [ecx]
mov ecx, 0x52fad0
je 0x4139fc
lea ecx, [eax + 0x18]
call fcn.004496a0
jmp 0x413a05
xor eax, eax
mov ecx, 0x20019
cmp eax, 0x20
jne 0x413a16
mov ecx, 0x20219
jmp 0x413a21
mov edx, 0x20119
cmp eax, 0x40
cmove ecx, edx
lea eax, [ebp - 0x290]
push eax
push ecx
push 0
push ebx
push dword [ebp - 0x2a4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x413c95
mov edx, eax
lea ecx, [ebp - 0x29c]
mov dword [ebp - 0x298], 0
call fcn.004315e0
push eax
mov edx, str.enumRegValues_RegOpenKeyEx_
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 0x13
call fcn.004269f0
add esp, 4
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x29c]
add edx, 0xfffffff0
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413a95
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.enumRegValue_
lea ecx, [ebp - 0x2a4]
call fcn.00403720
mov byte [ebp - 4], 0x16
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2bc], esi
lea eax, [ebp - 0x298]
push eax
lea edx, [ebp - 0x2bc]
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0x17
call fcn.00431540
add esp, 4
mov dword [ebp - 0x2d8], eax
push str.GlobalLog
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x18
call fcn.00403720
push 2
push dword [ebp - 0x2d8]
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x2a8]
push eax
mov ecx, 0x52f7a4
mov byte [ebp - 4], 0x19
call fcn.004018e0
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x2a8]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413b3f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x2b0]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413b62
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x16
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413b7f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x2a4]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413ba2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x298]
lea ecx, [ebp - 0x2f8]
call fcn.00431370
push eax
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 0x1a
call fcn.00449200
push ecx
push str.error
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x1b
call fcn.00449e90
lea ecx, [ebp - 0x2d4]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 0x1a
call fcn.004493f0
cmp dword [ebp - 0x2e4], 0x10
jb 0x413c0c
push dword [ebp - 0x2f8]
call fcn.004b3a0c
add esp, 4
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x298]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413c2f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2b8]
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413c4f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413c6c
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2a0]
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4142f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4142f1
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.004b84f0
add esp, 0xc
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x234]
push eax
push 0
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x290]
mov dword [ebp - 0x238], 0x104
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x288], 0x3fff
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x413d36
mov eax, dword [ebp - 0x220]
inc eax
mov dword [ebp - 0x288], eax
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x28c], 0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x298], esi
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x2e8]
mov edx, dword [ebp - 0x288]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d8], edx
mov dword [ebp - 0x2a8], eax
test edx, edx
jns 0x413d96
push 0x80070057
call fcn.0040c740
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x413db9
push edx
lea ecx, [ebp - 0x298]
call fcn.0040c7b0
mov esi, dword [ebp - 0x298]
push 0
push 0
lea eax, [ebp - 0x28c]
push eax
push 0
lea eax, [ebp - 0x288]
push eax
push esi
push dword [ebp - 0x2a4]
push dword [ebp - 0x290]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x2b0], eax
cmp eax, 0x103
je 0x41402a
push dword [esi - 8]
push esi
call fcn.004b4e2e
add esp, 8
test eax, eax
js 0x413d8c
cmp eax, dword [esi - 8]
jg 0x413d8c
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [ebp - 0x2b0], ecx
jne 0x413f95
and dword [ebp - 0x244], 0xfffffe00
mov dword [ebp - 0x240], ecx
lea edx, [ebp - 0x298]
lea ecx, [ebp - 0x310]
mov byte [ebp - 4], 0x1e
call fcn.00431370
mov edx, eax
mov dword [ebp - 0x2b0], edx
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x2a0]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x2e8], eax
mov eax, dword [0x52fe1c]
mov dword [ebp - 0x2e4], 0
test al, 1
jne 0x413ea0
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
mov edx, dword [ebp - 0x2b0]
add esp, 4
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x2b0], eax
jb 0x413eb1
mov edx, dword [edx]
mov ecx, dword [0x52c374]
push dword [ebp - 0x2b0]
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
mov dword [ebp - 0x2f0], eax
push ecx
push str.name
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x20
call fcn.00449e90
lea ecx, [ebp - 0x2f0]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 0x1f
call fcn.004493f0
cmp dword [ebp - 0x2fc], 0x10
jb 0x413f12
push dword [ebp - 0x310]
call fcn.004b3a0c
add esp, 4
mov eax, dword [ebp - 0x2a8]
and eax, 0xffffff01
or eax, 1
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2d4], eax
push ecx
push str.type
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x21
call fcn.00449e90
lea ecx, [ebp - 0x2d4]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 0x1e
call fcn.004493f0
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x230]
call fcn.0044a170
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x1c
call fcn.004493f0
mov edx, dword [ebp - 0x2d8]
inc dword [ebp - 0x2a4]
lea ecx, [esi - 0x10]
mov dword [ebp - 0x288], edx
cmp dword [ecx + 4], 0
mov eax, dword [ecx]
mov dword [ebp - 0x2b0], ecx
mov dword [ebp - 0x29c], eax
je 0x413d88
cmp dword [ecx + 0xc], 0
lea edx, [ecx + 0xc]
jge 0x413ff2
cmp dword [esi - 8], 0
jge 0x413fdb
push 0x80070057
call fcn.0040c740
mov dword [esi - 0xc], 0
xor eax, eax
mov word [esi], ax
mov edx, dword [ebp - 0x288]
jmp 0x413d88
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x41400b
mov ecx, dword [ecx]
push dword [ebp - 0x2b0]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x29c]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [ebp - 0x288]
lea esi, [eax + 0x10]
mov dword [ebp - 0x298], esi
jmp 0x413d88
mov eax, dword [ebp - 0x228]
test al, al
je 0x414040
cmp al, 6
je 0x414040
cmp al, 7
jne 0x41413d
movsx eax, al
cmp eax, 7
ja case.default.0x414048
jmp dword [eax*4 + 0x414520]
mov eax, dword [ebp - 0x230]
cmp dword [eax + 4], 0
je case.0x414048.0
mov eax, dword [eax]
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x2a0], eax
call fcn.0042c250
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 0x14]
inc eax
jmp 0x41409e
mov eax, dword [ebp - 0x230]
mov eax, dword [eax + 4]
jmp 0x41409e
push 0x388
push str...CrossRiderGeneralJsonjson_value.cpp
push 0x5150d4
call fcn.004b650c
add esp, 0xc
xor eax, eax
test eax, eax
sete al
test al, al
je 0x41413d
mov eax, dword [ebp - 0x2cc]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x2cc], eax
mov eax, dword [0x52fe1c]
mov dword [ebp - 0x2c8], 0
test al, 1
jne 0x4140f3
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.empty
call dword [eax + 0xc]
mov dword [ebp - 0x2d4], eax
push ecx
push str.error
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x22
call fcn.00449e90
lea ecx, [ebp - 0x2d4]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 0x1c
call fcn.004493f0
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41415d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x2b8]
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x414180
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41419d
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 1
or edi, 0xffffffff
jmp 0x413658
mov eax, dword [ebp - 0x290]
test eax, eax
je 0x41430c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x26c], 0x514aec
mov dword [ebp - 0x254], 0xf
mov dword [ebp - 0x258], 0
mov byte [ebp - 0x268], 0
mov byte [ebp - 0x250], 0
mov byte [ebp - 4], 0x2a
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2b8], esi
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x2b
call fcn.0044c090
mov edx, eax
mov byte [ebp - 4], 0x2c
cmp dword [edx + 0x14], 0x10
jb 0x41437d
mov edx, dword [edx]
sub esp, 0x18
mov ebx, esp
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp byte [edx], 0
jne 0x41439c
xor ecx, ecx
jmp 0x4143b4
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x2c0], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4143a7
sub ecx, dword [ebp - 0x2c0]
push ecx
push edx
mov ecx, ebx
call fcn.004012f0
lea ecx, [ebp - 0x2dc]
call fcn.004312a0
add esp, 0x18
mov byte [ebp - 4], 0x2d
mov edx, dword [eax]
lea ebx, [esi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x41442e
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x414419
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x414419
call fcn.004047b0
mov dword [ebp - 0x2c0], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x41440e
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x2c0]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2b8], esi
jmp 0x41442e
push dword [edx - 0xc]
lea ecx, [ebp - 0x2b8]
push edx
call fcn.004046f0
mov esi, dword [ebp - 0x2b8]
mov byte [ebp - 4], 0x2c
mov edx, dword [ebp - 0x2dc]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x414451
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2b
cmp dword [ebp - 0x2fc], 0x10
jb 0x41446c
push dword [ebp - 0x310]
call fcn.004b3a0c
add esp, 4
mov ebx, dword [ebp - 0x2e0]
mov eax, 8
mov word [ebx], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x41448d
call fcn.0040c760
add esi, 0xfffffff0
mov dword [ebx + 8], eax
mov byte [ebp - 4], 0x2a
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4144ab
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x254], 0x10
mov dword [ebp - 0x26c], 0x514aec
jb 0x4144cc
push dword [ebp - 0x268]
call fcn.004b3a0c
add esp, 4
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x254], 0xf
mov dword [ebp - 0x258], 0
mov byte [ebp - 0x268], 0
mov dword [ebp - 0x26c], 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