Function at 0x408a90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c5c0
mov eax, dword fs:[0]
push eax
sub esp, 0xed8
mov eax, dword [0x43d180]
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 ebx, ecx
mov dword [ebp - 0xee0], ebx
mov eax, dword [ebp + 8]
push 0
mov dword [ebp - 0xedc], eax
call fcn.00409ac0
mov ecx, ebx
call fcn.004108f0
mov esi, eax
mov dword [ebp - 0xed0], 0x1000
lea eax, [ebp - 0xed4]
mov dword [ebp - 0xed8], 4
push eax
push 1
push 0
push 0x42dcb8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0xed8]
push eax
lea eax, [ebp - 0xed0]
push eax
push 0
push 0
push 0x42d928
push dword [ebp - 0xed4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xed4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x29c], ax
lea eax, [ebp - 0x29a]
push eax
call fcn.00417930
lea eax, [ebp - 0x29c]
push eax
call fcn.00408d20
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.00417930
lea eax, [ebp - 0x90]
push eax
call fcn.00410880
lea ecx, [ebp - 0x4a4]
add esp, 0x20
mov eax, ecx
mov edx, 0x104
sub esi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x408bb3
movzx eax, word [esi + ecx]
test ax, ax
je 0x408bb3
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x408b95
jmp 0x408bb7
test edx, edx
jne 0x408bba
sub ecx, 2
xor eax, eax
mov word [ecx], ax
lea eax, [ebp - 0xee4]
push eax
lea eax, [ebp - 0x4a4]
push 0x42dee0
push eax
call fcn.00417ab8
mov dword [ebp - 0xed4], eax
lea eax, [ebp - 0xee4]
push eax
push 0x42dee0
push 0
call fcn.00417ab8
add esp, 0x18
mov dword [ebp - 0xed8], eax
cmp dword [ebp + 0xc], 0
je 0x408c4a
mov esi, dword [ebp - 0xed0]
lea edi, [ebx + 0x46dc]
call sub.GIDBIN1.dll_GIDSDKGetAppID
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x29c]
push eax
push esi
push dword [ebp - 0xedc]
push dword [ebp - 0xed8]
push dword [ebp - 0xed4]
push str._s___s__s_OEM_04XL_sV_sT_d
push 0x208
push edi
call fcn.00401280
add esp, 0x28
jmp 0x408cfd
mov ecx, ebx
call fcn.00410950
mov esi, dword [ebp - 0xed0]
test eax, eax
je 0x408cb5
mov ecx, ebx
call fcn.00410950
mov edi, eax
add ebx, 0x46dc
call sub.GIDBIN1.dll_GIDSDKGetAppID
mov ecx, dword [ebp - 0xee0]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x29c]
push eax
push esi
call fcn.00409e30
push eax
push edi
push dword [ebp - 0xedc]
push dword [ebp - 0xed8]
push dword [ebp - 0xed4]
push str._s___s__s_license_smachineid_sOEM_04XL_sV_sT_d
push 0x208
push ebx
call fcn.00401280
add esp, 0x30
mov eax, ebx
jmp 0x408cff
lea edi, [ebx + 0x46dc]
call sub.GIDBIN1.dll_GIDSDKGetAppID
push eax
lea eax, [ebp - 0x90]
mov ecx, ebx
push eax
lea eax, [ebp - 0x29c]
push eax
push esi
call fcn.00409e30
push eax
push dword [ebp - 0xedc]
push dword [ebp - 0xed8]
push dword [ebp - 0xed4]
push str._s___s__s_licensemachineid_sOEM_04XL_sV_sT_d
push 0x208
push edi
call fcn.00401280
add esp, 0x2c
mov eax, edi
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.00416230
mov esp, ebp
pop ebp
ret 8