Function at 0x101935b0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fce8e
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10285124]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 8]
cmp dword [esi + 0x1e0], 0
jne 0x1019367e
push 0
push dword [edi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x101937c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.WinHttpQueryDataAvaliable
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.100a7590
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 0
push eax
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.10191610
add esp, 4
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.10121490
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x1019364e
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.100a5f10
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp eax, 0x10
jb 0x101937c0
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.100a5f10
jmp 0x101937c0
mov esi, dword [esi + 0x1e0]
mov eax, 0x10000
test esi, esi
cmove esi, eax
cmp edx, esi
jae 0x101936a8
cmp byte [ebp + 8], 0
jne 0x101936a8
push dword [edi + 0x2c]
push dword [edi + 0x28]
call fcn.101213d0
jmp 0x101937c0
lea eax, [ebp - 0x80]
push eax
call fcn.10121860
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 2
call fcn.100d1bc0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x70]
test eax, eax
jne 0x101936f0
mov eax, dword [edi + 0x8c]
lea ecx, [edi + 0x88]
sub eax, dword [ecx]
cmp esi, eax
jbe 0x101936e4
push esi
call fcn.10106270
mov dword [edi + 0x84], 0
jmp 0x101936f6
mov dword [edi + 0x84], eax
mov eax, dword [edi + 0x84]
test eax, eax
jne 0x10193706
mov eax, dword [edi + 0x88]
push 0
push esi
push eax
push dword [edi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x1019378a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x102556b8
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.100a7590
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 3
push eax
mov edx, esi
lea ecx, [ebp - 0x44]
call fcn.10191610
add esp, 4
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.10121490
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10193763
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.100a5f10
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp eax, 0x10
jb 0x1019378a
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.100a5f10
mov dword [ebp - 0x80], vtable.Concurrency::streams::streambuf_unsigned_char_.0
mov dword [ebp - 4], 5
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x101937c0
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x101937c0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x101937c0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101b451c
mov esp, ebp
pop ebp
ret