Function at 0x4b6630
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push edi
push dword [ebp + 0xc]
lea ecx, [ebx + 4]
mov dword [ecx], 0
mov dword [ebx], vtable.CHTTPClient.0
call fcn.0049f670
mov eax, dword [ebp + 0x1c]
lea ecx, [ebx + 0x60]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x10]
push str.CHTTPClientThreadPool
mov byte [ebx + 8], 0
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0xffffffff
mov dword [ebx + 0x18], 0
mov byte [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
call fcn.004dfe10
push 0
push 0
lea edi, [ebx + 0x2a4]
mov dword [ebx + 0x298], 0
push 4
mov ecx, edi
mov dword [ebx + 0x29c], 0
call fcn.004997b0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], eax
lea ecx, [edi + 0x1c]
mov dword [edi + 0x18], eax
mov edx, ecx
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x18]
cmp eax, 1
je 0x4b6735
mov edx, dword [edi + 0x20]
test edx, edx
je 0x4b6750
cmp eax, 1
je 0x4b6741
mov ecx, dword [edi + 0x20]
shl eax, 2
push eax
push 0
push ecx
call fcn.0054f8a0
add esp, 0xc
push esi
push 0
push 0
push 0x58
lea ecx, [edi + 0x24]
call fcn.004997b0
push 0
push 0
push 0xc
lea ecx, [edi + 0x50]
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 1
mov dword [edi + 0x34], 0xffffffff
call fcn.004997b0
mov eax, dword [edi + 0x54]
lea esi, [ebx + 0x320]
push 0
push 0
mov dword [edi + 0x60], 0xffffffff
mov ecx, esi
mov dword [edi + 0x64], 0xffffffff
mov dword [edi + 0x68], 0xffffffff
mov dword [edi + 0x70], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x74], eax
push 0xc
mov byte [edi + 0x78], 0
call fcn.004997b0
mov eax, dword [esi + 4]
lea ecx, [ebx + 0x350]
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], eax
mov dword [ebx + 0x348], 0
mov dword [ebx + 0x34c], 0
call fcn.0053cd00
push 0
push 0
mov word [ebx + 0x368], 0
lea ecx, [ebx + 0x370]
push 4
mov dword [ebx + 0x36c], 0
call fcn.004997b0
lea edi, [ebx + 0x384]
mov dword [ebx + 0x380], 0
push 0x400
mov ecx, edi
call fcn.004b63e0
push 0x400
push 0
push 0xc
lea ecx, [edi + 0x50]
call fcn.004997b0
mov eax, dword [edi + 0x54]
lea ecx, [ebx + 0x400]
mov dword [edi + 0x60], 0xffffffff
mov dword [edi + 0x64], 0xffffffff
mov dword [edi + 0x68], 0xffffffff
mov dword [edi + 0x70], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x74], eax
mov byte [edi + 0x78], 0
call fcn.0053cd00
push 0
push 0
mov dword [ebx + 0x42c], 0xffffffff
lea ecx, [ebx + 0x440]
mov dword [ebx + 0x430], 0
mov dword [ebx + 0x438], 0
mov dword [ebx + 0x434], 0xffffffff
mov dword [ebx + 0x420], 0xffffffff
mov dword [ebx + 0x41c], 0xffffffff
mov dword [ebx + 0x418], 0xffffffff
mov dword [ebx + 0x424], 1
push 0x14
call fcn.004997b0
mov eax, dword [ebx + 0x444]
lea ecx, [ebx + 0x454]
mov dword [ebx + 0x428], eax
mov eax, dword [ebp + 8]
push 1
push str.CHTTPClient::BFrameFuncHandleCompletedWorkItems
mov dword [ebx + 0x450], eax
call fcn.004af670
push 4
lea ecx, [ebx + 0x4c4]
mov dword [ebx + 0x454], 0x6f2c10
mov dword [ebx + 0x4bc], ebx
mov dword [ebx + 0x4c0], 0x4b8f30
call fcn.004cbb30
lea ecx, [ebx + 0x4d8]
mov dword [ebx + 0x4d4], 0
call fcn.0053cd00
mov al, byte [ebp + 0xf]
lea ecx, [ebx + 0x528]
mov dword [ebx + 0x4f0], 0
mov dword [ebx + 0x4f4], 0
push 0
push 0
push 0x1c
mov dword [ebx + 0x514], 0xffffffff
mov dword [ebx + 0x518], 0
mov dword [ebx + 0x520], 0
mov dword [ebx + 0x51c], 0xffffffff
mov dword [ebx + 0x508], 0xffffffff
mov dword [ebx + 0x504], 0xffffffff
mov dword [ebx + 0x500], 0xffffffff
mov dword [ebx + 0x50c], 1
mov byte [ebx + 0x524], al
call fcn.004997b0
mov eax, dword [ebx + 0x52c]
lea ecx, [ebx + 0x588]
mov dword [ebx + 0x510], eax
lea eax, [ebx + 0x538]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class_CNullMetricsFactory_____cdecl___void___class_IMetricsFactory____.0
mov dword [eax + 4], 0x4f8bf0
mov dword [eax + 0x24], eax
mov al, byte [ebp + 0xf]
push 0
push 0
push 0x18
mov dword [ebx + 0x574], 0xffffffff
mov dword [ebx + 0x578], 0
mov dword [ebx + 0x580], 0
mov dword [ebx + 0x57c], 0xffffffff
mov dword [ebx + 0x568], 0xffffffff
mov dword [ebx + 0x564], 0xffffffff
mov dword [ebx + 0x560], 0xffffffff
mov dword [ebx + 0x56c], 1
mov byte [ebx + 0x584], al
call fcn.004997b0
mov eax, dword [ebx + 0x58c]
mov dword [ebx + 0x570], eax
mov dword [ebx + 0x598], 0
mov dword [ebx + 0x59c], 0
mov dword [ebx + 0x5a0], 0
cmp dword [0x82623c], 0
jne 0x4b6aad
xor eax, eax
jmp 0x4b6ac0
lea eax, [ebp - 8]
push eax
push 0
push str.CHTTPClient::CHTTPClient__
call fcn.0053bf90
add esp, 0xc
push 0
push ebx
lea esi, [ebx + 0x60]
mov dword [ebp - 8], eax
push 3
mov ecx, esi
call fcn.004e1f70
lea eax, [ebp - 4]
mov byte [ebx + 0xc4], 1
push eax
push str.SoftwarePoliciesMicrosoftWindowsCurrentVersionInternet_Settings
push closesocket
mov byte [ebx + 0x368], 1
mov dword [ebp - 4], 0
mov dword [ebp + 0xc], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4b6b42
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x1c], 4
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x10]
push eax
push 0
push str.EnableAutoproxyResultCache
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp + 0xc]
test eax, eax
push dword [ebp - 4]
mov edx, 1
cmovne ecx, edx
mov dword [ebp + 0xc], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0xc], 0
jne 0x4b6b4f
mov byte [ebx + 0x368], 0
push 0x20000
mov ecx, esi
call fcn.004e1f60
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x4b6b8e
push 0x338
call fcn.0054d1de
add esp, 4
test eax, eax
je 0x4b6b8e
mov edx, 0x2710
mov ecx, eax
cmp dword [ebp + 0x28], edx
push ebx
cmova edx, dword [ebp + 0x28]
push edx
push dword [ebp + 0x18]
push edi
call fcn.004cf4b0
jmp 0x4b6b90
xor eax, eax
mov edi, dword [ebp + 0x20]
mov dword [ebx + 0x2a0], eax
test edi, edi
je 0x4b6bd2
mov eax, dword [edi + 4]
test eax, eax
js 0x4b6bab
cmp eax, 0xffffff
jl 0x4b6bc4
push str.m_iRefs___0__m_iRefs___0x0ffffff
push 0x59
push str.c:_buildslave_steam_rel_client_win32_build_srcpublic_tier1_refcount.h
call fcn.00536d10
add esp, 0xc
test al, al
jne 0x4b6bc4
int3
lea eax, [edi + 4]
lock inc dword [eax]
mov dword [ebx + 0x4f8], edi
jmp 0x4b6c2e
push 0x54
call fcn.0054d1de
add esp, 4
test eax, eax
je 0x4b6c08
push 0
push 0
push 0
push 0
push 0x31
push 0
push 0
mov ecx, eax
call fcn.004ef3f0
mov dword [ebx + 0x4f8], eax
test eax, eax
je 0x4b6c12
mov ecx, eax
call fcn.004f1520
jmp 0x4b6c2e
mov dword [ebx + 0x4f8], 0
push str.EnablePlatformCertificateVerification_called_on_client_without_m_pSSLContext__wont_work
push 0x523
push str.c:_buildslave_steam_rel_client_win32_build_srccommonhttpclient.cpp
call fcn.00536d10
add esp, 0xc
test al, al
jne 0x4b6c2e
int3
mov eax, dword [0x7dc3a0]
cmp dword [eax + 0x48], 0
je 0x4b6c46
mov ecx, dword [ebx + 0x4f8]
push 1
call fcn.004f3660
mov eax, dword [ebp + 0x24]
test eax, eax
cmovne esi, eax
lea eax, [ebx + 0x454]
mov dword [ebx + 0x4fc], esi
mov ecx, dword [ebx + 0x450]
push eax
mov ecx, dword [ecx + 0x18]
call fcn.004afff0
mov ecx, dword [ebx + 0x450]
push ebx
call fcn.004ab390
mov eax, dword [ebp - 8]
pop esi
test eax, eax
je 0x4b6c86
push eax
call fcn.0053bf50
add esp, 4
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x24