Function at 0x406330
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xdc]
sub esp, 0xdc
push 0xfffffffffffffffe
push 0x43c350
push 0x41c330
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4417c0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0xd8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0xe4]
mov dword [ebp - 0x30], esi
push 0x391
xor ebx, ebx
push ebx
push esi
call fcn.0041a230
add esp, 0xc
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x28]
push eax
push 1
push ebx
push str.SoftwareBkav
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4063ba
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x406628
xor eax, eax
mov dword [ebp + 0xc8], eax
mov dword [ebp + 0xcc], eax
mov dword [ebp + 0xd0], eax
mov word [ebp + 0xd4], ax
mov byte [ebp + 0xd6], al
mov dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp + 0xc8]
push edx
lea eax, [ebp - 0x34]
push eax
push ebx
push str.szCardNumber
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call edi
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0xc8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406416
sub eax, edx
inc eax
cmp eax, 0xf
jne 0x4063ac
mov dword [ebp - 4], 0xfffffffe
jmp 0x406449
lea eax, [ebp - 0x20]
push eax
push 1
push ebx
push str.SoftwareBkav
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4063b3
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov word [ebp + 0xc], ax
mov byte [ebp + 0xe], al
mov dword [ebp - 0x1c], 0xf
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp]
push edx
lea eax, [ebp - 0x24]
push eax
push ebx
push str.szCardNumber
mov ecx, dword [ebp - 0x20]
push ecx
call edi
push 0xe
lea edx, [ebp]
push edx
lea eax, [esi + 0x320]
push eax
call fcn.0041b468
add esp, 0xc
mov byte [esi + 0x32e], bl
mov dword [ebp], ebx
mov dword [ebp - 0x1c], 4
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp]
push edx
lea eax, [ebp - 0x24]
push eax
push ebx
push str.szKeyExt
mov ecx, dword [ebp - 0x20]
push ecx
call edi
push 3
lea edx, [ebp]
push edx
lea eax, [esi + 0x38d]
push eax
call fcn.0041b468
mov byte [esi + 0x390], bl
push 0xc8
push ebx
lea ecx, [ebp]
push ecx
call fcn.0041a230
add esp, 0x18
mov dword [ebp - 0x1c], 0xc8
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x24]
push ecx
push ebx
push str.szCustomerAddress
mov edx, dword [ebp - 0x20]
push edx
call edi
push 0xc7
lea eax, [ebp]
push eax
lea ecx, [esi + 0xc8]
push ecx
call fcn.0041b468
mov byte [esi + 0x18f], bl
push 0xc8
push ebx
lea edx, [ebp]
push edx
call fcn.0041a230
add esp, 0x18
mov dword [ebp - 0x1c], 0xc8
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp]
push ecx
lea edx, [ebp - 0x24]
push edx
push ebx
push str.szCustomerEmail
mov eax, dword [ebp - 0x20]
push eax
call edi
push 0xc7
lea ecx, [ebp]
push ecx
lea edx, [esi + 0x258]
push edx
call fcn.0041b468
mov byte [esi + 0x31f], bl
push 0xc8
push ebx
lea eax, [ebp]
push eax
call fcn.0041a230
add esp, 0x18
mov dword [ebp - 0x1c], 0xc8
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp]
push edx
lea eax, [ebp - 0x24]
push eax
push ebx
push str.szCustomerName
mov ecx, dword [ebp - 0x20]
push ecx
call edi
push 0xc7
lea edx, [ebp]
push edx
push esi
call fcn.0041b468
mov byte [esi + 0xc7], bl
push 0xc8
push ebx
lea eax, [ebp]
push eax
call fcn.0041a230
add esp, 0x18
mov dword [ebp - 0x1c], 0xc8
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp]
push edx
lea eax, [ebp - 0x24]
push eax
push ebx
push str.szCustomerPhone
mov ecx, dword [ebp - 0x20]
push ecx
call edi
push 0xc7
lea edx, [ebp]
push edx
lea eax, [esi + 0x190]
push eax
call fcn.0041b468
add esp, 0xc
mov byte [esi + 0x257], bl
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xd8]
xor ecx, ebp
call fcn.0041a7bc
add ebp, 0xdc
mov esp, ebp
pop ebp
ret