Function at 0x10007ae0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10064040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [ebp + 0x10]
mov dword [ebp - 0x1c], edx
push esi
mov esi, ecx
mov dword [ebp - 0x20], esi
push edi
test bl, bl
jne 0x10007b17
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002d2b1
mov esp, ebp
pop ebp
ret
cmp byte [0x100674b4], 1
nop
jne 0x10007b54
mov eax, dword ds:[ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov dword [ebp - 0xc], ecx
call fcn.10025f20
mov eax, dword [ebp - 8]
cmp eax, dword [0x10073fe4]
jne 0x10007dfd
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 1
lea ecx, [ebp + 0x14]
call fcn.10001800
test al, al
jne 0x10007cbe
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x10007b85
mov eax, 0x100524b8
nop dword [eax]
jmp 0x10007c88
cmp ecx, 1
jne 0x10007b94
mov eax, str.Invalid_format
jmp 0x10007c88
cmp ecx, 2
jne 0x10007ba5
mov eax, str.Internet_error_1
nop
jmp 0x10007c88
cmp ecx, 3
jne 0x10007bb4
mov eax, str.Internet_error_2
jmp 0x10007c88
cmp ecx, 4
jne 0x10007bc5
mov eax, str.Internet_error_3
nop
jmp 0x10007c88
cmp ecx, 5
jne 0x10007bd4
mov eax, str.Internet_error_4
jmp 0x10007c88
cmp ecx, 6
jne 0x10007be5
mov eax, str.Internet_error_5
nop
jmp 0x10007c88
cmp ecx, 7
jne 0x10007bf4
mov eax, str.Internet_error_6
jmp 0x10007c88
cmp ecx, 8
jne 0x10007c05
mov eax, str.Steam_account_does_not_exist__Official_API_
nop
jmp 0x10007c88
cmp ecx, 9
jne 0x10007c11
mov eax, str.Steam_account_does_not_exist__Unofficial_API_
jmp 0x10007c88
cmp ecx, 0xa
jne 0x10007c1d
mov eax, str.Steam_account_is_VAC_banned
jmp 0x10007c88
nop dword [eax]
cmp ecx, 0xb
jne 0x10007c2c
mov eax, str.Steam_account_is_banned_from_trade__Probation_
jmp 0x10007c88
cmp ecx, 0xc
jne 0x10007c38
mov eax, str.Steam_account_is_banned_from_trade__Permanently_
jmp 0x10007c88
cmp ecx, 0xd
jne 0x10007c44
mov eax, str.No_Steam_Community_profile_has_been_created
jmp 0x10007c88
cmp ecx, 0xe
jne 0x10007c50
mov eax, str.Steam_account_is_limited
jmp 0x10007c88
cmp ecx, 0xf
jne 0x10007c5c
mov eax, str.Failed_to_get_SteamID_info
jmp 0x10007c88
nop dword [eax]
cmp ecx, 0x10
jne 0x10007c6c
mov eax, str.Steam_account_is_banned_from_trade__Unknown_
jmp 0x10007c88
cmp ecx, 0x11
jne 0x10007c78
mov eax, str.Steam_account_is_community_banned
jmp 0x10007c88
cmp ecx, 0x12
mov eax, str.Steam_account_has_game_bans
mov edx, str.Unknown_Error
cmovne eax, edx
push eax
push str.ISteamGameServer::UpdateUserData_____SteamID_is_not_valid_______s_r_n
call fcn.100028c0
push dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
push dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
push 0
push 1
call fcn.100074e0
add esp, 0x18
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002d2b1
mov esp, ebp
pop ebp
ret
nop
test esi, esi
jne 0x10007cd6
push str.ISteamGameServer::UpdateUserData_____PlayerName_is_nullptr__r_n
call fcn.100028c0
add esp, 4
jmp 0x10007de5
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007ce0
sub ecx, edx
jne 0x10007cfd
push str.ISteamGameServer::UpdateUserData_____PlayerName_length_is_0__r_n
call fcn.100028c0
add esp, 4
jmp 0x10007de5
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x20019
push 0
push 0x10068aa8
push 0x80000001
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x14], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10007d57
lea eax, [ebp - 0x14]
push eax
push 0x10067d08
lea eax, [ebp - 0xc]
push eax
push 0
push str.LogUpdateUserData
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x10067d08], 1
nop
jne 0x10007dd1
mov ecx, dword [ebp + 0x18]
mov eax, ecx
shr eax, 0x14
and eax, 0xf
sub eax, 0
je 0x10007d82
sub eax, 1
je 0x10007d82
push ecx
push dword [ebp + 0x14]
push str._llu
jmp 0x10007d96
mov ecx, dword [ebp + 0x14]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
and ecx, 1
push eax
push ecx
push str.STEAM_0:_u:_u
push 0x40
push 0x10074018
call fcn.10001400
mov edi, dword [ebp + 0x14]
lea ecx, [ebp + 0x14]
mov esi, dword [ebp + 0x18]
add esp, 0x14
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.10001600
push eax
push 0x10074018
push esi
push edi
push str.ISteamGameServer::UpdateUserData______lld______s______s______s______u_r_n
call fcn.10002b60
add esp, 0x1c
push dword [ebp + 0x18]
mov cl, 1
push dword [ebp + 0x14]
call fcn.10004f40
add esp, 8
test al, al
jne 0x10007dfd
push dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
push dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
push 0
push 1
call fcn.100074e0
add esp, 0x10
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002d2b1
mov esp, ebp
pop ebp
ret