Function at 0x4d3350
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x667b2d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x6d6ec0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 8]
call fcn.004b2d30
cmp dword [eax + 0x120], 0
jne 0x4d3461
push 0
push dword [edi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x4d3605
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x60], 0x1f
lea eax, [ebp - 0x60]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x44]
push eax
movups xmmword [ebp - 0x44], xmm0
call fcn.004538c0
movups xmm0, xmmword [str.WinHttpQueryDataAvaliable]
mov ecx, dword [ebp - 0x60]
mov edx, eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x34], 0x19
mov dword [ebp - 0x30], ecx
movups xmmword [edx], xmm0
movq xmm0, qword [0x672950]
movq qword [edx + 0x10], xmm0
mov al, byte [0x672958]
mov byte [edx + 0x18], al
mov byte [edx + 0x19], 0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004cf0c0
add esp, 0x14
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004b3b90
lea ecx, [ebp - 0x28]
call fcn.004478d0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x4d3605
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d35fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d3620
jmp 0x4d35fb
mov ecx, dword [edi + 8]
call fcn.004b2d30
mov esi, dword [eax + 0x120]
test esi, esi
mov eax, 0x10000
cmove esi, eax
cmp dword [edi + 0x3c], 0
jne 0x4d3519
cmp dword [ebp + 0xc], esi
jae 0x4d34a0
cmp byte [ebp + 0x10], 0
jne 0x4d34a0
push dword [edi + 0x2c]
mov ecx, edi
push dword [edi + 0x28]
call fcn.004b2e70
jmp 0x4d3605
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
call fcn.004b2730
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x4d3625
mov eax, dword [ecx]
push esi
mov eax, dword [eax + 0x70]
call eax
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x4d34f9
mov eax, dword [edi + 0x94]
lea ecx, [edi + 0x90]
sub eax, dword [ecx]
cmp esi, eax
jbe 0x4d34e4
push esi
call fcn.004ad8e0
mov dword [edi + 0x8c], 0
mov eax, dword [edi + 0x90]
mov dword [ebp - 0x60], eax
jmp 0x4d3505
mov dword [edi + 0x9c], esi
mov dword [edi + 0x8c], eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
call fcn.0049ccc0
mov eax, dword [ebp - 0x60]
jmp 0x4d354b
mov eax, dword [edi + 0xa8]
lea ecx, [edi + 0xa0]
sub eax, dword [ecx]
cmp eax, esi
jae 0x4d3549
mov dword [ebp - 0x60], esi
cmp esi, 0x7fffffff
ja 0x4d3640
lea eax, [ebp - 0x60]
push eax
call fcn.004c8100
lea ecx, [edi + 0xa0]
mov eax, dword [ecx]
push 0
push esi
push eax
push dword [edi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x4d3605
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x18], 0xf
mov eax, dword [0x672964]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], eax
mov ax, word [0x672968]
movq xmm0, qword [0x67295c]
mov word [ebp - 0x1c], ax
mov al, byte [0x67296a]
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x19], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.004cf0c0
add esp, 0xc
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.004b3b90
lea ecx, [ebp - 0x5c]
call fcn.004478d0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x4d3605
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d35fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d3645
push ecx
push edx
call fcn.0061f90d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0061f478
mov esp, ebp
pop ebp
ret
call fcn.00636c1b
push str.Invalid_streambuf_object
lea ecx, [ebp - 0x1c]
call fcn.0049c000
push 0x6d1be0
lea eax, [ebp - 0x1c]
push eax
call fcn.0062173b
call fcn.00440cb0
call fcn.00636c1b
int3