Function at 0x4559d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dd8f1
mov eax, dword fs:[0]
push eax
sub esp, 0xa60
mov eax, dword [0x790f00]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0xa64], esi
mov dword [ebp - 0xa58], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0xa68], esi
movups xmmword [ebp - 0xa4c], xmm0
mov dword [ebp - 0xa3c], 0
mov dword [ebp - 0xa38], 7
mov word [ebp - 0xa4c], ax
lea eax, [ebp - 0xa54]
mov byte [ebp - 4], 1
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftXboxLive
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x455c56
xor ecx, ecx
mov dword [ebp - 0xa34], 0x1fe
mov dword [ebp - 0xa50], 0x800
mov eax, ecx
inc ecx
mov dword [ebp - 0xa60], ecx
lea ecx, [ebp - 0xa50]
push ecx
lea ecx, [ebp - 0xa14]
push ecx
lea ecx, [ebp - 0xa18]
push ecx
push 0
lea ecx, [ebp - 0xa34]
push ecx
lea ecx, [ebp - 0x214]
push ecx
push eax
push dword [ebp - 0xa54]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x455c3f
mov eax, dword [ebp - 0xa50]
lea ecx, [ebp - 0xa30]
shr eax, 1
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0xa14]
mov dword [ebp - 0xa20], 0
push eax
movups xmmword [ebp - 0xa30], xmm0
mov dword [ebp - 0xa1c], 0
call fcn.0048f810
lea eax, [ebp - 0x214]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xa4c]
call fcn.00488eb0
push 0x774f1c
lea ecx, [ebp - 0xa4c]
call fcn.00488eb0
cmp dword [ebp - 0xa1c], 7
lea ecx, [ebp - 0xa30]
mov edi, dword [ebp - 0xa30]
mov esi, dword [ebp - 0xa3c]
cmova ecx, edi
mov eax, dword [ebp - 0xa38]
mov edx, dword [ebp - 0xa20]
sub eax, esi
mov dword [ebp - 0xa58], ecx
mov dword [ebp - 0xa5c], esi
cmp edx, eax
ja 0x455bac
cmp dword [ebp - 0xa38], 7
lea eax, [edx + esi]
mov dword [ebp - 0xa3c], eax
lea esi, [ebp - 0xa4c]
cmova esi, dword [ebp - 0xa4c]
mov eax, dword [ebp - 0xa5c]
lea ecx, [esi + eax*2]
lea eax, [edx + edx]
push eax
push dword [ebp - 0xa58]
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0xa20]
add esp, 0xc
add eax, dword [ebp - 0xa5c]
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x455bc6
push edx
push ecx
push dword [ebp - 0xa18]
lea ecx, [ebp - 0xa4c]
push edx
call fcn.0048f560
mov edi, dword [ebp - 0xa30]
push 0x774698
lea ecx, [ebp - 0xa4c]
call fcn.00488eb0
mov ecx, dword [ebp - 0xa60]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xa1c]
mov dword [ebp - 0xa34], 0x1fe
mov dword [ebp - 0xa50], 0x800
cmp eax, 7
jbe 0x455a83
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x455c2a
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x455c2a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.006db5f6
mov ecx, dword [ebp - 0xa60]
add esp, 8
jmp 0x455a83
push dword [ebp - 0xa54]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0xa64]
jmp 0x455d99
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0xa20], 0
push str.Failed_to_get_Xbox_Live.
lea ecx, [ebp - 0xa30]
mov dword [ebp - 0xa1c], 0
movups xmmword [ebp - 0xa30], xmm0
call fcn.004511e0
mov byte [ebp - 4], 3
lea edx, [ebp - 0xa30]
cmp dword [ebp - 0xa1c], 0xf
mov ecx, dword [0x790f80]
mov edi, dword [ebp - 0xa30]
cmova edx, edi
mov eax, dword [0x790f84]
sub eax, ecx
mov dword [ebp - 0xa58], ecx
mov ecx, dword [ebp - 0xa20]
push ecx
push edx
cmp ecx, eax
ja 0x455cfd
mov esi, dword [ebp - 0xa58]
cmp dword [0x790f84], 0xf
lea eax, [ecx + esi]
mov dword [0x790f80], eax
mov eax, 0x790f70
cmova eax, dword [0x790f70]
add esi, eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0xa20]
add esp, 0xc
mov byte [esi + eax], 0
mov esi, dword [ebp - 0xa64]
jmp 0x455d14
push dword [ebp - 0xa18]
push ecx
mov ecx, 0x790f70
call fcn.0048fd00
mov edi, dword [ebp - 0xa30]
mov edx, dword [0x790f84]
mov eax, edx
mov ecx, dword [0x790f80]
sub eax, ecx
cmp eax, 1
jb 0x455d48
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [0x790f80], eax
mov eax, 0x790f70
cmova eax, dword [0x790f70]
mov word [eax + ecx], 0xa
jmp 0x455d61
push 1
push 0x7744fc
push dword [ebp - 0xa18]
mov ecx, 0x790f70
push 1
call fcn.0048fd00
mov eax, dword [ebp - 0xa1c]
cmp eax, 0xf
jbe 0x455d99
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x455d8f
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x455d8f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.006db5f6
add esp, 8
xorps xmm0, xmm0
mov eax, esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0xa4c]
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xa3c]
movq qword [esi + 0x10], xmm0
jmp 0x455f1d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006daf70
mov esp, ebp
pop ebp
ret