Function at 0x434340
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c123
mov eax, dword fs:[0]
push eax
sub esp, 0x858
mov eax, dword [0x6102d4]
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 edi, ecx
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.0041e7b0
push 0x26
push str.E95AFCA5_7A39_42C6_82E7_502AD09FF383
lea ecx, [ebp - 0x858]
mov dword [ebp - 4], 0
call fcn.004114b0
cmp dword [ebp - 0x844], 8
lea eax, [ebp - 0x858]
mov dword [ebp - 0x830], 0
cmovae eax, dword [ebp - 0x858]
xor ecx, ecx
mov word [ebp - 0x840], cx
lea ecx, [ebp - 0x840]
push eax
mov dword [ebp - 0x82c], 7
call fcn.0041e7b0
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 1
push eax
push reloc.WS2_32.dll_bind
mov ecx, edi
call fcn.004340a0
mov edx, dword [ebp - 0x82c]
mov bl, al
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x434450
mov ecx, dword [ebp - 0x840]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x434446
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4347f2
push edx
push ecx
call fcn.0045ec62
add esp, 8
test bl, bl
je 0x434796
push str.CLSIDE95AFCA5_7A39_42C6_82E7_502AD09FF383
lea ecx, [ebp - 0x858]
call fcn.0041e7b0
cmp dword [ebp - 0x844], 8
lea eax, [ebp - 0x858]
mov dword [ebp - 0x830], 0
cmovae eax, dword [ebp - 0x858]
xor ecx, ecx
mov word [ebp - 0x840], cx
lea ecx, [ebp - 0x840]
push eax
mov dword [ebp - 0x82c], 7
call fcn.0041e7b0
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 2
push eax
push accept
mov ecx, edi
call fcn.004340a0
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 0
mov bl, al
call fcn.0040a530
test bl, bl
je 0x434796
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 0x85c], 0
push 0
push eax
call fcn.0056f980
add esp, 0xc
mov dword [ebp - 0x860], 0x800
lea eax, [ebp - 0x85c]
mov dword [ebp - 0x864], 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 0x434592
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x864]
push eax
push ebx
push str.E95AFCA5_7A39_42C6_82E7_502AD09FF383
push dword [ebp - 0x85c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, str.ChinaYXHShell
lea eax, [ebp - 0x810]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x434586
test dx, dx
je 0x434582
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x434586
add eax, 4
add ecx, 4
test dx, dx
jne 0x434560
xor eax, eax
jmp 0x43458b
sbb eax, eax
or eax, 1
xor ebx, ebx
test eax, eax
sete bl
push dword [ebp - 0x85c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x434796
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0
xor eax, eax
mov byte [ebp - 4], 3
push 0x5a5184
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
call fcn.0041e7b0
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x834]
call fcn.004119b0
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 3
call fcn.0040a530
xor eax, eax
mov dword [ebp - 0x818], 0
push 0x5a4cf8
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
call fcn.0041e7b0
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x834]
call fcn.004119b0
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 3
call fcn.0040a530
xor eax, eax
mov dword [ebp - 0x818], 0
push 0x5a4d08
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
call fcn.0041e7b0
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x834]
call fcn.004119b0
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 3
call fcn.0040a530
xor eax, eax
mov dword [ebp - 0x818], 0
push str.Drive
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
call fcn.0041e7b0
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x834]
call fcn.004119b0
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 3
call fcn.0040a530
xor eax, eax
mov dword [ebp - 0x818], 0
push str.lnkfile
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
call fcn.0041e7b0
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x834]
call fcn.004119b0
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 3
call fcn.0040a530
mov esi, dword [ebp - 0x834]
cmp esi, dword [ebp - 0x830]
je 0x434789
push esi
mov ecx, edi
call fcn.00434800
mov bl, al
test bl, bl
je 0x434789
add esi, 0x18
cmp esi, dword [ebp - 0x830]
jne 0x434770
lea ecx, [ebp - 0x834]
call fcn.0040f780
jmp 0x434798
xor bl, bl
mov edx, dword [ebp - 0x844]
cmp edx, 8
jb 0x4347d4
mov ecx, dword [ebp - 0x858]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4347ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4347f7
push edx
push ecx
call fcn.0045ec62
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.0045ef18
mov esp, ebp
pop ebp
ret
call fcn.00572b79
call fcn.00572b79
int3