Function at 0x416310
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4881d2
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x4b1070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4a8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4ac], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x104
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x278]
push 0
push eax
call fcn.0045cfa0
push str.CPurchase::GetPurchase
lea eax, [ebp - 0x278]
push 0x104
push eax
call fcn.004669d0
add esp, 0x18
lea eax, [ebp - 0x278]
push eax
push str._s_in.
push 0
push str.CLogInOut::CLogInOut
push str.E:Projectdtl_deputilitycompany_sdk_newoutputdtlcommonlib_trunkinclude_base_log.h
push 0x9a
call fcn.0042a0f0
push eax
call fcn.0042a3f0
add esp, 0x1c
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x488]
call fcn.0042abe0
push str.SOFTWAREDTLSoft
lea eax, [ebp - 0x484]
mov dword [ebp - 0x488], 0x80000002
push 0x104
push eax
call fcn.004668f7
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0045cfa0
add esp, 0x18
mov dword [ebp - 0x4a4], 0x104
lea eax, [ebp - 0x48c]
mov dword [ebp - 0x48c], 0
xor bl, bl
mov dword [ebp - 0x118], 0
push eax
mov eax, dword [ebp - 0x27c]
or eax, 1
push eax
push 0
lea eax, [ebp - 0x484]
push eax
push dword [ebp - 0x488]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41647a
lea eax, [ebp - 0x4a4]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
push 0
push str.Purchase
push dword [ebp - 0x48c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
mov eax, dword [ebp - 0x48c]
test eax, eax
je 0x41648b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x4164b5
push str.GetPurchase_1111
push 0
push str.CPurchase::GetPurchase
push str...DriverthelifeUIPurchase.cpp
push 0x1e
call fcn.0042a0f0
push eax
call fcn.0042a3f0
add esp, 0x18
jmp 0x416914
xor eax, eax
lea ecx, [ebp - 0x170]
xorps xmm0, xmm0
mov dword [ebp - 0x118], eax
movlpd qword [ebp - 0x4b4], xmm0
call fcn.004030c0
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x130], 0
jne 0x41650f
xor ecx, ecx
jmp 0x416521
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416518
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x130]
call fcn.00404c80
mov byte [ebp - 4], 1
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x170]
call fcn.00402c20
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x11c]
cmp eax, 0x10
jb 0x416573
inc eax
lea ecx, [ebp - 0x130]
push eax
push dword [ebp - 0x130]
call fcn.00404de0
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x130], 0
mov dword [ebp - 0x49c], 0
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x49c]
push ecx
mov dword [ebp - 0x48c], eax
lea edx, [ebp - 0x148]
lea eax, [ebp - 0x48c]
push eax
push ecx
lea ecx, [ebp - 0x4a0]
call fcn.00416cb0
mov esi, dword [ebp - 0x49c]
add esp, 0xc
cmp esi, dword [ebp - 0x498]
je 0x41684f
mov ecx, dword [ebp - 0x4b4]
mov ebx, dword [ebp - 0x4b0]
mov byte [ebp - 0x490], 0x3d
mov dword [ebp - 0x48c], ecx
push ecx
push 0
lea eax, [ebp - 0x490]
mov ecx, esi
push eax
call fcn.00416ba0
mov edi, eax
cmp edi, 0xffffffff
je 0x41675a
push edi
push 0
lea eax, [ebp - 0x160]
mov ecx, esi
push eax
call fcn.00416b30
mov byte [ebp - 4], 5
lea eax, [edi + 1]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x130]
mov ecx, esi
push eax
call fcn.00416b30
mov byte [ebp - 4], 6
lea eax, [ebp - 0x160]
cmp dword [ebp - 0x14c], 0x10
push str.type
cmovae eax, dword [ebp - 0x160]
push eax
call fcn.0046dfb9
add esp, 8
test eax, eax
jne 0x416695
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
cmovae eax, dword [ebp - 0x130]
push eax
call fcn.0046ecf0
mov dword [ebp - 0x118], eax
jmp 0x4166dd
cmp dword [ebp - 0x14c], 0x10
lea eax, [ebp - 0x160]
push str.date
cmovae eax, dword [ebp - 0x160]
push eax
call fcn.0046dfb9
add esp, 8
test eax, eax
jne 0x4166e0
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
cmovae eax, dword [ebp - 0x130]
push eax
call fcn.0046ec9c
mov dword [ebp - 0x48c], eax
mov ebx, edx
add esp, 4
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x11c]
cmp ecx, 0x10
jb 0x416702
inc ecx
push ecx
push dword [ebp - 0x130]
lea ecx, [ebp - 0x130]
call fcn.00404de0
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x130], 0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14c]
cmp eax, 0x10
jb 0x41673f
inc eax
lea ecx, [ebp - 0x160]
push eax
push dword [ebp - 0x160]
call fcn.00404de0
mov dword [ebp - 0x14c], 0xf
mov dword [ebp - 0x150], 0
mov byte [ebp - 0x160], 0
add esi, 0x18
cmp esi, dword [ebp - 0x498]
jne 0x416604
mov ecx, dword [ebp - 0x48c]
mov eax, ecx
or eax, ebx
je 0x41684f
mov edx, dword [ebp - 0x4a8]
mov eax, dword [ebp - 0x118]
mov dword [edx], eax
mov eax, dword [ebp - 0x4ac]
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x49c]
test ecx, ecx
je 0x4167f9
push dword [ebp - 0x4a0]
mov edx, dword [ebp - 0x498]
push ecx
call fcn.004159c0
mov ecx, dword [ebp - 0x494]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x49c]
add esp, 8
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00412920
mov dword [ebp - 0x49c], 0
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x134]
cmp eax, 0x10
jb 0x41681b
inc eax
lea ecx, [ebp - 0x148]
push eax
push dword [ebp - 0x148]
call fcn.00404de0
mov dword [ebp - 0x134], 0xf
mov dword [ebp - 0x138], 0
mov byte [ebp - 0x148], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.00401810
mov al, 1
jmp 0x416928
push str.GetPurchase_2222
push 0
push str.CPurchase::GetPurchase
push str...DriverthelifeUIPurchase.cpp
push 0x3f
call fcn.0042a0f0
push eax
call fcn.0042a3f0
add esp, 0x18
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x49c]
test ecx, ecx
je 0x4168d7
push dword [ebp - 0x4a0]
mov edx, dword [ebp - 0x498]
push ecx
call fcn.004159c0
mov ecx, dword [ebp - 0x494]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x49c]
add esp, 8
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00412920
mov dword [ebp - 0x49c], 0
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x134]
cmp eax, 0x10
jb 0x4168f9
inc eax
lea ecx, [ebp - 0x148]
push eax
push dword [ebp - 0x148]
call fcn.00404de0
mov dword [ebp - 0x134], 0xf
mov dword [ebp - 0x138], 0
mov byte [ebp - 0x148], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.00401810
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ed56
mov esp, ebp
pop ebp
ret 8