Function at 0x4f1760
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x18
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [esp + 0x10], eax
cmp byte [ebx + 0x146], 0
jne 0x4f1792
cmp byte [ebx + 0x689], 0
je 0x4f1808
push 0xd
push str.Content_Type:
push esi
call fcn.00508ca0
add esp, 0xc
test eax, eax
je 0x4f18a3
push esi
call fcn.004ee670
add esp, 4
test eax, eax
je 0x4f17f3
mov edi, eax
cmp byte [eax], 0
mov ecx, dword [fcn.005464a0]
je 0x4f17fa
mov esi, dword [ebx + 0xd24]
call dword [0x7a29f4]
push esi
call ecx
add esp, 4
mov dword [ebx + 0xd24], edi
xor ebx, ebx
mov ecx, dword [esp + 0x10]
xor ecx, ebp
call fcn.00650d60
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, 0x1b
jmp 0x4f17de
call dword [0x7a29f4]
push edi
call ecx
add esp, 4
jmp 0x4f17dc
push 0xf
push str.Content_Length:
push esi
call fcn.00508ca0
add esp, 0xc
test eax, eax
je 0x4f1792
xor eax, eax
dec eax
lea ecx, [esp + 8]
mov dword [ecx + 4], eax
mov dword [ecx], eax
add esi, 0xf
push ecx
push 0xa
push 0
push esi
call fcn.00509db0
add esp, 0x10
cmp eax, 1
je 0x4f1883
test eax, eax
je 0x4f185e
mov ecx, ebx
mov ebx, 8
mov eax, str.Invalid_Content_Length:_value
push eax
push ecx
call fcn.004e7570
add esp, 8
jmp 0x4f17de
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], ecx
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x94], ecx
jmp 0x4f17dc
mov eax, dword [ebx + 0x4b8]
or eax, dword [ebx + 0x4bc]
je 0x4f19d6
mov ecx, ebx
mov ebx, 0x3f
mov eax, str.Maximum_file_size_exceeded
jmp 0x4f1852
mov al, byte [edi + 0x3bd]
cmp al, 0xa
jne 0x4f18db
cmp byte [edi + 0x1c8], 1
jne 0x4f1911
push 0xa
push str.keep_alive
push 0x11
push str.Proxy_Connection:
push esi
call fcn.004ef9c0
add esp, 0x14
test al, al
jne 0x4f1988
mov al, byte [edi + 0x3bd]
cmp al, 0xb
jne 0x4f190d
cmp byte [edi + 0x1c8], 1
jne 0x4f192c
push 5
push str.close
push 0x11
push str.Proxy_Connection:
push esi
call fcn.004ef9c0
add esp, 0x14
test al, al
jne 0x4f19af
mov al, byte [edi + 0x3bd]
cmp al, 0xa
jne 0x4f192c
push 0xa
push str.keep_alive
push 0xb
push str.Connection:
push esi
call fcn.004ef9c0
add esp, 0x14
test al, al
jne 0x4f195b
push 5
push str.close
push 0xb
push str.Connection:
push esi
call fcn.004ef9c0
add esp, 0x14
test al, al
je 0x4f19fd
push 2
push edi
call fcn.004e15b0
add esp, 8
jmp 0x4f17dc
push 0
push edi
call fcn.004e15b0
add esp, 8
test ebx, ebx
je 0x4f17dc
cmp byte [ebx + 0x683], 1
jne 0x4f17dc
push str.HTTP_1.0_connection_set_to_keep_alive
push ebx
call fcn.004e7630
jmp 0x4f1953
push 0
push edi
call fcn.004e15b0
add esp, 8
test ebx, ebx
je 0x4f17dc
cmp byte [ebx + 0x683], 1
jne 0x4f17dc
push str.HTTP_1.0_proxy_connection_set_to_keep_alive
jmp 0x4f1980
push 1
push edi
call fcn.004e15b0
add esp, 8
test ebx, ebx
je 0x4f17dc
cmp byte [ebx + 0x683], 1
jne 0x4f17dc
push str.HTTP_1.1_proxy_connection_set_close
jmp 0x4f1980
push 2
push edi
call fcn.004e15b0
add esp, 8
test ebx, ebx
je 0x4f17dc
cmp byte [ebx + 0x683], 1
jne 0x4f17dc
push str.Overflow_Content_Length:_value
jmp 0x4f1980
mov al, byte [ebx + 0x146]
test al, al
jne 0x4f1a6d
push 0x12
push str.Transfer_Encoding:
push esi
call fcn.00508ca0
add esp, 0xc
test eax, eax
je 0x4f1a67
add esi, 0x12
push 1
push esi
push ebx
call fcn.004e3270
add esp, 0xc
mov esi, ebx
mov ebx, eax
test eax, eax
jne 0x4f17de
cmp byte [esi + 0x147], 0
jne 0x4f17dc
cmp byte [esi + 0x67d], 1
jne 0x4f17dc
push 1
push edi
call fcn.004e15b0
add esp, 8
mov byte [esi + 0x148], 1
jmp 0x4f17dc
mov al, byte [ebx + 0x146]
test al, 1
jne 0x4f1aac
push 0x11
push str.Content_Encoding:
push esi
call fcn.00508ca0
add esp, 0xc
test eax, eax
je 0x4f1aac
cmp dword [ebx + 0x4ec], 0
je 0x4f1aac
add esi, 0x11
push 0
push esi
push ebx
call fcn.004e3270
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x4f17de
jmp 0x4f17dc
push 0xc
push str.Retry_After:
push esi
call fcn.00508ca0
add esp, 0xc
test eax, eax
je 0x4f1b28
xor eax, eax
lea ebx, [esp + 8]
mov dword [ebx + 4], eax
mov dword [ebx], eax
add esi, 0xc
push ebx
push 0xa
push eax
push esi
call fcn.00509db0
add esp, 0x10
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
mov eax, edi
or eax, ebx
je 0x4f1b04
mov eax, dword [ebp + 8]
mov dword [eax + 0xd30], edi
mov dword [eax + 0xd34], ebx
jmp 0x4f17dc
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
jmp 0x4f1ae6
push esi
call fcn.004ff310
add esp, 4
mov edi, eax
and eax, edx
cmp eax, 0xffffffff
je 0x4f1afa
mov ebx, edx
push 0
call fcn.00668858
add esp, 4
sub edi, eax
sbb ebx, edx
jmp 0x4f1ae6
cmp byte [ebx + 0x146], 0
jne 0x4f1b80
push 0xe
push str.Content_Range:
push esi
call fcn.00508ca0
add esp, 0xc
test eax, eax
je 0x4f1b80
mov al, byte [esi + 0xe]
test al, al
je 0x4f1b6d
add esi, 0xe
mov ecx, eax
add cl, 0xd0
cmp al, 0x2a
je 0x4f1d96
cmp cl, 0xa
jb 0x4f1d96
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4f1b4f
xor eax, eax
mov dword [ebx + 0xbfc], eax
mov dword [ebx + 0xbf8], eax
jmp 0x4f17dc
cmp dword [ebx + 0x6a0], 0
je 0x4f1c2a
cmp byte [ebx + 0xced], 1
jne 0x4f1c2a
push 0xb
push str.Set_Cookie:
push esi
call fcn.00508ca0
add esp, 0xc
test eax, eax
je 0x4f1c2a
mov ebx, dword [ebx + 0xcc0]
test ebx, ebx
jne 0x4f1bbb
mov ebx, dword [edi + 0x50]
mov eax, dword [edi + 0x1e4]
mov byte [esp + 7], 1
test byte [eax + 0x44], 2
jne 0x4f1be2
push ebx
push str.localhost
call fcn.00508c30
add esp, 8
test eax, eax
je 0x4f1fbd
mov eax, 2
push eax
push eax
mov edi, dword [ebp + 8]
push edi
call fcn.005058f0
add esp, 0xc
add esi, 0xb
movzx eax, byte [esp + 7]
push eax
push dword [edi + 0xc2c]
push ebx
push esi
push 0
push 1
push dword [edi + 0x6a0]
push edi
call fcn.004e3b00
add esp, 0x20
mov eax, 2
push eax
push edi
call fcn.00505950
jmp 0x4f1953
cmp byte [ebx + 0x146], 0
jne 0x4f1c8f
push 0xe
push str.Last_Modified:
push esi
call fcn.00508ca0
add esp, 0xc
test eax, eax
je 0x4f1c8f
cmp byte [ebx + 0x3b8], 0
je 0x4f1c86
add esi, 0xe
push esi
call fcn.004ff310
add esp, 4
mov dword [ebx + 0x10c], edx
mov dword [ebx + 0x108], eax
cmp byte [ebx + 0x675], 1
jne 0x4f17dc
mov dword [ebx + 0xd08], eax
mov dword [ebx + 0xd0c], edx
jmp 0x4f17dc
cmp byte [ebx + 0x675], 1
je 0x4f1c50
push 0x11
push str.WWW_Authenticate:
push esi
call fcn.00508ca0
add esp, 0xc
test eax, eax
je 0x4f1cb3
cmp dword [ebx + 0xe0], 0x191
je 0x4f1d50
push 0x13
push str.Proxy_authenticate:
push esi
call fcn.00508ca0
add esp, 0xc
test eax, eax
je 0x4f1cd8
mov bl, 1
mov eax, dword [ebp + 8]
cmp dword [eax + 0xe0], 0x197
je 0x4f1d52
push 0x10
push str.Persistent_Auth:
push esi
call fcn.00508ca0
add esp, 0xc
test eax, eax
je 0x4f1de7
mov eax, dword [ebp + 8]
cmp dword [eax + 0x918], 4
jne 0x4f17dc
push esi
call fcn.004ee670
add esp, 4
test eax, eax
je 0x4f17f3
mov ebx, eax
push 5
push 0x739968
push eax
call fcn.00508ca0
add esp, 0xc
test eax, eax
setne byte [edi + 0x328]
mov byte [edi + 0x329], 1
mov edx, dword [ebp + 8]
test edx, edx
je 0x4f1fab
cmp byte [edx + 0x683], 1
jne 0x4f1fab
jmp 0x4f1f94
xor ebx, ebx
push esi
call fcn.004ee670
add esp, 4
test eax, eax
je 0x4f17f3
mov edi, eax
movzx eax, bl
push edi
push eax
push dword [ebp + 8]
call fcn.004ef290
add esp, 0xc
mov ebx, eax
mov ecx, dword [fcn.005464a0]
call dword [0x7a29f4]
push edi
call ecx
add esp, 4
test ebx, ebx
jne 0x4f17de
jmp 0x4f17dc
cmp cl, 9
ja 0x4f1b6d
lea eax, [ebx + 0xd8]
push eax
push 0xa
push 0
push esi
call fcn.00509db0
add esp, 0x10
test eax, eax
jne 0x4f17dc
mov eax, dword [ebx + 0xbfc]
xor eax, dword [ebx + 0xdc]
mov ecx, dword [ebx + 0xbf8]
xor ecx, dword [ebx + 0xd8]
or ecx, eax
jne 0x4f17dc
mov byte [ebx + 0x143], 1
jmp 0x4f17dc
mov eax, 0xfffffed4
mov ebx, dword [ebp + 8]
add eax, dword [ebx + 0xe0]
cmp eax, 0x63
ja 0x4f1e1b
push 9
push str.Location:
push esi
call fcn.00508ca0
add esp, 0xc
test eax, eax
je 0x4f1e1b
cmp dword [ebx + 0x114], 0
je 0x4f1f12
cmp dword [ebx + 0x6a4], 0
je 0x4f1e44
push 0x1a
push str.Strict_Transport_Security:
push esi
call fcn.00508ca0
add esp, 0xc
test eax, eax
je 0x4f1e44
mov eax, dword [edi + 0x1e4]
test byte [eax + 0x4c], 1
jne 0x4f1e87
cmp dword [ebx + 0x6a8], 0
je 0x4f1e6d
push 8
push str.Alt_Svc:
push esi
call fcn.00508ca0
add esp, 0xc
test eax, eax
je 0x4f1e6d
mov eax, dword [edi + 0x1e4]
test byte [eax + 0x4c], 1
jne 0x4f1ec3
mov eax, dword [edi + 0x1e4]
mov ebx, 4
test byte [eax + 0x46], 4
je 0x4f17dc
jmp 0x4f17de
add esi, 0x1a
push esi
push dword [edi + 0x50]
push dword [ebx + 0x6a4]
call fcn.004ed090
add esp, 0xc
test ebx, ebx
je 0x4f17dc
test eax, eax
je 0x4f17dc
cmp byte [ebx + 0x683], 1
jne 0x4f17dc
push str.Illegal_STS_header_skipped
jmp 0x4f1980
mov al, byte [edi + 0x3bd]
xor ecx, ecx
cmp al, 0x14
sete cl
cmp al, 0x1e
lea eax, [ecx*8 + 8]
mov ebx, 0x20
cmovne ebx, eax
push dword [edi + 0x3a8]
call fcn.0051ed20
add esp, 4
add esi, 8
movzx eax, ax
push eax
push dword [edi + 0x50]
push ebx
push esi
mov eax, dword [ebp + 8]
push dword [eax + 0x6a8]
push eax
call fcn.004d8d00
add esp, 0x18
jmp 0x4f1a9d
push esi
call fcn.004ee670
add esp, 4
mov ebx, 0x1b
test eax, eax
je 0x4f17de
cmp byte [eax], 0
je 0x4f1f80
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x114], eax
cmp byte [ecx + 0x67c], 1
jne 0x4f17dc
mov esi, eax
mov ecx, dword [fcn.00666700]
call dword [0x7a29f4]
push esi
call ecx
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x118], eax
test eax, eax
je 0x4f17de
mov esi, dword [ebp + 8]
mov ecx, esi
mov edx, edi
call fcn.004eeb40
mov byte [esi + 0xce1], 1
jmp 0x4f17dc
mov ecx, dword [fcn.005464a0]
mov esi, eax
call dword [0x7a29f4]
push esi
jmp 0x4f1801
xor ecx, ecx
test eax, eax
setne cl
push ebx
push ecx
push str.Negotiate:_noauthpersist_____d__header_part:__s
push edx
call fcn.004e7630
add esp, 0x10
mov ecx, dword [fcn.005464a0]
call dword [0x7a29f4]
push ebx
jmp 0x4f1801
push str.127.0.0.1
push ebx
call fcn.0066e370
add esp, 8
test eax, eax
je 0x4f1be2
push 0x742d3c
push ebx
call fcn.0066e370
add esp, 8
test eax, eax
sete byte [esp + 7]
jmp 0x4f1be2