Function at 0x100484d0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 0x70]
nop
mov eax, dword [esi + 0x6c]
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x70], eax
mov edx, dword [ecx]
push edx
push 0xa
push eax
call fcn.10077880
add esp, 0xc
mov dword [esi + 0x74], eax
mov ebx, edi
test eax, eax
je 0x10049368
sub eax, dword [esi + 0x6c]
mov ecx, dword [ebp + 0x10]
inc eax
sub dword [ecx], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x74]
inc eax
mov dword [esi + 0x6c], eax
sub eax, dword [esi + 0x70]
push eax
call fcn.10046700
add esp, 4
test eax, eax
jne 0x10049521
cmp dword [esi + 0x60], 0
mov eax, dword [esi + 0x64]
mov dword [esi + 0x74], eax
mov ecx, dword [edi + 0x8f4]
mov dword [esi + 0x78], ecx
jne 0x1004857d
cmp dword [esi + 0x68], 5
jbe 0x1004857d
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi + 0x8f4]
push edi
mov ecx, ebx
call fcn.100466d0
add esp, 4
test eax, eax
jne 0x10048580
mov dword [esi + 0x58], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x100493bc
pop edi
mov dword [esi + 0x5c], 1
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi + 0x78]
mov cl, byte [eax]
cmp cl, 0xa
je 0x10049063
cmp cl, 0xd
je 0x10049068
mov ecx, dword [esi + 0x60]
lea edx, [ecx + 1]
mov dword [esi + 0x60], edx
test ecx, ecx
jne 0x1004885d
mov ecx, dword [ebx + 0x330]
mov ecx, dword [ecx + 0x40]
test cl, 3
je 0x100486ab
mov edi, dword [ebp + 0xc]
lea ebx, [esi + 0x88]
push ebx
lea edx, [ebp - 1]
push edx
add edi, 0x180
push edi
lea ecx, [ebp - 8]
push ecx
push str._HTTP__1d._1d_c_3d
push eax
call fcn.10072408
add esp, 0x18
cmp eax, 1
jne 0x10048617
cmp dword [ebp - 8], 2
jne 0x100493d1
mov edx, dword [esi + 0x78]
push ebx
push str._HTTP_2__d
push edx
call fcn.10072408
add esp, 0xc
cmp eax, 1
jne 0x100493d1
mov dword [edi], 0
mov byte [ebp - 1], 0x20
jmp 0x10048626
cmp eax, 4
jne 0x1004865e
cmp byte [ebp - 1], 0x20
jne 0x100493d1
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 8]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
cmp dword [esi + 0xa4], 2
mov eax, dword [edi]
jne 0x1004870d
cmp eax, 0x14
je 0x1004870d
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.1002fa90
add esp, 8
jmp 0x1004870d
test eax, eax
jne 0x100493d1
mov ecx, dword [esi + 0x78]
push ebx
push str._HTTP__3d
push ecx
call fcn.10072408
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x1004870a
mov ebx, dword [esi + 0x78]
mov eax, dword [ebp + 8]
call fcn.10046650
test eax, eax
je 0x10049403
mov dword [esi + 0x88], 0xc8
mov dword [edi], 0xa
jmp 0x1004870a
test ecx, 0x40000
je 0x10049403
mov edi, dword [ebp + 0xc]
lea ecx, [esi + 0x88]
push ecx
lea edx, [ebp - 2]
push edx
add edi, 0x184
push edi
lea ecx, [ebp - 0x10]
push ecx
push str._RTSP__1d._1d_c_3d
push eax
call fcn.10072408
add esp, 0x18
cmp eax, 4
jne 0x10049403
cmp byte [ebp - 2], 0x20
jne 0x10049403
mov eax, dword [ebp - 0x10]
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 + 0x88]
mov dword [ebx + 0x4c50], eax
mov eax, dword [ebx + 0x4bc0]
mov ecx, dword [edi]
mov dword [ebx + 0x4c58], ecx
test eax, eax
je 0x1004872f
cmp eax, dword [edi]
jle 0x10048737
mov edx, dword [edi]
mov dword [ebx + 0x4bc0], edx
cmp dword [ebx + 0x544], 0
je 0x1004879d
mov eax, dword [esi + 0x88]
cmp eax, 0x190
jl 0x1004879d
cmp eax, 0x191
jne 0x10048760
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x2a0], 0
jne 0x1004879d
cmp eax, 0x197
jne 0x10048773
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x2a4], 0
jne 0x1004879d
mov ecx, dword [ebx + 0x4be8]
or ecx, dword [ebx + 0x4bec]
je 0x100493ee
cmp dword [ebx + 0x410], 1
jne 0x100493ee
cmp eax, 0x1a0
jne 0x100493ee
mov edi, dword [edi]
cmp edi, 0xa
jne 0x100487bf
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.1002fa90
mov edx, dword [ebp + 0xc]
push 1
push edx
call fcn.100326a0
add esp, 0x10
jmp 0x1004881f
cmp edi, 0x14
je 0x10048810
cmp dword [esi + 0xa4], 1
jne 0x100487d6
cmp dword [esi + 0x88], 0x65
je 0x10048810
cmp edi, 0xb
jl 0x1004881f
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x284], 0
jne 0x1004881f
mov ecx, eax
cmp dword [ecx + 0x5c8], 0
je 0x1004881f
mov edi, eax
push edi
push ebx
call fcn.1004b5e0
add esp, 8
test eax, eax
jne 0x1004881f
mov edx, dword [edi + 0x5c8]
mov dword [edx], 1
jmp 0x1004881f
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x5c8]
mov dword [ecx], 2
mov eax, dword [esi + 0x88]
sub eax, 0xcc
je 0x10048834
sub eax, 0x64
jne 0x1004885d
mov ebx, dword [ebp + 8]
xor eax, eax
cmp dword [ebx + 0x400], eax
je 0x10048848
mov dword [ebx + 0x4c60], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xd0], 1
cmp dword [esi + 0xd0], 0
mov edi, dword [ebp + 8]
jne 0x100489b3
cmp dword [edi + 0x5a4], 0
jne 0x100489b3
mov edx, dword [esi + 0x78]
push 0xf
push edx
push str.Content_Length:
call fcn.1004bc00
add esp, 0xc
test eax, eax
je 0x100489b3
mov ecx, dword [esi + 0x78]
lea eax, [ebp - 0x18]
push eax
push 0xa
add ecx, 0xf
push 0
push ecx
call fcn.100529f0
add esp, 0x10
test eax, eax
jne 0x100489a0
mov ebx, dword [edi + 0x508]
mov edx, dword [edi + 0x50c]
mov ecx, dword [ebp - 0x14]
mov eax, ebx
or eax, edx
mov eax, dword [ebp - 0x18]
je 0x100488de
cmp ecx, edx
jg 0x10049413
jl 0x100488de
cmp eax, ebx
ja 0x10049413
test ecx, ecx
jl 0x1004897a
jg 0x100488f0
test eax, eax
jb 0x1004897a
push ecx
push eax
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
call fcn.1004e740
add esp, 0xc
mov ebx, dword [ebp + 0xc]
cmp dword [edi + 0x558], 0
mov dword [ebp - 0xc], 2
je 0x10048920
mov dword [ebp - 0xc], 3
cmp dword [edi + 0x570], 0
je 0x1004893d
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x78]
push ebx
push ecx
push edx
push 1
push edi
call fcn.1002f9b0
add esp, 0x14
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x78]
mov edx, dword [ebp - 0xc]
push eax
push ecx
push edx
push ebx
call fcn.1002fed0
add esp, 0x10
test eax, eax
jne 0x10049521
mov eax, dword [esi + 0x68]
add dword [edi + 0x4c64], eax
mov ecx, dword [esi + 0x68]
mov edx, dword [edi + 0x8f4]
add dword [edi + 0xa0], ecx
mov dword [esi + 0x64], edx
jmp 0x1004931e
mov ebx, dword [ebp + 0xc]
push 2
push ebx
call fcn.100326a0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push ecx
push edx
push str.Negative_content_length:__I64d__closing_after_transfer_n
push edi
call fcn.1002fa90
add esp, 0x18
jmp 0x10048909
push str.Illegal_Content_Length:_header_n
push edi
call fcn.1002fa90
add esp, 8
jmp 0x10048906
mov eax, dword [esi + 0x78]
push 0xd
push eax
push str.Content_Type:
call fcn.1004bc00
add esp, 0xc
test eax, eax
je 0x10048a0f
mov ecx, dword [esi + 0x78]
push ecx
call fcn.10045670
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1004942d
cmp byte [ebx], 0
jne 0x100489f4
push ebx
call dword [0x100ab50c]
add esp, 4
jmp 0x10048906
mov edx, dword [edi + 0x4c78]
push edx
call dword [0x100ab50c]
add esp, 4
mov dword [edi + 0x4c78], ebx
jmp 0x10048906
mov eax, dword [esi + 0x78]
push 7
push eax
push str.Server:
call fcn.1004bc00
mov ebx, dword [ebp + 0xc]
add esp, 0xc
test eax, eax
je 0x10048a83
cmp dword [ebx + 0x180], 0x14
jge 0x10048909
mov ecx, dword [esi + 0x78]
push ecx
call fcn.10045670
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x5c8]
add esp, 4
test eax, eax
je 0x10048a71
cmp dword [eax], 1
jne 0x10048a71
mov edx, dword [ebp - 0xc]
push edx
push edi
call fcn.1004b750
add esp, 8
test eax, eax
je 0x10048a71
mov eax, dword [ebx + 0x5c8]
mov dword [eax], 0xffffffff
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x100ab50c]
add esp, 4
jmp 0x10048909
cmp dword [ebx + 0x180], 0xa
jne 0x10048aca
cmp dword [ebx + 0x298], 0
je 0x10048aca
mov edx, dword [esi + 0x78]
push str.keep_alive
push str.Proxy_Connection:
push edx
call fcn.10046270
add esp, 0xc
test eax, eax
je 0x10048aca
push 0
push ebx
call fcn.100326a0
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.1002fa90
add esp, 0x10
jmp 0x10048909
cmp dword [ebx + 0x180], 0xb
jne 0x10048b11
cmp dword [ebx + 0x298], 0
je 0x10048b11
mov eax, dword [esi + 0x78]
push str.close
push str.Proxy_Connection:
push eax
call fcn.10046270
add esp, 0xc
test eax, eax
je 0x10048b11
push 1
push ebx
call fcn.100326a0
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.1002fa90
add esp, 0x10
jmp 0x10048909
cmp dword [ebx + 0x180], 0xa
jne 0x10048b4f
mov ecx, dword [esi + 0x78]
push str.keep_alive
push str.Connection:
push ecx
call fcn.10046270
add esp, 0xc
test eax, eax
je 0x10048b4f
push 0
push ebx
call fcn.100326a0
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.1002fa90
add esp, 0x10
jmp 0x10048909
mov edx, dword [esi + 0x78]
push str.close
push str.Connection:
push edx
call fcn.10046270
add esp, 0xc
test eax, eax
je 0x10048b79
push 2
push ebx
call fcn.100326a0
add esp, 8
jmp 0x10048909
mov eax, dword [esi + 0x78]
push 0x12
push eax
push str.Transfer_Encoding:
call fcn.1004bc00
add esp, 0xc
test eax, eax
je 0x10048c99
mov ebx, dword [esi + 0x78]
add ebx, 0x12
lea ebx, [ebx]
mov al, byte [ebx]
test al, al
je 0x10048bc3
movzx ecx, al
push ecx
call fcn.10076ad4
add esp, 4
test eax, eax
jne 0x10048bbb
cmp byte [ebx], 0x2c
jne 0x10048bc3
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x10048ba6
push 7
push ebx
push str.chunked
call fcn.1004bc00
add esp, 0xc
test eax, eax
je 0x10048bf0
mov edx, dword [ebp + 0xc]
push edx
mov dword [esi + 0xe4], 1
call fcn.10057800
add esp, 4
add ebx, 7
cmp dword [esi + 0xa8], 0
jne 0x10048906
push 8
push ebx
push str.identity
call fcn.1004bc00
add esp, 0xc
test eax, eax
je 0x10048c23
mov dword [esi + 0xa8], 0
add ebx, 8
jmp 0x10048ba0
push 7
push ebx
push str.deflate
call fcn.1004bc00
add esp, 0xc
test eax, eax
je 0x10048c49
mov dword [esi + 0xa8], 1
add ebx, 7
jmp 0x10048ba0
push 4
push ebx
push str.gzip
call fcn.1004bc00
add esp, 0xc
test eax, eax
je 0x10048c6f
mov dword [esi + 0xa8], 2
add ebx, 4
jmp 0x10048ba0
push 6
push ebx
push str.x_gzip
call fcn.1004bc00
add esp, 0xc
test eax, eax
je 0x10048906
mov dword [esi + 0xa8], 2
add ebx, 6
jmp 0x10048ba0
mov eax, dword [esi + 0x78]
push 0x11
push eax
push str.Content_Encoding:
call fcn.1004bc00
add esp, 0xc
test eax, eax
je 0x10048d69
cmp dword [edi + 0x5ec], 0
je 0x10048d69
mov ebx, dword [esi + 0x78]
mov al, byte [ebx + 0x11]
add ebx, 0x11
test al, al
je 0x10048ce8
mov edi, edi
movzx ecx, al
push ecx
call fcn.10076ad4
add esp, 4
test eax, eax
je 0x10048ce8
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x10048cd0
push 8
push ebx
push str.identity
call fcn.1004bc00
add esp, 0xc
test eax, eax
je 0x10048d0b
mov dword [esi + 0xa8], 0
jmp 0x10048906
push 7
push ebx
push str.deflate
call fcn.1004bc00
add esp, 0xc
test eax, eax
je 0x10048d2e
mov dword [esi + 0xa8], 1
jmp 0x10048906
push 4
push ebx
push str.gzip
call fcn.1004bc00
add esp, 0xc
test eax, eax
jne 0x10048d5a
push 6
push ebx
push str.x_gzip
call fcn.1004bc00
add esp, 0xc
test eax, eax
je 0x10048906
mov dword [esi + 0xa8], 2
jmp 0x10048906
mov edx, dword [esi + 0x78]
push 0xe
push edx
push str.Content_Range:
call fcn.1004bc00
add esp, 0xc
test eax, eax
je 0x10048e1d
mov ebx, dword [esi + 0x78]
mov al, byte [ebx + 0xe]
add ebx, 0xe
test al, al
je 0x10048dae
movzx eax, al
push eax
call fcn.10076a24
add esp, 4
test eax, eax
jne 0x10048dae
cmp byte [ebx], 0x2a
je 0x10048dae
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x10048d91
movzx ecx, byte [ebx]
push ecx
call fcn.10076a24
add esp, 4
test eax, eax
je 0x10048e0a
lea eax, [esi + 0x80]
push eax
push 0xa
push 0
push ebx
call fcn.100529f0
add esp, 0x10
test eax, eax
jne 0x10048906
mov edx, dword [edi + 0x4be8]
cmp edx, dword [esi + 0x80]
jne 0x10048906
mov eax, dword [edi + 0x4bec]
cmp eax, dword [esi + 0x84]
jne 0x10048906
mov dword [esi + 0x7c], 1
jmp 0x10048906
xor eax, eax
mov dword [edi + 0x4be8], eax
mov dword [edi + 0x4bec], eax
jmp 0x10048906
cmp dword [edi + 0x738], 0
je 0x10048e88
mov ecx, dword [esi + 0x78]
push 0xb
push ecx
push str.Set_Cookie:
call fcn.1004bc00
add esp, 0xc
test eax, eax
je 0x10048e88
push 2
push 2
push edi
call fcn.10035990
mov eax, dword [ebx + 0x360]
add esp, 0xc
test eax, eax
jne 0x10048e5a
mov eax, dword [ebx + 0xa0]
mov edx, dword [edi + 0x4bd0]
mov ecx, dword [edi + 0x738]
push edx
push eax
mov eax, dword [esi + 0x78]
add eax, 0xb
push eax
push 1
push ecx
push edi
call fcn.10030580
push 2
push edi
call fcn.100359d0
add esp, 0x20
jmp 0x10048909
mov edx, dword [esi + 0x78]
push 0xe
push edx
push str.Last_Modified:
call fcn.1004bc00
add esp, 0xc
test eax, eax
je 0x10048ef7
cmp dword [edi + 0x400], 0
jne 0x10048eb1
cmp dword [edi + 0x528], 0
je 0x10048ef7
push 0
call fcn.10073dfd
mov ecx, dword [esi + 0x78]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
add ecx, 0xe
push ecx
mov dword [ebp - 0x1c], edx
call fcn.10052980
add esp, 0xc
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], edx
cmp dword [edi + 0x528], 0
je 0x10048909
mov edx, eax
mov dword [edi + 0x4c5c], edx
jmp 0x10048909
mov eax, dword [esi + 0x78]
push 0x11
push eax
push str.WWW_Authenticate:
call fcn.1004bc00
add esp, 0xc
test eax, eax
je 0x10048f1b
mov eax, dword [esi + 0x88]
cmp eax, 0x191
je 0x10048f3f
mov ecx, dword [esi + 0x78]
push 0x13
push ecx
push str.Proxy_authenticate:
call fcn.1004bc00
add esp, 0xc
test eax, eax
je 0x10048f91
mov eax, dword [esi + 0x88]
cmp eax, 0x197
jne 0x10048f91
xor edx, edx
cmp eax, 0x197
mov eax, dword [esi + 0x78]
sete dl
push eax
mov dword [ebp - 0xc], edx
call fcn.10045670
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1004942d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
push ebx
push ecx
push edx
call fcn.10045ca0
push ebx
mov dword [ebp - 0xc], eax
call dword [0x100ab50c]
add esp, 0x10
cmp dword [ebp - 0xc], 0
je 0x10048906
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x88]
cmp eax, 0x12c
jl 0x10049036
cmp eax, 0x190
jge 0x10049036
mov eax, dword [esi + 0x78]
push 9
push eax
push str.Location:
call fcn.1004bc00
add esp, 0xc
test eax, eax
je 0x10049036
cmp dword [edi + 0x144], 0
jne 0x10049036
mov ecx, dword [esi + 0x78]
push ecx
call fcn.10045670
add esp, 4
test eax, eax
je 0x1004942d
cmp byte [eax], 0
jne 0x10048ff5
push eax
call dword [0x100ab50c]
add esp, 4
jmp 0x10048909
cmp dword [edi + 0x54c], 0
mov dword [edi + 0x144], eax
je 0x10048909
push eax
call dword [0x100ab514]
add esp, 4
mov dword [edi + 0x148], eax
test eax, eax
je 0x1004942d
push ebx
call fcn.100458c0
add esp, 4
test eax, eax
jne 0x10049521
jmp 0x10048909
mov edx, dword [ebx + 0x330]
test dword [edx + 0x40], 0x40000
je 0x10048909
mov eax, dword [esi + 0x78]
push eax
push ebx
call fcn.10036600
add esp, 8
test eax, eax
jne 0x10049521
jmp 0x10048909
cmp cl, 0xd
jne 0x1004906c
inc eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
cmp byte [eax], 0xa
jne 0x10049078
inc eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x88]
cmp eax, 0x64
jl 0x100490f4
cmp eax, 0xc7
jg 0x100490f4
sub eax, 0x64
je 0x100490bf
mov ecx, 1
sub eax, ecx
je 0x100490a7
mov dword [esi + 0x58], ecx
mov dword [esi + 0x60], 0
jmp 0x1004914e
cmp dword [esi + 0xa4], ecx
je 0x1004933a
mov dword [esi + 0x58], 0
jmp 0x1004914e
cmp dword [esi + 0xa0], 0
mov dword [esi + 0x58], 1
mov dword [esi + 0x60], 0
jle 0x1004914e
or dword [esi + 0xc4], 2
push 0
push edi
mov dword [esi + 0xa0], 0
call fcn.1002db10
add esp, 8
jmp 0x1004914e
mov eax, dword [esi]
and eax, dword [esi + 4]
mov dword [esi + 0x58], 0
cmp eax, 0xffffffff
jne 0x1004914e
cmp dword [esi + 0xe4], 0
jne 0x1004914e
cmp dword [ebx + 0x284], 0
jne 0x10049157
cmp dword [ebx + 0x180], 0xb
jne 0x1004914e
mov ecx, dword [ebx + 0x330]
test dword [ecx + 0x40], 0x40000
jne 0x1004914e
cmp dword [edi + 0x410], 6
je 0x1004914e
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.1002fa90
push 2
push ebx
call fcn.100326a0
add esp, 0x10
cmp dword [ebx + 0x284], 0
je 0x10049195
mov eax, dword [edi + 0xf8]
cmp eax, 0x191
jne 0x1004916d
cmp dword [ebx + 0x3a8], 2
je 0x1004917d
cmp eax, 0x197
jne 0x10049195
cmp dword [ebx + 0x3c0], 2
jne 0x10049195
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.1002fa90
add esp, 8
mov dword [edi + 0x49d4], 1
mov edx, ebx
call fcn.10045e40
test eax, eax
jne 0x10049439
lea ecx, [eax + 2]
cmp dword [edi + 0x558], eax
je 0x100491b2
lea ecx, [eax + 3]
mov eax, dword [edi + 0x8f4]
mov ebx, dword [esi + 0x78]
mov edx, dword [ebp + 0xc]
sub ebx, eax
push ebx
push eax
push ecx
push edx
call fcn.1002fed0
add esp, 0x10
test eax, eax
jne 0x10049521
add dword [edi + 0xa0], ebx
add dword [edi + 0x4c64], ebx
mov eax, dword [esi + 0x88]
mov ecx, dword [edi + 0xa0]
cmp eax, 0x64
jl 0x100491fc
cmp eax, 0xc7
jg 0x100491fc
mov eax, ecx
jmp 0x100491fe
xor eax, eax
mov dword [edi + 0xa4], eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.10046860
add esp, 4
test eax, eax
jne 0x10049521
cmp dword [esi + 0x88], 0x12c
jl 0x1004930b
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x2c8], eax
jne 0x100492ea
mov edx, ecx
cmp dword [edx + 0x284], eax
jne 0x100492ea
mov eax, ecx
cmp dword [eax + 0x2cc], 0
jne 0x100492ea
mov eax, dword [edi + 0x410]
add eax, 0xfffffffe
cmp eax, 3
ja 0x100492ea
push 0
push edi
call fcn.1002db10
add esp, 8
cmp dword [esi + 0xc8], 0
jne 0x100492ea
cmp dword [edi + 0x548], 0
je 0x100492ad
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.1002fa90
add esp, 8
cmp dword [esi + 0xa0], 0
jle 0x100492ea
or dword [esi + 0xc4], 2
mov dword [esi + 0xa0], 0
jmp 0x100492ea
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.1002fa90
mov ecx, dword [ebp + 0xc]
push 2
push ecx
call fcn.100326a0
and dword [esi + 0xc4], 0xfffffffd
add esp, 0x10
mov dword [esi + 0xc8], 1
cmp dword [edi + 0x4bc4], 0
je 0x100492ea
mov dword [esi + 0xa0], 3
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x2cc], 0
je 0x1004930b
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.1002fa90
add esp, 8
or dword [esi + 0xc4], 2
cmp dword [esi + 0x58], 0
je 0x1004945a
mov eax, dword [edi + 0x8f4]
mov dword [esi + 0x64], eax
mov ecx, dword [esi + 0x6c]
mov dword [esi + 0x68], 0
cmp byte [ecx], 0
jne 0x100484e0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Received_101_n
push edi
call fcn.1002fa90
add esp, 8
mov eax, 1
pop edi
mov dword [esi + 0xa4], 2
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call fcn.10046700
add esp, 4
test eax, eax
jne 0x10049521
cmp dword [esi + 0x60], eax
jne 0x1004951f
cmp dword [esi + 0x68], 5
jbe 0x1004951f
mov eax, dword [edi + 0x8f4]
mov ecx, dword [ebp + 0xc]
push edi
call fcn.100466d0
add esp, 4
test eax, eax
jne 0x1004951f
pop edi
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 2
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi + 0x5c], 2
pop esi
mov dword [eax], ecx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
push str.Unsupported_HTTP_version_in_response_n
push edx
call fcn.1002fb10
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.100467c0
add esp, 4
pop edi
pop esi
mov eax, 0x16
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0x58], 0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push edi
call fcn.1002fb10
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 + 0x88]
push eax
push str.The_requested_URL_returned_error:__d
push edi
call fcn.1002fb10
add esp, 0xc
pop edi
pop esi
mov eax, 0x16
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x564], 0
mov eax, dword [ebp + 0x14]
je 0x10049471
mov dword [eax], 1
or edx, 0xffffffff
jmp 0x100494b9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x330]
test dword [edx + 0x40], 0x40000
je 0x100494a2
cmp dword [edi + 0x6c0], 2
jne 0x100494a2
or edx, 0xffffffff
cmp dword [esi + 4], edx
jg 0x100494a5
jl 0x1004949a
cmp dword [esi], edx
ja 0x100494a5
mov dword [eax], 1
jmp 0x100494b9
or edx, 0xffffffff
cmp dword [esi + 0xe4], 0
je 0x100494b9
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 0x100494c6
cmp ecx, edx
je 0x100494dc
push ecx
push eax
push edi
call fcn.1004e740
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 0x100494f3
cmp dword [esi + 0x14], 0
jne 0x100494f3
mov edx, dword [ebp + 0x14]
mov dword [edx], 1
jmp 0x100494fb
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
je 0x10049502
and dword [esi + 0xc4], 0xfffffffe
cmp dword [edi + 0x570], 0
je 0x1004951f
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x70]
push ecx
push ebx
push edx
push 1
push edi
call fcn.1002f9b0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret