Function at 0x4b54a0
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.0049ec40
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.004dc690
push 0
push 0
lea edi, [ebx + 0x294]
mov dword [ebx + 0x288], 0
push 4
mov ecx, edi
mov dword [ebx + 0x28c], 0
call fcn.00498ef0
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 0x4b55a5
mov edx, dword [edi + 0x20]
test edx, edx
je 0x4b55c0
cmp eax, 1
je 0x4b55b1
mov ecx, dword [edi + 0x20]
shl eax, 2
push eax
push 0
push ecx
call fcn.0053aa50
add esp, 0xc
push esi
push 0
push 0
push 0x58
lea ecx, [edi + 0x24]
call fcn.00498ef0
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.00498ef0
mov eax, dword [edi + 0x54]
lea esi, [ebx + 0x310]
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.00498ef0
mov eax, dword [esi + 4]
lea ecx, [ebx + 0x340]
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 + 0x338], 0
mov dword [ebx + 0x33c], 0
call fcn.005273d0
push 0
push 0
mov word [ebx + 0x358], 0
lea ecx, [ebx + 0x360]
push 4
mov dword [ebx + 0x35c], 0
call fcn.00498ef0
lea edi, [ebx + 0x374]
mov dword [ebx + 0x370], 0
push 0x400
mov ecx, edi
call fcn.004b5250
push 0x400
push 0
push 0xc
lea ecx, [edi + 0x50]
call fcn.00498ef0
mov eax, dword [edi + 0x54]
lea ecx, [ebx + 0x3f0]
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.005273d0
push 0
push 0
mov dword [ebx + 0x41c], 0xffffffff
lea ecx, [ebx + 0x430]
mov dword [ebx + 0x420], 0
mov dword [ebx + 0x428], 0
mov dword [ebx + 0x424], 0xffffffff
mov dword [ebx + 0x410], 0xffffffff
mov dword [ebx + 0x40c], 0xffffffff
mov dword [ebx + 0x408], 0xffffffff
mov dword [ebx + 0x414], 1
push 0x14
call fcn.00498ef0
mov eax, dword [ebx + 0x434]
lea ecx, [ebx + 0x444]
mov dword [ebx + 0x418], eax
mov eax, dword [ebp + 8]
push 1
push str.CHTTPClient::BFrameFuncHandleCompletedWorkItems
mov dword [ebx + 0x440], eax
call fcn.004ae9e0
push 4
lea ecx, [ebx + 0x4b4]
mov dword [ebx + 0x444], 0x6dbb0c
mov dword [ebx + 0x4ac], ebx
mov dword [ebx + 0x4b0], 0x4b7d90
call fcn.004ca290
lea ecx, [ebx + 0x4c8]
mov dword [ebx + 0x4c4], 0
call fcn.005273d0
mov al, byte [ebp + 0xf]
lea ecx, [ebx + 0x518]
mov dword [ebx + 0x4e0], 0
mov dword [ebx + 0x4e4], 0
push 0
push 0
push 0x1c
mov dword [ebx + 0x504], 0xffffffff
mov dword [ebx + 0x508], 0
mov dword [ebx + 0x510], 0
mov dword [ebx + 0x50c], 0xffffffff
mov dword [ebx + 0x4f8], 0xffffffff
mov dword [ebx + 0x4f4], 0xffffffff
mov dword [ebx + 0x4f0], 0xffffffff
mov dword [ebx + 0x4fc], 1
mov byte [ebx + 0x514], al
call fcn.00498ef0
mov eax, dword [ebx + 0x51c]
lea ecx, [ebx + 0x578]
mov dword [ebx + 0x500], eax
lea eax, [ebx + 0x528]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class_CNullMetricsFactory_____cdecl___void___class_IMetricsFactory____.0
mov dword [eax + 4], 0x4f62c0
mov dword [eax + 0x24], eax
mov al, byte [ebp + 0xf]
push 0
push 0
push 0x18
mov dword [ebx + 0x564], 0xffffffff
mov dword [ebx + 0x568], 0
mov dword [ebx + 0x570], 0
mov dword [ebx + 0x56c], 0xffffffff
mov dword [ebx + 0x558], 0xffffffff
mov dword [ebx + 0x554], 0xffffffff
mov dword [ebx + 0x550], 0xffffffff
mov dword [ebx + 0x55c], 1
mov byte [ebx + 0x574], al
call fcn.00498ef0
mov eax, dword [ebx + 0x57c]
mov dword [ebx + 0x560], eax
mov dword [ebx + 0x588], 0
mov dword [ebx + 0x58c], 0
mov dword [ebx + 0x590], 0
cmp dword [0x805174], 0
jne 0x4b591d
xor eax, eax
jmp 0x4b5930
lea eax, [ebp - 8]
push eax
push 0
push str.CHTTPClient::CHTTPClient__
call fcn.00526610
add esp, 0xc
push 0
push ebx
lea esi, [ebx + 0x60]
mov dword [ebp - 8], eax
push 3
mov ecx, esi
call fcn.004de6a0
lea eax, [ebp - 4]
mov byte [ebx + 0xc4], 1
push eax
push str.SoftwarePoliciesMicrosoftWindowsCurrentVersionInternet_Settings
push closesocket
mov byte [ebx + 0x358], 1
mov dword [ebp - 4], 0
mov dword [ebp + 0xc], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4b59b2
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 0x4b59bf
mov byte [ebx + 0x358], 0
push 0x20000
mov ecx, esi
call fcn.004de690
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x4b59fe
push 0x328
call fcn.0053837d
add esp, 4
test eax, eax
je 0x4b59fe
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.004cdae0
jmp 0x4b5a00
xor eax, eax
mov edi, dword [ebp + 0x20]
mov dword [ebx + 0x290], eax
test edi, edi
je 0x4b5a42
mov eax, dword [edi + 4]
test eax, eax
js 0x4b5a1b
cmp eax, 0xffffff
jl 0x4b5a34
push str.m_iRefs___0__m_iRefs___0x0ffffff
push 0x59
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srcpublic_tier1_refcount.h
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4b5a34
int3
lea eax, [edi + 4]
lock inc dword [eax]
mov dword [ebx + 0x4e8], edi
jmp 0x4b5a9e
push 0x54
call fcn.0053837d
add esp, 4
test eax, eax
je 0x4b5a78
push 0
push 0
push 0
push 0
push 0x31
push 0
push 0
mov ecx, eax
call fcn.004ebb60
mov dword [ebx + 0x4e8], eax
test eax, eax
je 0x4b5a82
mov ecx, eax
call fcn.004edbe0
jmp 0x4b5a9e
mov dword [ebx + 0x4e8], 0
push str.EnablePlatformCertificateVerification_called_on_client_without_m_pSSLContext__wont_work
push 0x522
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonhttpclient.cpp
call fcn.00522050
add esp, 0xc
test al, al
jne 0x4b5a9e
int3
mov eax, dword [ebp + 0x24]
test eax, eax
cmovne esi, eax
lea eax, [ebx + 0x444]
mov dword [ebx + 0x4ec], esi
mov ecx, dword [ebx + 0x440]
push eax
mov ecx, dword [ecx + 0x18]
call fcn.004af010
mov ecx, dword [ebx + 0x440]
push ebx
call fcn.004aa6f0
mov eax, dword [ebp - 8]
pop esi
test eax, eax
je 0x4b5ade
push eax
call fcn.005265a0
add esp, 4
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x24