Function at 0x4d2ab0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6670bd
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x6d5ec0]
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.004b2490
cmp dword [eax + 0x120], 0
jne 0x4d2bc1
push 0
push dword [edi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x4d2d65
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.004532c0
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 [0x671950]
movq qword [edx + 0x10], xmm0
mov al, byte [0x671958]
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.004ce820
add esp, 0x14
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004b32f0
lea ecx, [ebp - 0x28]
call fcn.00447640
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x4d2d65
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d2d5b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d2d80
jmp 0x4d2d5b
mov ecx, dword [edi + 8]
call fcn.004b2490
mov esi, dword [eax + 0x120]
test esi, esi
mov eax, 0x10000
cmove esi, eax
cmp dword [edi + 0x3c], 0
jne 0x4d2c79
cmp dword [ebp + 0xc], esi
jae 0x4d2c00
cmp byte [ebp + 0x10], 0
jne 0x4d2c00
push dword [edi + 0x2c]
mov ecx, edi
push dword [edi + 0x28]
call fcn.004b25d0
jmp 0x4d2d65
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
call fcn.004b1e90
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x4d2d85
mov eax, dword [ecx]
push esi
mov eax, dword [eax + 0x70]
call eax
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x4d2c59
mov eax, dword [edi + 0x94]
lea ecx, [edi + 0x90]
sub eax, dword [ecx]
cmp esi, eax
jbe 0x4d2c44
push esi
call fcn.004ad040
mov dword [edi + 0x8c], 0
mov eax, dword [edi + 0x90]
mov dword [ebp - 0x60], eax
jmp 0x4d2c65
mov dword [edi + 0x9c], esi
mov dword [edi + 0x8c], eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
call fcn.0049c420
mov eax, dword [ebp - 0x60]
jmp 0x4d2cab
mov eax, dword [edi + 0xa8]
lea ecx, [edi + 0xa0]
sub eax, dword [ecx]
cmp eax, esi
jae 0x4d2ca9
mov dword [ebp - 0x60], esi
cmp esi, 0x7fffffff
ja 0x4d2da0
lea eax, [ebp - 0x60]
push eax
call fcn.004c7860
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 0x4d2d65
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x18], 0xf
mov eax, dword [0x671964]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], eax
mov ax, word [0x671968]
movq xmm0, qword [0x67195c]
mov word [ebp - 0x1c], ax
mov al, byte [0x67196a]
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.004ce820
add esp, 0xc
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.004b32f0
lea ecx, [ebp - 0x5c]
call fcn.00447640
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x4d2d65
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d2d5b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d2da5
push ecx
push edx
call fcn.0061ef9d
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.0061eb08
mov esp, ebp
pop ebp
ret
call fcn.0063629b
push str.Invalid_streambuf_object
lea ecx, [ebp - 0x1c]
call fcn.0049b760
push 0x6d07c0
lea eax, [ebp - 0x1c]
push eax
call fcn.00620dcb
call fcn.00440770
call fcn.0063629b
int3