Function at 0x10023f30
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 0x1002401b
cmp byte [esi + 0x713], 0
jne 0x1002401b
push 0xf
push edi
push str.Content_Length:
call fcn.10029dc0
add esp, 0xc
test eax, eax
je 0x1002401b
lea eax, [esp + 0xc]
push eax
push 0xa
lea eax, [edi + 0xf]
push 0
push eax
call fcn.10031840
add esp, 0x10
test eax, eax
jne 0x10023fb2
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 0x10024001
mov eax, dword [esi + 0x500]
or eax, dword [esi + 0x504]
je 0x10023fdf
push str.Maximum_file_size_exceeded
push esi
call fcn.1001a560
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
add esp, 8
ret
push 2
push dword [esp + 0x20]
call fcn.1001af20
push str.Overflow_Content_Length:_value_
push esi
call fcn.1001a630
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.1001a560
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.10029dc0
add esp, 0xc
test eax, eax
je 0x10024080
push edi
call fcn.10023190
mov edi, eax
add esp, 4
test edi, edi
jne 0x1002404a
pop edi
pop esi
mov eax, 0x1b
pop ebx
add esp, 8
ret
cmp byte [edi], 0
jne 0x10024062
push edi
call dword [0x10076004]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
push dword [esi + 0xd34]
call dword [0x10076004]
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 0x100240cc
cmp byte [ebx + 0x258], 0
je 0x100240cc
push str.keep_alive
push str.Proxy_Connection:
push edi
call fcn.100230c0
add esp, 0xc
test al, al
je 0x100240cc
push 0
push ebx
call fcn.1001af20
push str.HTTP_1.0_proxy_connection_set_to_keep_alive_
push esi
call fcn.1001a630
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [ebx + 0x114], 0xb
jne 0x10024114
cmp byte [ebx + 0x258], 0
je 0x10024114
push str.close
push str.Proxy_Connection:
push edi
call fcn.100230c0
add esp, 0xc
test al, al
je 0x10024114
push 1
push ebx
call fcn.1001af20
push str.HTTP_1.1_proxy_connection_set_close_
push esi
call fcn.1001a630
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [ebx + 0x114], 0xa
jne 0x10024153
push str.keep_alive
push str.Connection:
push edi
call fcn.100230c0
add esp, 0xc
test al, al
je 0x10024153
push 0
push ebx
call fcn.1001af20
push str.HTTP_1.0_connection_set_to_keep_alive_
push esi
call fcn.1001a630
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.100230c0
add esp, 0xc
test al, al
je 0x1002417e
push 2
push ebx
call fcn.1001af20
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [esi + 0x13c], 0
jne 0x10024219
push 0x12
push edi
push str.Transfer_Encoding:
call fcn.10029dc0
add esp, 0xc
test eax, eax
je 0x100241d5
push 1
lea eax, [edi + 0x12]
push eax
push esi
call fcn.1001d870
add esp, 0xc
test eax, eax
jne 0x10024177
cmp byte [esi + 0x13d], al
jne 0x10024175
push 1
push ebx
call fcn.1001af20
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 0x10024219
push 0x11
push edi
push str.Content_Encoding:
call fcn.10029dc0
add esp, 0xc
test eax, eax
je 0x10024219
cmp dword [esi + 0x548], 0
je 0x10024219
push 0
lea eax, [edi + 0x11]
push eax
push esi
call fcn.1001d870
add esp, 0xc
test eax, eax
je 0x10024175
pop edi
pop esi
pop ebx
add esp, 8
ret
push 0xc
push edi
push str.Retry_After:
call fcn.10029dc0
add esp, 0xc
test eax, eax
je 0x100242a4
push ebp
xorps xmm0, xmm0
lea ebp, [edi + 0xc]
push ebp
movlpd qword [esp + 0x14], xmm0
call fcn.10008a30
mov ebx, eax
add esp, 4
mov edi, edx
cmp ebx, 0xffffffff
jne 0x10024280
cmp edi, eax
jne 0x10024280
lea eax, [esp + 0x10]
push eax
push 0xa
push 0
push ebp
call fcn.10031840
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.100437c3
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 0x100243d1
push 0xe
push edi
push str.Content_Range:
call fcn.10029dc0
add esp, 0xc
test eax, eax
je 0x10024366
mov al, byte [edi + 0xe]
add edi, 0xe
test al, al
je 0x100242f0
movzx eax, al
push eax
call fcn.10031730
add esp, 4
test eax, eax
jne 0x100242f0
cmp byte [edi], 0x2a
je 0x100242f0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100242d3
movzx eax, byte [edi]
push eax
call fcn.10031730
add esp, 4
test eax, eax
je 0x10024349
lea ebx, [esi + 0xe8]
push ebx
push 0xa
push 0
push edi
call fcn.10031840
add esp, 0x10
test eax, eax
jne 0x10024175
mov eax, dword [esi + 0xc28]
cmp eax, dword [ebx]
jne 0x10024175
mov eax, dword [esi + 0xc2c]
cmp eax, dword [ebx + 4]
jne 0x10024175
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 0x100243d1
push 0xe
push edi
push str.Last_Modified:
call fcn.10029dc0
add esp, 0xc
test eax, eax
je 0x100243d1
cmp dword [esi + 0x3ec], 0
jne 0x10024395
cmp byte [esi + 0x6fd], 0
je 0x100243d1
lea eax, [edi + 0xe]
push eax
call fcn.10008a30
add esp, 4
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], edx
cmp byte [esi + 0x6fd], 0
je 0x10024175
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.10029dc0
add esp, 0xc
test eax, eax
je 0x100243f2
mov eax, dword [esi + 0xf0]
cmp eax, 0x191
je 0x10024413
push 0x13
push edi
push str.Proxy_authenticate:
call fcn.10029dc0
add esp, 0xc
test eax, eax
je 0x10024458
mov eax, dword [esi + 0xf0]
cmp eax, 0x197
jne 0x10024458
cmp eax, 0x197
push edi
sete byte [esp + 0x1c]
call fcn.10023190
mov edi, eax
add esp, 4
test edi, edi
je 0x1002403e
push edi
push dword [esp + 0x1c]
push esi
call fcn.10024720
push edi
mov esi, eax
call dword [0x10076004]
add esp, 0x10
test esi, esi
je 0x10024175
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 8
ret
mov eax, dword [esi + 0xf0]
cmp eax, 0x12c
jl 0x100244fe
cmp eax, 0x190
jge 0x100244fe
push 9
push edi
push str.Location:
call fcn.10029dc0
add esp, 0xc
test eax, eax
je 0x100244fe
cmp dword [esi + 0x124], 0
jne 0x100244fe
push edi
call fcn.10023190
add esp, 4
test eax, eax
je 0x1002403e
cmp byte [eax], 0
jne 0x100244ba
push eax
call dword [0x10076004]
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 0x10024175
push eax
call dword [0x1007600c]
add esp, 4
mov dword [esi + 0x128], eax
test eax, eax
je 0x1002403e
push ebx
push esi
call fcn.10025ac0
add esp, 8
test eax, eax
je 0x10024175
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp dword [esi + 0x734], 0
je 0x1002455e
push 0x1a
push edi
push str.Strict_Transport_Security:
call fcn.10029dc0
add esp, 0xc
test eax, eax
je 0x1002455e
mov eax, dword [ebx + 0x298]
test byte [eax + 0x4c], 1
je 0x1002455e
lea eax, [edi + 0x1a]
push eax
push dword [esi + 0xc64]
push dword [esi + 0x734]
call fcn.1001cd10
add esp, 0xc
test eax, eax
je 0x10024175
push str.Illegal_STS_header_skipped
push esi
call fcn.1001a630
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 0x10024175
pop edi
pop esi
mov eax, 4
pop ebx
add esp, 8
ret