Function at 0x4268d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a40e6
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x4c6644]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd8], 0x80
push 0x4c90a4
lea eax, [ebp - 0xb8]
push eax
call fcn.0042c400
add esp, 8
mov dword [ebp - 4], 0
push 0x4c90c0
lea ecx, [ebp - 0xd4]
push ecx
call fcn.0042c400
add esp, 8
mov byte [ebp - 4], 1
lea edx, [ebp - 0x14]
push edx
push 0xf003f
push 0
push str.SoftwareFunshionFunshion
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x426b52
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
push 0x4ab0d4
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
je 0x426a24
movzx ecx, byte [0x4c9070]
test ecx, ecx
je 0x4269ea
call fcn.00421450
mov ecx, eax
call fcn.004214e0
test eax, eax
je 0x4269ea
push 0x4ab0e4
push 0x30
push 0x4ab0ec
push 0x4ab104
push 0x4ab12c
call fcn.00421450
mov ecx, eax
call fcn.004214e0
push eax
call fcn.0046c963
add esp, 0x18
push 0x4ab13c
call fcn.00421450
push eax
call fcn.00421420
add esp, 8
xor edx, edx
jne 0x426991
mov dword [ebp - 0xe0], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd4]
call fcn.004010c8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.004010c8
mov eax, dword [ebp - 0xe0]
jmp 0x426b83
lea ecx, [ebp - 0xb8]
call fcn.00403441
shl eax, 1
push eax
lea ecx, [ebp - 0xb8]
call fcn.004010f3
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0x4ab154
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x4ab164
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
je 0x426b19
movzx eax, byte [0x4c9070]
test eax, eax
je 0x426ae2
call fcn.00421450
mov ecx, eax
call fcn.004214e0
test eax, eax
je 0x426ae2
push 0x4ab17c
push 0x38
push str.modify_version_regtable
push 0x4ab19c
push 0x4ab1c4
call fcn.00421450
mov ecx, eax
call fcn.004214e0
push eax
call fcn.0046c963
add esp, 0x18
push str.RegQueryValueExA_Error
call fcn.00421450
push eax
call fcn.00421420
add esp, 8
xor ecx, ecx
jne 0x426a89
mov dword [ebp - 0xe4], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd4]
call fcn.004010c8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.004010c8
mov eax, dword [ebp - 0xe4]
jmp 0x426b83
lea ecx, [ebp - 0xd4]
call fcn.00403441
shl eax, 1
push eax
lea ecx, [ebp - 0xd4]
call fcn.004010f3
push eax
mov edx, dword [ebp - 0x10]
push edx
push 0
push str.Sub_Version
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xe8], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd4]
call fcn.004010c8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.004010c8
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00467392
mov esp, ebp
pop ebp
ret