Function at 0x40f600
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5268
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
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 - 0x94], edx
mov dword [ebp - 0x84], ecx
and dword [ebp - 0x38], 0xfffffe00
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x20]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x20], eax
mov eax, dword [0x52fe1c]
mov dword [ebp - 0x1c], 0
test al, 1
jne 0x40f69e
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 - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push ecx
push str.error
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00449e90
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x28]
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 - 0xac], esi
mov byte [ebp - 4], 3
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 4], 4
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0xb0], edi
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x84]
mov cl, byte [eax + 8]
test cl, cl
je 0x40f759
cmp cl, 7
je 0x40f759
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
mov eax, dword [ebp - 0x84]
add esp, 0xc
cmp byte [eax + 8], 0
jne 0x40f769
mov ecx, 0x52fad0
jmp 0x40f831
mov dword [ebp - 0x20], str.hive
mov dword [ebp - 0x1c], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
mov dword [ebp - 0x88], eax
call fcn.0044ab30
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx]
mov dword [ebp - 0x78], ecx
cmp eax, ecx
je 0x40f813
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x90], edx
mov edx, str.hive
jmp 0x40f7b0
mov bl, byte [edx]
mov byte [ebp - 0x71], bl
mov ebx, dword [ebp - 0x90]
mov cl, byte [ebp - 0x71]
cmp cl, byte [ebx]
mov ecx, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x8c]
jne 0x40f802
cmp byte [ebp - 0x71], 0
je 0x40f7fe
mov bl, byte [edx + 1]
mov byte [ebp - 0x71], bl
mov ebx, dword [ebp - 0x90]
mov cl, byte [ebp - 0x71]
cmp cl, byte [ebx + 1]
mov ecx, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x8c]
jne 0x40f802
add dword [ebp - 0x90], 2
add edx, 2
cmp byte [ebp - 0x71], 0
jne 0x40f7b0
xor edx, edx
jmp 0x40f807
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x7c], eax
test dl, dl
je 0x40f816
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x7c]
mov eax, dword [eax]
mov byte [ebp - 4], 6
cmp eax, dword [ecx]
mov ecx, 0x52fad0
je 0x40f831
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.00449570
lea ecx, [ebp - 0x80]
call fcn.004312a0
add esp, 0x18
mov byte [ebp - 4], 8
mov edx, dword [eax]
lea ecx, [esi - 0x10]
lea eax, [edx - 0x10]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x64], ecx
cmp eax, ecx
je 0x40f8af
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x40f89a
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x40f89a
mov ecx, dword [ebp - 0x7c]
call fcn.004047b0
mov dword [ebp - 0x7c], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x40f88f
mov edx, dword [ebp - 0x64]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x7c]
lea esi, [eax + 0x10]
mov dword [ebp - 0xac], esi
jmp 0x40f8af
push dword [edx - 0xc]
lea ecx, [ebp - 0xac]
push edx
call fcn.004046f0
mov esi, dword [ebp - 0xac]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x80]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f8d0
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 - 0x64], esp
mov eax, dword [ecx]
mov dword [ebp - 0x90], esi
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x40f8fe
cmp ecx, dword [esi]
jne 0x40f8fe
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40f941
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x7c], edx
test edx, edx
jne 0x40f915
call fcn.0040c760
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004b4771
mov esi, dword [ebp - 0x7c]
add esp, 0x10
mov ecx, dword [ebp - 0x64]
lea eax, [esi + 0x10]
mov dword [ecx], eax
call fcn.0040f480
add esp, 4
mov dword [ebp - 0x7c], eax
test eax, eax
jne 0x40fc4a
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0xac]
push eax
mov edx, str.readReg_hive_error_
lea ecx, [ebp - 0x84]
call fcn.004269f0
add esp, 4
push str.re_dReg
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.00403720
mov byte [ebp - 4], 0xa
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x7c], esi
lea eax, [ebp - 0x84]
push eax
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xb
call fcn.00431540
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xc
call fcn.0040c8d0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f9f7
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], 0xa
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fa17
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x88]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fa3a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x30]
call fcn.00431370
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xd
call fcn.00449200
push ecx
push str.error
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.00449e90
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xd
call fcn.004493f0
cmp dword [ebp - 0x1c], 0x10
jb 0x40fa98
push dword [ebp - 0x30]
call fcn.004b3a0c
add esp, 4
mov byte [ebp - 4], 6
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 0x40fabb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
add edi, 0xfffffff0
mov ecx, esi
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fad8
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40faf5
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x90]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fb15
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x40fb30
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0x514aec
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 0x41
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x42
call fcn.0044c090
mov byte [ebp - 4], 0x43
cmp dword [eax + 0x14], 0x10
jb 0x40fb87
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401250
lea ecx, [ebp - 0xb4]
call fcn.004312a0
add esp, 0x18
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x44
call fcn.00403880
mov byte [ebp - 4], 0x43
mov edx, dword [ebp - 0xb4]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fbd0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x42
cmp dword [ebp - 0xb8], 0x10
jb 0x40fbeb
push dword [ebp - 0xcc]
call fcn.004b3a0c
add esp, 4
mov esi, dword [0x52f408]
mov eax, esi
imul eax, esi
cdq
mov ecx, 0x11
idiv ecx
cmp edx, 6
jne 0x40fc28
xor edi, edi
test esi, esi
je 0x40fc22
lea esp, [esp]
mov eax, esi
mov ecx, esi
cdq
sub eax, edx
and ecx, 1
mov esi, eax
add edi, ecx
sar esi, 1
jne 0x40fc10
mov dword [0x52f408], edi
mov esi, dword [ebp - 0x7c]
mov eax, 8
mov word [ebx], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x410b12
call fcn.0040c760
mov esi, dword [ebp - 0x84]
mov al, byte [esi + 8]
test al, al
je 0x40fc72
cmp al, 7
je 0x40fc72
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 0x40fc82
mov ecx, 0x52fad0
jmp 0x40fd12
mov dword [ebp - 0x20], 0x512f64
mov dword [ebp - 0x1c], 0
mov esi, dword [esi]
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
mov dword [ebp - 0x80], esi
call fcn.0044ab30
mov ecx, dword [esi]
cmp eax, ecx
je 0x40fcf7
mov esi, dword [eax + 0x10]
mov edx, 0x512f64
mov edi, edi
mov bl, byte [edx]
cmp bl, byte [esi]
mov byte [ebp - 0x71], bl
mov ebx, dword [ebp - 0x8c]
jne 0x40fce6
cmp byte [ebp - 0x71], 0
je 0x40fce2
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
mov byte [ebp - 0x71], bl
mov ebx, dword [ebp - 0x8c]
jne 0x40fce6
add edx, 2
add esi, 2
cmp byte [ebp - 0x71], 0
jne 0x40fcb0
xor edx, edx
jmp 0x40fceb
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x64], eax
test dl, dl
je 0x40fcfa
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x64]
mov eax, dword [eax]
mov byte [ebp - 4], 6
cmp eax, dword [ecx]
mov ecx, 0x52fad0
je 0x40fd12
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.00449570
lea ecx, [ebp - 0x88]
call fcn.004312a0
add esp, 0x18
mov byte [ebp - 4], 0x10
mov edx, dword [eax]
lea ecx, [ebx - 0x10]
lea esi, [edx - 0x10]
mov dword [ebp - 0x64], ecx
cmp esi, ecx
je 0x40fd91
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
jl 0x40fd7c
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x40fd7c
mov ecx, esi
call fcn.004047b0
or esi, 0xffffffff
mov dword [ebp - 0x80], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x40fd71
mov edx, dword [ebp - 0x64]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x80]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x8c], ebx
jmp 0x40fd94
push dword [edx - 0xc]
lea ecx, [ebp - 0x8c]
push edx
call fcn.004046f0
mov ebx, dword [ebp - 0x8c]
or esi, 0xffffffff
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x88]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fdb7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x84]
mov cl, byte [eax + 8]
test cl, cl
je 0x40fde6
cmp cl, 7
je 0x40fde6
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
mov eax, dword [ebp - 0x84]
add esp, 0xc
cmp byte [eax + 8], 0
jne 0x40fdf6
mov ecx, 0x52fad0
jmp 0x40feab
mov dword [ebp - 0x68], str.name
mov dword [ebp - 0x64], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x68]
push ecx
mov ecx, eax
mov dword [ebp - 0x80], eax
call fcn.0044ab30
mov ecx, dword [ebp - 0x80]
mov ecx, dword [ecx]
mov dword [ebp - 0x88], ecx
cmp eax, ecx
je 0x40fe90
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x78], edx
mov edx, str.name
mov edi, edi
mov bl, byte [edx]
mov byte [ebp - 0x71], bl
mov ebx, dword [ebp - 0x78]
mov cl, byte [ebp - 0x71]
cmp cl, byte [ebx]
mov ecx, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x8c]
jne 0x40fe7f
cmp byte [ebp - 0x71], 0
je 0x40fe7b
mov bl, byte [edx + 1]
mov byte [ebp - 0x71], bl
mov ebx, dword [ebp - 0x78]
mov cl, byte [ebp - 0x71]
cmp cl, byte [ebx + 1]
mov ecx, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x8c]
jne 0x40fe7f
add dword [ebp - 0x78], 2
add edx, 2
cmp byte [ebp - 0x71], 0
jne 0x40fe30
xor edx, edx
jmp 0x40fe84
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x64], eax
test dl, dl
je 0x40fe93
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x64]
mov eax, dword [eax]
mov byte [ebp - 4], 6
cmp eax, dword [ecx]
mov ecx, 0x52fad0
je 0x40feab
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.00449570
lea ecx, [ebp - 0x1c]
call fcn.004312a0
add esp, 0x18
mov byte [ebp - 4], 0x12
mov edx, dword [eax]
lea ecx, [edi - 0x10]
lea eax, [edx - 0x10]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x80], ecx
cmp eax, ecx
je 0x40ff28
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x40ff13
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x40ff13
mov ecx, dword [ebp - 0x64]
call fcn.004047b0
mov dword [ebp - 0x64], eax
mov ecx, esi
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x40ff08
mov edx, dword [ebp - 0x80]
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 - 0xb0], edi
jmp 0x40ff28
push dword [edx - 0xc]
lea ecx, [ebp - 0xb0]
push edx
call fcn.004046f0
mov edi, dword [ebp - 0xb0]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ff48
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x84]
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov cl, byte [eax + 8]
test cl, cl
je 0x40ff7c
cmp cl, 7
je 0x40ff7c
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
mov eax, dword [ebp - 0x84]
add esp, 0xc
mov cl, byte [eax + 8]
mov byte [ebp - 0x95], cl
test cl, cl
je 0x410145
mov dword [ebp - 0x20], 0x512f70
mov dword [ebp - 0x1c], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
mov dword [ebp - 0x88], eax
call fcn.0044ab30
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx]
mov dword [ebp - 0x80], ecx
cmp eax, ecx
je 0x410022
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x78], edx
mov edx, 0x512f70
mov bl, byte [edx]
mov byte [ebp - 0x71], bl
mov ebx, dword [ebp - 0x78]
mov cl, byte [ebp - 0x71]
cmp cl, byte [ebx]
mov ecx, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x8c]
jne 0x410011
cmp byte [ebp - 0x71], 0
je 0x41000d
mov bl, byte [edx + 1]
mov byte [ebp - 0x71], bl
mov ebx, dword [ebp - 0x78]
mov cl, byte [ebp - 0x71]
cmp cl, byte [ebx + 1]
mov ecx, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x8c]
jne 0x410011
add dword [ebp - 0x78], 2
add edx, 2
cmp byte [ebp - 0x71], 0
jne 0x40ffc8
xor edx, edx
jmp 0x410016
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x1c], eax
test dl, dl
je 0x410025
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x1c]
mov eax, dword [eax]
mov byte [ebp - 4], 6
cmp eax, dword [ecx]
je 0x410145
add eax, 0x18
cmp eax, 0x52fad0
je 0x410145
cmp byte [ebp - 0x95], 7
je 0x41006a
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
add esp, 0xc
mov eax, dword [ebp - 0x84]
cmp byte [eax + 8], 0
jne 0x410088
mov ecx, 0x52fad0
call fcn.004496a0
mov dword [ebp - 0x64], eax
jmp 0x410147
mov dword [ebp - 0x20], 0x512f70
mov dword [ebp - 0x1c], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
mov dword [ebp - 0x88], eax
call fcn.0044ab30
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx]
mov dword [ebp - 0x80], ecx
cmp eax, ecx
je 0x41011d
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x78], edx
mov edx, 0x512f70
mov bl, byte [edx]
mov byte [ebp - 0x71], bl
mov ebx, dword [ebp - 0x78]
mov cl, byte [ebp - 0x71]
cmp cl, byte [ebx]
mov ecx, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x8c]
jne 0x41010c
cmp byte [ebp - 0x71], 0
je 0x410108
mov bl, byte [edx + 1]
mov byte [ebp - 0x71], bl
mov ebx, dword [ebp - 0x78]
mov cl, byte [ebp - 0x71]
cmp cl, byte [ebx + 1]
mov ecx, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x8c]
jne 0x41010c
add dword [ebp - 0x78], 2
add edx, 2
cmp byte [ebp - 0x71], 0
jne 0x4100c3
xor edx, edx
jmp 0x410111
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x1c], eax
test dl, dl
je 0x410120
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x1c]
mov eax, dword [eax]
mov byte [ebp - 4], 6
cmp eax, dword [ecx]
mov ecx, 0x52fad0
je 0x41013b
lea ecx, [eax + 0x18]
call fcn.004496a0
mov dword [ebp - 0x64], eax
jmp 0x410147
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x78], ecx
cmp eax, 0x20
je 0x410168
test eax, eax
je 0x410168
cmp eax, 0x40
jne 0x410174
mov ecx, 0x20119
mov dword [ebp - 0x78], 0x20219
jmp 0x410174
mov ecx, 0x20219
mov dword [ebp - 0x78], 0x20119
lea eax, [ebp - 0x70]
push eax
push ecx
push 0
push ebx
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x4101a3
mov ecx, dword [ebp - 0x64]
test ecx, ecx
jne 0x4101ab
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x78]
push ecx
push ebx
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41030f
mov edx, eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x78], 0
call fcn.004315e0
push eax
mov edx, 0x512f74
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x15
call fcn.004269f0
add esp, 4
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4101f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.readReg
lea ecx, [ebp - 0x7c]
call fcn.00403720
mov byte [ebp - 4], 0x18
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x64], esi
lea eax, [ebp - 0x78]
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x19
call fcn.00431540
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1a
call fcn.0040c8d0
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x80]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41025f
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], 0x18
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41027f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41029f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0xcc]
call fcn.00431370
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x1b
call fcn.00449200
push ecx
push str.error
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1c
call fcn.00449e90
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, eax
call fcn.004494b0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0xa8]
call fcn.004493f0
cmp dword [ebp - 0xb8], 0x10
jb 0x410303
push dword [ebp - 0xcc]
call fcn.004b3a0c
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x78]
jmp 0x40faa2
lea eax, [ebp - 0x6c]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push edi
push dword [ebp - 0x70]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x6c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x410476
mov edx, eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x78], 0
call fcn.004315e0
push eax
mov edx, str.readReg_RegQueryValueEx_gen_
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x1d
call fcn.004269f0
add esp, 4
mov byte [ebp - 4], 0x1f
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410381
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.re_dReg
lea ecx, [ebp - 0x7c]
call fcn.00403720
mov byte [ebp - 4], 0x20
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x64], esi
lea eax, [ebp - 0x78]
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x21
call fcn.00431540
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x22
call fcn.0040c8d0
mov byte [ebp - 4], 0x21
mov edx, dword [ebp - 0x80]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4103ef
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], 0x20
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41040f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1f
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41042f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0xcc]
call fcn.00431370
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x23
call fcn.00449200
push ecx
push str.error
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x24
call fcn.00449e90
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, eax
call fcn.004494b0
mov byte [ebp - 4], 0x23
jmp 0x4102e1
mov eax, dword [ebp - 0x18]
cmp eax, 4
jne 0x4106de
mov dword [ebp - 0x1c], eax
mov eax, dword [0x52f408]
imul eax, eax
cdq
mov ecx, 0x18
idiv ecx
mov dword [ebp - 0x64], 0
cmp edx, 6
jne 0x4104b3
push 4
call fcn.004b3a20
mov ecx, dword [0x52f408]
add esp, 4
mov dword [eax], ecx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
push edi
push dword [ebp - 0x70]
call eax
mov ecx, dword [0x52f408]
mov dword [ebp - 0x80], eax
mov eax, ecx
imul eax, ecx
cdq
mov dword [ebp - 0x7c], 0xc
idiv dword [ebp - 0x7c]
cmp edx, 0xb
jne 0x41052a
mov eax, 0x51eb851f
imul ecx
mov eax, dword [0x52f408]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub eax, ecx
xor ecx, ecx
add eax, 0x63
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b31e0
add esp, 4
push eax
call fcn.004b429b
add esp, 4
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x41067c
mov edx, eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x78], 0
call fcn.004315e0
push eax
mov edx, str.readReg_RegQueryValueEx_dword_
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x25
call fcn.004269f0
add esp, 4
mov byte [ebp - 4], 0x27
mov edx, dword [ebp - 0x80]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41057b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.re_dReg
lea ecx, [ebp - 0x7c]
call fcn.00403720
mov byte [ebp - 4], 0x28
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x88], esi
lea eax, [ebp - 0x78]
push eax
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x29
call fcn.00431540
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x2a
call fcn.0040c8d0
mov byte [ebp - 4], 0x29
mov edx, dword [ebp - 0x84]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4105f5
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], 0x28
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410615
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x27
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410635
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0xcc]
call fcn.00431370
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x2b
call fcn.00449200
push ecx
push str.error
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x2c
call fcn.00449e90
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, eax
call fcn.004494b0
mov byte [ebp - 4], 0x2b
jmp 0x4102e1
mov eax, dword [ebp - 0xa0]
and eax, 0xffffff01
or eax, 1
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa8], eax
push ecx
push str.value
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x2d
call fcn.00449e90
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 6
call fcn.004493f0
mov dword [ebp - 4], 4
jmp 0x40fabf
cmp eax, 1
jne 0x4106d2
mov eax, dword [ebp - 0x6c]
inc eax
xor ecx, ecx
mov dword [ebp - 0x6c], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b31e0
mov ecx, dword [ebp - 0x6c]
add esp, 4
add ecx, ecx
push ecx
push 0
push eax
mov dword [ebp - 0x84], eax
call fcn.004b84f0
mov eax, dword [ebp - 0x6c]
add esp, 0xc
add eax, eax
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x84]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
push edi
push dword [ebp - 0x70]
call eax
test eax, eax
jne 0x4108cd
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x84]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 0x2e
mov edx, dword [ebp - 0x84]
test edx, edx
je 0x4107b6
test edx, 0xffff0000
jne 0x41079c
movzx eax, dx
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.00405570
test eax, eax
je 0x4107c2
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x78]
push eax
call fcn.00404ab0
jmp 0x4107c2
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4107a4
sub ecx, dword [ebp - 0x1c]
sar ecx, 1
jmp 0x4107b8
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x78]
call fcn.004046f0
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x2f
call fcn.00431370
mov edx, eax
mov dword [ebp - 0x1c], edx
mov byte [ebp - 4], 0x30
mov ecx, dword [ebp - 0xa0]
mov eax, dword [0x52fe1c]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x9c], 0
test al, 1
jne 0x41082a
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
mov edx, dword [ebp - 0x1c]
add esp, 4
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x1c], eax
jb 0x410838
mov edx, dword [edx]
mov ecx, dword [0x52c374]
push dword [ebp - 0x1c]
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
mov dword [ebp - 0xa8], eax
push ecx
push str.value
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x31
call fcn.00449e90
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x30
call fcn.004493f0
cmp dword [ebp - 0xb8], 0x10
jb 0x410893
push dword [ebp - 0xcc]
call fcn.004b3a0c
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4108b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x84]
call fcn.004b429b
add esp, 4
mov dword [ebp - 4], 4
jmp 0x40fabf
mov edx, eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x78], 0
call fcn.004315e0
push eax
mov edx, str.readReg_RegQueryValueEx_str_
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x32
call fcn.004269f0
add esp, 4
mov byte [ebp - 4], 0x34
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410913
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.readReg
lea ecx, [ebp - 0x7c]
call fcn.00403720
mov byte [ebp - 4], 0x35
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x64], esi
lea eax, [ebp - 0x78]
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x36
call fcn.00431540
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x37
call fcn.0040c8d0
mov byte [ebp - 4], 0x36
mov edx, dword [ebp - 0x80]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410981
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], 0x35
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4109a1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x34
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4109c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0xcc]
call fcn.00431370
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x38
call fcn.00449200
push ecx
push str.error
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x39
call fcn.00449e90
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, eax
call fcn.004494b0
mov byte [ebp - 4], 0x38
jmp 0x4102e1
add esi, 0xfffffff0
mov dword [ebx + 8], eax
mov byte [ebp - 4], 0x41
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410b33
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x48], 0x10
mov dword [ebp - 0x60], 0x514aec
jb 0x410b4b
push dword [ebp - 0x5c]
call fcn.004b3a0c
add esp, 4
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x60], 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