Function at 0x4101d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9ab8
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x532d60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 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 [0x538390]
mov dword [ebp - 0x1c], 0
test al, 1
jne 0x41026e
or eax, 1
push 0x4e75e0
mov dword [0x538390], eax
mov dword [0x538314], 0x51fae8
call fcn.004b8949
add esp, 4
mov ecx, dword [0x534374]
push 0xffffffffffffffff
mov eax, dword [ecx]
push str.success
call dword [eax + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push ecx
push str.error
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0044d470
mov ecx, eax
call fcn.0044ca80
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0044c9c0
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xac], esi
mov byte [ebp - 4], 3
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 4], 4
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
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 0x410329
cmp cl, 7
je 0x410329
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004bac2c
mov eax, dword [ebp - 0x84]
add esp, 0xc
cmp byte [eax + 8], 0
jne 0x410339
mov ecx, 0x537e88
jmp 0x410401
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.0044e110
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx]
mov dword [ebp - 0x78], ecx
cmp eax, ecx
je 0x4103e3
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x90], edx
mov edx, str.hive
jmp 0x410380
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 0x4103d2
cmp byte [ebp - 0x71], 0
je 0x4103ce
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 0x4103d2
add dword [ebp - 0x90], 2
add edx, 2
cmp byte [ebp - 0x71], 0
jne 0x410380
xor edx, edx
jmp 0x4103d7
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x7c], eax
test dl, dl
je 0x4103e6
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, 0x537e88
je 0x410401
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.0044cb40
lea ecx, [ebp - 0x80]
call fcn.00433a00
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 0x41047f
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x41046a
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x41046a
mov ecx, dword [ebp - 0x7c]
call fcn.00404b50
mov dword [ebp - 0x7c], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x41045f
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 0x41047f
push dword [edx - 0xc]
lea ecx, [ebp - 0xac]
push edx
call fcn.00404a90
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 0x4104a0
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 0x4104ce
cmp ecx, dword [esi]
jne 0x4104ce
mov eax, 1
lock xadd dword [edx], eax
jmp 0x410511
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 0x4104e5
call fcn.0040caf0
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.004b8ee1
mov esi, dword [ebp - 0x7c]
add esp, 0x10
mov ecx, dword [ebp - 0x64]
lea eax, [esi + 0x10]
mov dword [ecx], eax
call fcn.00410050
add esp, 4
mov dword [ebp - 0x7c], eax
test eax, eax
jne 0x410813
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0xac]
push eax
mov edx, str.readReg_hive_error_
lea ecx, [ebp - 0x84]
call fcn.00427b90
add esp, 4
push str.readReg
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.00403ac0
mov byte [ebp - 4], 0xa
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
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.00433ec0
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xc
call fcn.0040cd20
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 0x4105c7
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 0x4105e7
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 0x41060a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x30]
call fcn.00433ad0
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xd
call fcn.0044c7d0
push ecx
push str.error
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.0044d470
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, eax
call fcn.0044ca80
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xd
call fcn.0044c9c0
cmp dword [ebp - 0x1c], 0x10
jb 0x410668
push dword [ebp - 0x30]
call fcn.004b817c
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 0x41068b
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 0x4106a8
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 0x4106c5
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 0x4106e5
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 0x410700
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0x51c0cc
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 [0x5326d0]
mov ecx, 0x5326d0
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.0044f670
mov byte [ebp - 4], 0x43
cmp dword [eax + 0x14], 0x10
jb 0x410757
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401250
lea ecx, [ebp - 0xb4]
call fcn.00433a00
add esp, 0x18
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x44
call fcn.00403c20
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 0x4107a0
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 0x4107bb
push dword [ebp - 0xcc]
call fcn.004b817c
add esp, 4
mov esi, dword [0x537408]
mov eax, 8
mov word [ebx], ax
mov eax, esi
imul eax, esi
cdq
mov ecx, 0x13
idiv ecx
cmp edx, 3
jne 0x4107f9
xor edi, edi
test esi, esi
je 0x4107f3
mov eax, esi
mov ecx, esi
cdq
sub eax, edx
and ecx, 1
mov esi, eax
add edi, ecx
sar esi, 1
jne 0x4107e1
mov dword [0x537408], edi
mov esi, dword [ebp - 0x7c]
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x41165e
call fcn.0040caf0
mov esi, dword [ebp - 0x84]
mov al, byte [esi + 8]
test al, al
je 0x41083b
cmp al, 7
je 0x41083b
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004bac2c
add esp, 0xc
cmp byte [esi + 8], 0
jne 0x41084b
mov ecx, 0x537e88
jmp 0x4108d9
mov dword [ebp - 0x20], 0x51a53c
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.0044e110
mov ecx, dword [esi]
cmp eax, ecx
je 0x4108be
mov esi, dword [eax + 0x10]
mov edx, 0x51a53c
mov bl, byte [edx]
cmp bl, byte [esi]
mov byte [ebp - 0x71], bl
mov ebx, dword [ebp - 0x8c]
jne 0x4108ad
cmp byte [ebp - 0x71], 0
je 0x4108a9
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
mov byte [ebp - 0x71], bl
mov ebx, dword [ebp - 0x8c]
jne 0x4108ad
add edx, 2
add esi, 2
cmp byte [ebp - 0x71], 0
jne 0x410877
xor edx, edx
jmp 0x4108b2
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x64], eax
test dl, dl
je 0x4108c1
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, 0x537e88
je 0x4108d9
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.0044cb40
lea ecx, [ebp - 0x88]
call fcn.00433a00
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 0x410958
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
jl 0x410943
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x410943
mov ecx, esi
call fcn.00404b50
or esi, 0xffffffff
mov dword [ebp - 0x80], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x410938
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 0x41095b
push dword [edx - 0xc]
lea ecx, [ebp - 0x8c]
push edx
call fcn.00404a90
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 0x41097e
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 0x4109ad
cmp cl, 7
je 0x4109ad
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004bac2c
mov eax, dword [ebp - 0x84]
add esp, 0xc
cmp byte [eax + 8], 0
jne 0x4109bd
mov ecx, 0x537e88
jmp 0x410a70
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.0044e110
mov ecx, dword [ebp - 0x80]
mov ecx, dword [ecx]
mov dword [ebp - 0x88], ecx
cmp eax, ecx
je 0x410a55
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x78], edx
mov edx, str.name
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 0x410a44
cmp byte [ebp - 0x71], 0
je 0x410a40
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 0x410a44
add dword [ebp - 0x78], 2
add edx, 2
cmp byte [ebp - 0x71], 0
jne 0x4109f5
xor edx, edx
jmp 0x410a49
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x64], eax
test dl, dl
je 0x410a58
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, 0x537e88
je 0x410a70
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.0044cb40
lea ecx, [ebp - 0x1c]
call fcn.00433a00
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 0x410aed
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x410ad8
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x410ad8
mov ecx, dword [ebp - 0x64]
call fcn.00404b50
mov dword [ebp - 0x64], eax
mov ecx, esi
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x410acd
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 0x410aed
push dword [edx - 0xc]
lea ecx, [ebp - 0xb0]
push edx
call fcn.00404a90
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 0x410b0d
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 0x410b41
cmp cl, 7
je 0x410b41
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004bac2c
mov eax, dword [ebp - 0x84]
add esp, 0xc
mov cl, byte [eax + 8]
mov byte [ebp - 0x95], cl
test cl, cl
je 0x410d12
mov dword [ebp - 0x20], 0x51a548
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.0044e110
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx]
mov dword [ebp - 0x80], ecx
cmp eax, ecx
je 0x410bea
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x78], edx
mov edx, 0x51a548
lea ecx, [ecx]
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 0x410bd9
cmp byte [ebp - 0x71], 0
je 0x410bd5
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 0x410bd9
add dword [ebp - 0x78], 2
add edx, 2
cmp byte [ebp - 0x71], 0
jne 0x410b90
xor edx, edx
jmp 0x410bde
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x1c], eax
test dl, dl
je 0x410bed
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 0x410d12
add eax, 0x18
cmp eax, 0x537e88
je 0x410d12
cmp byte [ebp - 0x95], 7
je 0x410c32
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004bac2c
add esp, 0xc
mov eax, dword [ebp - 0x84]
cmp byte [eax + 8], 0
jne 0x410c50
mov ecx, 0x537e88
call fcn.0044cc70
mov dword [ebp - 0x64], eax
jmp 0x410d14
mov dword [ebp - 0x20], 0x51a548
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.0044e110
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx]
mov dword [ebp - 0x80], ecx
cmp eax, ecx
je 0x410cea
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x78], edx
mov edx, 0x51a548
jmp 0x410c90
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 0x410cd9
cmp byte [ebp - 0x71], 0
je 0x410cd5
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 0x410cd9
add dword [ebp - 0x78], 2
add edx, 2
cmp byte [ebp - 0x71], 0
jne 0x410c90
xor edx, edx
jmp 0x410cde
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x1c], eax
test dl, dl
je 0x410ced
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, 0x537e88
je 0x410d08
lea ecx, [eax + 0x18]
call fcn.0044cc70
mov dword [ebp - 0x64], eax
jmp 0x410d14
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x78], ecx
cmp eax, 0x20
je 0x410d35
test eax, eax
je 0x410d35
cmp eax, 0x40
jne 0x410d41
mov ecx, 0x20119
mov dword [ebp - 0x78], 0x20219
jmp 0x410d41
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 0x410d70
mov ecx, dword [ebp - 0x64]
test ecx, ecx
jne 0x410d78
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 0x410edc
mov edx, eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x78], 0
call fcn.00433f60
push eax
mov edx, 0x51a54c
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x15
call fcn.00427b90
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 0x410dbe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.re_dReg
lea ecx, [ebp - 0x7c]
call fcn.00403ac0
mov byte [ebp - 4], 0x18
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
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.00433ec0
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1a
call fcn.0040cd20
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 0x410e2c
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 0x410e4c
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 0x410e6c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0xcc]
call fcn.00433ad0
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x1b
call fcn.0044c7d0
push ecx
push str.error
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1c
call fcn.0044d470
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, eax
call fcn.0044ca80
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0xa8]
call fcn.0044c9c0
cmp dword [ebp - 0xb8], 0x10
jb 0x410ed0
push dword [ebp - 0xcc]
call fcn.004b817c
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x78]
jmp 0x410672
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 0x411043
mov edx, eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x78], 0
call fcn.00433f60
push eax
mov edx, str.readReg_RegQueryValueEx_gen_
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x1d
call fcn.00427b90
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 0x410f4e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.re_dReg
lea ecx, [ebp - 0x7c]
call fcn.00403ac0
mov byte [ebp - 4], 0x20
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
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.00433ec0
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x22
call fcn.0040cd20
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 0x410fbc
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 0x410fdc
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 0x410ffc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0xcc]
call fcn.00433ad0
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x23
call fcn.0044c7d0
push ecx
push str.error
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x24
call fcn.0044d470
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, eax
call fcn.0044ca80
mov byte [ebp - 4], 0x23
jmp 0x410eae
mov eax, dword [ebp - 0x18]
cmp eax, 4
jne 0x411223
mov dword [ebp - 0x1c], eax
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]
mov dword [ebp - 0x64], 0
call eax
test eax, eax
je 0x4111c1
mov edx, eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x78], 0
call fcn.00433f60
push eax
mov edx, str.readReg_RegQueryValueEx_dword_
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x25
call fcn.00427b90
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 0x4110c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.readReg
lea ecx, [ebp - 0x7c]
call fcn.00403ac0
mov byte [ebp - 4], 0x28
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
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.00433ec0
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x2a
call fcn.0040cd20
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 0x41113a
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 0x41115a
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 0x41117a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0xcc]
call fcn.00433ad0
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x2b
call fcn.0044c7d0
push ecx
push str.error
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x2c
call fcn.0044d470
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, eax
call fcn.0044ca80
mov byte [ebp - 4], 0x2b
jmp 0x410eae
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.0044d470
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, eax
call fcn.0044ca80
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 6
call fcn.0044c9c0
mov dword [ebp - 4], 4
jmp 0x41068f
cmp eax, 1
jne 0x411217
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.004b7950
mov ecx, dword [ebp - 0x6c]
add esp, 4
add ecx, ecx
push ecx
push 0
push eax
mov dword [ebp - 0x84], eax
call fcn.004bcc70
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 0x411419
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x84]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
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 0x411302
test edx, 0xffff0000
jne 0x4112e1
movzx eax, dx
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.00405910
test eax, eax
je 0x41130e
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x78]
push eax
call fcn.00404e50
jmp 0x41130e
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1c], eax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4112f0
sub ecx, dword [ebp - 0x1c]
sar ecx, 1
jmp 0x411304
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x78]
call fcn.00404a90
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x2f
call fcn.00433ad0
mov edx, eax
mov dword [ebp - 0x1c], edx
mov byte [ebp - 4], 0x30
mov ecx, dword [ebp - 0xa0]
mov eax, dword [0x538390]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x9c], 0
test al, 1
jne 0x411376
or eax, 1
push 0x4e75e0
mov dword [0x538390], eax
mov dword [0x538314], 0x51fae8
call fcn.004b8949
mov edx, dword [ebp - 0x1c]
add esp, 4
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x1c], eax
jb 0x411384
mov edx, dword [edx]
mov ecx, dword [0x534374]
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.0044d470
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, eax
call fcn.0044ca80
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x30
call fcn.0044c9c0
cmp dword [ebp - 0xb8], 0x10
jb 0x4113df
push dword [ebp - 0xcc]
call fcn.004b817c
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 0x4113ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x84]
call fcn.004b8a0b
add esp, 4
mov dword [ebp - 4], 4
jmp 0x41068f
mov edx, eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x78], 0
call fcn.00433f60
push eax
mov edx, str.readReg_RegQueryValueEx_str_
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x32
call fcn.00427b90
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 0x41145f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.readReg
lea ecx, [ebp - 0x7c]
call fcn.00403ac0
mov byte [ebp - 4], 0x35
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
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.00433ec0
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x37
call fcn.0040cd20
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 0x4114cd
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 0x4114ed
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 0x41150d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0xcc]
call fcn.00433ad0
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x38
call fcn.0044c7d0
push ecx
push str.error
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x39
call fcn.0044d470
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, eax
call fcn.0044ca80
mov byte [ebp - 4], 0x38
jmp 0x410eae
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 0x41167f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x48], 0x10
mov dword [ebp - 0x60], 0x51c0cc
jb 0x411697
push dword [ebp - 0x5c]
call fcn.004b817c
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], 0x51fca0
mov dword [ebp - 4], 0xffffffff
call fcn.0044c9c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b8181
mov esp, ebp
pop ebp
ret