Function at 0x43a1b1
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x328
lea ebp, [esp - 4]
mov eax, dword [0x517774]
xor eax, ebp
mov dword [ebp + 0x328], eax
push 0x10
mov eax, 0x4cb8ff
call fcn.0049aeba
mov eax, dword [ebp + 0x334]
mov ecx, dword [ebp + 0x340]
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], ecx
cmp eax, ebx
jne 0x43a1f4
xor eax, eax
jmp 0x43a499
movzx ecx, word [ebp + 0x338]
push ecx
push eax
push str.IsSWFirst__pAutorun_s__langID0x_x__n
push 2
mov esi, 0x519518
push esi
call fcn.00402450
mov edi, 0x103
push edi
lea eax, [ebp + 0x1d]
push ebx
push eax
mov byte [ebp + 0x1c], bl
call fcn.00497680
push edi
lea eax, [ebp + 0x225]
push ebx
push eax
mov byte [ebp + 0x224], bl
call fcn.00497680
push edi
lea eax, [ebp + 0x121]
push ebx
push eax
mov byte [ebp + 0x120], bl
call fcn.00497680
push dword [ebp + 0x338]
inc edi
push edi
lea eax, [ebp + 0x1c]
push eax
push str.DIVISION
mov ebx, 0x4d4294
push ebx
push dword [ebp - 0x10]
call fcn.00436830
add esp, 0x50
test eax, eax
jne 0x43a29d
push dword [ebp - 0x10]
push str.DIVISION
push str.Could_not_get__s_value_from__s.__Assuming_SW_First._n
push 8
push esi
call fcn.00402450
push str.IsSWFirst____n_n
push 4
push esi
call fcn.00402450
xor eax, eax
add esp, 0x20
inc eax
jmp 0x43a499
push 0
lea ecx, [ebp]
mov dword [ebp + 0x18], 0xf
call fcn.00401260
and dword [ebp - 4], 0
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call fcn.0043a070
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
pop ecx
pop ecx
jae 0x43a2cc
lea eax, [ebp + 4]
push eax
push str.The_event_name___s_n
push 0x20
push esi
call fcn.00402450
push dword [ebp + 0x338]
lea eax, [ebp + 0x224]
push edi
push eax
push str.RegistryManufacturer
push ebx
push dword [ebp - 0x10]
call fcn.00436830
add esp, 0x28
test eax, eax
jne 0x43a335
push dword [ebp + 0x338]
lea eax, [ebp + 0x224]
push edi
push eax
push str.Manufacturer
push ebx
push dword [ebp - 0x10]
call fcn.00436830
add esp, 0x18
test eax, eax
jne 0x43a335
push str.Hewlett_Packard
lea eax, [ebp + 0x224]
push edi
push eax
call fcn.00497fe1
add esp, 0xc
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x224]
push eax
push str.SOFTWARE_s_sC32
lea eax, [ebp + 0x120]
push edi
push eax
call fcn.00497562
mov eax, dword [ebp + 4]
add esp, 0x14
cmp dword [ebp + 0x18], 0x10
jae 0x43a361
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x120]
push eax
push str.Checking_registry.__key_s___value_s_n
push 0x20
pop ebx
push ebx
push esi
call fcn.00402450
xor eax, eax
xor edi, edi
cmp dword [ebp + 0x33c], edi
push edi
setne al
lea ecx, [ebp - 0x14]
push ecx
lea eax, [eax + eax + 0x20019]
push eax
push edi
lea eax, [ebp + 0x120]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00429833
add esp, 0x2c
test eax, eax
jne 0x43a46a
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x18], edi
jae 0x43a3c5
lea eax, [ebp + 4]
lea ecx, [ebp - 0x18]
push ecx
push edi
lea ecx, [ebp - 0x10]
push ecx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push dword [ebp - 0x14]
call edi
test eax, eax
jne 0x43a44b
push str.Registry_value_exists.__Is_HARDWARE_FIRST_n
push ebx
push esi
call fcn.00402450
mov eax, dword [ebp - 0x1c]
add esp, 0xc
xor ebx, ebx
test eax, eax
je 0x43a42a
mov ecx, dword [ebp + 0x344]
cmp ecx, dword [ebp - 0x18]
jb 0x43a42a
cmp dword [ebp - 0x10], 1
jne 0x43a42a
cmp dword [ebp + 0x18], 0x10
mov ecx, dword [ebp + 4]
mov byte [eax], bl
jae 0x43a416
lea ecx, [ebp + 4]
lea edx, [ebp + 0x344]
push edx
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push ecx
push dword [ebp - 0x14]
call edi
cmp dword [ebp + 0x33c], 0
je 0x43a45d
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x43a43f
lea eax, [ebp + 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x43a45d
push str.Could_not_read_registry_value.__Is_SOFTWARE_FIRST_n
push ebx
push esi
call fcn.00402450
xor ebx, ebx
add esp, 0xc
inc ebx
push dword [ebp - 0x14]
call fcn.00429cef
pop ecx
xor edi, edi
jmp 0x43a47c
push str.Could_not_open_registry_key.__Is_SOFTWARE_FIRST_n
push ebx
push esi
call fcn.00402450
xor ebx, ebx
add esp, 0xc
inc ebx
push str.IsSWFirst____n_n
push 4
push esi
call fcn.00402450
add esp, 0xc
push edi
push 1
lea ecx, [ebp]
call fcn.00401a30
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x328]
xor ecx, ebp
call fcn.004974ba
add ebp, 0x32c
leave
ret