Function at 0x4db030
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2c22
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x58bd90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x28
call fcn.00415ec5
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, edi
je 0x4db0b1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x18]
push ecx
mov dword [eax + 8], ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x51c648
mov dword [eax + 0xc], edx
call fcn.00401830
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
call fcn.004805b0
mov dword [ebp - 0x14], eax
jmp 0x4db0b4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xc]
add ebx, 4
mov dword [ebp + 8], eax
cmp eax, edi
jge 0x4db0d0
call fcn.0041d34a
mov edi, eax
inc edi
mov esi, ebx
call fcn.004047b0
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov dword [eax + edx*4], ecx
push 0x51c654
lea ecx, [ebp - 0x38]
call fcn.00401830
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 0x38]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.004da140
add esp, 0x14
push 0x28
call fcn.00415ec5
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x4db179
mov eax, dword [ebp - 0x38]
push ecx
add eax, 0xfffffff0
mov edi, esp
mov dword [ebp + 8], esp
push eax
mov dword [ebp - 0x20], edi
call fcn.00402370
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x51c664
call fcn.00401830
mov byte [ebp - 4], 6
push esi
mov byte [ebp - 4], 3
call fcn.0047ff90
mov dword [ebp + 8], eax
jmp 0x4db180
mov dword [ebp + 8], 0
mov byte [ebp - 4], 2
mov eax, dword [ebx + 8]
mov dword [ebp - 0x14], eax
test eax, eax
jns 0x4db193
call fcn.0041d34a
mov edi, eax
inc edi
mov esi, ebx
call fcn.004047b0
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [eax + edx*4], ecx
call fcn.0041d9cc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4db1c3
push 0x80004005
call fcn.004016a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + 8], ecx
lea esi, [ebp - 0x34]
mov dword [eax + 0xc], edx
call fcn.004d6590
mov eax, esi
push eax
lea ecx, [ebp + 8]
push str.CLSID083863F1_70DE_11d0_BD40_00A0C911CE86Instance_
push ecx
call fcn.00402ff0
add esp, 0x1c
mov byte [ebp - 4], 9
push eax
mov ecx, esi
call fcn.00402150
mov byte [ebp - 4], 8
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4db23d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0xb8]
push ecx
call fcn.004847d0
mov byte [ebp - 4], 0xb
xor edi, edi
mov byte [ebp + 0xb], 0
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x1c]
push edx
push 0x20019
push edi
push eax
push SysReAllocStringLen
mov dword [ebp - 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x4db48d
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push ecx
push edi
lea edx, [ebp - 0x2c]
push edx
push edi
push 0x51c6f8
mov dword [ebp - 0x40], edi
push esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x4db47c
cmp dword [ebp - 0x2c], 3
jne 0x4db47c
mov eax, dword [ebp - 0x24]
inc eax
push eax
call fcn.00455856
add esp, 4
lea ecx, [ebp - 0x24]
push ecx
mov edi, eax
push edi
lea edx, [ebp - 0x30]
push edx
push 0
push 0x51c710
push esi
mov dword [ebp - 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x24]
push eax
push edi
lea ecx, [ebp - 0xb8]
push ecx
call fcn.004831a0
test eax, eax
jne 0x4db471
lea ecx, [ebp - 0x18]
mov byte [ebp + 0xb], 1
call fcn.004010b0
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x88]
push edx
lea eax, [ebp - 0x18]
push 0x51c728
push eax
call fcn.00402950
add esp, 0xc
push 0x28
call fcn.00415ec5
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 0xe
test esi, esi
je 0x4db379
mov eax, dword [ebp - 0x18]
push ecx
add eax, 0xfffffff0
mov edi, esp
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 0x28], edi
call fcn.00402370
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x51c67c
call fcn.00401830
mov byte [ebp - 4], 0x11
push esi
mov byte [ebp - 4], 0xe
call fcn.0047ff90
mov dword [ebp - 0x14], eax
jmp 0x4db380
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0xd
mov eax, dword [ebx + 8]
mov dword [ebp - 0x10], eax
test eax, eax
jns 0x4db393
call fcn.0041d34a
mov edi, eax
inc edi
mov esi, ebx
call fcn.004047b0
mov ecx, dword [ebx + 4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [ecx + eax*4], edx
mov ecx, dword [ebp - 0x8c]
push ecx
lea edx, [ebp - 0x18]
push 0x51c738
push edx
call fcn.00402950
add esp, 0xc
push 0x28
call fcn.00415ec5
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 0x12
test esi, esi
je 0x4db418
mov eax, dword [ebp - 0x18]
push ecx
add eax, 0xfffffff0
mov edi, esp
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 0x28], edi
call fcn.00402370
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Version
call fcn.00401830
mov byte [ebp - 4], 0x15
push esi
mov byte [ebp - 4], 0x12
call fcn.0047ff90
mov dword [ebp - 0x10], eax
jmp 0x4db41f
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0xd
mov eax, dword [ebx + 8]
mov dword [ebp - 0x14], eax
test eax, eax
jns 0x4db432
call fcn.0041d34a
mov edi, eax
inc edi
mov esi, ebx
call fcn.004047b0
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [eax + edx*4], ecx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4db46b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
push edi
call fcn.004559d5
add esp, 4
xor edi, edi
cmp esi, edi
je 0x4db48a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
call fcn.0041d9cc
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4db4a7
push 0x80004005
call fcn.004016a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x18
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 0x10]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x18]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
call fcn.004da360
add esp, 0x14
push 0x28
call fcn.00415ec5
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 0x19
cmp esi, edi
je 0x4db51e
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x51c758
call fcn.00401830
mov byte [ebp - 4], 0x1a
push esi
mov byte [ebp - 4], 0x19
call fcn.004806f0
mov edi, eax
mov dword [ebp - 0x10], eax
jmp 0x4db521
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x2c]
push edi
push ecx
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x30], eax
call fcn.00402370
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0x1c
mov byte [ebp - 4], 0x18
call fcn.004da8f0
add esp, 8
test eax, eax
jns 0x4db56a
test edi, edi
je 0x4db58f
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
jmp 0x4db58f
mov eax, dword [ebx + 8]
mov dword [ebp - 0x14], eax
test eax, eax
jns 0x4db579
call fcn.0041d34a
mov edi, eax
inc edi
mov esi, ebx
call fcn.004047b0
mov ecx, dword [ebx + 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [ecx + eax*4], edx
cmp byte [ebp + 0xb], 0
je 0x4db92c
push 0x28
call fcn.00415ec5
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 0x1d
test esi, esi
je 0x4db5d3
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x51c764
call fcn.00401830
mov byte [ebp - 4], 0x1e
push esi
mov byte [ebp - 4], 0x1d
call fcn.004806f0
mov dword [ebp + 8], eax
jmp 0x4db5da
mov dword [ebp + 8], 0
mov byte [ebp - 4], 0x18
mov eax, dword [ebx + 8]
mov dword [ebp - 0x10], eax
test eax, eax
jns 0x4db5ed
call fcn.0041d34a
mov edi, eax
inc edi
mov esi, ebx
call fcn.004047b0
mov ecx, dword [ebx + 4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov dword [ecx + eax*4], edx
mov ecx, dword [ebp - 0x70]
mov edi, dword [ebp - 0x5c]
push 0x28
add edi, ecx
call fcn.00415ec5
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov bl, 0x1f
mov byte [ebp - 4], bl
test esi, esi
je 0x4db646
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x51c784
call fcn.00401830
mov byte [ebp - 4], 0x20
push esi
mov byte [ebp - 4], bl
call fcn.0047f2d0
mov dword [ebp - 0x10], eax
jmp 0x4db64d
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0x18
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0xc]
add esi, 4
mov dword [ebp - 0x1c], esi
test ebx, ebx
jns 0x4db666
call fcn.0041d34a
lea edi, [ebx + 1]
call fcn.004047b0
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x10]
mov dword [eax + ebx*4], ecx
mov eax, dword [ebp - 0x70]
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp + 8], ecx
cmp eax, ecx
jle 0x4db7a7
mov dword [ebp - 0x14], ecx
lea ecx, [ecx]
mov ecx, dword [ebp + 8]
test ecx, ecx
js 0x4db0cb
cmp ecx, eax
jge 0x4db0cb
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x74]
mov dword [ebp - 0x28], eax
call fcn.0041d9cc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4db1b9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x24]
push 0x51c790
push edx
call fcn.00402950
add esp, 0xc
push 0x28
call fcn.00415ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 0x23
test edi, edi
je 0x4db72f
mov eax, dword [ebp - 0x24]
push ecx
add eax, 0xfffffff0
mov ebx, esp
mov dword [ebp - 0x10], esp
push eax
mov dword [ebp - 0x48], ebx
call fcn.00402370
add eax, 0x10
add esp, 4
mov dword [ebx], eax
mov byte [ebp - 4], 0x25
push edi
mov byte [ebp - 4], 0x23
call fcn.004806f0
mov dword [ebp - 0x10], eax
jmp 0x4db736
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax + 8]
test ebx, ebx
js 0x4db0cb
lea edi, [ebx + 1]
mov esi, eax
call fcn.004047b0
mov eax, dword [ebp - 0x28]
mov ecx, esi
mov edx, dword [ecx + 4]
mov ecx, dword [ebp - 0x10]
push eax
mov dword [edx + ebx*4], ecx
call fcn.004d9b10
inc dword [ebp - 0x18]
add esp, 4
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4db78f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x70]
add dword [ebp - 0x14], 0x3c
inc ecx
mov dword [ebp + 8], ecx
cmp ecx, eax
jl 0x4db690
xor ecx, ecx
mov eax, dword [ebp - 0x5c]
mov dword [ebp + 8], ecx
cmp eax, ecx
jle 0x4db92c
mov dword [ebp - 0x24], ecx
jmp 0x4db7c3
mov ecx, dword [ebp + 8]
test ecx, ecx
js 0x4db0cb
cmp ecx, eax
jge 0x4db0cb
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x60]
mov dword [ebp - 0x20], edx
call fcn.0041d9cc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4db1b9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push str.Pin__d
push edx
call fcn.00402950
add esp, 0xc
push 0x28
call fcn.00415ec5
mov esi, eax
add esp, 4
mov dword [ebp - 0x48], esi
mov byte [ebp - 4], 0x29
test esi, esi
je 0x4db8b6
mov edi, dword [ebp - 0x14]
push ecx
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], esp
call edx
cmp dword [edi - 4], 0
lea ecx, [edi - 4]
jl 0x4db863
cmp eax, dword [edi - 0x10]
jne 0x4db863
lea ebx, [edi - 0x10]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4db89b
mov ecx, dword [edi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x4db9d2
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [edi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0045464a
add esp, 0x10
mov ecx, dword [ebp - 0x28]
add ebx, 0x10
mov dword [ecx], ebx
mov byte [ebp - 4], 0x2b
push esi
mov byte [ebp - 4], 0x29
call fcn.004806f0
mov dword [ebp - 0x10], eax
jmp 0x4db8bd
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0x28
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 8]
test ebx, ebx
js 0x4db0cb
lea edi, [ebx + 1]
mov esi, edx
call fcn.004047b0
mov ecx, dword [ebp - 0x10]
mov eax, esi
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x20]
push eax
mov dword [edx + ebx*4], ecx
call fcn.004d9b10
inc dword [ebp - 0x18]
add esp, 4
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4db916
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x5c]
add dword [ebp - 0x24], 0x3c
inc ecx
mov dword [ebp + 8], ecx
cmp ecx, eax
jl 0x4db7c0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x30]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4db94c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x44]
xor esi, esi
cmp eax, esi
je 0x4db963
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xb8]
call fcn.00482ea0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4db998
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4db9be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004036b0
int3