Function at 0x43c6a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47507a
mov eax, dword fs:[0]
push eax
sub esp, 0x648
mov eax, dword [0x4a5010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x63c], edx
mov ebx, ecx
mov dword [ebp - 0x650], ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x638], 0
push dword [ebx]
mov dword [ebp - 0x634], 0
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x640]
call fcn.00401980
mov dword [ebp - 4], 0
call fcn.0043ba60
mov ecx, 0x600
or esi, 0xffffffff
cmp ax, cx
jb 0x43c798
call fcn.0043ba60
mov ecx, 0xa00
cmp ax, cx
jae 0x43c798
mov dword [ebp - 0x630], 0
lea eax, [ebp - 0x630]
mov byte [ebp - 4], 1
push eax
push str._n_vSN
push 3
push 0
push 0x47e0e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x43c77b
mov eax, dword [ebp - 0x630]
lea edx, [ebp - 0x634]
push edx
push dword [edi]
mov ecx, dword [eax]
push 1
push 0
push dword [ebp - 0x640]
push eax
call dword [ecx + 0x10]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x630]
test eax, eax
je 0x43c923
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x43c923
mov dword [ebp - 0x64c], 0
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.00458500
add esp, 0xc
lea ecx, [ebp - 0x64c]
push 0x20019
push dword [ebp - 0x640]
push 0x80000000
call fcn.0043d740
mov edi, dword [ebp - 0x64c]
or esi, 0xffffffff
test eax, eax
jne 0x43cc9f
lea eax, [ebp - 0x630]
mov dword [ebp - 0x630], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x654]
push eax
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43c855
mov eax, dword [ebp - 0x654]
cmp eax, 1
je 0x43c83a
cmp eax, 2
jne 0x43c855
mov eax, dword [ebp - 0x630]
test eax, eax
je 0x43c88f
test al, 1
jne 0x43c855
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x43c898
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x62c]
call fcn.00401980
mov byte [ebp - 4], 3
mov ecx, eax
mov dword [ebp - 0x638], 1
call fcn.00425550
mov ecx, eax
call fcn.004254a0
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x43c898
mov bl, 1
jmp 0x43c89a
xor eax, eax
mov word [ebp - 0x218], ax
xor bl, bl
mov dword [ebp - 4], 2
test byte [ebp - 0x638], 1
je 0x43c8c7
mov edx, dword [ebp - 0x62c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43c8c7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x43cc9f
mov ebx, dword [ebp - 0x650]
lea ecx, [ebp - 0x218]
mov eax, dword [ebx]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43c906
test dx, dx
je 0x43c902
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43c906
add eax, 4
add ecx, 4
test dx, dx
jne 0x43c8e0
xor ecx, ecx
jmp 0x43c90b
sbb ecx, ecx
or ecx, 1
xor eax, eax
test ecx, ecx
sete al
mov dword [ebp - 0x634], eax
test edi, edi
je 0x43c923
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x634], 0
je 0x43cc92
mov dword [ebp - 0x64c], 0
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0
push 0x208
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 4
push 0
push eax
call fcn.00458500
push str._shellopencommand
mov edx, ebx
mov dword [ebp - 0x634], 0
lea ecx, [ebp - 0x62c]
call fcn.0041af20
add esp, 0x10
lea ecx, [ebp - 0x64c]
push 0x20019
push dword [eax]
push 0x80000000
call fcn.0043d740
mov edx, dword [ebp - 0x62c]
test eax, eax
mov eax, esi
sete bl
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43c9bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x64c]
test bl, bl
je 0x43caee
push dword [ebp - 0x63c]
mov edx, 0x49105c
lea ecx, [ebp - 0x63c]
call fcn.0041ae50
push str.____1_
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x630]
call fcn.0041af20
add esp, 8
mov byte [ebp - 4], 7
mov eax, esi
mov edx, dword [ebp - 0x63c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ca1b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x638]
mov dword [ebp - 0x638], 0x208
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x62c]
push eax
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43cacd
mov eax, dword [ebp - 0x62c]
cmp eax, 1
je 0x43ca5d
cmp eax, 2
jne 0x43cacd
mov eax, dword [ebp - 0x638]
test eax, eax
je 0x43ca7a
test al, 1
jne 0x43cacd
shr eax, 1
cmp word [ebp + eax*2 - 0x422], 0
je 0x43ca83
jmp 0x43cacd
xor eax, eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x62c]
call fcn.00401980
push dword [eax]
push dword [ebp - 0x630]
call fcn.00459c42
mov edx, dword [ebp - 0x62c]
add esp, 8
neg eax
sbb eax, eax
add edx, 0xfffffff0
inc eax
mov dword [ebp - 0x634], eax
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43cacd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, esi
mov edx, dword [ebp - 0x630]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43caee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x43caf9
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x634], 0
je 0x43cc92
call fcn.0043ba60
mov ecx, 0xa00
cmp ax, cx
jb 0x43cc92
mov dword [ebp - 0x64c], 0
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0
push 0x208
lea eax, [ebp - 0x628]
mov byte [ebp - 4], 8
push 0
push eax
call fcn.00458500
lea eax, [ebp - 0x640]
mov edx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerFileExts_
push eax
lea ecx, [ebp - 0x62c]
call fcn.0041ae50
push str.UserChoice
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x63c]
call fcn.0041af20
add esp, 0x14
lea ecx, [ebp - 0x64c]
push 0x20019
push dword [eax]
push 0x80000001
call fcn.0043d740
mov edx, dword [ebp - 0x63c]
test eax, eax
mov eax, esi
sete bl
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43cbb7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov eax, esi
mov edx, dword [ebp - 0x62c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43cbd8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x64c]
test bl, bl
je 0x43cc87
lea eax, [ebp - 0x638]
mov dword [ebp - 0x638], 0x208
push eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x63c]
push eax
push 0
push str.ProgId
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43cc87
mov eax, dword [ebp - 0x63c]
cmp eax, 1
je 0x43cc27
cmp eax, 2
jne 0x43cc87
mov eax, dword [ebp - 0x638]
test eax, eax
je 0x43cc44
test al, 1
jne 0x43cc87
shr eax, 1
cmp word [ebp + eax*2 - 0x62a], 0
je 0x43cc4d
jmp 0x43cc87
xor eax, eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x62c]
call fcn.00401980
push dword [eax]
mov eax, dword [ebp - 0x650]
push dword [eax]
call fcn.00459c42
add esp, 8
lea ecx, [ebp - 0x62c]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x634], eax
call fcn.00401960
test edi, edi
je 0x43cc92
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
cmp dword [ebp - 0x634], ebx
setne bl
jmp 0x43ccac
test edi, edi
je 0x43ccaa
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x640]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x43ccce
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043f53f
mov esp, ebp
pop ebp
ret