Function at 0x100146c0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0xac]
mov dword [esi + 0xb0], eax
push dword [ecx]
mov dword [ebp - 4], eax
push 0xa
push eax
call fcn.10041850
mov ebx, dword [ebp + 0xc]
mov edi, eax
add esp, 0xc
mov dword [esi + 0xb4], edi
test edi, edi
je 0x100154d4
nop
mov eax, dword [ebp + 0x10]
sub edi, dword [ebp - 4]
inc edi
sub dword [eax], edi
mov eax, dword [esi + 0xb4]
inc eax
mov dword [esi + 0xac], eax
sub eax, dword [esi + 0xb0]
push eax
lea eax, [esi + 0x50]
push eax
push esi
call fcn.10015850
add esp, 0xc
test eax, eax
jne 0x10015522
cmp dword [esi + 0xa0], 0
mov eax, dword [esi + 0xa4]
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0x634]
mov dword [esi + 0xb8], eax
jne 0x1001476f
cmp dword [esi + 0xa8], 5
jbe 0x1001476f
push eax
push ebx
push esi
call fcn.10015750
add esp, 0xc
test al, al
je 0x10015529
mov edx, dword [esi + 0xb8]
mov al, byte [edx]
cmp al, 0xa
je 0x100151f2
cmp al, 0xd
je 0x100151f6
mov ecx, dword [esi + 0xa0]
lea eax, [ecx + 1]
mov dword [esi + 0xa0], eax
test ecx, ecx
jne 0x10014a1f
mov eax, dword [ebx + 0x3a0]
mov eax, dword [eax + 0x3c]
test al, 3
je 0x10014889
lea eax, [esi + 0xc8]
push eax
lea edi, [ebx + 0x178]
push edi
lea eax, [ebp + 8]
push eax
push str._HTTP__d._d__d
push edx
call fcn.10004eb0
add esp, 0x14
cmp eax, 1
jne 0x10014801
cmp dword [ebp + 8], 2
jne 0x1001483c
lea eax, [esi + 0xc8]
push eax
push str._HTTP_2__d
push dword [esi + 0xb8]
call fcn.10004eb0
add esp, 0xc
cmp eax, 1
jne 0x1001483c
mov dword [edi], 0
jmp 0x10014806
cmp eax, 3
jne 0x1001483c
mov eax, dword [ebp + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edi]
lea eax, [eax + ecx*2]
mov dword [edi], eax
cmp dword [esi + 0xd8], 2
jne 0x100148d7
cmp eax, 0x14
je 0x100148d7
push str.Lying_server__not_serving_HTTP_2_n
push esi
call fcn.10024550
add esp, 8
jmp 0x100148d7
lea eax, [esi + 0xc8]
push eax
push str._HTTP__3d
push dword [esi + 0xb8]
call fcn.10004eb0
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x100148d7
push dword [esi + 0xb8]
push esi
call fcn.100156d0
add esp, 8
test al, al
je 0x10015519
mov dword [esi + 0xc8], 0xc8
mov dword [edi], 0xa
jmp 0x100148d7
test eax, 0x40000
je 0x10015519
lea eax, [esi + 0xc8]
push eax
lea edi, [ebx + 0x17c]
push edi
lea eax, [ebp - 8]
push eax
push str._RTSP__d._d__3d
push edx
call fcn.10004eb0
add esp, 0x14
cmp eax, 3
jne 0x10015519
mov eax, dword [ebp - 8]
mov dword [ebx + 0x178], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
lea edi, [ebx + 0x178]
mov eax, dword [esi + 0xc8]
mov dword [esi + 0x4818], eax
mov eax, dword [edi]
mov dword [esi + 0x4820], eax
mov eax, dword [esi + 0x4798]
test eax, eax
je 0x100148f9
cmp eax, dword [edi]
jle 0x10014901
mov eax, dword [edi]
mov dword [esi + 0x4798], eax
cmp byte [esi + 0x340], 0
je 0x10014965
mov ecx, dword [esi + 0xc8]
cmp ecx, 0x190
jl 0x10014965
cmp ecx, 0x191
jne 0x10014929
cmp byte [ebx + 0x36c], 0
jmp 0x10014938
cmp ecx, 0x197
jne 0x1001493a
cmp byte [ebx + 0x36d], 0
jne 0x10014965
mov eax, dword [esi + 0x47b0]
or eax, dword [esi + 0x47b4]
je 0x10015560
cmp dword [esi + 0x248], 1
jne 0x10015560
cmp ecx, 0x1a0
jne 0x10015560
mov eax, dword [edi]
cmp eax, 0xa
jne 0x10014984
push str.HTTP_1.0__assume_close_after_body_n
push esi
call fcn.10024550
push 1
push ebx
call fcn.10002140
add esp, 0x10
jmp 0x100149da
cmp eax, 0x14
je 0x100149ce
cmp dword [esi + 0xd8], 1
jne 0x1001499b
cmp dword [esi + 0xc8], 0x65
je 0x100149ce
cmp eax, 0xb
jl 0x100149da
cmp byte [ebx + 0x365], 0
jne 0x100149da
cmp dword [ebx + 0x698], 0
je 0x100149da
push ebx
push esi
call fcn.10020650
add esp, 8
test al, al
jne 0x100149da
mov eax, dword [ebx + 0x698]
mov dword [eax], 1
jmp 0x100149da
mov eax, dword [ebx + 0x698]
mov dword [eax], 2
mov eax, dword [esi + 0xc8]
sub eax, 0xcc
je 0x100149ec
sub eax, 0x64
jne 0x10014a1f
cmp dword [esi + 0x23c], 0
je 0x100149fc
mov byte [esi + 0x4828], 1
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov byte [esi + 0xfe], 1
cmp byte [esi + 0xfe], 0
jne 0x10014ade
cmp byte [esi + 0x367], 0
jne 0x10014ade
push 0xf
push dword [esi + 0xb8]
push str.Content_Length:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014ade
mov eax, dword [esi + 0xb8]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.1005abdd
mov ecx, dword [esi + 0x320]
mov edi, eax
mov eax, edx
add esp, 0xc
mov edx, dword [esi + 0x324]
or ecx, edx
mov dword [ebp - 4], eax
je 0x10014a99
cmp eax, edx
jg 0x10015575
jl 0x10014a99
cmp edi, dword [esi + 0x320]
ja 0x10015575
test eax, eax
jl 0x10014abf
jg 0x10014aa3
test edi, edi
jb 0x10014abf
push eax
push edi
push esi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], eax
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], eax
call fcn.10021c70
add esp, 0xc
jmp 0x10015188
push 2
push ebx
call fcn.10002140
push dword [ebp - 4]
push edi
push str.Negative_content_length:__I64d__closing_after_transfer_n
push esi
call fcn.10024550
add esp, 0x18
jmp 0x10015188
push 0xd
push dword [esi + 0xb8]
push str.Content_Type:
call sym.libcurl.dll_curl_strnequal
mov ecx, dword [esi + 0xb8]
add esp, 0xc
test eax, eax
je 0x10014b3e
push ecx
call fcn.100140b0
mov edi, eax
add esp, 4
test edi, edi
je 0x1001558f
cmp byte [edi], 0
jne 0x10014b24
push edi
call dword [0x100ad00c]
add esp, 4
jmp 0x10015188
push dword [esi + 0x4840]
call dword [0x100ad00c]
add esp, 4
mov dword [esi + 0x4840], edi
jmp 0x10015188
push 7
push ecx
push str.Server:
call sym.libcurl.dll_curl_strnequal
mov ecx, dword [ebx + 0x178]
add esp, 0xc
test eax, eax
je 0x10014ba9
cmp ecx, 0x14
jge 0x10015188
push dword [esi + 0xb8]
call fcn.100140b0
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0x698]
test eax, eax
je 0x10014b9a
cmp dword [eax], 1
jne 0x10014b9a
push edi
push esi
call fcn.10020420
add esp, 8
test al, al
je 0x10014b9a
mov eax, dword [ebx + 0x698]
mov dword [eax], 0xffffffff
push edi
call dword [0x100ad00c]
add esp, 4
jmp 0x10015188
cmp ecx, 0xa
jne 0x10014bee
cmp byte [ebx + 0x36a], 0
je 0x10014bee
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0xb8]
call fcn.10013ff0
add esp, 0xc
test al, al
je 0x10014bee
push 0
push ebx
call fcn.10002140
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push esi
call fcn.10024550
add esp, 0x10
jmp 0x10015188
cmp dword [ebx + 0x178], 0xb
jne 0x10014c37
cmp byte [ebx + 0x36a], 0
je 0x10014c37
push str.close
push str.Proxy_Connection:
push dword [esi + 0xb8]
call fcn.10013ff0
add esp, 0xc
test al, al
je 0x10014c37
push 1
push ebx
call fcn.10002140
push str.HTTP_1.1_proxy_connection_set_close__n
push esi
call fcn.10024550
add esp, 0x10
jmp 0x10015188
cmp dword [ebx + 0x178], 0xa
jne 0x10014c77
push str.keep_alive
push str.Connection:
push dword [esi + 0xb8]
call fcn.10013ff0
add esp, 0xc
test al, al
je 0x10014c77
push 0
push ebx
call fcn.10002140
push str.HTTP_1.0_connection_set_to_keep_alive__n
push esi
call fcn.10024550
add esp, 0x10
jmp 0x10015188
push str.close
push str.Connection:
push dword [esi + 0xb8]
call fcn.10013ff0
add esp, 0xc
test al, al
je 0x10014ca3
push 2
push ebx
call fcn.10002140
add esp, 8
jmp 0x10015188
push 0x12
push dword [esi + 0xb8]
push str.Transfer_Encoding:
call sym.libcurl.dll_curl_strnequal
mov ecx, dword [esi + 0xb8]
add esp, 0xc
test eax, eax
je 0x10014dd3
lea edi, [ecx + 0x12]
nop dword [eax]
mov al, byte [edi]
test al, al
je 0x10014cf3
movzx eax, al
push eax
call fcn.1005c050
add esp, 4
test eax, eax
jne 0x10014ceb
cmp byte [edi], 0x2c
jne 0x10014cf3
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10014cd6
push 7
push edi
push str.chunked
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014d1a
push ebx
mov byte [esi + 0x110], 1
call fcn.10016090
add esp, 4
add edi, 7
cmp dword [esi + 0xdc], 0
jne 0x10015188
push 8
push edi
push str.identity
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014d51
mov eax, 8
mov dword [esi + 0xdc], 0
add edi, eax
jmp 0x10014cd0
push 7
push edi
push str.deflate
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014d7b
mov eax, 7
mov dword [esi + 0xdc], 1
add edi, eax
jmp 0x10014cd0
push 4
push edi
push str.gzip
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014da5
mov eax, 4
mov dword [esi + 0xdc], 2
add edi, eax
jmp 0x10014cd0
push 6
push edi
push str.x_gzip
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10015188
mov eax, 6
mov dword [esi + 0xdc], 2
add edi, eax
jmp 0x10014cd0
push 0x11
push ecx
push str.Content_Encoding:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014ea0
cmp dword [esi + 0x3a4], 0
je 0x10014ea0
mov edi, dword [esi + 0xb8]
add edi, 0x11
mov al, byte [edi]
test al, al
je 0x10014e1f
movzx eax, al
push eax
call fcn.1005c050
add esp, 4
test eax, eax
je 0x10014e1f
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10014e07
push 8
push edi
push str.identity
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014e42
mov dword [esi + 0xdc], 0
jmp 0x10015188
push 7
push edi
push str.deflate
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014e65
mov dword [esi + 0xdc], 1
jmp 0x10015188
push 4
push edi
push str.gzip
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
jne 0x10014e91
push 6
push edi
push str.x_gzip
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10015188
mov dword [esi + 0xdc], 2
jmp 0x10015188
push 0xe
push dword [esi + 0xb8]
push str.Content_Range:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014f59
mov edi, dword [esi + 0xb8]
add edi, 0xe
mov al, byte [edi]
test al, al
je 0x10014eed
nop dword [eax]
movzx eax, al
push eax
call fcn.1005bd80
add esp, 4
test eax, eax
jne 0x10014eed
cmp byte [edi], 0x2a
je 0x10014eed
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10014ed0
movzx eax, byte [edi]
push eax
call fcn.1005bd80
add esp, 4
test eax, eax
je 0x10014f40
push 0xa
push 0
push edi
call fcn.1005abdd
mov dword [esi + 0xc0], eax
add esp, 0xc
mov dword [esi + 0xc4], edx
mov eax, dword [esi + 0x47b0]
cmp eax, dword [esi + 0xc0]
jne 0x10015188
cmp dword [esi + 0x47b4], edx
jne 0x10015188
mov byte [esi + 0xbc], 1
jmp 0x10015188
mov dword [esi + 0x47b0], 0
mov dword [esi + 0x47b4], 0
jmp 0x10015188
cmp dword [esi + 0x4e8], 0
je 0x10014fc7
push 0xb
push dword [esi + 0xb8]
push str.Set_Cookie:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10014fc7
push 2
push 2
push esi
call fcn.10026400
mov eax, dword [ebx + 0x3d0]
add esp, 0xc
test eax, eax
jne 0x10014f98
mov eax, dword [ebx + 0x98]
push dword [esi + 0x47a4]
push eax
mov eax, dword [esi + 0xb8]
add eax, 0xb
push eax
push 1
push dword [esi + 0x4e8]
push esi
call fcn.100036f0
push 2
push esi
call fcn.10026440
add esp, 0x20
jmp 0x10015188
push 0xe
push dword [esi + 0xb8]
push str.Last_Modified:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10015039
cmp dword [esi + 0x23c], 0
jne 0x10014ff2
cmp byte [esi + 0x339], 0
je 0x10015039
push 0
call fcn.10058d85
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0xb8]
add eax, 0xe
mov dword [ebp - 0xc], edx
push eax
call sym.libcurl.dll_curl_getdate
add esp, 0xc
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], edx
cmp byte [esi + 0x339], 0
je 0x10015188
mov dword [esi + 0x4824], eax
jmp 0x10015188
push 0x11
push dword [esi + 0xb8]
push str.WWW_Authenticate:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10015060
mov edi, dword [esi + 0xc8]
cmp edi, 0x191
je 0x10015087
push 0x13
push dword [esi + 0xb8]
push str.Proxy_authenticate:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x100150d3
mov edi, dword [esi + 0xc8]
cmp edi, 0x197
jne 0x100150d3
push dword [esi + 0xb8]
call fcn.100140b0
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x1001558f
cmp edi, 0x197
push eax
sete cl
movzx ecx, cl
push ecx
push ebx
call fcn.10014350
push dword [ebp - 4]
mov edi, eax
call dword [0x100ad00c]
add esp, 0x10
test edi, edi
je 0x10015188
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc8]
sub eax, 0x12c
cmp eax, 0x63
ja 0x10015162
push 9
push dword [esi + 0xb8]
push str.Location:
call sym.libcurl.dll_curl_strnequal
add esp, 0xc
test eax, eax
je 0x10015162
cmp dword [esi + 0x100], 0
jne 0x10015162
push dword [esi + 0xb8]
call fcn.100140b0
add esp, 4
test eax, eax
je 0x1001558f
cmp byte [eax], 0
jne 0x10015130
push eax
call dword [0x100ad00c]
add esp, 4
jmp 0x10015188
cmp byte [esi + 0x342], 0
mov dword [esi + 0x100], eax
je 0x10015188
push eax
call dword [0x100ad014]
add esp, 4
mov dword [esi + 0x104], eax
test eax, eax
je 0x1001558f
push ebx
call fcn.10015a20
add esp, 4
jmp 0x10015180
mov eax, dword [ebx + 0x3a0]
test dword [eax + 0x3c], 0x40000
je 0x10015188
push dword [esi + 0xb8]
push ebx
call fcn.100237e0
add esp, 8
test eax, eax
jne 0x10015522
xor eax, eax
cmp byte [esi + 0x345], al
setne al
add eax, 2
cmp byte [esi + 0x350], 0
mov dword [ebp - 4], eax
je 0x100151bd
push ebx
push dword [esi + 0xa8]
push dword [esi + 0xb8]
push 1
push esi
call fcn.100243c0
mov eax, dword [ebp - 4]
add esp, 0x14
push dword [esi + 0xa8]
push dword [esi + 0xb8]
push eax
push ebx
call fcn.10024390
add esp, 0x10
test eax, eax
jne 0x10015522
mov eax, dword [esi + 0xa8]
add dword [esi + 0x482c], eax
add dword [esi + 0x80], eax
jmp 0x1001548a
cmp al, 0xd
jne 0x100151ff
inc edx
mov dword [esi + 0xb8], edx
mov al, byte [edx]
cmp al, 0xa
jne 0x1001520c
lea eax, [edx + 1]
mov dword [esi + 0xb8], eax
mov ecx, dword [esi + 0xc8]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x10015280
sub ecx, 0x64
je 0x10015253
sub ecx, 1
je 0x1001523a
mov byte [esi + 0x98], 1
mov dword [esi + 0xa0], 0
jmp 0x100152db
cmp dword [esi + 0xd8], 1
je 0x1001559b
mov byte [esi + 0x98], 0
jmp 0x100152db
cmp dword [esi + 0xd4], 0
mov byte [esi + 0x98], 1
mov dword [esi + 0xa0], 0
jle 0x100152db
or dword [esi + 0xf8], 2
mov dword [esi + 0xd4], 0
jmp 0x100152db
mov eax, dword [esi + 0x50]
and eax, dword [esi + 0x54]
mov byte [esi + 0x98], 0
cmp eax, 0xffffffff
jne 0x100152db
cmp byte [esi + 0x110], 0
jne 0x100152db
cmp byte [ebx + 0x365], 0
jne 0x100152e4
cmp dword [ebx + 0x178], 0xb
jne 0x100152db
mov eax, dword [ebx + 0x3a0]
test dword [eax + 0x3c], 0x40000
jne 0x100152db
cmp dword [esi + 0x248], 5
je 0x100152db
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push esi
call fcn.10024550
push 2
push ebx
call fcn.10002140
add esp, 0x10
cmp byte [ebx + 0x365], 0
je 0x10015321
mov eax, dword [esi + 0xc8]
cmp eax, 0x191
jne 0x100152fc
cmp dword [ebx + 0x448], 2
je 0x1001530c
jmp 0x10015321
cmp eax, 0x197
jne 0x10015321
cmp dword [ebx + 0x484], 2
jne 0x10015321
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push esi
call fcn.10024550
add esp, 8
mov byte [esi + 0x4754], 1
push ebx
call fcn.10015bf0
add esp, 4
test eax, eax
jne 0x100156a1
mov eax, dword [esi + 0x634]
mov edi, dword [esi + 0xb8]
sub edi, eax
push edi
push eax
xor eax, eax
mov dword [ebp - 4], edi
cmp byte [esi + 0x345], al
setne al
add eax, 2
push eax
push ebx
call fcn.10024390
add esp, 0x10
test eax, eax
jne 0x10015522
add dword [esi + 0x80], edi
xor edx, edx
add dword [esi + 0x482c], edi
mov eax, dword [esi + 0xc8]
mov ecx, dword [esi + 0x80]
sub eax, 0x64
cmp eax, 0x63
push ebx
cmova ecx, edx
mov dword [esi + 0x84], ecx
call fcn.10014180
add esp, 4
test eax, eax
jne 0x10015522
cmp dword [esi + 0xc8], 0x12c
jl 0x1001547d
cmp byte [ebx + 0x376], al
jne 0x1001545f
cmp byte [ebx + 0x365], al
jne 0x1001545f
cmp byte [ebx + 0x377], al
jne 0x10015468
mov eax, dword [esi + 0x248]
sub eax, 2
je 0x100153ec
sub eax, 1
je 0x100153ec
sub eax, 1
jne 0x1001545f
cmp byte [esi + 0xfc], 0
jne 0x1001545f
cmp byte [esi + 0x341], 0
je 0x10015428
push str.HTTP_error_before_end_of_send__keep_sending_n
push esi
call fcn.10024550
add esp, 8
cmp dword [esi + 0xd4], 0
jle 0x1001545f
or dword [esi + 0xf8], 2
mov dword [esi + 0xd4], 0
jmp 0x1001545f
push str.HTTP_error_before_end_of_send__stop_sending_n
push esi
call fcn.10024550
push 2
push ebx
call fcn.10002140
and dword [esi + 0xf8], 0xfffffffd
add esp, 0x10
mov byte [esi + 0xfc], 1
cmp byte [esi + 0x479c], 0
je 0x1001545f
mov dword [esi + 0xd4], 3
cmp byte [ebx + 0x377], 0
je 0x1001547d
push str.Keep_sending_data_to_get_tossed_away__n
push esi
call fcn.10024550
add esp, 8
or dword [esi + 0xf8], 2
cmp byte [esi + 0x98], 0
je 0x100155d0
mov eax, dword [esi + 0x634]
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], 0
mov eax, dword [esi + 0xac]
mov dword [ebp - 4], eax
cmp byte [eax], 0
je 0x10015520
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0xb0], eax
push dword [ecx]
push 0xa
push eax
call fcn.10041850
mov edi, eax
add esp, 0xc
mov dword [esi + 0xb4], edi
test edi, edi
jne 0x10014700
mov eax, dword [ebp + 0x10]
push dword [eax]
lea eax, [esi + 0x50]
push eax
push esi
call fcn.10015850
add esp, 0xc
test eax, eax
jne 0x10015522
cmp dword [esi + 0xa0], eax
jne 0x10015520
cmp dword [esi + 0xa8], 5
jbe 0x10015520
push dword [esi + 0x634]
push ebx
push esi
call fcn.10015750
add esp, 0xc
test al, al
jne 0x10015520
mov dword [esi + 0x9c], 2
mov byte [esi + 0x98], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov byte [esi + 0x98], 0
cmp dword [eax], 0
je 0x1001554b
pop edi
mov dword [esi + 0x9c], 1
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x9c], 2
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.10015e80
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Maximum_file_size_exceeded
push esi
call fcn.100244a0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
push str.Received_101_n
push esi
call fcn.10024550
add esp, 8
mov dword [esi + 0xd8], 2
mov byte [esi + 0x98], 1
mov eax, 1
mov dword [esi + 0xa0], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x348], 0
mov edi, dword [ebp + 0x14]
jne 0x1001562a
mov eax, dword [ebx + 0x3a0]
test dword [eax + 0x3c], 0x40000
lea eax, [esi + 0x50]
je 0x10015604
cmp dword [esi + 0x47c], 2
jne 0x10015604
cmp dword [eax + 4], 0xffffffff
jl 0x1001562d
jg 0x10015604
cmp dword [eax], 0xffffffff
jbe 0x1001562d
cmp byte [esi + 0x110], 0
je 0x10015630
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0xffffffff
mov dword [esi + 0x60], 0xffffffff
mov dword [esi + 0x64], 0xffffffff
jmp 0x10015630
lea eax, [esi + 0x50]
mov byte [edi], 1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, 0xffffffff
jne 0x10015646
cmp eax, ecx
jne 0x10015646
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x64]
jmp 0x1001565d
push eax
push ecx
push esi
call fcn.10021c70
mov ecx, dword [esi + 0x50]
add esp, 0xc
mov eax, dword [esi + 0x54]
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], eax
test ecx, ecx
jne 0x1001566a
test eax, eax
jne 0x1001566a
mov byte [edi], 1
jmp 0x1001566f
cmp byte [edi], 0
je 0x10015676
and dword [esi + 0xf8], 0xfffffffe
cmp byte [esi + 0x350], 0
je 0x10015520
push ebx
push dword [ebp - 4]
push dword [esi + 0xb0]
push 1
push esi
call fcn.100243c0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0xc8]
push str.The_requested_URL_returned_error:__d
push esi
call fcn.100244a0
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret