Function at 0x404ba4
Capabilities:
Reference http user-agent string

Disassembly:
push 0x844
mov eax, 0x62b36e
call fcn.004e5a7f
mov edi, ecx
lea eax, [edi + 0x40]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x82c]
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x818], ebx
call fcn.00405c59
mov dword [ebp - 4], ebx
cmp dword [edi + 0x8c], ebx
je 0x404ec2
mov dword [ebp - 0x848], ebx
jmp 0x404e84
mov ecx, edi
call fcn.00403952
mov esi, eax
mov dword [ebp - 0x84c], esi
cmp dword [edi + 0x80], ebx
je 0x404c1d
lea eax, [edi + 0x70]
cmp dword [eax + 0x14], 0x10
jb 0x404c0e
mov eax, dword [eax]
push eax
push 0x2714
push esi
call fcn.004363f0
add esp, 0xc
lea edx, [ebp - 0x82c]
mov ecx, esi
call fcn.00404217
test al, al
je 0x404ec4
push str.gzip
push 0x2776
push esi
call fcn.004363f0
add esp, 0xc
push 8
push 0x44
push esi
call fcn.004363f0
add esp, 0xc
push 1
push 0x34
push esi
call fcn.004363f0
add esp, 0xc
lea eax, [ebp - 0x82c]
cmp dword [ebp - 0x818], 0x10
cmovae eax, dword [ebp - 0x82c]
push eax
push 0x2712
push esi
call fcn.004363f0
add esp, 0xc
push 1
push 0x2a
push esi
call fcn.004363f0
add esp, 0xc
push 1
push 0x2c
push esi
call fcn.004363f0
add esp, 0xc
mov dword [ebp - 0x834], ebx
lea eax, [ebp - 0x844]
mov dword [ebp - 0x830], 0xf
mov byte [ebp - 0x844], bl
push eax
push 0x272d
push esi
call fcn.004363f0
add esp, 0xc
push 0x403a32
push 0x4e6f
push esi
call fcn.004363f0
add esp, 0xc
push 0x6c1864
push 0x2717
push esi
call fcn.004363f0
add esp, 0xc
push dword [0x6e5190]
push 0xd
push esi
call fcn.004363f0
add esp, 0xc
push 1
push 0x63
push esi
call fcn.004363f0
add esp, 0xc
cmp dword [0x6e51dc], 0
jbe 0x404d67
push 0x400
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.004fc480
add esp, 0xc
mov ecx, 0x400
cmp dword [0x6e51e0], 0x10
mov eax, 0x6e51cc
cmovae eax, dword [0x6e51cc]
push ecx
push eax
push ecx
lea eax, [ebp - 0x414]
push eax
call fcn.00505145
lea eax, [ebp - 0x414]
push eax
push 0x2720
push esi
call fcn.004363f0
add esp, 0x1c
jmp 0x404d74
push 1
push 0x3a
push esi
call fcn.004363f0
add esp, 0xc
cmp dword [0x6e51f4], 0
jbe 0x404dd0
push 0x400
lea eax, [ebp - 0x814]
push ebx
push eax
call fcn.004fc480
add esp, 0xc
mov ecx, 0x400
cmp dword [0x6e51f8], 0x10
mov eax, 0x6e51e4
cmovae eax, dword [0x6e51e4]
push ecx
push eax
push ecx
lea eax, [ebp - 0x814]
push eax
call fcn.00505145
lea eax, [ebp - 0x814]
push eax
push 0x2722
push esi
call fcn.004363f0
add esp, 0x1c
jmp 0x404de3
push str.Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_70.0.3538.25_Safari_537.36_Core_1.70.3741.400_QQBrowser_10.5.3863.400
push 0x2722
push esi
call fcn.004363f0
add esp, 0xc
push esi
call fcn.00432ee0
pop ecx
push dword [ebp - 0x84c]
mov esi, eax
call fcn.00432e60
pop ecx
test esi, esi
je 0x404e9a
mov esi, dword [ebp - 0x848]
cmp esi, dword [0x6e5194]
jge 0x404eb7
inc esi
cmp byte [edi + 0x88], 0
mov dword [ebp - 0x848], esi
jne 0x404e79
cmp byte [edi + 0x89], 0
jne 0x404e79
lea eax, [ebp - 0x850]
push eax
call dword [sym.imp.SensApi.dll_IsNetworkAlive]
test eax, eax
je 0x404e79
cmp esi, 2
jne 0x404e4b
movsd xmm0, qword [0x6c3528]
jmp 0x404e60
movsd xmm0, qword [0x6c3520]
movd xmm1, esi
cvtdq2pd xmm1, xmm1
call fcn.00512730
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x6c3550]
call fcn.004e5410
push eax
mov ecx, edi
call fcn.00405159
lea ecx, [ebp - 0x844]
call fcn.004060fd
cmp byte [edi + 0x88], 0
je 0x404bec
mov byte [edi + 0xb9], 1
jmp 0x404ec4
push ecx
push str.Content_Range:_bytes
lea ecx, [ebp - 0x844]
call fcn.0040529d
cmp eax, 0xffffffff
setne al
mov byte [edi + 0x8a], al
lea ecx, [ebp - 0x844]
call fcn.004060fd
mov bl, 1
lea ecx, [ebp - 0x82c]
call fcn.004060fd
mov al, bl
call fcn.004e5a3a
ret