Function at 0x4649a0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49489d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4bc8c0]
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.00447670
cmp dword [eax + 0x120], 0
jne 0x464aa7
push 0
push dword [edi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x464c42
call dword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
lea ecx, [ebp - 0x44]
push 0x20
mov esi, eax
movups xmmword [ebp - 0x44], xmm0
call fcn.0040cf80
movups xmm0, xmmword [str.WinHttpQueryDataAvaliable]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], 0x19
movups xmmword [eax], xmm0
mov dword [ebp - 0x30], 0x1f
movq xmm0, qword [0x49bf4c]
movq qword [eax + 0x10], xmm0
mov cl, byte [0x49bf54]
mov byte [eax + 0x18], cl
mov byte [eax + 0x19], 0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00460860
add esp, 0xc
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00448490
lea ecx, [ebp - 0x28]
call fcn.0040d0c0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x464c42
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x464c38
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464c5d
jmp 0x464c38
mov ecx, dword [edi + 8]
call fcn.00447670
mov esi, dword [eax + 0x120]
test esi, esi
mov eax, 0x10000
cmove esi, eax
cmp dword [edi + 0x3c], 0
jne 0x464b5f
cmp dword [ebp + 0xc], esi
jae 0x464ae6
cmp byte [ebp + 0x10], 0
jne 0x464ae6
push dword [edi + 0x2c]
mov ecx, edi
push dword [edi + 0x28]
call fcn.004477b0
jmp 0x464c42
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
call fcn.00447090
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x464c62
mov eax, dword [ecx]
push esi
mov eax, dword [eax + 0x70]
call eax
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x464b3f
mov eax, dword [edi + 0x94]
lea ecx, [edi + 0x90]
sub eax, dword [ecx]
cmp esi, eax
jbe 0x464b2a
push esi
call fcn.00441d60
mov dword [edi + 0x8c], 0
mov eax, dword [edi + 0x90]
mov dword [ebp - 0x60], eax
jmp 0x464b4b
mov dword [edi + 0x9c], esi
mov dword [edi + 0x8c], eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
call fcn.0042c450
mov eax, dword [ebp - 0x60]
jmp 0x464b8b
mov eax, dword [edi + 0xa8]
lea ecx, [edi + 0xa0]
sub eax, dword [ecx]
cmp eax, esi
jae 0x464b89
cmp esi, 0x7fffffff
ja 0x464c7d
push esi
call fcn.0045f200
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 0x464c42
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x49bf60]
mov esi, eax
mov ax, word [0x49bf64]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x1c], ax
movq xmm0, qword [0x49bf58]
mov al, byte [0x49bf66]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], ecx
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.00460860
add esp, 0xc
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00448490
lea ecx, [ebp - 0x5c]
call fcn.0040d0c0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x464c42
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x464c38
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464c82
push ecx
push edx
call fcn.004697ab
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.0046977a
mov esp, ebp
pop ebp
ret
call fcn.0046e96f
push str.Invalid_streambuf_object
lea ecx, [ebp - 0x1c]
call fcn.00421570
push 0x4b37e4
lea eax, [ebp - 0x1c]
push eax
call fcn.0046b275
call fcn.0040b500
call fcn.0046e96f
int3