Function at 0x42a3f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce323
mov eax, dword fs:[0]
push eax
sub esp, 0x860
mov eax, dword [0x667d00]
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 ebx, ecx
mov dword [ebp - 0x86c], ebx
push 0x17
xor eax, eax
mov dword [ebp - 0x848], 0
push str.SOFTWAREClassesCLSID_
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x844], 7
mov word [ebp - 0x858], ax
call fcn.004032c0
push 0x26
push str.F7C71435_3F18_4903_B387_446346CA44B8
lea ecx, [ebp - 0x858]
mov dword [ebp - 4], 0
call fcn.00405ab0
cmp dword [ebp - 0x844], 8
lea edx, [ebp - 0x858]
mov dword [ebp - 0x818], 0
cmovae edx, dword [ebp - 0x858]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a4a4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x828]
call fcn.004032c0
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 1
push eax
push reloc.WS2_32.dll_bind
mov ecx, ebx
call fcn.0042a150
mov edx, dword [ebp - 0x814]
mov byte [ebp - 0x859], al
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x42a527
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a517
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a853
push edx
push ecx
call fcn.0059ce4e
mov al, byte [ebp - 0x859]
add esp, 8
test al, al
je 0x42a7f7
push 0x2c
push str.CLSIDF7C71435_3F18_4903_B387_446346CA44B8
lea ecx, [ebp - 0x858]
call fcn.004032c0
cmp dword [ebp - 0x844], 8
lea edx, [ebp - 0x858]
mov dword [ebp - 0x818], 0
cmovae edx, dword [ebp - 0x858]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a577
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x828]
call fcn.004032c0
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 2
push eax
push connect
mov ecx, ebx
call fcn.0042a150
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0
mov bl, al
call fcn.00403060
test bl, bl
je 0x42a7f7
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 0x860], 0
push 0
push eax
call fcn.005a26c0
add esp, 0xc
mov dword [ebp - 0x864], 0x800
lea eax, [ebp - 0x860]
mov dword [ebp - 0x868], 1
xor ebx, ebx
push eax
push 0xf013f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42a682
lea eax, [ebp - 0x864]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x868]
push eax
push ebx
push str.F7C71435_3F18_4903_B387_446346CA44B8
push dword [ebp - 0x860]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, str.BKPDF_Shell
lea eax, [ebp - 0x810]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42a676
test dx, dx
je 0x42a672
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42a676
add eax, 4
add ecx, 4
test dx, dx
jne 0x42a650
xor eax, eax
jmp 0x42a67b
sbb eax, eax
or eax, 1
xor ebx, ebx
test eax, eax
sete bl
push dword [ebp - 0x860]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x42a7f7
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0
push 0x5d87d4
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 3
call fcn.004030c0
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x81c]
call fcn.00428600
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 3
call fcn.00403060
push 0x5d8338
lea ecx, [ebp - 0x840]
call fcn.004030c0
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x81c]
call fcn.00428600
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 3
call fcn.00403060
push 0x5d8348
lea ecx, [ebp - 0x840]
call fcn.004030c0
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x81c]
call fcn.00428600
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 3
call fcn.00403060
push str.Drive
lea ecx, [ebp - 0x840]
call fcn.004030c0
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x81c]
call fcn.00428600
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 3
call fcn.00403060
push str.lnkfile
lea ecx, [ebp - 0x840]
call fcn.004030c0
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x81c]
call fcn.00428600
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 3
call fcn.00403060
mov esi, dword [ebp - 0x81c]
mov edi, dword [ebp - 0x818]
cmp esi, edi
je 0x42a7ea
mov ecx, dword [ebp - 0x86c]
push esi
call fcn.0042a860
mov bl, al
test bl, bl
je 0x42a7ea
add esi, 0x18
cmp esi, edi
jne 0x42a7d1
lea ecx, [ebp - 0x81c]
call fcn.00403e30
jmp 0x42a7f9
xor bl, bl
mov edx, dword [ebp - 0x844]
cmp edx, 8
jb 0x42a835
mov ecx, dword [ebp - 0x858]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a82b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a858
push edx
push ecx
call fcn.0059ce4e
add esp, 8
mov al, bl
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.0059d38a
mov esp, ebp
pop ebp
ret
call fcn.005a5c79
call fcn.005a5c79
int3