Function at 0x10037390
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 0x70]
nop
mov eax, dword [esi + 0x5c]
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x60], eax
mov edx, dword [ecx]
push edx
push 0xa
push eax
call fcn.10163ec0
add esp, 0xc
mov dword [esi + 0x64], eax
mov ebx, edi
test eax, eax
je 0x10038153
sub eax, dword [esi + 0x5c]
mov ecx, dword [ebp + 0x10]
inc eax
sub dword [ecx], eax
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x64]
inc eax
mov dword [esi + 0x5c], eax
sub eax, dword [esi + 0x60]
push eax
call fcn.10035650
add esp, 4
test eax, eax
jne 0x1003830b
cmp dword [esi + 0x50], 0
mov eax, dword [esi + 0x54]
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x64], eax
mov ecx, dword [edi + 0x6ec]
mov dword [esi + 0x68], ecx
jne 0x10037422
cmp dword [esi + 0x58], 5
jbe 0x10037422
mov eax, dword [edi + 0x6ec]
push edi
mov ecx, ebx
call fcn.10035620
add esp, 4
test eax, eax
je 0x100381a7
mov eax, dword [esi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x10037e56
cmp cl, 0xd
je 0x10037e5b
mov ecx, dword [esi + 0x50]
lea edx, [ecx + 1]
mov dword [esi + 0x50], edx
test ecx, ecx
jne 0x100376b6
mov ecx, dword [ebx + 0x348]
mov ecx, dword [ecx + 0x3c]
test cl, 3
je 0x10037521
mov edi, dword [ebp + 0xc]
lea ebx, [esi + 0x78]
push ebx
add edi, 0x180
push edi
lea edx, [ebp - 4]
push edx
push str._HTTP__d._d__d
push eax
call fcn.10163214
add esp, 0x14
cmp eax, 1
jne 0x100374a6
cmp dword [ebp - 4], 2
jne 0x100374e3
mov eax, dword [esi + 0x68]
push ebx
push str._HTTP_2__d
push eax
call fcn.10163214
add esp, 0xc
cmp eax, 1
jne 0x100374e3
mov dword [edi], 0
jmp 0x100374ab
cmp eax, 3
jne 0x100374e3
mov eax, dword [ebp - 4]
lea ecx, [eax + eax*4]
add ecx, ecx
add dword [edi], ecx
cmp dword [esi + 0x88], 2
mov eax, dword [edi]
jne 0x1003756f
mov ebx, dword [ebp + 8]
cmp eax, 0x14
je 0x10037572
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.100133e0
add esp, 8
jmp 0x10037572
mov edx, dword [esi + 0x68]
push ebx
push str._HTTP__3d
push edx
call fcn.10163214
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x1003756f
mov ebx, dword [esi + 0x68]
mov eax, dword [ebp + 8]
call fcn.100355a0
test eax, eax
je 0x100381f0
mov dword [esi + 0x78], 0xc8
mov dword [edi], 0xa
jmp 0x1003756f
test ecx, 0x40000
je 0x100381f0
mov edi, dword [ebp + 0xc]
lea ecx, [esi + 0x78]
push ecx
add edi, 0x184
push edi
lea ecx, [ebp - 0xc]
push ecx
push str._RTSP__d._d__3d
push eax
call fcn.10163214
add esp, 0x14
cmp eax, 3
jne 0x100381f0
mov eax, dword [ebp - 0xc]
lea edx, [eax + eax*4]
add edx, edx
add dword [edi], edx
mov edi, dword [ebp + 0xc]
add edi, 0x180
mov dword [edi], 0xb
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 0x78]
mov dword [ebx + 0x4990], eax
mov eax, dword [ebx + 0x4900]
mov ecx, dword [edi]
mov dword [ebx + 0x4998], ecx
test eax, eax
je 0x10037591
cmp eax, dword [edi]
jle 0x10037599
mov edx, dword [edi]
mov dword [ebx + 0x4900], edx
cmp dword [ebx + 0x3b0], 0
je 0x100375fc
mov eax, dword [esi + 0x78]
cmp eax, 0x190
jl 0x100375fc
cmp eax, 0x191
jne 0x100375bf
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x2c0], 0
jne 0x100375fc
cmp eax, 0x197
jne 0x100375d2
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x2c4], 0
jne 0x100375fc
mov ecx, dword [ebx + 0x4928]
or ecx, dword [ebx + 0x492c]
je 0x100381db
cmp dword [ebx + 0x280], 1
jne 0x100381db
cmp eax, 0x1a0
jne 0x100381db
mov edi, dword [edi]
cmp edi, 0xa
jne 0x1003761e
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.100133e0
mov edx, dword [ebp + 0xc]
push 1
push edx
call fcn.10015df0
add esp, 0x10
jmp 0x1003767b
cmp edi, 0x14
je 0x1003766c
cmp dword [esi + 0x88], 1
jne 0x10037632
cmp dword [esi + 0x78], 0x65
je 0x1003766c
cmp edi, 0xb
jl 0x1003767b
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x2a4], 0
jne 0x1003767b
mov ecx, eax
cmp dword [ecx + 0x5d4], 0
je 0x1003767b
mov edi, eax
push edi
push ebx
call fcn.100386b0
add esp, 8
test eax, eax
jne 0x1003767b
mov edx, dword [edi + 0x5d4]
mov dword [edx], 1
jmp 0x1003767b
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x5d4]
mov dword [ecx], 2
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x1003768d
sub eax, 0x64
jne 0x100376b6
mov ebx, dword [ebp + 8]
xor eax, eax
cmp dword [ebx + 0x274], eax
je 0x100376a1
mov dword [ebx + 0x49a0], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xb0], 1
cmp dword [esi + 0xb0], 0
mov edi, dword [ebp + 8]
jne 0x10037778
cmp dword [edi + 0x410], 0
jne 0x10037778
mov edx, dword [esi + 0x68]
push 0xf
push edx
push str.Content_Length:
call fcn.1001f6d0
add esp, 0xc
test eax, eax
je 0x10037778
mov eax, dword [esi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.1016713a
mov ecx, dword [edi + 0x378]
mov dword [ebp - 0x10], edx
mov ebx, eax
mov eax, dword [edi + 0x37c]
mov edx, ecx
add esp, 0xc
or edx, eax
je 0x1003772b
cmp dword [ebp - 0x10], eax
jg 0x10038200
jl 0x1003772b
cmp ebx, ecx
ja 0x10038200
cmp dword [ebp - 0x10], 0
jl 0x10037755
jg 0x10037737
test ebx, ebx
jb 0x10037755
mov eax, dword [ebp - 0x10]
push eax
push ebx
push edi
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], eax
call fcn.10023960
add esp, 0xc
jmp 0x10037de6
mov eax, dword [ebp + 0xc]
push 2
push eax
call fcn.10015df0
mov ecx, dword [ebp - 0x10]
push ecx
push ebx
push str.Negative_content_length:__I64d__closing_after_transfer_n
push edi
call fcn.100133e0
add esp, 0x18
jmp 0x10037de6
mov edx, dword [esi + 0x68]
push 0xd
push edx
push str.Content_Type:
call fcn.1001f6d0
add esp, 0xc
test eax, eax
je 0x100377d4
mov eax, dword [esi + 0x68]
push eax
call fcn.100345f0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1003821a
cmp byte [ebx], 0
jne 0x100377b9
push ebx
call dword [0x10209350]
add esp, 4
jmp 0x10037de6
mov ecx, dword [edi + 0x49b8]
push ecx
call dword [0x10209350]
add esp, 4
mov dword [edi + 0x49b8], ebx
jmp 0x10037de6
mov edx, dword [esi + 0x68]
push 7
push edx
push str.Server:
call fcn.1001f6d0
add esp, 0xc
test eax, eax
je 0x10037847
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x180], 0x14
jge 0x10037de6
mov ecx, dword [esi + 0x68]
push ecx
call fcn.100345f0
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [edx + 0x5d4]
add esp, 4
test eax, eax
je 0x10037838
cmp dword [eax], 1
jne 0x10037838
push ebx
push edi
call fcn.10038820
add esp, 8
test eax, eax
je 0x10037838
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x5d4]
mov dword [ecx], 0xffffffff
push ebx
call dword [0x10209350]
add esp, 4
jmp 0x10037de6
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x180], 0xa
jne 0x10037891
cmp dword [ebx + 0x2b8], 0
je 0x10037891
mov edx, dword [esi + 0x68]
push str.keep_alive
push str.Proxy_Connection:
push edx
call fcn.100351a0
add esp, 0xc
test eax, eax
je 0x10037891
push 0
push ebx
call fcn.10015df0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.100133e0
add esp, 0x10
jmp 0x10037de6
cmp dword [ebx + 0x180], 0xb
jne 0x100378d8
cmp dword [ebx + 0x2b8], 0
je 0x100378d8
mov eax, dword [esi + 0x68]
push str.close
push str.Proxy_Connection:
push eax
call fcn.100351a0
add esp, 0xc
test eax, eax
je 0x100378d8
push 1
push ebx
call fcn.10015df0
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.100133e0
add esp, 0x10
jmp 0x10037de6
cmp dword [ebx + 0x180], 0xa
jne 0x10037916
mov ecx, dword [esi + 0x68]
push str.keep_alive
push str.Connection:
push ecx
call fcn.100351a0
add esp, 0xc
test eax, eax
je 0x10037916
push 0
push ebx
call fcn.10015df0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.100133e0
add esp, 0x10
jmp 0x10037de6
mov edx, dword [esi + 0x68]
push str.close
push str.Connection:
push edx
call fcn.100351a0
add esp, 0xc
test eax, eax
je 0x10037940
push 2
push ebx
call fcn.10015df0
add esp, 8
jmp 0x10037de6
mov eax, dword [esi + 0x68]
push 0x12
push eax
push str.Transfer_Encoding:
call fcn.1001f6d0
add esp, 0xc
test eax, eax
je 0x10037a57
mov ebx, dword [esi + 0x68]
add ebx, 0x12
mov al, byte [ebx]
test al, al
je 0x10037984
movzx ecx, al
push ecx
call fcn.10166d58
add esp, 4
test eax, eax
jne 0x1003797c
cmp byte [ebx], 0x2c
jne 0x10037984
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x10037967
push 7
push ebx
push str.chunked
call fcn.1001f6d0
add esp, 0xc
test eax, eax
je 0x100379b1
mov edx, dword [ebp + 0xc]
push edx
mov dword [esi + 0xc4], 1
call fcn.1005df80
add esp, 4
add ebx, 7
cmp dword [esi + 0x8c], 0
jne 0x10037de6
push 8
push ebx
push str.identity
call fcn.1001f6d0
add esp, 0xc
test eax, eax
je 0x100379e1
mov dword [esi + 0x8c], 0
add ebx, 8
jmp 0x10037961
push 7
push ebx
push str.deflate
call fcn.1001f6d0
add esp, 0xc
test eax, eax
je 0x10037a07
mov dword [esi + 0x8c], 1
add ebx, 7
jmp 0x10037961
push 4
push ebx
push str.gzip
call fcn.1001f6d0
add esp, 0xc
test eax, eax
je 0x10037a2d
mov dword [esi + 0x8c], 2
add ebx, 4
jmp 0x10037961
push 6
push ebx
push str.x_gzip
call fcn.1001f6d0
add esp, 0xc
test eax, eax
je 0x10037de6
mov dword [esi + 0x8c], 2
add ebx, 6
jmp 0x10037961
mov eax, dword [esi + 0x68]
push 0x11
push eax
push str.Content_Encoding:
call fcn.1001f6d0
add esp, 0xc
test eax, eax
je 0x10037b29
cmp dword [edi + 0x458], 0
je 0x10037b29
mov ebx, dword [esi + 0x68]
mov al, byte [ebx + 0x11]
add ebx, 0x11
test al, al
je 0x10037aa8
lea esp, [esp]
movzx ecx, al
push ecx
call fcn.10166d58
add esp, 4
test eax, eax
je 0x10037aa8
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x10037a90
push 8
push ebx
push str.identity
call fcn.1001f6d0
add esp, 0xc
test eax, eax
je 0x10037acb
mov dword [esi + 0x8c], 0
jmp 0x10037de6
push 7
push ebx
push str.deflate
call fcn.1001f6d0
add esp, 0xc
test eax, eax
je 0x10037aee
mov dword [esi + 0x8c], 1
jmp 0x10037de6
push 4
push ebx
push str.gzip
call fcn.1001f6d0
add esp, 0xc
test eax, eax
jne 0x10037b1a
push 6
push ebx
push str.x_gzip
call fcn.1001f6d0
add esp, 0xc
test eax, eax
je 0x10037de6
mov dword [esi + 0x8c], 2
jmp 0x10037de6
mov edx, dword [esi + 0x68]
push 0xe
push edx
push str.Content_Range:
call fcn.1001f6d0
add esp, 0xc
test eax, eax
je 0x10037bc8
mov ebx, dword [esi + 0x68]
mov al, byte [ebx + 0xe]
add ebx, 0xe
test al, al
je 0x10037b6e
movzx eax, al
push eax
call fcn.10166ca8
add esp, 4
test eax, eax
jne 0x10037b6e
cmp byte [ebx], 0x2a
je 0x10037b6e
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x10037b51
movzx ecx, byte [ebx]
push ecx
call fcn.10166ca8
add esp, 4
test eax, eax
je 0x10037bb5
push 0xa
push 0
push ebx
call fcn.1016713a
add esp, 0xc
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edx
cmp dword [edi + 0x4928], eax
jne 0x10037de6
cmp dword [edi + 0x492c], edx
jne 0x10037de6
mov dword [esi + 0x6c], 1
jmp 0x10037de6
xor eax, eax
mov dword [edi + 0x4928], eax
mov dword [edi + 0x492c], eax
jmp 0x10037de6
cmp dword [edi + 0x5a0], 0
je 0x10037c33
mov ecx, dword [esi + 0x68]
push 0xb
push ecx
push str.Set_Cookie:
call fcn.1001f6d0
add esp, 0xc
test eax, eax
je 0x10037c33
push 2
push 2
push edi
call fcn.10024210
mov eax, dword [ebx + 0x378]
add esp, 0xc
test eax, eax
jne 0x10037c05
mov eax, dword [ebx + 0xa0]
mov edx, dword [edi + 0x4910]
mov ecx, dword [edi + 0x5a0]
push edx
push eax
mov eax, dword [esi + 0x68]
add eax, 0xb
push eax
push 1
push ecx
push edi
call fcn.10013db0
push 2
push edi
call fcn.10024250
add esp, 0x20
jmp 0x10037de6
mov edx, dword [esi + 0x68]
push 0xe
push edx
push str.Last_Modified:
call fcn.1001f6d0
add esp, 0xc
test eax, eax
je 0x10037ca2
cmp dword [edi + 0x274], 0
jne 0x10037c5c
cmp dword [edi + 0x394], 0
je 0x10037ca2
push 0
call fcn.101659ab
mov ecx, dword [esi + 0x68]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
add ecx, 0xe
push ecx
mov dword [ebp - 0x18], edx
call fcn.1003e180
add esp, 0xc
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp dword [edi + 0x394], 0
je 0x10037de6
mov edx, eax
mov dword [edi + 0x499c], edx
jmp 0x10037de6
mov eax, dword [esi + 0x68]
push 0x11
push eax
push str.WWW_Authenticate:
call fcn.1001f6d0
add esp, 0xc
test eax, eax
je 0x10037cc3
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x10037ce4
mov ecx, dword [esi + 0x68]
push 0x13
push ecx
push str.Proxy_authenticate:
call fcn.1001f6d0
add esp, 0xc
test eax, eax
je 0x10037d36
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x10037d36
xor edx, edx
cmp eax, 0x197
mov eax, dword [esi + 0x68]
sete dl
push eax
mov dword [ebp - 8], edx
call fcn.100345f0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1003821a
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
push ebx
push ecx
push edx
call fcn.10034c10
push ebx
mov dword [ebp - 8], eax
call dword [0x10209350]
add esp, 0x10
cmp dword [ebp - 8], 0
je 0x10037de6
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x10037dc2
cmp eax, 0x190
jge 0x10037dc2
mov eax, dword [esi + 0x68]
push 9
push eax
push str.Location:
call fcn.1001f6d0
add esp, 0xc
test eax, eax
je 0x10037dc2
cmp dword [edi + 0x124], 0
jne 0x10037dc2
mov ecx, dword [esi + 0x68]
push ecx
call fcn.100345f0
add esp, 4
test eax, eax
je 0x1003821a
cmp byte [eax], 0
jne 0x10037d90
push eax
call dword [0x10209350]
add esp, 4
jmp 0x10037de6
cmp dword [edi + 0x3b8], 0
mov dword [edi + 0x124], eax
je 0x10037de6
push eax
call dword [0x10209358]
add esp, 4
mov dword [edi + 0x128], eax
test eax, eax
je 0x1003821a
push ebx
call fcn.10034840
add esp, 4
jmp 0x10037dde
mov edx, dword [ebx + 0x348]
test dword [edx + 0x3c], 0x40000
je 0x10037de6
mov eax, dword [esi + 0x68]
push eax
push ebx
call fcn.100257f0
add esp, 8
test eax, eax
jne 0x1003830b
cmp dword [edi + 0x3c4], 0
mov ebx, 2
je 0x10037df9
mov ebx, 3
cmp dword [edi + 0x3dc], 0
je 0x10037e19
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x68]
push ecx
push edx
push eax
push 1
push edi
call fcn.10013300
add esp, 0x14
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x68]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push ebx
push eax
call fcn.10013810
add esp, 0x10
test eax, eax
jne 0x1003830b
mov ecx, dword [esi + 0x58]
add dword [edi + 0x49a4], ecx
mov edx, dword [esi + 0x58]
mov eax, dword [edi + 0x6ec]
add dword [edi + 0xa0], edx
mov dword [esi + 0x54], eax
jmp 0x10038109
cmp cl, 0xd
jne 0x10037e5f
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x10037e6b
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x10037ee4
cmp eax, 0xc7
jg 0x10037ee4
sub eax, 0x64
je 0x10037eaf
mov ecx, 1
sub eax, ecx
je 0x10037e97
mov dword [esi + 0x48], ecx
mov dword [esi + 0x50], 0
jmp 0x10037f3e
cmp dword [esi + 0x88], ecx
je 0x10038125
mov dword [esi + 0x48], 0
jmp 0x10037f3e
cmp dword [esi + 0x84], 0
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], 0
jle 0x10037f3e
or dword [esi + 0xa4], 2
push 0
push edi
mov dword [esi + 0x84], 0
call fcn.10011700
add esp, 8
jmp 0x10037f3e
mov ecx, dword [esi]
and ecx, dword [esi + 4]
mov dword [esi + 0x48], 0
cmp ecx, 0xffffffff
jne 0x10037f3e
cmp dword [esi + 0xc4], 0
jne 0x10037f3e
cmp dword [ebx + 0x2a4], 0
jne 0x10037f47
cmp dword [ebx + 0x180], 0xb
jne 0x10037f3e
mov edx, dword [ebx + 0x348]
test dword [edx + 0x3c], 0x40000
jne 0x10037f3e
cmp dword [edi + 0x280], 5
je 0x10037f3e
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.100133e0
push 2
push ebx
call fcn.10015df0
add esp, 0x10
cmp dword [ebx + 0x2a4], 0
je 0x10037f85
mov eax, dword [edi + 0xe8]
cmp eax, 0x191
jne 0x10037f5d
cmp dword [ebx + 0x3c0], 2
je 0x10037f6d
cmp eax, 0x197
jne 0x10037f85
cmp dword [ebx + 0x3d8], 2
jne 0x10037f85
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.100133e0
add esp, 8
mov dword [edi + 0x47cc], 1
mov edx, ebx
call fcn.10034db0
test eax, eax
jne 0x10038226
lea ecx, [eax + 2]
cmp dword [edi + 0x3c4], eax
je 0x10037fa2
lea ecx, [eax + 3]
mov eax, dword [edi + 0x6ec]
mov ebx, dword [esi + 0x68]
sub ebx, eax
push ebx
push eax
mov eax, dword [ebp + 0xc]
push ecx
push eax
call fcn.10013810
add esp, 0x10
test eax, eax
jne 0x1003830b
add dword [edi + 0xa0], ebx
add dword [edi + 0x49a4], ebx
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0xa0]
cmp eax, 0x64
jl 0x10037fe9
cmp eax, 0xc7
jg 0x10037fe9
mov eax, ecx
jmp 0x10037feb
xor eax, eax
mov ecx, dword [ebp + 0xc]
push ecx
mov dword [edi + 0xa4], eax
call fcn.100357b0
add esp, 4
test eax, eax
jne 0x1003830b
cmp dword [esi + 0x78], 0x12c
jl 0x100380f6
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x2e8], eax
jne 0x100380d5
mov eax, edx
cmp dword [eax + 0x2a4], 0
jne 0x100380d5
mov ecx, eax
cmp dword [ecx + 0x2ec], 0
jne 0x100380d5
mov eax, dword [edi + 0x280]
add eax, 0xfffffffe
cmp eax, 2
ja 0x100380d5
push 0
push edi
call fcn.10011700
add esp, 8
cmp dword [esi + 0xa8], 0
jne 0x100380d5
cmp dword [edi + 0x3b4], 0
je 0x10038098
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.100133e0
add esp, 8
cmp dword [esi + 0x84], 0
jle 0x100380d5
or dword [esi + 0xa4], 2
mov dword [esi + 0x84], 0
jmp 0x100380d5
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.100133e0
mov edx, dword [ebp + 0xc]
push 2
push edx
call fcn.10015df0
and dword [esi + 0xa4], 0xfffffffd
add esp, 0x10
mov dword [esi + 0xa8], 1
cmp dword [edi + 0x4904], 0
je 0x100380d5
mov dword [esi + 0x84], 3
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x2ec], 0
je 0x100380f6
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.100133e0
add esp, 8
or dword [esi + 0xa4], 2
cmp dword [esi + 0x48], 0
je 0x10038244
mov ecx, dword [edi + 0x6ec]
mov dword [esi + 0x54], ecx
mov edx, dword [esi + 0x5c]
mov dword [esi + 0x58], 0
cmp byte [edx], 0
jne 0x100373a0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Received_101_n
push edi
call fcn.100133e0
add esp, 8
mov eax, 1
pop edi
mov dword [esi + 0x88], 2
mov dword [esi + 0x48], eax
mov dword [esi + 0x50], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call fcn.10035650
add esp, 4
test eax, eax
jne 0x1003830b
cmp dword [esi + 0x50], eax
jne 0x10038309
cmp dword [esi + 0x58], 5
jbe 0x10038309
mov eax, dword [edi + 0x6ec]
mov ecx, dword [ebp + 0xc]
push edi
call fcn.10035620
add esp, 4
test eax, eax
jne 0x10038309
pop edi
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 2
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x48], 0
cmp dword [eax], 0
je 0x100381c6
pop edi
mov dword [esi + 0x4c], 1
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
pop edi
mov dword [esi + 0x4c], 2
pop esi
mov dword [eax], edx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.10035710
add esp, 4
pop edi
pop esi
mov eax, 0x16
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0x48], 0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push edi
call fcn.10013460
add esp, 8
pop edi
pop esi
mov eax, 0x3f
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x78]
push eax
push str.The_requested_URL_returned_error:__d
push edi
call fcn.10013460
add esp, 0xc
pop edi
pop esi
mov eax, 0x16
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x3d0], 0
mov eax, dword [ebp + 0x14]
je 0x1003825b
mov dword [eax], 1
or edx, 0xffffffff
jmp 0x100382a3
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x348]
test dword [edx + 0x3c], 0x40000
je 0x1003828c
cmp dword [edi + 0x528], 2
jne 0x1003828c
or edx, 0xffffffff
cmp dword [esi + 4], edx
jg 0x1003828f
jl 0x10038284
cmp dword [esi], edx
ja 0x1003828f
mov dword [eax], 1
jmp 0x100382a3
or edx, 0xffffffff
cmp dword [esi + 0xc4], 0
je 0x100382a3
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, edx
jne 0x100382b0
cmp ecx, edx
je 0x100382c6
push ecx
push eax
push edi
call fcn.10023960
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add esp, 0xc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
cmp dword [esi + 0x10], 0
jne 0x100382dd
cmp dword [esi + 0x14], 0
jne 0x100382dd
mov edx, dword [ebp + 0x14]
mov dword [edx], 1
jmp 0x100382e5
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
je 0x100382ec
and dword [esi + 0xa4], 0xfffffffe
cmp dword [edi + 0x3dc], 0
je 0x10038309
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x60]
push ecx
push ebx
push edx
push 1
push edi
call fcn.10013300
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret