Function at 0x100512a0
Capabilities:
Check http status code

Disassembly:
sub esp, 0x30
mov eax, dword [esp + 0x3c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
mov ecx, dword [eax]
push edi
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0xe8]
lea ebp, [esi + 0x88]
mov dword [esi + 0xec], ecx
mov ebx, ecx
push dword [eax]
mov dword [esp + 0x28], ecx
push 0xa
push ecx
call sub.VCRUNTIME140.dll_memchr
mov edi, dword [esp + 0x54]
add esp, 0xc
mov dword [esi + 0xf0], eax
test eax, eax
je 0x1005217d
nop dword [eax]
sub ebx, eax
mov eax, dword [esp + 0x4c]
dec ebx
add dword [eax], ebx
mov eax, dword [esi + 0xf0]
inc eax
mov dword [esi + 0xe8], eax
sub eax, dword [esi + 0xec]
push eax
push ebp
push esi
call fcn.100525e0
add esp, 0xc
test eax, eax
jne 0x1005222c
cmp dword [esi + 0xdc], 0
mov eax, dword [esi + 0xe0]
mov dword [esi + 0xf0], eax
mov eax, dword [esi + 0xc4c]
mov dword [esi + 0xf4], eax
jne 0x10051359
push dword [esi + 0xe4]
push eax
push esi
call fcn.10052480
add esp, 0xc
cmp eax, 2
je 0x100521f9
mov edx, dword [esi + 0xf4]
mov al, byte [edx]
cmp al, 0xa
je 0x10051dd4
cmp al, 0xd
je 0x10051dd8
mov ecx, dword [esi + 0xdc]
lea eax, [ecx + 1]
mov dword [esi + 0xdc], eax
test ecx, ecx
jne 0x10051669
mov eax, dword [edi + 0x2c0]
mov eax, dword [eax + 0x40]
test al, 3
je 0x100514bb
lea ebp, [esi + 0x100]
push ebp
lea eax, [esp + 0x48]
push eax
lea ebx, [edi + 0x184]
push ebx
lea eax, [esp + 0x24]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call fcn.1000661d
add esp, 0x18
cmp eax, 1
jne 0x100513fe
cmp dword [esp + 0x18], 2
jl 0x10052258
push ebp
lea eax, [esp + 0x18]
push eax
push str._HTTP__1_23___d
push dword [esi + 0xf4]
call fcn.1000661d
add esp, 0x10
cmp eax, 2
jne 0x10052258
mov dword [ebx], 0
mov byte [esp + 0x44], 0x20
jmp 0x1005140e
cmp eax, 4
jne 0x10051464
cmp byte [esp + 0x44], 0x20
jne 0x10052258
mov eax, dword [esp + 0x18]
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
lea eax, [eax + ecx*2]
mov dword [ebx], eax
mov ecx, eax
cmp dword [esi + 0x11c], 2
jne 0x1005143c
cmp eax, 0x14
je 0x1005143c
push str.Lying_server__not_serving_HTTP_2_n
push esi
call fcn.100447a0
mov ecx, dword [ebx]
add esp, 8
cmp ecx, 0x14
jge 0x1005151b
mov eax, dword [edi + 0x55c]
push str.Mark_bundle_as_not_supporting_multiuse_n
push esi
mov dword [eax], 0xffffffff
call fcn.100447a0
add esp, 8
jmp 0x1005151b
test eax, eax
jne 0x10052258
push ebp
push str._HTTP__3d
push dword [esi + 0xf4]
call fcn.1000661d
add esp, 0xc
mov dword [ebx], 0xa
test eax, eax
jne 0x1005151b
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push esi
call fcn.10052480
add esp, 0xc
cmp eax, 1
jne 0x10052305
mov dword [ebp], 0xc8
mov dword [ebx], 0xa
jmp 0x1005151b
test eax, 0x40000
je 0x10052305
lea ebp, [esi + 0x100]
push ebp
lea eax, [esp + 0x17]
push eax
lea ebx, [edi + 0x188]
push ebx
lea eax, [esp + 0x28]
push eax
push str._RTSP__1d._1d_c_3d
push edx
call fcn.1000661d
add esp, 0x18
cmp eax, 4
jne 0x10052305
cmp byte [esp + 0x13], 0x20
jne 0x10052305
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x184], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx], eax
lea ebx, [edi + 0x184]
mov eax, dword [ebp]
mov dword [esi + 0xf98], eax
mov eax, dword [ebx]
mov dword [esi + 0xfa0], eax
mov eax, dword [esi + 0xf24]
test eax, eax
je 0x1005153a
cmp eax, dword [ebx]
jle 0x10051542
mov eax, dword [ebx]
mov dword [esi + 0xf24], eax
mov eax, dword [esi + 0xf30]
or eax, dword [esi + 0xf34]
je 0x1005156b
cmp dword [esi + 0x828], 1
jne 0x1005156b
cmp dword [ebp], 0x1a0
jne 0x1005156b
or dword [esi + 0x588], 8
jmp 0x100515af
test dword [esi + 0xa88], 0x8000
je 0x100515af
mov eax, dword [ebp]
cmp eax, 0x190
jl 0x100515af
cmp eax, 0x191
jne 0x10051594
test dword [edi + 0x29c], 0x100
jne 0x100515af
cmp eax, 0x197
jne 0x10052273
test dword [edi + 0x29c], 0x200
je 0x10052273
mov eax, dword [ebx]
cmp eax, 0xa
jne 0x100515ce
push str.HTTP_1.0__assume_close_after_body_n
push esi
call fcn.100447a0
push 1
push edi
call fcn.10045230
add esp, 0x10
jmp 0x100515ee
cmp eax, 0x14
je 0x100515e2
cmp dword [esi + 0x11c], 1
jne 0x100515ee
cmp dword [ebp], 0x65
jne 0x100515ee
mov eax, dword [edi + 0x55c]
mov dword [eax], 2
mov edx, dword [ebp]
mov ecx, 0x63
lea eax, [edx - 0x64]
cmp ecx, eax
mov eax, dword [esi + 0x588]
sbb ecx, ecx
and eax, 0xffffffef
and ecx, 0xfffffff0
add ecx, 0x10
or ecx, eax
mov dword [esi + 0x588], ecx
sub edx, 0xcc
je 0x10051630
sub edx, 0x64
jne 0x10051663
cmp dword [esi + 0x81c], edx
je 0x10051630
or dword [esi + 0x1058], 1
lea ebp, [esi + 0x88]
or ecx, 0x10
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x588], ecx
jmp 0x10051669
lea ebp, [esi + 0x88]
test byte [esi + 0x588], 0x10
jne 0x10051743
cmp dword [esi + 0xa88], 0
jl 0x10051743
push 0xf
push dword [esi + 0xf4]
push str.Content_Length:
call fcn.10049210
add esp, 0xc
test eax, eax
je 0x10051743
lea eax, [esp + 0x30]
push eax
mov eax, dword [esi + 0xf4]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.10054b00
add esp, 0x10
test eax, eax
jne 0x1005170d
mov ebx, dword [esi + 0x8f8]
mov eax, ebx
mov edx, dword [esi + 0x8fc]
or eax, edx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
je 0x100516eb
cmp ecx, edx
jg 0x10052316
jl 0x100516eb
cmp eax, ebx
ja 0x10052316
push ecx
push eax
push esi
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ecx
call fcn.10053150
add esp, 0xc
jmp 0x10051d52
cmp eax, 1
jne 0x10052331
mov eax, dword [esi + 0x8f8]
or eax, dword [esi + 0x8fc]
jne 0x10052316
push 2
push edi
call fcn.10045230
push str.Overflow_Content_Length:_value__n
push esi
call fcn.100447a0
add esp, 0x10
jmp 0x10051d52
push 0xd
push dword [esi + 0xf4]
push str.Content_Type:
call fcn.10049210
add esp, 0xc
test eax, eax
je 0x100517a2
push dword [esi + 0xf4]
call fcn.10050ba0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1005234c
cmp byte [ebx], 0
jne 0x10051788
push ebx
call dword [0x10089208]
add esp, 4
jmp 0x10051d52
push dword [esi + 0xfcc]
call dword [0x10089208]
add esp, 4
mov dword [esi + 0xfcc], ebx
jmp 0x10051d52
cmp dword [edi + 0x184], 0xa
jne 0x100517eb
test byte [edi + 0x29c], 0x40
je 0x100517eb
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0xf4]
call fcn.10050ae0
add esp, 0xc
test al, al
je 0x100517eb
push 0
push edi
call fcn.10045230
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push esi
call fcn.100447a0
add esp, 0x10
jmp 0x10051d52
cmp dword [edi + 0x184], 0xb
jne 0x10051834
test byte [edi + 0x29c], 0x40
je 0x10051834
push str.close
push str.Proxy_Connection:
push dword [esi + 0xf4]
call fcn.10050ae0
add esp, 0xc
test al, al
je 0x10051834
push 1
push edi
call fcn.10045230
push str.HTTP_1.1_proxy_connection_set_close__n
push esi
call fcn.100447a0
add esp, 0x10
jmp 0x10051d52
cmp dword [edi + 0x184], 0xa
jne 0x10051874
push str.keep_alive
push str.Connection:
push dword [esi + 0xf4]
call fcn.10050ae0
add esp, 0xc
test al, al
je 0x10051874
push 0
push edi
call fcn.10045230
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
call fcn.100447a0
add esp, 0x10
jmp 0x10051d52
push str.close
push str.Connection:
push dword [esi + 0xf4]
call fcn.10050ae0
add esp, 0xc
test al, al
je 0x100518a0
push 2
push edi
call fcn.10045230
add esp, 8
jmp 0x10051d52
test byte [esi + 0x588], 0x10
jne 0x1005191c
push 0x12
push dword [esi + 0xf4]
push str.Transfer_Encoding:
call fcn.10049210
add esp, 0xc
test eax, eax
je 0x100518cf
mov eax, dword [esi + 0xf4]
push 1
add eax, 0x12
jmp 0x10051905
test byte [esi + 0x588], 0x10
jne 0x1005191c
push 0x11
push dword [esi + 0xf4]
push str.Content_Encoding:
call fcn.10049210
add esp, 0xc
test eax, eax
je 0x1005191c
cmp dword [esi + 0x944], 0
je 0x1005191c
mov eax, dword [esi + 0xf4]
push 0
add eax, 0x11
push eax
push edi
call fcn.100498f0
add esp, 0xc
test eax, eax
jne 0x1005222c
jmp 0x10051d52
push 0xc
push dword [esi + 0xf4]
push str.Retry_After:
call fcn.10049210
add esp, 0xc
test eax, eax
je 0x100519b2
mov eax, dword [esi + 0xf4]
xorps xmm0, xmm0
add eax, 0xc
movlpd qword [esp + 0x28], xmm0
push 0
push eax
call fcn.100543d0
mov ebp, eax
add esp, 8
mov ebx, edx
cmp ebp, 0xffffffff
jne 0x10051993
cmp ebx, eax
jne 0x10051993
lea eax, [esp + 0x28]
push eax
mov eax, dword [esi + 0xf4]
push 0xa
add eax, 0xc
push 0
push eax
call fcn.10054b00
mov ebx, dword [esp + 0x3c]
add esp, 0x10
mov ebp, dword [esp + 0x28]
mov dword [esi + 0xfd8], ebp
mov dword [esi + 0xfdc], ebx
jmp 0x10051d52
push 0
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
add esp, 4
sub ebp, eax
mov dword [esi + 0xfd8], ebp
sbb ebx, edx
mov dword [esi + 0xfdc], ebx
jmp 0x10051d52
test byte [esi + 0x588], 0x10
jne 0x10051a7c
push 0xe
push dword [esi + 0xf4]
push str.Content_Range:
call fcn.10049210
add esp, 0xc
test eax, eax
je 0x10051a7c
mov ebx, dword [esi + 0xf4]
add ebx, 0xe
mov al, byte [ebx]
test al, al
je 0x10051a0d
nop dword [eax + eax]
movzx eax, al
push eax
call fcn.1005b040
add esp, 4
test eax, eax
jne 0x10051a0d
cmp byte [ebx], 0x2a
je 0x10051a0d
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x100519f0
movzx eax, byte [ebx]
push eax
call fcn.1005b040
add esp, 4
test eax, eax
je 0x10051a63
lea ebp, [esi + 0xf8]
push ebp
push 0xa
push 0
push ebx
call fcn.10054b00
add esp, 0x10
test eax, eax
jne 0x10051d52
mov eax, dword [esi + 0xf30]
cmp eax, dword [ebp]
jne 0x10051d52
mov eax, dword [esi + 0xf34]
cmp eax, dword [ebp + 4]
jne 0x10051d52
or dword [esi + 0x588], 2
jmp 0x10051d52
mov dword [esi + 0xf30], 0
mov dword [esi + 0xf34], 0
jmp 0x10051d52
cmp dword [esi + 0xaa4], 0
je 0x10051afd
push 0xb
push dword [esi + 0xf4]
push str.Set_Cookie:
call fcn.10049210
add esp, 0xc
test eax, eax
je 0x10051afd
push 2
push 2
push esi
call fcn.10049f80
mov ecx, dword [edi + 0x308]
add esp, 0xc
test ecx, ecx
jne 0x10051abb
mov ecx, dword [edi + 0x9c]
mov eax, dword [edi + 0x2c0]
mov eax, dword [eax + 0x40]
shr eax, 1
and al, 1
movzx eax, al
push eax
push dword [esi + 0xf80]
mov eax, dword [esi + 0xf4]
push ecx
add eax, 0xb
push eax
push 0
push 1
push dword [esi + 0xaa4]
push esi
call fcn.10038ee0
push 2
push esi
call fcn.10049fc0
add esp, 0x28
jmp 0x10051d52
test byte [esi + 0x588], 0x10
jne 0x10051b91
push 0xe
push dword [esi + 0xf4]
push str.Last_Modified:
call fcn.10049210
add esp, 0xc
test eax, eax
je 0x10051b91
cmp dword [esi + 0x81c], 0
jne 0x10051b38
test dword [esi + 0xa88], 0x200
je 0x10051b91
push 0
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esi + 0xf4]
add eax, 0xe
mov dword [esp + 0x44], edx
push eax
call fcn.100543d0
add esp, 0xc
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], edx
test dword [esi + 0xa88], 0x200
je 0x10051d52
mov dword [esi + 0xfa8], eax
mov eax, dword [esi + 0x12c]
mov dword [esi + 0xfac], eax
jmp 0x10051d52
push 0x11
push dword [esi + 0xf4]
push str.WWW_Authenticate:
call fcn.10049210
add esp, 0xc
test eax, eax
je 0x10051bb8
mov ebx, dword [esi + 0x100]
cmp ebx, 0x191
je 0x10051bdf
push 0x13
push dword [esi + 0xf4]
push str.Proxy_authenticate:
call fcn.10049210
add esp, 0xc
test eax, eax
je 0x10051c29
mov ebx, dword [esi + 0x100]
cmp ebx, 0x197
jne 0x10051c29
push dword [esi + 0xf4]
call fcn.10050ba0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x1005234c
cmp ebx, 0x197
push ebp
sete cl
movzx ecx, cl
push ecx
push edi
call fcn.10050f20
push ebp
mov ebx, eax
call dword [0x10089208]
add esp, 0x10
test ebx, ebx
je 0x10051d52
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x30
ret
push 0xf
push dword [esi + 0xf4]
push str.Persistent_Auth
call fcn.10049210
add esp, 0xc
test eax, eax
je 0x10051ca5
cmp dword [esi + 0xcd4], 4
jne 0x10051d52
push dword [esi + 0xf4]
call fcn.10050ba0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1005234c
push 5
push ebx
push str.false
call fcn.10049210
test eax, eax
mov byte [edi + 0x435], 1
push ebx
setne al
mov byte [edi + 0x434], al
movzx eax, al
push eax
push str.Negotiate:_noauthpersist_____d__header_part:__s
push esi
call fcn.100447a0
push ebx
call dword [0x10089208]
add esp, 0x20
jmp 0x10051d52
mov eax, dword [esi + 0x100]
sub eax, 0x12c
cmp eax, 0x63
ja 0x10051d3f
push 9
push dword [esi + 0xf4]
push str.Location:
call fcn.10049210
add esp, 0xc
test eax, eax
je 0x10051d3f
cmp dword [esi + 0x13c], 0
jne 0x10051d3f
push dword [esi + 0xf4]
call fcn.10050ba0
add esp, 4
test eax, eax
je 0x1005234c
cmp byte [eax], 0
jne 0x10051d02
push eax
call dword [0x10089208]
add esp, 4
jmp 0x10051d52
test dword [esi + 0xa88], 0x20000
mov dword [esi + 0x13c], eax
je 0x10051d52
push eax
call dword [0x10089210]
add esp, 4
mov dword [esi + 0x140], eax
test eax, eax
je 0x1005234c
push edi
call fcn.100526a0
add esp, 4
test eax, eax
jne 0x1005222c
jmp 0x10051d52
mov eax, dword [edi + 0x2c0]
test dword [eax + 0x40], 0x40000
jne 0x10052359
mov eax, dword [esi + 0xa88]
mov ebx, eax
and ebx, 0x100000
or ebx, 0x200000
shr ebx, 0x14
test eax, 0x2000000
je 0x10051d87
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push 1
push esi
call fcn.10044620
add esp, 0x10
push dword [esi + 0xe4]
push dword [esi + 0xf4]
push ebx
push edi
call fcn.100445f0
add esp, 0x10
test eax, eax
jne 0x1005222c
mov ecx, dword [esi + 0xe4]
lea ebp, [esi + 0x88]
mov eax, ecx
cdq
add dword [esi + 0xfb0], eax
mov eax, ecx
adc dword [esi + 0xfb4], edx
cdq
add dword [esi + 0xa8], eax
adc dword [esi + 0xac], edx
jmp 0x10052133
cmp al, 0xd
jne 0x10051de1
inc edx
mov dword [esi + 0xf4], edx
mov al, byte [edx]
cmp al, 0xa
jne 0x10051dee
lea eax, [edx + 1]
mov dword [esi + 0xf4], eax
mov ecx, dword [esi + 0x100]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x10051e6d
sub ecx, 0x64
je 0x10051e35
sub ecx, 1
je 0x10051e1c
or dword [esi + 0x588], 1
mov dword [esi + 0xdc], 0
jmp 0x10051ecc
cmp dword [esi + 0x11c], 1
je 0x10052366
and dword [esi + 0x588], 0xfffffffe
jmp 0x10051ecc
or dword [esi + 0x588], 1
cmp dword [esi + 0x118], 0
mov dword [esi + 0xdc], 0
jle 0x10051ecc
or dword [esi + 0x138], 2
push 0
push esi
mov dword [esi + 0x118], 0
call fcn.100363f0
add esp, 8
jmp 0x10051ecc
mov ecx, dword [esi + 0x588]
mov eax, dword [ebp]
and ecx, 0xfffffffe
and eax, dword [ebp + 4]
mov dword [esi + 0x588], ecx
cmp eax, 0xffffffff
jne 0x10051ecc
test cl, 0x20
jne 0x10051ecc
test byte [edi + 0x29c], 1
jne 0x10051ecc
cmp dword [edi + 0x184], 0xb
jne 0x10051ecc
mov eax, dword [edi + 0x2c0]
test dword [eax + 0x40], 0x40000
jne 0x10051ecc
cmp dword [esi + 0x828], 6
je 0x10051ecc
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.100447a0
push 2
push edi
call fcn.10045230
add esp, 0x10
mov ecx, dword [edi + 0x29c]
mov eax, ecx
test cl, 1
je 0x10051f1c
mov edx, dword [esi + 0x100]
cmp edx, 0x191
jne 0x10051ef0
cmp dword [edi + 0x364], 2
je 0x10051f01
cmp edx, 0x197
jne 0x10051f1c
cmp dword [edi + 0x368], 2
jne 0x10051f1c
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.100447a0
add esp, 8
or dword [esi + 0xf94], 0x20
mov eax, dword [edi + 0x29c]
test al, 1
je 0x10051f5d
mov eax, dword [esi + 0x100]
cmp eax, 0x191
jne 0x10051f38
cmp dword [edi + 0x3ec], 1
je 0x10051f48
jmp 0x10051f5d
cmp eax, 0x197
jne 0x10051f5d
cmp dword [edi + 0x3f0], 1
jne 0x10051f5d
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.100447a0
add esp, 8
or dword [esi + 0xf94], 0x20
cmp dword [edi + 0x3ec], 3
jne 0x10051f7c
cmp dword [esi + 0x100], 0x191
je 0x10051f7c
mov dword [edi + 0x3ec], 4
cmp dword [edi + 0x3f0], 3
jne 0x10051f9b
cmp dword [esi + 0x100], 0x197
je 0x10051f9b
mov dword [edi + 0x3f0], 4
push edi
call fcn.10052910
add esp, 4
test eax, eax
jne 0x10052456
mov eax, dword [esi + 0xc4c]
mov ebx, dword [esi + 0xf4]
sub ebx, eax
push ebx
push eax
mov eax, dword [esi + 0xa88]
and eax, 0x100000
or eax, 0x200000
shr eax, 0x14
push eax
push edi
call fcn.100445f0
add esp, 0x10
test eax, eax
jne 0x1005222c
mov eax, ebx
cdq
mov ecx, eax
add dword [esi + 0xfb0], ecx
adc dword [esi + 0xfb4], edx
add ecx, dword [esi + 0xa8]
mov dword [esi + 0xa8], ecx
adc edx, dword [esi + 0xac]
mov dword [esi + 0xac], edx
mov eax, dword [esi + 0x100]
sub eax, 0x64
cmp eax, 0x63
jbe 0x10052029
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push edi
mov dword [esi + 0xb0], ecx
mov dword [esi + 0xb4], edx
call fcn.10050c70
add esp, 4
test eax, eax
jne 0x1005222c
cmp dword [esi + 0x100], 0x12c
jl 0x10052125
test dword [edi + 0x29c], 0x30001
jne 0x10052104
mov eax, dword [esi + 0x828]
add eax, 0xfffffffe
cmp eax, 3
ja 0x10052104
push 0
push esi
call fcn.100363f0
add esp, 8
test byte [esi + 0x588], 4
jne 0x10052104
test dword [esi + 0xa88], 0x10000
je 0x100520c2
push str.HTTP_error_before_end_of_send__keep_sending_n
push esi
call fcn.100447a0
add esp, 8
cmp dword [esi + 0x118], 0
jle 0x10052104
or dword [esi + 0x138], 2
mov dword [esi + 0x118], 0
jmp 0x10052104
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.100447a0
push 2
push edi
call fcn.10045230
push ebp
push edi
call fcn.1004ae10
add esp, 0x18
test eax, eax
jne 0x1005222c
or dword [esi + 0x588], 4
test dword [esi + 0xf94], 0x100
je 0x10052104
mov dword [esi + 0x118], 3
test dword [edi + 0x29c], 0x20000
je 0x10052125
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.100447a0
add esp, 8
or dword [esi + 0x138], 2
mov eax, dword [esi + 0x588]
test al, 1
je 0x1005239c
mov eax, dword [esi + 0xc4c]
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], 0
mov ebx, dword [esi + 0xe8]
cmp byte [ebx], 0
je 0x1005222a
mov eax, dword [esp + 0x4c]
mov dword [esi + 0xec], ebx
push dword [eax]
push 0xa
push ebx
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
mov dword [esi + 0xf0], eax
test eax, eax
jne 0x100512f0
mov eax, dword [esp + 0x4c]
push dword [eax]
push ebp
push esi
call fcn.100525e0
add esp, 0xc
test eax, eax
jne 0x1005222c
cmp dword [esi + 0xdc], eax
jne 0x1005222a
push dword [esi + 0xe4]
push dword [esi + 0xc4c]
push esi
call fcn.10052480
add esp, 0xc
cmp eax, 2
jne 0x1005222a
and dword [esi + 0x588], 0xfffffffe
push eax
push edi
mov dword [esi + 0xd8], eax
call fcn.10045230
add esp, 8
test dword [esi + 0xa8c], 0x200000
jne 0x1005222a
push str.Received_HTTP_0.9_when_not_allowed_n
push esi
call fcn.100446b0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push 2
push edi
call fcn.10045230
add esp, 8
test dword [esi + 0xa8c], 0x200000
je 0x100521de
mov eax, dword [esp + 0x4c]
and dword [esi + 0x588], 0xfffffffe
cmp dword [eax], 0
je 0x10052234
mov dword [esi + 0xd8], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xd8], 2
mov dword [eax], ecx
mov eax, dword [esp + 0x24]
pop edi
mov dword [esi + 0xe8], eax
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push str.Unsupported_HTTP_version_in_response
push esi
call fcn.100446b0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov edi, dword [esi + 0xf4]
push 4
push str.HTTP
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x10052456
push 0x20
push edi
call sub.VCRUNTIME140.dll_strchr
mov edi, eax
add esp, 8
test edi, edi
je 0x10052456
inc edi
cmp byte [edi], 0
je 0x10052456
push 0xd
push edi
mov byte [esp + 0x54], 0xd
call sub.VCRUNTIME140.dll_strchr
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100522e0
push 0xa
push edi
mov byte [esp + 0x54], 0xa
call sub.VCRUNTIME140.dll_strchr
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10052456
push edi
push str.The_requested_URL_returned_error:__s
push esi
mov byte [ebx], 0
call fcn.100446b0
mov al, byte [esp + 0x58]
add esp, 0xc
mov byte [ebx], al
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
and dword [esi + 0x588], 0xfffffffe
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.100446b0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push str.Invalid_Content_Length:_value
push esi
call fcn.100446b0
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x30
ret
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x30
ret
push str.Received_101_n
push esi
call fcn.100447a0
add esp, 8
mov dword [esi + 0x11c], 2
or dword [esi + 0x588], 1
mov eax, 1
mov dword [esi + 0xdc], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
test dword [esi + 0xa88], 0x800000
mov edi, dword [esp + 0x50]
je 0x100523b1
mov byte [edi], 1
jmp 0x100523d7
test al, 0x20
je 0x100523d7
mov dword [ebp], 0xffffffff
mov dword [ebp + 4], 0xffffffff
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x94], 0xffffffff
mov ecx, dword [ebp]
mov eax, dword [ebp + 4]
cmp ecx, 0xffffffff
jne 0x100523f4
cmp eax, ecx
jne 0x100523f4
mov ecx, dword [esi + 0x90]
mov eax, dword [esi + 0x94]
jmp 0x10052411
push eax
push ecx
push esi
call fcn.10053150
mov ecx, dword [ebp]
add esp, 0xc
mov eax, dword [ebp + 4]
mov dword [esi + 0x90], ecx
mov dword [esi + 0x94], eax
test ecx, ecx
jne 0x1005241e
test eax, eax
jne 0x1005241e
mov byte [edi], 1
jmp 0x10052423
cmp byte [edi], 0
je 0x1005242a
and dword [esi + 0x138], 0xfffffffe
test dword [esi + 0xa88], 0x2000000
je 0x1005222a
push ebx
push dword [esi + 0xec]
push 1
push esi
call fcn.10044620
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push dword [esi + 0x100]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.100446b0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret