Function at 0x42f1e0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44eda0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
lea eax, [ebp + 8]
mov dword [ebp - 0x10], esp
lea edx, [ebp - 0x40]
push eax
mov eax, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
mov esi, 1
xor ebx, ebx
push eax
push edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
call fcn.0042efa0
cmp eax, ebx
jne 0x42f22f
call fcn.00430050
lea eax, [ebp - 0x1c]
lea ecx, [ebp + 0xc]
push eax
push ecx
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push str.SOFTWARE360MachineSignature
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
je 0x42f273
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.RegCreateKeyExW__
push ebx
push 0x3b7
push str.E:_build2011_12_30_Release_AQHNewSign.cpp
call fcn.0042f4b0
add esp, 0x10
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x18], esi
cmp edi, ebx
jne 0x42f291
mov edx, dword [ebp + 0xc]
push str.Operator
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, dword [ebp + 0xc]
jmp 0x42f309
mov eax, 0x1000
xor esi, esi
mov ecx, edi
mov edx, eax
test eax, eax
je 0x42f2ca
cmp word [ecx], 0
je 0x42f2ac
add ecx, 2
dec eax
jmp 0x42f29c
test eax, eax
je 0x42f2ca
test ebx, ebx
jl 0x42f2ca
lea ecx, [ebp + 0xc]
test ecx, ecx
je 0x42f2bf
sub edx, eax
mov esi, edx
lea edx, [ebp + 0xc]
test edx, edx
je 0x42f2ca
add esi, esi
jmp 0x42f2cd
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add esi, 2
push esi
push edi
push 1
push 0
push str.Operator
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x42f309
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.RegCreateKeyExW__
push 0
push 0x3c4
push str.E:_build2011_12_30_Release_AQHNewSign.cpp
call fcn.0042f4b0
add esp, 0x10
mov edi, dword [ebp - 0x3c]
test edi, edi
jne 0x42f321
mov ecx, dword [ebp + 0xc]
push str.IssueDate
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x42f397
mov eax, 0x1000
xor ebx, ebx
mov ecx, edi
mov edx, eax
test eax, eax
je 0x42f35b
cmp word [ecx], 0
je 0x42f33c
add ecx, 2
dec eax
jmp 0x42f32c
test eax, eax
je 0x42f35b
xor ecx, ecx
test ecx, ecx
jl 0x42f35b
lea ecx, [ebp + 0xc]
test ecx, ecx
je 0x42f351
sub edx, eax
mov ebx, edx
lea edx, [ebp + 0xc]
test edx, edx
je 0x42f35b
lea esi, [ebx + ebx]
mov eax, dword [ebp + 0xc]
add esi, 2
push esi
push edi
push 1
push 0
push str.IssueDate
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x42f397
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.RegCreateKeyExW__
push 0
push 0x3d1
push str.E:_build2011_12_30_Release_AQHNewSign.cpp
call fcn.0042f4b0
add esp, 0x10
mov edi, dword [ebp - 0x38]
test edi, edi
jne 0x42f3af
mov ecx, dword [ebp + 0xc]
push str.ExpirationDate
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x42f425
mov eax, 0x1000
xor ebx, ebx
mov ecx, edi
mov edx, eax
test eax, eax
je 0x42f3e9
cmp word [ecx], 0
je 0x42f3ca
add ecx, 2
dec eax
jmp 0x42f3ba
test eax, eax
je 0x42f3e9
xor ecx, ecx
test ecx, ecx
jl 0x42f3e9
lea ecx, [ebp + 0xc]
test ecx, ecx
je 0x42f3df
sub edx, eax
mov ebx, edx
lea edx, [ebp + 0xc]
test edx, edx
je 0x42f3e9
lea esi, [ebx + ebx]
mov eax, dword [ebp + 0xc]
add esi, 2
push esi
push edi
push 1
push 0
push str.ExpirationDate
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x42f425
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.RegCreateKeyExW__
push 0
push 0x3de
push str.E:_build2011_12_30_Release_AQHNewSign.cpp
call fcn.0042f4b0
add esp, 0x10
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x42f462
mov ecx, dword [ebp + 0xc]
push str.SignData
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42f44c
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x24]
push edx
push eax
mov eax, dword [ebp + 0xc]
push 3
push 0
push str.SignData
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x42f43b
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.RegCreateKeyExW__
push 0
push 0x3ea
push str.E:_build2011_12_30_Release_AQHNewSign.cpp
call fcn.0042f4b0
add esp, 0x10
jmp 0x42f43b