Function at 0x4255b0
Capabilities:
Check http status code

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x20]
cmp byte [esi + 0x13c], 0
jne 0x42569b
cmp byte [esi + 0x713], 0
jne 0x42569b
push 0xf
push edi
push str.Content_Length:
call fcn.0042b440
add esp, 0xc
test eax, eax
je 0x42569b
lea eax, [esp + 0xc]
push eax
push 0xa
lea eax, [edi + 0xf]
push 0
push eax
call fcn.00432eb0
add esp, 0x10
test eax, eax
jne 0x425632
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
pop edi
mov dword [esi + 0x84], eax
mov dword [esi + 0x8c], eax
xor eax, eax
mov dword [esi + 0x80], ecx
mov dword [esi + 0x88], ecx
pop esi
pop ebx
add esp, 8
ret
cmp eax, 1
jne 0x425681
mov eax, dword [esi + 0x500]
or eax, dword [esi + 0x504]
je 0x42565f
push str.Maximum_file_size_exceeded
push esi
call fcn.0041bbd0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
add esp, 8
ret
push 2
push dword [esp + 0x20]
call fcn.0041c590
push str.Overflow_Content_Length:_value_
push esi
call fcn.0041bca0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
push str.Invalid_Content_Length:_value
push esi
call fcn.0041bbd0
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebx
add esp, 8
ret
push 0xd
push edi
push str.Content_Type:
call fcn.0042b440
add esp, 0xc
test eax, eax
je 0x425700
push edi
call fcn.00424810
mov edi, eax
add esp, 4
test edi, edi
jne 0x4256ca
pop edi
pop esi
mov eax, 0x1b
pop ebx
add esp, 8
ret
cmp byte [edi], 0
jne 0x4256e2
push edi
call dword [0x477004]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
push dword [esi + 0xd34]
call dword [0x477004]
add esp, 4
mov dword [esi + 0xd34], edi
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
mov ebx, dword [esp + 0x1c]
cmp byte [ebx + 0x114], 0xa
jne 0x42574c
cmp byte [ebx + 0x258], 0
je 0x42574c
push str.keep_alive
push str.Proxy_Connection:
push edi
call fcn.00424740
add esp, 0xc
test al, al
je 0x42574c
push 0
push ebx
call fcn.0041c590
push str.HTTP_1.0_proxy_connection_set_to_keep_alive_
push esi
call fcn.0041bca0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [ebx + 0x114], 0xb
jne 0x425794
cmp byte [ebx + 0x258], 0
je 0x425794
push str.close
push str.Proxy_Connection:
push edi
call fcn.00424740
add esp, 0xc
test al, al
je 0x425794
push 1
push ebx
call fcn.0041c590
push str.HTTP_1.1_proxy_connection_set_close_
push esi
call fcn.0041bca0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [ebx + 0x114], 0xa
jne 0x4257d3
push str.keep_alive
push str.Connection:
push edi
call fcn.00424740
add esp, 0xc
test al, al
je 0x4257d3
push 0
push ebx
call fcn.0041c590
push str.HTTP_1.0_connection_set_to_keep_alive_
push esi
call fcn.0041bca0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
push str.close
push str.Connection:
push edi
call fcn.00424740
add esp, 0xc
test al, al
je 0x4257fe
push 2
push ebx
call fcn.0041c590
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [esi + 0x13c], 0
jne 0x425899
push 0x12
push edi
push str.Transfer_Encoding:
call fcn.0042b440
add esp, 0xc
test eax, eax
je 0x425855
push 1
lea eax, [edi + 0x12]
push eax
push esi
call fcn.0041eef0
add esp, 0xc
test eax, eax
jne 0x4257f7
cmp byte [esi + 0x13d], al
jne 0x4257f5
push 1
push ebx
call fcn.0041c590
add esp, 8
mov byte [esi + 0x13e], 1
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [esi + 0x13c], 0
jne 0x425899
push 0x11
push edi
push str.Content_Encoding:
call fcn.0042b440
add esp, 0xc
test eax, eax
je 0x425899
cmp dword [esi + 0x548], 0
je 0x425899
push 0
lea eax, [edi + 0x11]
push eax
push esi
call fcn.0041eef0
add esp, 0xc
test eax, eax
je 0x4257f5
pop edi
pop esi
pop ebx
add esp, 8
ret
push 0xc
push edi
push str.Retry_After:
call fcn.0042b440
add esp, 0xc
test eax, eax
je 0x425924
push ebp
xorps xmm0, xmm0
lea ebp, [edi + 0xc]
push ebp
movlpd qword [esp + 0x14], xmm0
call fcn.004064c0
mov ebx, eax
add esp, 4
mov edi, edx
cmp ebx, 0xffffffff
jne 0x425900
cmp edi, eax
jne 0x425900
lea eax, [esp + 0x10]
push eax
push 0xa
push 0
push ebp
call fcn.00432eb0
mov edi, dword [esp + 0x24]
add esp, 0x10
mov ebx, dword [esp + 0x10]
xor eax, eax
mov dword [esi + 0xd44], edi
mov dword [esi + 0xd40], ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
push 0
call fcn.00444be3
add esp, 4
sub ebx, eax
mov dword [esi + 0xd40], ebx
sbb edi, edx
xor eax, eax
mov dword [esi + 0xd44], edi
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [esi + 0x13c], 0
jne 0x425a51
push 0xe
push edi
push str.Content_Range:
call fcn.0042b440
add esp, 0xc
test eax, eax
je 0x4259e6
mov al, byte [edi + 0xe]
add edi, 0xe
test al, al
je 0x425970
movzx eax, al
push eax
call fcn.00432da0
add esp, 4
test eax, eax
jne 0x425970
cmp byte [edi], 0x2a
je 0x425970
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x425953
movzx eax, byte [edi]
push eax
call fcn.00432da0
add esp, 4
test eax, eax
je 0x4259c9
lea ebx, [esi + 0xe8]
push ebx
push 0xa
push 0
push edi
call fcn.00432eb0
add esp, 0x10
test eax, eax
jne 0x4257f5
mov eax, dword [esi + 0xc28]
cmp eax, dword [ebx]
jne 0x4257f5
mov eax, dword [esi + 0xc2c]
cmp eax, dword [ebx + 4]
jne 0x4257f5
pop edi
mov byte [esi + 0x139], 1
xor eax, eax
pop esi
pop ebx
add esp, 8
ret
pop edi
mov dword [esi + 0xc28], 0
xor eax, eax
mov dword [esi + 0xc2c], 0
pop esi
pop ebx
add esp, 8
ret
cmp byte [esi + 0x13c], 0
jne 0x425a51
push 0xe
push edi
push str.Last_Modified:
call fcn.0042b440
add esp, 0xc
test eax, eax
je 0x425a51
cmp dword [esi + 0x3ec], 0
jne 0x425a15
cmp byte [esi + 0x6fd], 0
je 0x425a51
lea eax, [edi + 0xe]
push eax
call fcn.004064c0
add esp, 4
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], edx
cmp byte [esi + 0x6fd], 0
je 0x4257f5
mov dword [esi + 0xd10], eax
mov eax, edx
pop edi
mov dword [esi + 0xd14], eax
xor eax, eax
pop esi
pop ebx
add esp, 8
ret
push 0x11
push edi
push str.WWW_Authenticate:
call fcn.0042b440
add esp, 0xc
test eax, eax
je 0x425a72
mov eax, dword [esi + 0xf0]
cmp eax, 0x191
je 0x425a93
push 0x13
push edi
push str.Proxy_authenticate:
call fcn.0042b440
add esp, 0xc
test eax, eax
je 0x425ad8
mov eax, dword [esi + 0xf0]
cmp eax, 0x197
jne 0x425ad8
cmp eax, 0x197
push edi
sete byte [esp + 0x1c]
call fcn.00424810
mov edi, eax
add esp, 4
test edi, edi
je 0x4256be
push edi
push dword [esp + 0x1c]
push esi
call fcn.00425da0
push edi
mov esi, eax
call dword [0x477004]
add esp, 0x10
test esi, esi
je 0x4257f5
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 8
ret
mov eax, dword [esi + 0xf0]
cmp eax, 0x12c
jl 0x425b7e
cmp eax, 0x190
jge 0x425b7e
push 9
push edi
push str.Location:
call fcn.0042b440
add esp, 0xc
test eax, eax
je 0x425b7e
cmp dword [esi + 0x124], 0
jne 0x425b7e
push edi
call fcn.00424810
add esp, 4
test eax, eax
je 0x4256be
cmp byte [eax], 0
jne 0x425b3a
push eax
call dword [0x477004]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [esi + 0x705], 0
mov dword [esi + 0x124], eax
je 0x4257f5
push eax
call dword [0x47700c]
add esp, 4
mov dword [esi + 0x128], eax
test eax, eax
je 0x4256be
push ebx
push esi
call fcn.00427140
add esp, 8
test eax, eax
je 0x4257f5
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp dword [esi + 0x734], 0
je 0x425bde
push 0x1a
push edi
push str.Strict_Transport_Security:
call fcn.0042b440
add esp, 0xc
test eax, eax
je 0x425bde
mov eax, dword [ebx + 0x298]
test byte [eax + 0x4c], 1
je 0x425bde
lea eax, [edi + 0x1a]
push eax
push dword [esi + 0xc64]
push dword [esi + 0x734]
call fcn.0041e390
add esp, 0xc
test eax, eax
je 0x4257f5
push str.Illegal_STS_header_skipped
push esi
call fcn.0041bca0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
mov eax, dword [ebx + 0x298]
test dword [eax + 0x44], 0x40000
je 0x4257f5
pop edi
pop esi
mov eax, 4
pop ebx
add esp, 8
ret