Function at 0x4a2995
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
sub esp, 0x58
push 0xec
mov eax, 0x52994e
call fcn.0047b821
mov esi, ecx
lea eax, [ebp + 0x58]
mov edi, 0x2710
push eax
mov dword [ebp + 0x58], edi
call fcn.00432974
mov ecx, eax
call fcn.00431f04
xor ebx, ebx
test al, al
je 0x4a2ab7
push 1
push 3
lea ecx, [ebp - 0xf8]
call fcn.0040ac7d
push str.:_receiveResponseData
push dword [esi + 0x1a0]
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], ebx
call fcn.0042d8fa
push eax
call fcn.0040a99a
pop ecx
pop ecx
lea eax, [ebp + 0x58]
push eax
mov dword [ebp + 0x58], edi
call fcn.00432974
mov ecx, eax
call fcn.00431f04
test al, al
je 0x4a2aa8
push str.bp::http::client::Transaction::Impl::receiveResponseData
lea ecx, [ebp + 0x38]
call fcn.0040979d
push str........._srclibs_bputils_srcHttpClientHttpTransaction_Windows.cpp
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 1
call fcn.0040979d
push 0x522
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
mov dword [ebp + 0x54], edi
call fcn.004095fe
mov dword [ebp + 0x58], eax
lea eax, [ebp]
push eax
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 3
call fcn.00409e20
push dword [ebp + 0x58]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp + 0x54]
push eax
call fcn.00432974
mov ecx, eax
call fcn.004322cc
push ebx
push 1
lea ecx, [ebp]
call fcn.0040365c
lea ecx, [ebp - 0x70]
call fcn.004a73e9
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.0040365c
push ebx
push 1
lea ecx, [ebp + 0x38]
call fcn.0040365c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.0040441f
push 0x28
lea eax, [ebp - 0x34]
push ebx
push eax
mov dword [ebp + 0x58], ebx
call fcn.0047b1c0
mov eax, dword [esi + 0x164]
add esp, 0xc
push dword [esi + 0x1a0]
mov dword [ebp - 0x20], eax
push 8
lea eax, [ebp - 0x34]
push eax
push dword [esi + 0x14c]
mov dword [ebp - 0x34], 0x28
mov dword [ebp - 0x1c], 0x4000
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
je 0x4a2c34
lea ecx, [esi + 0x10]
call fcn.00433d81
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x168], eax
lea eax, [ebp + 0x54]
push eax
mov dword [ebp + 0x54], edi
call fcn.00432974
mov ecx, eax
call fcn.00431f04
test al, al
je 0x4a2c7d
push 1
push 3
lea ecx, [ebp - 0xf8]
call fcn.0040ac7d
push str._bytes
push dword [esi + 0x168]
lea ecx, [ebp - 0xf0]
push str.:_InternetReadFileEx_got
push dword [esi + 0x1a0]
mov dword [ebp - 4], 5
call fcn.0042d8fa
push eax
call fcn.0040a99a
pop ecx
pop ecx
mov ecx, eax
call fcn.0042d8fa
push eax
call fcn.0040a99a
pop ecx
pop ecx
lea eax, [ebp + 0x54]
push eax
mov dword [ebp + 0x54], edi
call fcn.00432974
mov ecx, eax
call fcn.00431f04
test al, al
je 0x4a2c23
push str.bp::http::client::Transaction::Impl::receiveResponseData
lea ecx, [ebp + 0x1c]
call fcn.0040979d
push str........._srclibs_bputils_srcHttpClientHttpTransaction_Windows.cpp
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 6
call fcn.0040979d
push 0x535
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
mov dword [ebp + 0x54], edi
call fcn.004095fe
mov esi, eax
lea eax, [ebp]
push eax
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 8
call fcn.00409e20
push esi
push eax
lea eax, [ebp + 0x54]
push eax
mov byte [ebp - 4], 9
call fcn.00432974
mov ecx, eax
call fcn.004322cc
push ebx
push 1
lea ecx, [ebp]
call fcn.0040365c
lea ecx, [ebp - 0x70]
call fcn.004a73e9
push ebx
push 1
lea ecx, [ebp + 0x38]
call fcn.0040365c
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.0040365c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.0040441f
jmp 0x4a2c7d
mov dword [esi + 0x168], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x58], eax
cmp eax, 0x3e5
jne 0x4a2c53
mov ecx, esi
call fcn.0049dd82
jmp 0x4a2c7d
lea eax, [ebp]
push str.InternetReadFileEx
push eax
call fcn.004391c2
pop ecx
pop ecx
push eax
mov ecx, esi
mov dword [ebp - 4], 0xa
call fcn.004a0258
push ebx
push 1
lea ecx, [ebp]
call fcn.0040365c
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x5c
leave
ret