Function at 0x4bad22
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x10]
cmp dword [edi], 0
je 0x4bad4c
push 0x9a
push str..._bnl_dl2_fetcher_source_fetcherHTTPResponseHeader.cpp
push 0x6a314c
call fcn.0054db53
add esp, 0xc
mov edx, dword [esi + 4]
lea eax, [esi + 8]
mov ecx, dword [esi]
push edi
push eax
call fcn.004bb0e4
pop ecx
pop ecx
test eax, eax
jne 0x4bad69
and dword [edi], 0
jmp 0x4bafca
mov ecx, esi
call fcn.004bafd1
push ecx
push str.Content_Length
mov ecx, esi
call fcn.004bac68
push ecx
mov ebx, eax
mov ecx, esi
push str.Transfer_Encoding
mov dword [ebp - 0xc], ebx
call fcn.004bac68
test ebx, ebx
jne 0x4bad9a
mov byte [ebp - 1], bl
test eax, eax
je 0x4bad9e
mov byte [ebp - 1], 1
xorps xmm0, xmm0
xor ecx, ecx
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x14], ecx
movups xmmword [ebp - 0x30], xmm0
test eax, eax
je 0x4badc9
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x30]
mov ecx, eax
call fcn.004bb20d
pop ecx
test al, al
je 0x4bad61
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x30]
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
lea edx, [edx + ecx*4]
lea ecx, [ebp - 0x30]
call fcn.004bb430
mov ebx, eax
lea eax, [ebp - 0x30]
sub ebx, eax
sar ebx, 2
pop ecx
test ebx, ebx
je 0x4bae24
lea ecx, [ebp + ebx*4 - 0x34]
mov edx, eax
cmp edx, ecx
je 0x4bae07
cmp dword [eax], 1
je 0x4bad61
add eax, 4
cmp eax, ecx
jne 0x4badf7
cmp dword [ebp + ebx*4 - 0x34], 1
je 0x4bae15
and dword [ebp - 0x30], 0
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
test ebx, ebx
cmovne eax, ecx
mov dword [ebp - 0xc], eax
jmp 0x4bae27
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4bae61
mov edx, eax
lea ecx, [ebp - 0x20]
call fcn.00497932
mov edx, eax
mov eax, dword [ebp - 0xc]
add edx, eax
mov cl, byte [edx]
test cl, cl
je 0x4bae61
movsx ecx, cl
call fcn.0042bb9c
test al, al
je 0x4bae55
inc edx
mov cl, byte [edx]
test cl, cl
jne 0x4bae42
cmp byte [edx], 0
jne 0x4bad61
mov eax, dword [ebp - 0xc]
cmp dword [edi], 0xc8
jne 0x4baeb9
cmp byte [ebp - 1], 0
je 0x4bad61
test eax, eax
je 0x4bae85
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x2c], eax
jmp 0x4bae8d
or dword [esi + 0x28], 0xffffffff
or dword [esi + 0x2c], 0xffffffff
and dword [esi + 0x30], 0
mov eax, ebx
and dword [esi + 0x34], 0
shl eax, 2
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [esi + 0x14]
push eax
call fcn.005439e0
mov eax, dword [esi + 0x28]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x3c], eax
jmp 0x4bafc4
cmp dword [edi], 0xcc
jne 0x4baee4
cmp byte [ebp - 1], 0
jne 0x4bad61
xor eax, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x38], eax
jmp 0x4baf84
cmp dword [edi], 0xce
jne 0x4baf89
push ecx
push str.Content_Range
mov ecx, esi
call fcn.004bac68
test eax, eax
je 0x4bad61
lea ecx, [ebp - 0x18]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x10]
movlpd qword [ebp - 0x20], xmm0
push ecx
lea edx, [ebp - 0x20]
movlpd qword [ebp - 0x10], xmm0
mov ecx, eax
movlpd qword [ebp - 0x18], xmm0
call fcn.004bb2eb
pop ecx
pop ecx
test al, al
je 0x4bad61
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
cmp edx, ecx
ja 0x4bad61
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
jb 0x4baf51
cmp ebx, eax
ja 0x4bad61
sub eax, ebx
sbb ecx, edx
cmp ecx, dword [ebp - 0x14]
ja 0x4bad61
jb 0x4baf69
cmp eax, dword [ebp - 0x18]
jae 0x4bad61
add eax, 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x18]
adc ecx, 0
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x34], edx
mov dword [esi + 0x3c], eax
jmp 0x4bafca
test eax, eax
je 0x4baf9b
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x2c], eax
jmp 0x4bafa3
or dword [esi + 0x28], 0xffffffff
or dword [esi + 0x2c], 0xffffffff
mov eax, ebx
xor edi, edi
shl eax, 2
push eax
lea eax, [ebp - 0x30]
mov dword [esi + 0x30], edi
push eax
lea eax, [esi + 0x14]
mov dword [esi + 0x34], edi
push eax
call fcn.005439e0
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x24], ebx
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret