Function at 0x10040490
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c9845
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x1010445c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x6c], edi
call fcn.1001e6f0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0xc]
call eax
test eax, eax
jne 0x100404df
lea eax, [edi + 1]
jmp 0x10040b4f
lea eax, [ebp - 0x58]
mov dword [ebp - 0x7c], 4
push str.QJjheDPGgIenLVBAppRkYQ7gtgBk56wm2abzh0EPCWkRC3ClLA5unw
push eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x78], 0x800
call fcn.100473c0
add esp, 8
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x7c]
push ecx
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push str.IE_Lock_Manual
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edi, eax
or esi, 0xffffffff
test edi, edi
je 0x100406b3
call fcn.100537a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10040633
push 0x5c
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12hookhomepage_normalmonitor3_6_0wnd.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.10007b10
push 3
push 0x100d2cb0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10007b10
mov byte [ebp - 4], 2
call fcn.100537a0
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.100536b0
add esp, 8
mov esi, eax
push 0x56
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x114]
call fcn.100042c0
mov edi, eax
mov ecx, dword [esi]
mov edx, 0x100d2be4
test ecx, ecx
mov byte [ebp - 4], 4
cmovne edx, ecx
push edx
push edi
call fcn.100031d0
mov ecx, dword [ebp - 0x68]
add esp, 8
mov eax, dword [ecx]
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x114]
call fcn.100054e0
mov edx, dword [ebp - 0x64]
or esi, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1004061f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x40]
call fcn.10004d30
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10004d30
lea eax, [ebp - 0x28]
push str.QJjheDPGgIfLdCr7I0tfzqOU6dJLx7D
push eax
call fcn.100473c0
mov edi, eax
add esp, 8
lea eax, [ebp - 0x58]
cmp eax, edi
je 0x10040678
mov ecx, eax
call fcn.10004d80
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x28]
call fcn.10004d80
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push str.IE_Lock_Manual
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x100406b3
xor esi, esi
jmp 0x10040b45
cmp dword [ebp - 0x70], 1
jne 0x10040755
push 0x100d3b24
lea ecx, [ebp - 0x68]
call fcn.10003d70
push str.safelock
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
mov dword [ebp - 0x6c], 1
call fcn.10003d70
mov dword [ebp - 4], 6
mov dword [ebp - 0x6c], 3
call fcn.1001e6f0
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x64]
mov edx, dword [eax]
push ecx
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov ecx, 7
mov edx, 0x100d3b24
mov dword [ebp - 0x60], ecx
mov eax, dword [eax]
nop dword [eax]
mov di, word [eax]
cmp di, word [edx]
jne 0x10040746
test di, di
je 0x10040742
mov di, word [eax + 2]
cmp di, word [edx + 2]
jne 0x10040746
add eax, 4
add edx, 4
test di, di
jne 0x10040720
xor eax, eax
jmp 0x1004074b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10040758
mov byte [ebp - 0x59], 1
jmp 0x1004075c
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 0x59], 0
test cl, 4
je 0x10040787
mov edx, dword [ebp - 0x74]
and ecx, 0xfffffffb
mov dword [ebp - 0x60], ecx
add edx, 0xfffffff0
mov dword [ebp - 0x6c], ecx
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10040787
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 4], 5
test cl, 2
je 0x100407b9
mov edx, dword [ebp - 0x64]
and ecx, 0xfffffffd
mov dword [ebp - 0x60], ecx
add edx, 0xfffffff0
mov dword [ebp - 0x6c], ecx
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100407b9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 4], 0
test cl, 1
je 0x100407e8
mov edx, dword [ebp - 0x68]
and ecx, 0xfffffffe
mov dword [ebp - 0x60], ecx
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100407e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x60]
cmp byte [ebp - 0x59], 0
je 0x100408ef
push 0x100d3844
lea ecx, [ebp - 0x64]
call fcn.10003d70
push str.safelock
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 7
call fcn.10003d70
mov byte [ebp - 4], 8
call fcn.1001e6f0
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x68]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 4]
mov edx, dword [ebp - 0x68]
mov eax, esi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10040846
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x64]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10040862
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.100537a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10040b40
push 0x5c
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12hookhomepage_normalmonitor3_6_0wnd.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.10007b10
push 3
push 0x100d2cb0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10007b10
mov byte [ebp - 4], 0xa
call fcn.100537a0
mov edi, eax
lea ecx, [ebp - 0x114]
push 0x60
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100042c0
mov esi, eax
mov byte [ebp - 4], 0xb
push str.safelock_1
jmp 0x10040b14
cmp dword [ebp - 0x70], 0
jne 0x10040988
push 0x100d3b24
lea ecx, [ebp - 0x64]
call fcn.10003d70
mov edi, dword [ebp - 0x60]
lea ecx, [ebp - 0x68]
or edi, 8
mov byte [ebp - 4], 0xc
push str.safelock
mov dword [ebp - 0x6c], edi
mov esi, edi
call fcn.10003d70
or edi, 0x10
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x6c], edi
call fcn.1001e6f0
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x68]
mov edx, dword [eax]
push ecx
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov ecx, esi
mov edx, 0x100d3844
or ecx, 0x30
mov eax, dword [eax]
mov si, word [eax]
cmp si, word [edx]
jne 0x1004097b
test si, si
je 0x10040977
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x1004097b
add eax, 4
add edx, 4
test si, si
jne 0x10040955
xor eax, eax
jmp 0x10040980
sbb eax, eax
or eax, 1
mov byte [ebp - 0x59], 1
test eax, eax
je 0x1004098c
mov byte [ebp - 0x59], 0
or esi, 0xffffffff
test cl, 0x20
je 0x100409ba
mov edx, dword [ebp - 0x74]
and ecx, 0xffffffdf
mov dword [ebp - 0x60], ecx
add edx, 0xfffffff0
mov dword [ebp - 0x6c], ecx
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100409ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 4], 0xc
test cl, 0x10
je 0x100409ec
mov edx, dword [ebp - 0x68]
and ecx, 0xffffffef
mov dword [ebp - 0x60], ecx
add edx, 0xfffffff0
mov dword [ebp - 0x6c], ecx
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100409ec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 4], 0
test cl, 8
je 0x10040a12
mov edx, dword [ebp - 0x64]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10040a12
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x59], 0
je 0x10040b40
push 0x100d3b24
lea ecx, [ebp - 0x64]
call fcn.10003d70
push str.safelock
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xe
call fcn.10003d70
mov byte [ebp - 4], 0xf
call fcn.1001e6f0
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x68]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 4]
mov edx, dword [ebp - 0x68]
mov eax, esi
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10040a70
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x64]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10040a8c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.100537a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10040b40
push 0x5c
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12hookhomepage_normalmonitor3_6_0wnd.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.10007b10
push 3
push 0x100d2cb0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10007b10
mov byte [ebp - 4], 0x11
call fcn.100537a0
mov edi, eax
lea ecx, [ebp - 0x114]
push 0x64
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100042c0
mov esi, eax
mov byte [ebp - 4], 0x12
push str.safelock_0
push esi
call fcn.100053b0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x114]
call fcn.100054e0
lea ecx, [ebp - 0x28]
call fcn.10004d30
lea ecx, [ebp - 0x40]
call fcn.10004d30
mov esi, 1
lea ecx, [ebp - 0x58]
call fcn.10004d80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100751d1
mov esp, ebp
pop ebp
ret