Function at 0x429de0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cddd3
mov eax, dword fs:[0]
push eax
sub esp, 0x860
mov eax, dword [0x667ce0]
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.00403240
push 0x26
push str.F7C71435_3F18_4903_B387_446346CA44B8
lea ecx, [ebp - 0x858]
mov dword [ebp - 4], 0
call fcn.00405a30
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 0x429e94
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x828]
call fcn.00403240
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 1
push eax
push reloc.WS2_32.dll_bind
mov ecx, ebx
call fcn.00429b40
mov edx, dword [ebp - 0x814]
mov byte [ebp - 0x859], al
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x429f17
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429f07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a243
push edx
push ecx
call fcn.0059c9cd
mov al, byte [ebp - 0x859]
add esp, 8
test al, al
je 0x42a1e7
push 0x2c
push str.CLSIDF7C71435_3F18_4903_B387_446346CA44B8
lea ecx, [ebp - 0x858]
call fcn.00403240
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 0x429f67
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x828]
call fcn.00403240
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 2
push eax
push connect
mov ecx, ebx
call fcn.00429b40
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 0
mov bl, al
call fcn.00402fe0
test bl, bl
je 0x42a1e7
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 0x860], 0
push 0
push eax
call fcn.005a2240
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 0x42a072
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 0x42a066
test dx, dx
je 0x42a062
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42a066
add eax, 4
add ecx, 4
test dx, dx
jne 0x42a040
xor eax, eax
jmp 0x42a06b
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 0x42a1e7
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0
push 0x5d879c
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 3
call fcn.00403040
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x81c]
call fcn.00427ff0
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 3
call fcn.00402fe0
push 0x5d8300
lea ecx, [ebp - 0x840]
call fcn.00403040
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x81c]
call fcn.00427ff0
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 3
call fcn.00402fe0
push 0x5d8310
lea ecx, [ebp - 0x840]
call fcn.00403040
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x81c]
call fcn.00427ff0
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 3
call fcn.00402fe0
push str.Drive
lea ecx, [ebp - 0x840]
call fcn.00403040
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x81c]
call fcn.00427ff0
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 3
call fcn.00402fe0
push str.lnkfile
lea ecx, [ebp - 0x840]
call fcn.00403040
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x81c]
call fcn.00427ff0
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 3
call fcn.00402fe0
mov esi, dword [ebp - 0x81c]
mov edi, dword [ebp - 0x818]
cmp esi, edi
je 0x42a1da
mov ecx, dword [ebp - 0x86c]
push esi
call fcn.0042a250
mov bl, al
test bl, bl
je 0x42a1da
add esi, 0x18
cmp esi, edi
jne 0x42a1c1
lea ecx, [ebp - 0x81c]
call fcn.00403db0
jmp 0x42a1e9
xor bl, bl
mov edx, dword [ebp - 0x844]
cmp edx, 8
jb 0x42a225
mov ecx, dword [ebp - 0x858]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a21b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a248
push edx
push ecx
call fcn.0059c9cd
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.0059cf09
mov esp, ebp
pop ebp
ret
call fcn.005a57f9
call fcn.005a57f9
int3