Function at 0x6d3f18
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
cmp byte [esi + 0x148], 0
jne 0x6d4006
cmp byte [esi + 0x6f7], 0
jne 0x6d4006
push 0xf
push edi
push 0x87f534
call fcn.006d020b
add esp, 0xc
test eax, eax
je 0x6d4006
lea eax, [ebp - 8]
push eax
push 0xa
lea eax, [edi + 0xf]
push 0
push eax
call fcn.006dc5b0
add esp, 0x10
test eax, eax
jne 0x6d3fbc
mov edi, dword [esi + 0x4f0]
mov eax, edi
mov edx, dword [esi + 0x4f4]
or eax, edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
je 0x6d3f92
cmp ecx, edx
jg 0x6d3fcf
jl 0x6d3f92
cmp eax, edi
ja 0x6d3fcf
push ecx
push eax
push esi
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ecx
call fcn.006d7f9b
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
cmp eax, 1
jne 0x6d3ff5
mov eax, dword [esi + 0x4f0]
or eax, dword [esi + 0x4f4]
je 0x6d3fe1
push str.Maximum_file_size_exceeded
push esi
call fcn.006cd005
pop ecx
pop ecx
push 0x3f
pop eax
jmp 0x6d3fb7
push 2
push dword [ebp + 0xc]
call fcn.006cd884
push str.Overflow_Content_Length:_value__n
jmp 0x6d40f4
push str.Invalid_Content_Length:_value
push esi
call fcn.006cd005
pop ecx
pop ecx
push 8
jmp 0x6d3fde
push 0xd
push edi
push str.Content_Type:
call fcn.006d020b
add esp, 0xc
test eax, eax
je 0x6d4054
push edi
call fcn.006d316c
mov edi, eax
pop ecx
test edi, edi
je 0x6d44f6
cmp byte [edi], 0
jne 0x6d403c
push edi
call dword [0x904f08]
jmp 0x6d4122
push dword [esi + 0xcfc]
call dword [0x904f08]
pop ecx
mov dword [esi + 0xcfc], edi
jmp 0x6d3fb5
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x11c], 0xa
jne 0x6d408f
cmp byte [ebx + 0x250], 0
je 0x6d408f
push str.keep_alive
push str.Proxy_Connection:
push edi
call fcn.006d30ca
add esp, 0xc
test al, al
je 0x6d408f
push 0
push ebx
call fcn.006cd884
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
jmp 0x6d40f4
cmp dword [ebx + 0x11c], 0xb
jne 0x6d40c7
cmp byte [ebx + 0x250], 0
je 0x6d40c7
push str.close
push str.Proxy_Connection:
push edi
call fcn.006d30ca
add esp, 0xc
test al, al
je 0x6d40c7
push 1
push ebx
call fcn.006cd884
push str.HTTP_1.1_proxy_connection_set_close__n
jmp 0x6d40f4
cmp dword [ebx + 0x11c], 0xa
jne 0x6d4102
push str.keep_alive
push str.Connection:
push edi
call fcn.006d30ca
add esp, 0xc
test al, al
je 0x6d4102
push 0
push ebx
call fcn.006cd884
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
call fcn.006cd0b1
add esp, 0x10
jmp 0x6d3fb5
push str.close
push str.Connection:
push edi
call fcn.006d30ca
add esp, 0xc
test al, al
je 0x6d4128
push 2
push ebx
call fcn.006cd884
pop ecx
pop ecx
jmp 0x6d3fb5
cmp byte [esi + 0x148], 0
jne 0x6d418e
push 0x12
push edi
push str.Transfer_Encoding:
call fcn.006d020b
add esp, 0xc
test eax, eax
je 0x6d4161
push 1
lea eax, [edi + 0x12]
push eax
push esi
call fcn.006d0622
add esp, 0xc
test eax, eax
je 0x6d3fb5
jmp 0x6d3fb7
cmp byte [esi + 0x148], 0
jne 0x6d418e
push 0x11
push edi
push str.Content_Encoding:
call fcn.006d020b
add esp, 0xc
test eax, eax
je 0x6d418e
cmp dword [esi + 0x53c], 0
je 0x6d418e
push 0
lea eax, [edi + 0x11]
jmp 0x6d414a
push 0xc
push edi
push str.Retry_After:
call fcn.006d020b
add esp, 0xc
test eax, eax
je 0x6d41fc
lea eax, [edi + 0xc]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 8], xmm0
mov dword [ebp + 8], eax
call fcn.006dc923
mov ebx, eax
mov edi, edx
pop ecx
cmp ebx, 0xffffffff
jne 0x6d41df
cmp edi, eax
jne 0x6d41df
lea eax, [ebp - 8]
push eax
push 0xa
push 0
push dword [ebp + 8]
call fcn.006dc5b0
mov edi, dword [ebp - 4]
add esp, 0x10
mov ebx, dword [ebp - 8]
jmp 0x6d41eb
push 0
call fcn.00743951
sub ebx, eax
pop ecx
sbb edi, edx
mov dword [esi + 0xd08], ebx
mov dword [esi + 0xd0c], edi
jmp 0x6d3fb5
cmp byte [esi + 0x148], 0
jne 0x6d42a6
push 0xe
push edi
push str.Content_Range:
call fcn.006d020b
add esp, 0xc
test eax, eax
je 0x6d42a6
add edi, 0xe
jmp 0x6d423a
movzx eax, al
push eax
call fcn.006e4482
pop ecx
test eax, eax
jne 0x6d4240
cmp byte [edi], 0x2a
je 0x6d4240
inc edi
mov al, byte [edi]
test al, al
jne 0x6d4226
movzx eax, byte [edi]
push eax
call fcn.006e4482
pop ecx
test eax, eax
je 0x6d4293
lea ebx, [esi + 0xf0]
push ebx
push 0xa
push 0
push edi
call fcn.006dc5b0
add esp, 0x10
test eax, eax
jne 0x6d3fb5
mov eax, dword [esi + 0xc18]
cmp eax, dword [ebx]
jne 0x6d3fb5
mov eax, dword [esi + 0xc1c]
cmp eax, dword [ebx + 4]
jne 0x6d3fb5
mov byte [esi + 0x145], 1
jmp 0x6d3fb5
and dword [esi + 0xc18], 0
and dword [esi + 0xc1c], 0
jmp 0x6d3fb5
cmp dword [esi + 0x724], 0
je 0x6d4322
cmp byte [esi + 0xcc3], 0
je 0x6d4322
push 0xb
push edi
push str.Set_Cookie:
call fcn.006d020b
add esp, 0xc
test eax, eax
je 0x6d4322
push 2
push 2
push esi
call fcn.006d0b22
mov ecx, dword [esi + 0xca8]
add esp, 0xc
test ecx, ecx
jne 0x6d42e6
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x298]
mov eax, dword [eax + 0x40]
shr eax, 1
and al, 1
movzx eax, al
push eax
push dword [esi + 0xc68]
lea eax, [edi + 0xb]
push ecx
push eax
push 0
push 1
push dword [esi + 0x724]
push esi
call fcn.006c3188
push 2
push esi
call fcn.006d0b5e
add esp, 0x28
jmp 0x6d3fb5
cmp byte [esi + 0x148], 0
jne 0x6d4387
push 0xe
push edi
push str.Last_Modified:
call fcn.006d020b
add esp, 0xc
test eax, eax
je 0x6d4387
cmp dword [esi + 0x3e4], 0
jne 0x6d4351
cmp byte [esi + 0x6e1], 0
je 0x6d4387
lea eax, [edi + 0xe]
push eax
call fcn.006dc923
mov dword [esi + 0x120], eax
mov dword [esi + 0x124], edx
cmp byte [esi + 0x6e1], 0
pop ecx
je 0x6d3fb5
mov dword [esi + 0xcd8], eax
mov eax, edx
mov dword [esi + 0xcdc], eax
jmp 0x6d3fb5
push 0x11
push edi
push str.WWW_Authenticate:
call fcn.006d020b
add esp, 0xc
test eax, eax
je 0x6d43ab
mov eax, dword [esi + 0xf8]
mov dword [ebp + 8], eax
cmp eax, 0x191
je 0x6d43cf
push 0x13
push edi
push str.Proxy_authenticate:
call fcn.006d020b
add esp, 0xc
test eax, eax
je 0x6d4410
mov eax, dword [esi + 0xf8]
mov dword [ebp + 8], eax
cmp eax, 0x197
jne 0x6d4410
push edi
call fcn.006d316c
mov edi, eax
pop ecx
test edi, edi
je 0x6d44f6
cmp dword [ebp + 8], 0x197
push edi
sete cl
movzx ecx, cl
push ecx
push esi
call fcn.006d4760
push edi
mov esi, eax
call dword [0x904f08]
add esp, 0x10
test esi, esi
je 0x6d3fb5
mov eax, esi
jmp 0x6d3fb7
push 0xf
push edi
push str.Persistent_Auth
call fcn.006d020b
add esp, 0xc
test eax, eax
je 0x6d4480
cmp dword [esi + 0x97c], 4
jne 0x6d3fb5
push edi
call fcn.006d316c
mov edi, eax
pop ecx
test edi, edi
je 0x6d44f6
push 5
push edi
push 0x7dc0cc
call fcn.006d020b
test eax, eax
mov byte [ebx + 0x3d9], 1
push edi
setne al
mov byte [ebx + 0x3d8], al
movzx eax, al
push eax
push str.Negotiate:_noauthpersist_____d__header_part:__s
push esi
call fcn.006cd0b1
push edi
call dword [0x904f08]
add esp, 0x20
jmp 0x6d3fb5
mov eax, dword [esi + 0xf8]
sub eax, 0x12c
cmp eax, 0x63
ja 0x6d44fd
push 9
push edi
push str.Location:
call fcn.006d020b
add esp, 0xc
test eax, eax
je 0x6d44fd
cmp dword [esi + 0x12c], 0
jne 0x6d44fd
push edi
call fcn.006d316c
pop ecx
test eax, eax
je 0x6d44f6
cmp byte [eax], 0
jne 0x6d44c3
push eax
jmp 0x6d4031
cmp byte [esi + 0x6e9], 0
mov dword [esi + 0x12c], eax
je 0x6d3fb5
push eax
call dword [0x904f10]
mov dword [esi + 0x130], eax
pop ecx
test eax, eax
je 0x6d44f6
push ebx
push esi
call fcn.006d5c97
pop ecx
pop ecx
jmp 0x6d4154
push 0x1b
jmp 0x6d3fde
cmp dword [esi + 0x728], 0
je 0x6d4566
push 8
push edi
push str.Alt_Svc:
call fcn.006d020b
add esp, 0xc
test eax, eax
je 0x6d4566
mov eax, dword [ebx + 0x298]
test byte [eax + 0x48], 1
je 0x6d4566
cmp dword [ebx + 0x11c], 0x14
push 0x10
pop ecx
push 8
pop eax
push dword [ebx + 0xd0]
cmove eax, ecx
mov dword [ebp + 8], eax
call fcn.006cf0df
movzx eax, ax
push eax
push dword [ebx + 0x6c]
lea eax, [edi + 8]
push dword [ebp + 8]
push eax
push dword [esi + 0x728]
push esi
call fcn.006cf642
add esp, 0x1c
jmp 0x6d4154
mov eax, dword [ebx + 0x298]
test dword [eax + 0x40], 0x40000
je 0x6d3fb5
push 4
jmp 0x6d3fde