Function at 0x40cee0
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4227de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
push fcn.00401b40
push fcn.00403660
push 2
push 4
lea eax, [esp + 0x68]
push eax
call fcn.00416c23
push fcn.00401b40
push fcn.00403660
push 2
push 4
lea ecx, [esp + 0x70]
xor esi, esi
push ecx
mov dword [esp + 0x8c], esi
call fcn.00416c23
mov byte [esp + 0x78], 1
mov dword [esp + 0x68], 0x80000002
mov dword [esp + 0x6c], 0x80000001
mov dword [esp + 0x18], esi
mov edi, edi
mov edx, dword [0x42cb58]
mov ecx, 0x42cb58
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov eax, dword [0x42cb58]
mov ecx, 0x42cb58
mov byte [esp + 0x78], 2
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x30], eax
mov edx, dword [0x42cb58]
mov ecx, 0x42cb58
mov byte [esp + 0x78], 3
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [0x42cb58]
mov ecx, 0x42cb58
mov byte [esp + 0x78], 4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], 0x208
xor esi, esi
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + ecx + 0x68]
lea edx, [esp + 0x24]
push edx
push 1
push esi
push str.SoftwareClasseshttp_shell
push ebx
mov byte [esp + 0x8c], 6
mov dword [esp + 0x38], esi
call dword [0x423004]
test eax, eax
jne 0x40d063
mov eax, dword [edi - 4]
mov esi, dword [esp + 0x24]
mov ecx, 1
sub ecx, eax
mov eax, dword [edi - 8]
sub eax, 0x208
or eax, ecx
mov dword [esp + 0x38], esi
jge 0x40d017
push 0x208
lea ecx, [esp + 0x20]
call fcn.00401f10
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
push edi
push 0x42351c
lea ecx, [esp + 0x44]
call fcn.004099e0
test edi, edi
jne 0x40d033
xor eax, eax
jmp 0x40d044
push edi
call fcn.00416231
add esp, 4
test eax, eax
jl 0x40d7ef
cmp eax, dword [edi - 8]
jg 0x40d7ef
test esi, esi
mov dword [edi - 0xc], eax
mov word [edi + eax*2], 0
je 0x40d063
push esi
call dword [0x423010]
xor esi, esi
test esi, esi
mov byte [esp + 0x78], 5
je 0x40d073
push esi
call dword [0x423010]
mov eax, dword [edi - 0xc]
test eax, eax
jl 0x40d7ef
cmp word [edi], 0
jne 0x40d0a5
push str.SoftwareClasseshttp_shellopencommand
call fcn.00416231
add esp, 4
push eax
push str.SoftwareClasseshttp_shellopencommand
lea ecx, [esp + 0x18]
call fcn.004021d0
jmp 0x40d1e5
push str.SoftwareClasseshttp_shell
call fcn.00416231
add esp, 4
push eax
push str.SoftwareClasseshttp_shell
lea ecx, [esp + 0x18]
call fcn.004021d0
push 0x424438
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.00403dd0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 7
call fcn.00403e90
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x78], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d10a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.00408720
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 8
call fcn.00403e90
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x78], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d153
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.ddeexecApplication
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.00403dd0
add esp, 0xc
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x7c], 9
call fcn.00403e90
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x78], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d19c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.command
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.00403dd0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0xa
call fcn.00403e90
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x78], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d1e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x42cb58]
mov ecx, 0x42cb58
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
xor ebp, ebp
mov dword [esp + 0x24], ebp
push str.SoftwareClasses_COMMAND_NAME_Shellopencommand
lea ecx, [esp + 0x2c]
mov byte [esp + 0x7c], 0xc
call fcn.004025a0
push edi
push str._COMMAND_NAME_
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 0xd
call fcn.0040ad00
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x34]
push ecx
push 1
push ebp
push edx
push ebx
mov dword [esp + 0x48], ebp
call dword [0x423004]
test eax, eax
je 0x40d265
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x34]
push eax
push 1
push ebp
push ecx
push ebx
mov dword [esp + 0x48], ebp
call dword [0x423004]
test eax, eax
jne 0x40d304
mov eax, dword [esi - 4]
mov ebp, dword [esp + 0x34]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x208
or eax, ecx
mov dword [esp + 0x24], ebp
jge 0x40d295
push 0x208
lea ecx, [esp + 0x24]
call fcn.00401f10
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x3c]
push edx
push esi
lea eax, [esp + 0x58]
push eax
push 0
push 0x42351c
push ebp
mov dword [esp + 0x54], 0x410
call dword [section..rdata]
test esi, esi
jne 0x40d2be
xor eax, eax
jmp 0x40d2cf
push esi
call fcn.00416231
add esp, 4
test eax, eax
jl 0x40d7ef
cmp eax, dword [esi - 8]
jg 0x40d7ef
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi - 0xc], eax
lea ecx, [esp + ecx + 0x5c]
mov word [esi + eax*2], 0
call fcn.00403e90
test ebp, ebp
je 0x40d304
push ebp
call dword [0x423010]
xor ebp, ebp
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x78], 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d327
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test ebp, ebp
je 0x40d336
push ebp
mov ebp, dword [0x423010]
call ebp
jmp 0x40d33c
mov ebp, dword [0x423010]
add esi, 0xfffffff0
mov byte [esp + 0x78], 5
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d35b
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov dword [esp + 0x3c], 0x208
xor esi, esi
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x34]
push eax
push 1
push esi
push ecx
push ebx
mov byte [esp + 0x8c], 0xe
mov dword [esp + 0x48], esi
call dword [0x423004]
test eax, eax
mov edi, dword [esp + 0x14]
jne 0x40d405
mov eax, dword [edi - 4]
mov esi, dword [esp + 0x34]
mov ecx, 1
sub ecx, eax
mov eax, dword [edi - 8]
sub eax, 0x208
or eax, ecx
mov dword [esp + 0x38], esi
jge 0x40d3bd
push 0x208
lea ecx, [esp + 0x18]
call fcn.00401f10
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x3c]
push edx
push edi
push 0x42351c
lea ecx, [esp + 0x44]
call fcn.004099e0
test edi, edi
jne 0x40d3d9
xor eax, eax
jmp 0x40d3ea
push edi
call fcn.00416231
add esp, 4
test eax, eax
jl 0x40d7ef
cmp eax, dword [edi - 8]
jg 0x40d7ef
test esi, esi
mov dword [edi - 0xc], eax
mov word [edi + eax*2], 0
je 0x40d405
push esi
call ebp
xor esi, esi
test esi, esi
mov byte [esp + 0x78], 5
je 0x40d411
push esi
call ebp
mov eax, dword [edi - 0xc]
test eax, eax
je 0x40d700
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExtsDDECache_DDENAME_WWW_OpenURL
lea ecx, [esp + 0x30]
call fcn.004025a0
mov eax, dword [esp + 0x14]
push eax
push str._DDENAME_
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 0xf
call fcn.0040ad00
mov edx, dword [0x42cb58]
mov ecx, 0x42cb58
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], 0x208
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x34]
push eax
push 1
push 0
push ecx
push ebx
mov byte [esp + 0x8c], 0x11
mov dword [esp + 0x48], 0
call dword [0x423004]
test eax, eax
jne 0x40d6bd
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov esi, dword [esp + 0x34]
mov ecx, 1
sub ecx, ebx
sub eax, 0x208
or eax, ecx
mov dword [esp + 0x20], esi
jge 0x40d4bf
push 0x208
lea ecx, [esp + 0x3c]
call fcn.00401f10
mov ebp, dword [esp + 0x38]
lea edx, [esp + 0x3c]
push edx
push ebp
push str.ProcessName
lea ecx, [esp + 0x2c]
call fcn.004099e0
test esi, esi
je 0x40d4e6
push esi
call dword [0x423010]
mov dword [esp + 0x20], 0
test ebp, ebp
jne 0x40d4ee
xor eax, eax
jmp 0x40d4ff
push ebp
call fcn.00416231
add esp, 4
test eax, eax
jl 0x40d7ef
cmp eax, dword [ebp - 8]
jg 0x40d7ef
mov dword [ebp - 0xc], eax
mov word [ebp + eax*2], 0
mov eax, dword [0x42cb58]
mov ecx, 0x42cb58
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + ecx + 0x58]
sub eax, 0x10
push eax
mov byte [esp + 0x7c], 0x12
call fcn.004034c0
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x34], esi
mov eax, dword [esi - 4]
mov edi, dword [esi - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, edi
or eax, ecx
mov byte [esp + 0x78], 0x13
jge 0x40d56f
push edi
lea ecx, [esp + 0x38]
call fcn.00401f10
mov esi, dword [esp + 0x34]
push esi
call fcn.00416a46
add esp, 4
test edi, edi
jl 0x40d7ef
cmp edi, dword [esi - 8]
jg 0x40d7ef
lea eax, [ebp - 0x10]
mov dword [esi - 0xc], edi
push eax
mov word [esi + edi*2], 0
call fcn.004034c0
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x3c], edi
mov eax, dword [edi - 4]
mov ebx, dword [edi - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [edi - 8]
sub eax, ebx
or eax, ecx
mov byte [esp + 0x78], 0x14
jge 0x40d5ce
push ebx
lea ecx, [esp + 0x40]
call fcn.00401f10
mov edi, dword [esp + 0x3c]
push edi
call fcn.00416a46
add esp, 4
test ebx, ebx
jl 0x40d7ef
cmp ebx, dword [edi - 8]
jg 0x40d7ef
mov dword [edi - 0xc], ebx
mov word [edi + ebx*2], 0
mov eax, dword [edi - 0xc]
test eax, eax
je 0x40d64d
mov eax, dword [esi - 0xc]
test eax, eax
jl 0x40d616
push edi
push esi
call fcn.004167d5
add esp, 8
test eax, eax
je 0x40d616
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x40d64d
lea edx, [esp + 0x24]
push edx
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x5c], esp
mov ebx, esp
push eax
call fcn.004034c0
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.0040cd80
mov ecx, dword [esp + 0x20]
add esp, 8
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + ecx + 0x64]
call fcn.00403e90
add edi, 0xfffffff0
mov byte [esp + 0x78], 0x13
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d66c
mov ecx, dword [edi]
mov eax, dword [ecx]
push edi
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x78], 0x12
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d68b
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x78], 0x11
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d6ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40d6bd
push eax
call dword [0x423010]
add ebp, 0xfffffff0
mov byte [esp + 0x78], 0xf
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d6dd
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x78], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d700
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x78], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d723
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x78], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d746
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x78], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d769
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x78], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d78c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 4
cmp eax, 8
mov dword [esp + 0x18], eax
jl 0x40cf50
mov ebp, dword [esp + 0x80]
mov ecx, dword [esp + 0x58]
mov esi, dword [ebp]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x40d805
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40d7f9
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40d7f9
push eax
call fcn.004034c0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40d7e7
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [ebp], ebx
jmp 0x40d805
push 0x80070057
call fcn.00401220
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebp
call fcn.004021d0
mov ecx, dword [esp + 0x84]
lea eax, [esp + 0x5c]
push eax
call fcn.00403e90
mov ebp, dword [esp + 0x88]
mov ecx, dword [esp + 0x60]
mov esi, dword [ebp]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x40d871
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40d865
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40d865
push eax
call fcn.004034c0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40d85d
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [ebp], ebx
jmp 0x40d871
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebp
call fcn.004021d0
mov ecx, dword [esp + 0x8c]
lea eax, [esp + 0x64]
push eax
call fcn.00403e90
push fcn.00401b40
push 2
push 4
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0x88], 0
call fcn.00416bc3
push fcn.00401b40
push 2
push 4
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x88], 0xffffffff
call fcn.00416bc3
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret 0x10