Function at 0x412060
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4111
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
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 - 0xb0], eax
mov esi, ecx
mov dword [ebp - 0x5c], esi
and dword [ebp - 0x1c], 0xfffffe00
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x8c], edi
mov byte [ebp - 4], 2
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x68], ebx
mov byte [ebp - 4], 3
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
mov dword [ebp - 0x74], eax
add eax, 0x10
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 5
mov al, byte [esi + 8]
test al, al
je 0x412130
cmp al, 7
je 0x412130
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 0x412140
mov ecx, 0x52fad0
jmp 0x4121ce
mov dword [ebp - 0x7c], str.hive
mov dword [ebp - 0x78], 0
mov esi, dword [esi]
lea eax, [ebp - 0x7c]
push eax
mov ecx, esi
call fcn.0044ab30
mov ecx, dword [esi]
cmp eax, ecx
je 0x4121b1
mov esi, dword [eax + 0x10]
mov edx, str.hive
lea esp, [esp]
mov bl, byte [edx]
cmp bl, byte [esi]
mov byte [ebp - 0x4d], bl
mov ebx, dword [ebp - 0x68]
jne 0x4121a0
cmp byte [ebp - 0x4d], 0
je 0x41219c
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
mov byte [ebp - 0x4d], bl
mov ebx, dword [ebp - 0x68]
jne 0x4121a0
add edx, 2
add esi, 2
cmp byte [ebp - 0x4d], 0
jne 0x412170
xor edx, edx
jmp 0x4121a5
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x60], eax
test dl, dl
je 0x4121b4
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x60]
mov ecx, dword [edx]
mov eax, dword [eax]
mov byte [ebp - 4], 5
cmp eax, dword [ecx]
mov ecx, 0x52fad0
je 0x4121ce
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.00449570
lea ecx, [ebp - 0x54]
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 - 0x60], ecx
cmp esi, ecx
je 0x41224a
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x412235
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x412235
mov ecx, esi
call fcn.004047b0
or esi, 0xffffffff
mov dword [ebp - 0x64], eax
mov ecx, esi
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x41222a
mov edx, dword [ebp - 0x60]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x64]
lea edi, [eax + 0x10]
mov dword [ebp - 0x8c], edi
jmp 0x41224d
push dword [edx - 0xc]
lea ecx, [ebp - 0x8c]
push edx
call fcn.004046f0
mov edi, dword [ebp - 0x8c]
or esi, 0xffffffff
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41226d
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 - 0x60], eax
mov eax, dword [ecx]
mov dword [ebp - 0x54], esp
call dword [eax + 0x10]
cmp dword [edi - 4], 0
lea edx, [edi - 4]
mov ecx, eax
jl 0x41229c
cmp ecx, dword [edi - 0x10]
jne 0x41229c
lea ecx, [edi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x4122dc
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x64], edx
test edx, edx
jne 0x4122b3
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 - 0x64]
add esp, 0x10
lea eax, [ecx + 0x10]
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
call fcn.0040f480
add esp, 4
mov dword [ebp - 0x78], eax
test eax, eax
jne 0x4124e5
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x8c]
push eax
mov edx, str.enumRegKeys_hive_error_
lea ecx, [ebp - 0x5c]
call fcn.004269f0
add esp, 4
push str.enumRegKeys
lea ecx, [ebp - 0x64]
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 - 0x90], esi
lea eax, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xa
call fcn.00431540
add esp, 4
mov edi, eax
push str.GlobalLog
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xb
call fcn.00403720
push 2
push edi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x52f7a4
mov byte [ebp - 4], 0xc
call fcn.004018e0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4123a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4123c4
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 0x4123e1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412401
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0xa8]
call fcn.00431370
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xd
call fcn.00449200
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.00449e90
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xd
call fcn.004493f0
cmp dword [ebp - 0x94], 0x10
jb 0x412465
push dword [ebp - 0xa8]
call fcn.004b3a0c
add esp, 4
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412485
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x74]
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4124a2
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 0x4124bf
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x60]
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412ebf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x412ebf
mov eax, dword [ebp - 0x5c]
mov al, byte [eax + 8]
test al, al
je 0x41250a
cmp al, 7
je 0x41250a
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
add esp, 0xc
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 8], 0
jne 0x41251d
mov ecx, 0x52fad0
jmp 0x4125c2
mov dword [ebp - 0x70], 0x512f64
mov dword [ebp - 0x6c], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.0044ab30
mov edx, dword [ebp - 0x5c]
mov ecx, dword [edx]
mov ecx, dword [ecx]
mov dword [ebp - 0x64], ecx
cmp eax, ecx
je 0x4125a5
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x54], edx
mov edx, 0x512f64
mov bl, byte [edx]
mov byte [ebp - 0x4d], bl
mov ebx, dword [ebp - 0x54]
mov cl, byte [ebp - 0x4d]
cmp cl, byte [ebx]
mov ecx, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x68]
jne 0x412594
cmp byte [ebp - 0x4d], 0
je 0x412590
mov bl, byte [edx + 1]
mov byte [ebp - 0x4d], bl
mov ebx, dword [ebp - 0x54]
mov cl, byte [ebp - 0x4d]
cmp cl, byte [ebx + 1]
mov ecx, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x68]
jne 0x412594
add dword [ebp - 0x54], 2
add edx, 2
cmp byte [ebp - 0x4d], 0
jne 0x412551
xor edx, edx
jmp 0x412599
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x6c], eax
test dl, dl
je 0x4125a8
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x6c]
mov ecx, dword [edx]
mov eax, dword [eax]
mov byte [ebp - 4], 5
cmp eax, dword [ecx]
mov ecx, 0x52fad0
je 0x4125c2
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.00449570
lea ecx, [ebp - 0x94]
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 - 0x6c], eax
mov dword [ebp - 0x90], ecx
cmp eax, ecx
je 0x41263f
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
jl 0x412630
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x412630
mov ecx, dword [ebp - 0x6c]
call fcn.004047b0
mov dword [ebp - 0x6c], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x412628
mov edx, dword [ebp - 0x90]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x6c]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x68], ebx
jmp 0x41263f
push dword [edx - 0xc]
lea ecx, [ebp - 0x68]
push edx
call fcn.004046f0
mov ebx, dword [ebp - 0x68]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x94]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412662
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x5c]
mov al, byte [esi + 8]
test al, al
je 0x412687
cmp al, 7
je 0x412687
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 - 0x55], al
test al, al
je 0x41280e
mov dword [ebp - 0x98], 0x512f70
mov dword [ebp - 0x94], 0
mov esi, dword [esi]
lea eax, [ebp - 0x98]
push eax
mov ecx, esi
call fcn.0044ab30
mov ecx, dword [esi]
cmp eax, ecx
je 0x41270b
mov esi, dword [eax + 0x10]
mov edx, 0x512f70
mov bl, byte [edx]
cmp bl, byte [esi]
mov byte [ebp - 0x4d], bl
mov ebx, dword [ebp - 0x68]
jne 0x4126f7
cmp byte [ebp - 0x4d], 0
je 0x4126f3
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
mov byte [ebp - 0x4d], bl
mov ebx, dword [ebp - 0x68]
jne 0x4126f7
add edx, 2
add esi, 2
cmp byte [ebp - 0x4d], 0
jne 0x4126c7
xor edx, edx
jmp 0x4126fc
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x94], eax
test dl, dl
je 0x412711
mov dword [ebp - 0x94], ecx
mov esi, dword [ebp - 0x5c]
lea eax, [ebp - 0x94]
mov ecx, dword [esi]
mov eax, dword [eax]
mov byte [ebp - 4], 5
cmp eax, dword [ecx]
je 0x41280e
add eax, 0x18
cmp eax, 0x52fad0
je 0x41280e
cmp byte [ebp - 0x55], 7
je 0x412755
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 0x41276a
mov ecx, 0x52fad0
call fcn.004496a0
jmp 0x412810
mov dword [ebp - 0x98], 0x512f70
mov dword [ebp - 0x94], 0
mov esi, dword [esi]
lea eax, [ebp - 0x98]
push eax
mov ecx, esi
call fcn.0044ab30
mov ecx, dword [esi]
cmp eax, ecx
je 0x4127e4
mov esi, dword [eax + 0x10]
mov edx, 0x512f70
lea esp, [esp]
mov bl, byte [edx]
cmp bl, byte [esi]
mov byte [ebp - 0x55], bl
mov ebx, dword [ebp - 0x68]
jne 0x4127d0
cmp byte [ebp - 0x55], 0
je 0x4127cc
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
mov byte [ebp - 0x55], bl
mov ebx, dword [ebp - 0x68]
jne 0x4127d0
add edx, 2
add esi, 2
cmp byte [ebp - 0x55], 0
jne 0x4127a0
xor edx, edx
jmp 0x4127d5
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x94], eax
test dl, dl
je 0x4127ea
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x94]
mov ecx, dword [edx]
mov eax, dword [eax]
mov byte [ebp - 4], 5
cmp eax, dword [ecx]
mov ecx, 0x52fad0
je 0x412807
lea ecx, [eax + 0x18]
call fcn.004496a0
jmp 0x412810
xor eax, eax
mov ecx, 0x20019
cmp eax, 0x20
jne 0x412821
mov ecx, 0x20219
jmp 0x41282c
mov edx, 0x20119
cmp eax, 0x40
cmove ecx, edx
lea eax, [ebp - 0x48]
push eax
push ecx
push 0
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x412a64
mov edx, eax
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x54], 0
call fcn.004315e0
push eax
mov edx, str.enumRegKeys_RegOpenKeyEx_
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x13
call fcn.004269f0
add esp, 4
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41288e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.enumRegKey_
lea ecx, [ebp - 0x5c]
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 - 0x94], esi
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp - 0x94]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x17
call fcn.00431540
add esp, 4
mov dword [ebp - 0x6c], eax
push str.GlobalLog
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x18
call fcn.00403720
push 2
mov byte [ebp - 4], 0x19
push dword [ebp - 0x6c]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x52f7a4
call fcn.004018e0
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412920
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x90]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412943
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 0x412960
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412980
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0xc8]
call fcn.00431370
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x1a
call fcn.00449200
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x1b
call fcn.00449e90
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x1a
call fcn.004493f0
cmp dword [ebp - 0xb4], 0x10
jb 0x4129e4
push dword [ebp - 0xc8]
call fcn.004b3a0c
add esp, 4
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412a04
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x74]
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412a21
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 0x412a3e
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x60]
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412ebf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x412ebf
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0x104
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x54], esi
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x60], eax
test edx, edx
jns 0x412aa3
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 0x412ac0
push edx
lea ecx, [ebp - 0x54]
call fcn.0040c7b0
mov esi, dword [ebp - 0x54]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
push esi
push dword [ebp - 0x5c]
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x78], eax
cmp eax, 0x103
je 0x412c46
push dword [esi - 8]
push esi
call fcn.004b4e2e
add esp, 8
test eax, eax
js 0x412a99
cmp eax, dword [esi - 8]
jg 0x412a99
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [ebp - 0x78], ecx
jne 0x412bd0
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0xc8]
call fcn.00431370
mov edx, eax
mov dword [ebp - 0x78], edx
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x60]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x98], eax
mov eax, dword [0x52fe1c]
mov dword [ebp - 0x94], 0
test al, 1
jne 0x412b70
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
mov edx, dword [ebp - 0x78]
add esp, 4
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x78], eax
jb 0x412b7e
mov edx, dword [edx]
mov ecx, dword [0x52c374]
push dword [ebp - 0x78]
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x1e
call fcn.0044a170
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x1d
call fcn.004493f0
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0xb4], 0x10
jb 0x412bd0
push dword [ebp - 0xc8]
call fcn.004b3a0c
add esp, 4
cmp dword [esi - 0xc], 0
mov eax, dword [esi - 0x10]
lea edx, [esi - 0x10]
mov dword [ebp - 0x78], eax
je 0x412c36
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x412c14
cmp dword [esi - 8], 0
jge 0x412bf8
push 0x80070057
call fcn.0040c740
xor eax, eax
inc dword [ebp - 0x5c]
mov dword [esi - 0xc], 0
mov edx, 0x104
mov word [esi], ax
mov dword [ebp - 0x4c], edx
jmp 0x412a95
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x412c28
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x78]
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x54], esi
inc dword [ebp - 0x5c]
mov edx, 0x104
mov dword [ebp - 0x4c], edx
jmp 0x412a95
mov eax, dword [ebp - 0x1c]
test al, al
je 0x412c59
cmp al, 6
je 0x412c59
cmp al, 7
jne 0x412d3b
movsx eax, al
cmp eax, 7
ja case.default.0x412c61
jmp dword [eax*4 + 0x4130ec]
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 0
je case.0x412c61.0
mov eax, dword [eax]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], eax
call fcn.0042c250
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x14]
inc eax
jmp 0x412ca8
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
jmp 0x412ca8
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 0x412d3b
mov eax, dword [ebp - 0x7c]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x7c], eax
mov eax, dword [0x52fe1c]
mov dword [ebp - 0x78], 0
test al, 1
jne 0x412cf4
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 - 0x84], eax
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x1f
call fcn.00449e90
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x84]
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 0x412d5b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x74]
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412d7b
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 0x412d98
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 0x4124c6
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x412ed4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0x514aec
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0x27
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x74], esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x28
call fcn.0044c090
mov edx, eax
mov byte [ebp - 4], 0x29
cmp dword [edx + 0x14], 0x10
jb 0x412f2d
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 0x412f4c
xor ecx, ecx
jmp 0x412f64
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x88], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412f57
sub ecx, dword [ebp - 0x88]
push ecx
push edx
mov ecx, ebx
call fcn.004012f0
lea ecx, [ebp - 0xac]
call fcn.004312a0
add esp, 0x18
mov byte [ebp - 4], 0x2a
mov edx, dword [eax]
lea ebx, [esi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x412fd5
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x412fc6
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x412fc6
call fcn.004047b0
mov dword [ebp - 0x88], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x412fbe
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x88]
lea esi, [eax + 0x10]
mov dword [ebp - 0x74], esi
jmp 0x412fd5
push dword [edx - 0xc]
lea ecx, [ebp - 0x74]
push edx
call fcn.004046f0
mov esi, dword [ebp - 0x74]
mov byte [ebp - 4], 0x29
mov edx, dword [ebp - 0xac]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412ff8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x28
cmp dword [ebp - 0xb4], 0x10
jb 0x413013
push dword [ebp - 0xc8]
call fcn.004b3a0c
add esp, 4
mov edx, dword [0x52f408]
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0xc
idiv ecx
cmp edx, 0xa
jne 0x413050
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, dword [ebp - 0xb0]
mov eax, 8
mov word [ebx], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x413071
call fcn.0040c760
add esi, 0xfffffff0
mov dword [ebx + 8], eax
mov byte [ebp - 4], 0x27
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x41308f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x44], 0x514aec
jb 0x4130a7
push dword [ebp - 0x40]
call fcn.004b3a0c
add esp, 4
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x44], 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