Function at 0x42e430
Capabilities:
Check for peb beingdebugged flag
Delete registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x46a7eb
mov eax, dword fs:[0]
push eax
sub esp, 0xc8c
mov eax, dword [0x4832f0]
xor eax, esp
mov dword [esp + 0xc88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4832f0]
xor eax, esp
push eax
lea eax, [esp + 0xca0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xcb0]
mov ebp, dword [esp + 0xcb4]
xor ebx, ebx
push 0xc50
mov edi, ecx
lea ecx, [esp + 0x50]
push ebx
push ecx
mov esi, edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.0044e9d0
movzx eax, word [esi]
add esp, 0xc
xor ecx, ecx
lea edx, [esi + 2]
cmp eax, ebx
je 0x42e4d2
jmp 0x42e4c0
imul ecx, ecx, 0x1003f
add ecx, eax
movzx eax, word [edx]
add edx, 2
cmp eax, ebx
jne 0x42e4c0
cmp dword [edi + 0x244], 8
jb 0x42e4e3
mov eax, dword [edi + 0x230]
jmp 0x42e4e9
lea eax, [edi + 0x230]
mov edx, dword [edi]
xor edx, ecx
push edx
push eax
lea eax, [esp + 0x54]
push str._s_x
push eax
mov ecx, 0x628
call fcn.00402ee0
add esp, 0x10
cmp eax, ebx
jl 0x42e688
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42e513
sub eax, edx
mov edx, dword [edi + 0x268]
lea ecx, [esp + 0x4c]
push ecx
sar eax, 1
push edx
lea esi, [eax + eax + 2]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [esp + 0x24]
push eax
mov eax, dword [edi + 0x268]
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0x2001f
push 1
push ebx
push ebx
lea edx, [esp + 0x68]
push edx
push eax
call ebp
test eax, eax
jne 0x42e688
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
push esi
push ecx
push 1
push ebx
push str.Progid
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x42e688
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
push 0x2001f
push 1
push ebx
push ebx
push 0x4763f8
push edx
mov dword [esp + 0x48], ebx
call ebp
test eax, eax
jne 0x42e688
mov eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov esi, dword [esp + 0x2c]
push esi
push 1
push ebx
push str.Progid
push eax
call ebp
cmp eax, ebx
jne 0x42e688
call fcn.004022c0
call fcn.00431850
test eax, eax
je 0x42e680
xor ecx, ecx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], cx
mov dword [esp + 0xca8], ebx
cmp dword [edi + 0x228], 8
jb 0x42e615
mov edi, dword [edi + 0x214]
jmp 0x42e61b
add edi, 0x214
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x30]
push edx
push edi
mov edx, esi
call fcn.0042c570
test eax, eax
jne 0x42e644
lea eax, [esp + 0x30]
call fcn.0042f700
lea esi, [esp + 0x30]
call fcn.00402290
jmp 0x42e688
cmp dword [esp + 0x48], 8
mov eax, dword [esp + 0x34]
jae 0x42e653
lea eax, [esp + 0x34]
mov ecx, dword [esp + 0x44]
lea edx, [ecx + ecx + 2]
push edx
push eax
mov eax, dword [esp + 0x24]
push 1
push ebx
push str.Hash
push eax
call ebp
lea esi, [esp + 0x30]
test eax, eax
je 0x42e67b
call fcn.00402290
jmp 0x42e688
call fcn.00402290
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x42e699
push eax
call esi
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x42e6a4
push eax
call esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xca0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc88]
xor ecx, esp
call fcn.0044b6ee
add esp, 0xc98
ret 8