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

Disassembly:
push 0xffffffffffffffff
push 0x425dae
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.00401dc0
push fcn.00403710
push 2
push 4
lea eax, [esp + 0x68]
push eax
call fcn.00419fb3
push fcn.00401dc0
push fcn.00403710
push 2
push 4
lea ecx, [esp + 0x70]
xor esi, esi
push ecx
mov dword [esp + 0x8c], esi
call fcn.00419fb3
mov byte [esp + 0x78], 1
mov dword [esp + 0x68], reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x6c], VariantClear
mov dword [esp + 0x18], esi
mov edi, edi
mov edx, dword [0x432844]
mov ecx, 0x432844
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov eax, dword [0x432844]
mov ecx, 0x432844
mov byte [esp + 0x78], 2
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x30], eax
mov edx, dword [0x432844]
mov ecx, 0x432844
mov byte [esp + 0x78], 3
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [0x432844]
mov ecx, 0x432844
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 [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d753
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 0x40d707
push 0x208
lea ecx, [esp + 0x20]
call fcn.00401f20
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
push edi
push 0x42753c
lea ecx, [esp + 0x44]
call fcn.0040a090
test edi, edi
jne 0x40d723
xor eax, eax
jmp 0x40d734
push edi
call fcn.004195c1
add esp, 4
test eax, eax
jl 0x40dedf
cmp eax, dword [edi - 8]
jg 0x40dedf
test esi, esi
mov dword [edi - 0xc], eax
mov word [edi + eax*2], 0
je 0x40d753
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
test esi, esi
mov byte [esp + 0x78], 5
je 0x40d763
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [edi - 0xc]
test eax, eax
jl 0x40dedf
cmp word [edi], 0
jne 0x40d795
push str.SoftwareClasseshttp_shellopencommand
call fcn.004195c1
add esp, 4
push eax
push str.SoftwareClasseshttp_shellopencommand
lea ecx, [esp + 0x18]
call fcn.004021e0
jmp 0x40d8d5
push str.SoftwareClasseshttp_shell
call fcn.004195c1
add esp, 4
push eax
push str.SoftwareClasseshttp_shell
lea ecx, [esp + 0x18]
call fcn.004021e0
push 0x428510
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.00403ef0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 7
call fcn.00404070
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 0x40d7fa
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.00408c40
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 8
call fcn.00404070
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 0x40d843
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.00403ef0
add esp, 0xc
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x7c], 9
call fcn.00404070
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 0x40d88c
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.00403ef0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0xa
call fcn.00404070
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 0x40d8d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x432844]
mov ecx, 0x432844
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.004025f0
push edi
push str._COMMAND_NAME_
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 0xd
call fcn.0040b400
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 [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40d955
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 [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d9f4
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 0x40d985
push 0x208
lea ecx, [esp + 0x24]
call fcn.00401f20
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x3c]
push edx
push esi
lea eax, [esp + 0x58]
push eax
push 0
push 0x42753c
push ebp
mov dword [esp + 0x54], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
jne 0x40d9ae
xor eax, eax
jmp 0x40d9bf
push esi
call fcn.004195c1
add esp, 4
test eax, eax
jl 0x40dedf
cmp eax, dword [esi - 8]
jg 0x40dedf
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.00404070
test ebp, ebp
je 0x40d9f4
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 0x40da17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test ebp, ebp
je 0x40da26
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebp
jmp 0x40da2c
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 0x40da4b
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 [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov edi, dword [esp + 0x14]
jne 0x40daf5
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 0x40daad
push 0x208
lea ecx, [esp + 0x18]
call fcn.00401f20
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x3c]
push edx
push edi
push 0x42753c
lea ecx, [esp + 0x44]
call fcn.0040a090
test edi, edi
jne 0x40dac9
xor eax, eax
jmp 0x40dada
push edi
call fcn.004195c1
add esp, 4
test eax, eax
jl 0x40dedf
cmp eax, dword [edi - 8]
jg 0x40dedf
test esi, esi
mov dword [edi - 0xc], eax
mov word [edi + eax*2], 0
je 0x40daf5
push esi
call ebp
xor esi, esi
test esi, esi
mov byte [esp + 0x78], 5
je 0x40db01
push esi
call ebp
mov eax, dword [edi - 0xc]
test eax, eax
je 0x40ddf0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExtsDDECache_DDENAME_WWW_OpenURL
lea ecx, [esp + 0x30]
call fcn.004025f0
mov eax, dword [esp + 0x14]
push eax
push str._DDENAME_
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 0xf
call fcn.0040b400
mov edx, dword [0x432844]
mov ecx, 0x432844
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 [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ddad
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 0x40dbaf
push 0x208
lea ecx, [esp + 0x3c]
call fcn.00401f20
mov ebp, dword [esp + 0x38]
lea edx, [esp + 0x3c]
push edx
push ebp
push str.ProcessName
lea ecx, [esp + 0x2c]
call fcn.0040a090
test esi, esi
je 0x40dbd6
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], 0
test ebp, ebp
jne 0x40dbde
xor eax, eax
jmp 0x40dbef
push ebp
call fcn.004195c1
add esp, 4
test eax, eax
jl 0x40dedf
cmp eax, dword [ebp - 8]
jg 0x40dedf
mov dword [ebp - 0xc], eax
mov word [ebp + eax*2], 0
mov eax, dword [0x432844]
mov ecx, 0x432844
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.00403570
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 0x40dc5f
push edi
lea ecx, [esp + 0x38]
call fcn.00401f20
mov esi, dword [esp + 0x34]
push esi
call fcn.00419dd6
add esp, 4
test edi, edi
jl 0x40dedf
cmp edi, dword [esi - 8]
jg 0x40dedf
lea eax, [ebp - 0x10]
mov dword [esi - 0xc], edi
push eax
mov word [esi + edi*2], 0
call fcn.00403570
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 0x40dcbe
push ebx
lea ecx, [esp + 0x40]
call fcn.00401f20
mov edi, dword [esp + 0x3c]
push edi
call fcn.00419dd6
add esp, 4
test ebx, ebx
jl 0x40dedf
cmp ebx, dword [edi - 8]
jg 0x40dedf
mov dword [edi - 0xc], ebx
mov word [edi + ebx*2], 0
mov eax, dword [edi - 0xc]
test eax, eax
je 0x40dd3d
mov eax, dword [esi - 0xc]
test eax, eax
jl 0x40dd06
push edi
push esi
call fcn.00419b65
add esp, 8
test eax, eax
je 0x40dd06
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x40dd3d
lea edx, [esp + 0x24]
push edx
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x5c], esp
mov ebx, esp
push eax
call fcn.00403570
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.0040d470
mov ecx, dword [esp + 0x20]
add esp, 8
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + ecx + 0x64]
call fcn.00404070
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 0x40dd5c
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 0x40dd7b
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 0x40dd9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40ddad
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 0x40ddcd
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 0x40ddf0
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 0x40de13
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 0x40de36
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 0x40de59
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 0x40de7c
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 0x40d640
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 0x40def5
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40dee9
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40dee9
push eax
call fcn.00403570
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40ded7
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [ebp], ebx
jmp 0x40def5
push 0x80070057
call fcn.00401220
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebp
call fcn.004021e0
mov ecx, dword [esp + 0x84]
lea eax, [esp + 0x5c]
push eax
call fcn.00404070
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 0x40df61
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40df55
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40df55
push eax
call fcn.00403570
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40df4d
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [ebp], ebx
jmp 0x40df61
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebp
call fcn.004021e0
mov ecx, dword [esp + 0x8c]
lea eax, [esp + 0x64]
push eax
call fcn.00404070
push fcn.00401dc0
push 2
push 4
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0x88], 0
call fcn.00419f53
push fcn.00401dc0
push 2
push 4
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x88], 0xffffffff
call fcn.00419f53
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