Function at 0x10015670
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
lea esi, [ebp + 0x50]
mov edi, edi
mov eax, dword [esi + 0x5c]
mov edi, dword [esp + 0x2c]
mov dword [esi + 0x60], eax
mov ecx, dword [edi]
push ecx
push 0xa
push eax
call dword [sym.imp.MSVCR90.dll_memchr]
add esp, 0xc
mov dword [esi + 0x64], eax
mov ebx, ebp
test eax, eax
je 0x10016433
sub eax, dword [esi + 0x5c]
inc eax
mov edi, eax
mov eax, dword [esp + 0x2c]
sub dword [eax], edi
mov eax, dword [esi + 0x64]
inc eax
mov dword [esi + 0x5c], eax
sub eax, dword [esi + 0x60]
push eax
call fcn.10013830
add esp, 4
test eax, eax
jne 0x100165bc
cmp dword [esi + 0x50], 0
mov edx, dword [esi + 0x54]
mov ebx, dword [esp + 0x28]
mov dword [esi + 0x64], edx
mov eax, dword [ebp + 0x5d4]
mov dword [esi + 0x68], eax
jne 0x10015705
cmp dword [esi + 0x58], 5
jbe 0x10015705
mov eax, dword [ebp + 0x5d4]
push ebp
mov ecx, ebx
call fcn.10013800
add esp, 4
test eax, eax
je 0x10016486
mov eax, dword [esi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x100161b7
cmp cl, 0xd
je 0x100161bc
mov ecx, dword [esi + 0x50]
lea edx, [ecx + 1]
mov dword [esi + 0x50], edx
test ecx, ecx
jne 0x1001597f
mov ecx, dword [ebx + 0x268]
mov ecx, dword [ecx + 0x3c]
test cl, 3
je 0x100157df
mov edi, dword [esp + 0x28]
mov ebx, dword [sym.imp.MSVCR90.dll_sscanf]
lea ebp, [esi + 0x78]
push ebp
add edi, 0x13c
push edi
lea edx, [esp + 0x18]
push edx
push str._HTTP__d._d__d
push eax
call ebx
add esp, 0x14
cmp eax, 3
jne 0x100157a3
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
cmp dword [esi + 0x88], 2
mov eax, dword [edi]
jne 0x10015832
cmp eax, 0x14
je 0x10015832
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.100230a0
add esp, 8
jmp 0x10015832
mov ecx, dword [esi + 0x68]
push ebp
push str._HTTP__3d
push ecx
call ebx
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x1001582e
mov ebx, dword [esi + 0x68]
mov eax, dword [esp + 0x24]
call fcn.10013780
test eax, eax
je 0x100164d0
mov dword [ebp], 0xc8
mov dword [edi], 0xa
jmp 0x1001582e
test ecx, 0x40000
je 0x100164d0
lea ebp, [esi + 0x78]
push ebp
lea edi, [ebx + 0x140]
push edi
lea edx, [esp + 0x1c]
push edx
push str._RTSP__d._d__3d
push eax
call dword [sym.imp.MSVCR90.dll_sscanf]
add esp, 0x14
cmp eax, 3
jne 0x100164d0
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
mov edi, dword [esp + 0x28]
add edi, 0x13c
mov dword [edi], 0xb
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebp]
mov eax, dword [ebx + 0x86c0]
mov dword [ebx + 0x872c], ecx
mov edx, dword [edi]
mov dword [ebx + 0x8734], edx
test eax, eax
je 0x10015851
cmp eax, dword [edi]
jle 0x10015859
mov eax, dword [edi]
mov dword [ebx + 0x86c0], eax
cmp dword [ebx + 0x308], 0
je 0x100158be
mov eax, dword [ebp]
cmp eax, 0x190
jl 0x100158be
cmp eax, 0x191
jne 0x10015880
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x204], 0
jne 0x100158be
cmp eax, 0x197
jne 0x10015894
mov edx, dword [esp + 0x28]
cmp dword [edx + 0x208], 0
jne 0x100158be
mov ecx, dword [ebx + 0x86e8]
or ecx, dword [ebx + 0x86ec]
je 0x100164ba
cmp dword [ebx + 0x268], 1
jne 0x100164ba
cmp eax, 0x1a0
jne 0x100164ba
mov edi, dword [edi]
cmp edi, 0xa
jne 0x100158e3
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.100230a0
mov edx, dword [esp + 0x30]
add esp, 8
mov dword [edx + 0x1f4], 1
jmp 0x10015942
cmp edi, 0x14
je 0x10015932
cmp dword [esi + 0x88], 1
jne 0x100158f7
cmp dword [ebp], 0x65
je 0x10015932
cmp edi, 0xb
jl 0x10015942
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x1f4], 0
jne 0x10015942
mov ecx, eax
cmp dword [ecx + 0x4e4], 0
je 0x10015942
mov edi, eax
push edi
push ebx
call fcn.1001f3e0
add esp, 8
test eax, eax
jne 0x10015942
mov edx, dword [edi + 0x4e4]
mov dword [edx], 1
jmp 0x10015942
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x4e4]
mov dword [ecx], 2
mov ebp, dword [ebp]
sub ebp, 0xcc
je 0x10015956
sub ebp, 0x64
jne 0x1001597f
mov ebx, dword [esp + 0x24]
xor eax, eax
cmp dword [ebx + 0x258], eax
je 0x1001596a
mov dword [ebx + 0x873c], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xb4], 1
cmp dword [esi + 0xb4], 0
mov edi, dword [esp + 0x24]
jne 0x10015a38
cmp dword [edi + 0x368], 0
jne 0x10015a38
mov edx, dword [esi + 0x68]
push 0xf
push edx
push str.Content_Length:
call fcn.10021810
add esp, 0xc
test eax, eax
je 0x10015a38
mov eax, dword [esi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call dword [sym.imp.MSVCR90.dll__strtoi64]
mov ebp, dword [edi + 0x2d0]
mov ecx, dword [edi + 0x2d4]
mov ebx, ebp
add esp, 0xc
or ebx, ecx
je 0x100159f0
cmp edx, ecx
jg 0x100164e1
jl 0x100159f0
cmp eax, ebp
ja 0x100164e1
test edx, edx
jl 0x10015a15
jg 0x100159fa
test eax, eax
jb 0x10015a15
push edx
push eax
push edi
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call fcn.10020e50
add esp, 0xc
jmp 0x10016141
mov ecx, dword [esp + 0x28]
push edx
push eax
push str.Negative_content_length:__I64d__closing_after_transfer_n
push edi
mov dword [ecx + 0x1f4], 1
call fcn.100230a0
add esp, 0x10
jmp 0x10016141
mov edx, dword [esi + 0x68]
push 0xd
push edx
push str.Content_Type:
call fcn.10021810
add esp, 0xc
test eax, eax
je 0x10015a95
mov eax, dword [esi + 0x68]
push eax
call fcn.10012980
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x100164fc
cmp byte [ebp], 0
jne 0x10015a7a
push ebp
call dword [0x1004400c]
add esp, 4
jmp 0x10016141
mov ecx, dword [edi + 0x8754]
push ecx
call dword [0x1004400c]
add esp, 4
mov dword [edi + 0x8754], ebp
jmp 0x10016141
mov edx, dword [esi + 0x68]
push 7
push edx
push str.Server:
call fcn.10021810
mov ebx, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x10015b03
cmp dword [ebx + 0x13c], 0x14
jge 0x10016141
mov eax, dword [esi + 0x68]
push eax
call fcn.10012980
mov ebp, eax
mov eax, dword [ebx + 0x4e4]
add esp, 4
test eax, eax
je 0x10015af4
cmp dword [eax], 1
jne 0x10015af4
push ebp
push edi
call fcn.1001f590
add esp, 8
test eax, eax
je 0x10015af4
mov ecx, dword [ebx + 0x4e4]
mov dword [ecx], 0xffffffff
push ebp
call dword [0x1004400c]
add esp, 4
jmp 0x10016141
mov ebp, 0xa
cmp dword [ebx + 0x13c], ebp
jne 0x10015b50
cmp dword [ebx + 0x200], 0
je 0x10015b50
mov edx, dword [esi + 0x68]
push str.keep_alive
push str.Proxy_Connection:
push edx
call fcn.100134d0
add esp, 0xc
test eax, eax
je 0x10015b50
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
mov dword [ebx + 0x1f4], 0
call fcn.100230a0
add esp, 8
jmp 0x10016141
cmp dword [ebx + 0x13c], 0xb
jne 0x10015b99
cmp dword [ebx + 0x200], 0
je 0x10015b99
mov eax, dword [esi + 0x68]
push str.close
push str.Proxy_Connection:
push eax
call fcn.100134d0
add esp, 0xc
test eax, eax
je 0x10015b99
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
mov dword [ebx + 0x1f4], 1
call fcn.100230a0
add esp, 8
jmp 0x10016141
cmp dword [ebx + 0x13c], ebp
jne 0x10015bd8
mov ecx, dword [esi + 0x68]
push str.keep_alive
push str.Connection:
push ecx
call fcn.100134d0
add esp, 0xc
test eax, eax
je 0x10015bd8
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
mov dword [ebx + 0x1f4], 0
call fcn.100230a0
add esp, 8
jmp 0x10016141
mov edx, dword [esi + 0x68]
push str.close
push str.Connection:
push edx
call fcn.100134d0
add esp, 0xc
test eax, eax
je 0x10015c01
mov dword [ebx + 0x1f4], 1
jmp 0x10016141
mov eax, dword [esi + 0x68]
push 0x12
push eax
push str.Transfer_Encoding:
call fcn.10021810
add esp, 0xc
test eax, eax
je 0x10015d6b
mov edi, dword [esi + 0x68]
add edi, 0x12
mov al, byte [edi]
test al, al
je 0x10015c4a
mov ebx, dword [sym.imp.MSVCR90.dll_isspace]
mov edi, edi
movzx ecx, al
push ecx
call ebx
add esp, 4
test eax, eax
jne 0x10015c42
cmp byte [edi], 0x2c
jne 0x10015c4a
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10015c30
push 7
push edi
push str.chunked
call fcn.10021810
add esp, 0xc
test eax, eax
je 0x10015c78
mov edx, dword [esp + 0x28]
push edx
mov dword [esi + 0xc8], 1
call fcn.100165f0
add esp, 4
add edi, 7
cmp dword [esi + 0x8c], 0
jne 0x10016141
push 8
push edi
push str.identity
call fcn.10021810
add esp, 0xc
test eax, eax
je 0x10015cab
mov dword [esi + 0x8c], 0
add edi, 8
jmp 0x10015c22
push 7
push edi
push str.deflate
call fcn.10021810
add esp, 0xc
test eax, eax
je 0x10015cd1
mov dword [esi + 0x8c], 1
add edi, 7
jmp 0x10015c22
push 4
push edi
push str.gzip
call fcn.10021810
add esp, 0xc
test eax, eax
je 0x10015cf7
mov dword [esi + 0x8c], 2
add edi, 4
jmp 0x10015c22
push 6
push edi
push str.x_gzip
call fcn.10021810
add esp, 0xc
test eax, eax
je 0x10015d1d
mov dword [esi + 0x8c], 2
add edi, 6
jmp 0x10015c22
push 8
push edi
push str.compress
call fcn.10021810
add esp, 0xc
test eax, eax
je 0x10015d43
mov dword [esi + 0x8c], 3
add edi, 8
jmp 0x10015c22
push ebp
push edi
push str.x_compress
call fcn.10021810
add esp, 0xc
test eax, eax
je 0x10016141
mov dword [esi + 0x8c], 3
add edi, ebp
jmp 0x10015c22
mov eax, dword [esi + 0x68]
push 0x11
push eax
push str.Content_Encoding:
call fcn.10021810
add esp, 0xc
test eax, eax
je 0x10015e7c
cmp dword [edi + 0x3a8], 0
jne 0x10015d9c
cmp dword [ebx + 0x13c], 0x14
jne 0x10015e7c
mov edi, dword [esi + 0x68]
mov al, byte [edi + 0x11]
add edi, 0x11
test al, al
je 0x10015dc5
mov ebx, dword [sym.imp.MSVCR90.dll_isspace]
nop
movzx ecx, al
push ecx
call ebx
add esp, 4
test eax, eax
je 0x10015dc5
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10015db0
push 8
push edi
push str.identity
call fcn.10021810
add esp, 0xc
test eax, eax
je 0x10015de8
mov dword [esi + 0x8c], 0
jmp 0x10016141
push 7
push edi
push str.deflate
call fcn.10021810
add esp, 0xc
test eax, eax
je 0x10015e0b
mov dword [esi + 0x8c], 1
jmp 0x10016141
push 4
push edi
push str.gzip
call fcn.10021810
add esp, 0xc
test eax, eax
jne 0x10015e6d
push 6
push edi
push str.x_gzip
call fcn.10021810
add esp, 0xc
test eax, eax
jne 0x10015e6d
push 8
push edi
push str.compress
call fcn.10021810
add esp, 0xc
test eax, eax
jne 0x10015e5e
push ebp
push edi
push str.x_compress
call fcn.10021810
add esp, 0xc
test eax, eax
je 0x10016141
mov dword [esi + 0x8c], 3
jmp 0x10016141
mov dword [esi + 0x8c], 2
jmp 0x10016141
mov edx, dword [esi + 0x68]
push 0xe
push edx
push str.Content_Range:
call fcn.10021810
add esp, 0xc
test eax, eax
je 0x10015f31
mov edi, dword [esi + 0x68]
mov al, byte [edi + 0xe]
mov ebx, dword [sym.imp.MSVCR90.dll_isdigit]
add edi, 0xe
test al, al
je 0x10015eca
lea ebx, [ebx]
movzx eax, al
push eax
call ebx
add esp, 4
test eax, eax
jne 0x10015eca
cmp byte [edi], 0x2a
je 0x10015eca
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10015eb0
movzx ecx, byte [edi]
push ecx
call ebx
add esp, 4
test eax, eax
je 0x10015f1a
push ebp
push 0
push edi
call dword [sym.imp.MSVCR90.dll__strtoi64]
mov dword [esi + 0x74], edx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x70], eax
mov eax, dword [edx + 0x86e8]
add esp, 0xc
cmp eax, dword [esi + 0x70]
jne 0x10016141
mov ecx, edx
mov edx, dword [ecx + 0x86ec]
cmp edx, dword [esi + 0x74]
jne 0x10016141
mov dword [esi + 0x6c], 1
jmp 0x10016141
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov dword [eax + 0x86e8], ecx
mov dword [eax + 0x86ec], ecx
jmp 0x10016141
cmp dword [edi + 0x4a8], 0
je 0x10015f9c
mov eax, dword [esi + 0x68]
push 0xb
push eax
push str.Set_Cookie:
call fcn.10021810
add esp, 0xc
test eax, eax
je 0x10015f9c
push 2
push 2
push edi
call fcn.10023890
mov eax, dword [ebx + 0x298]
add esp, 0xc
test eax, eax
jne 0x10015f6e
mov eax, dword [ebx + 0x98]
mov ecx, dword [edi + 0x86d0]
mov edx, dword [esi + 0x68]
push ecx
push eax
mov eax, dword [edi + 0x4a8]
add edx, 0xb
push edx
push 1
push eax
push edi
call fcn.10003550
push 2
push edi
call fcn.100238d0
add esp, 0x20
jmp 0x10016141
mov ecx, dword [esi + 0x68]
push 0xe
push ecx
push str.Last_Modified:
call fcn.10021810
add esp, 0xc
test eax, eax
je 0x1001600f
cmp dword [edi + 0x258], 0
jne 0x10015fc5
cmp dword [edi + 0x2ec], 0
je 0x1001600f
push 0
call dword [sym.imp.MSVCR90.dll__time64]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x68]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x1c]
push edx
add eax, 0xe
push eax
call sym.libcurl.dll_curl_getdate
add esp, 0xc
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp dword [edi + 0x2ec], 0
je 0x10016141
mov ecx, eax
mov dword [edi + 0x8738], ecx
jmp 0x10016141
mov edx, dword [esi + 0x68]
push 0x11
push edx
push str.WWW_Authenticate:
call fcn.10021810
add esp, 0xc
test eax, eax
je 0x10016030
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x10016051
mov eax, dword [esi + 0x68]
push 0x13
push eax
push str.Proxy_authenticate:
call fcn.10021810
add esp, 0xc
test eax, eax
je 0x10016099
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x10016099
mov edx, dword [esi + 0x68]
xor ecx, ecx
cmp eax, 0x197
sete cl
push edx
mov ebp, ecx
call fcn.10012980
mov edi, eax
add esp, 4
test edi, edi
je 0x100164fc
push edi
push ebp
push ebx
call fcn.10012f80
push edi
mov ebp, eax
call dword [0x1004400c]
add esp, 0x10
test ebp, ebp
je 0x10016141
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x1001611d
cmp eax, 0x190
jge 0x1001611d
mov eax, dword [esi + 0x68]
push 9
push eax
push str.Location:
call fcn.10021810
add esp, 0xc
test eax, eax
je 0x1001611d
cmp dword [edi + 0x108], 0
jne 0x1001611d
mov ecx, dword [esi + 0x68]
push ecx
call fcn.10012980
add esp, 4
test eax, eax
je 0x100164fc
cmp byte [eax], 0
jne 0x100160ef
push eax
call dword [0x1004400c]
add esp, 4
jmp 0x10016141
cmp dword [edi + 0x30c], 0
mov dword [edi + 0x108], eax
je 0x10016141
push eax
call dword [0x10044014]
add esp, 4
mov dword [edi + 0x10c], eax
test eax, eax
je 0x100164fc
call fcn.10012bb0
jmp 0x10016139
mov edx, dword [ebx + 0x268]
test dword [edx + 0x3c], 0x40000
je 0x10016141
mov eax, dword [esi + 0x68]
push eax
push ebx
call fcn.100222b0
add esp, 8
test eax, eax
jne 0x100165bc
mov ebp, dword [esp + 0x24]
cmp dword [ebp + 0x318], 0
mov edi, 2
je 0x10016158
mov edi, 3
cmp dword [ebp + 0x334], 0
je 0x10016179
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x68]
push ecx
push edx
push eax
push 1
push ebp
call fcn.10022fb0
add esp, 0x14
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x68]
mov eax, dword [esp + 0x28]
push ecx
push edx
push edi
push eax
call fcn.100235f0
add esp, 0x10
test eax, eax
jne 0x100165bc
mov ecx, dword [esi + 0x58]
add dword [ebp + 0x8740], ecx
mov edx, dword [esi + 0x58]
mov eax, dword [ebp + 0x5d4]
add dword [ebp + 0x80], edx
mov dword [esi + 0x54], eax
jmp 0x10016409
cmp cl, 0xd
jne 0x100161c0
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x100161cc
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x1001623d
cmp eax, 0xc7
jg 0x1001623d
xor edx, edx
sub eax, 0x64
mov ecx, 1
mov dword [esi + 0x48], ecx
mov dword [esi + 0x50], edx
je 0x10016226
sub eax, ecx
jne 0x10016299
cmp dword [esi + 0x88], ecx
jne 0x10016299
push str.Received_101_n
push ebp
call fcn.100230a0
add esp, 8
pop edi
mov dword [esi + 0x88], 2
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret
cmp dword [esi + 0x84], edx
je 0x10016299
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], edx
jmp 0x10016299
mov ecx, dword [esi]
and ecx, dword [esi + 4]
mov dword [esi + 0x48], 0
cmp ecx, 0xffffffff
jne 0x10016299
cmp dword [esi + 0xc8], 0
jne 0x10016299
cmp dword [ebx + 0x1f4], 0
jne 0x100162a2
cmp dword [ebx + 0x13c], 0xb
jne 0x10016299
mov edx, dword [ebx + 0x268]
test dword [edx + 0x3c], 0x40000
jne 0x10016299
cmp dword [ebp + 0x268], 5
je 0x10016299
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebp
call fcn.100230a0
add esp, 8
mov dword [ebx + 0x1f4], 1
cmp dword [ebx + 0x1f4], 0
je 0x100162e0
mov eax, dword [ebp + 0xc8]
cmp eax, 0x191
jne 0x100162b8
cmp dword [ebx + 0x2c8], 2
je 0x100162c8
cmp eax, 0x197
jne 0x100162e0
cmp dword [ebx + 0x2e0], 2
jne 0x100162e0
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebp
call fcn.100230a0
add esp, 8
mov dword [ebp + 0x868c], 1
mov edx, ebx
call fcn.100130e0
test eax, eax
jne 0x10016509
lea ecx, [eax + 2]
cmp dword [ebp + 0x318], eax
je 0x100162fd
lea ecx, [eax + 3]
mov eax, dword [ebp + 0x5d4]
mov edi, dword [esi + 0x68]
sub edi, eax
push edi
push eax
push ecx
push ebx
call fcn.100235f0
add esp, 0x10
test eax, eax
jne 0x100165bc
add dword [ebp + 0x80], edi
add dword [ebp + 0x8740], edi
mov eax, dword [esi + 0x78]
cmp eax, 0x64
mov ecx, dword [ebp + 0x80]
jl 0x10016341
cmp eax, 0xc7
jg 0x10016341
mov eax, ecx
jmp 0x10016343
xor eax, eax
mov dword [ebp + 0x84], eax
mov eax, dword [esp + 0x30]
cmp dword [eax], 0
jne 0x100163f6
push ebx
call fcn.10013980
add esp, 4
test eax, eax
jne 0x100165bc
cmp dword [esi + 0x78], 0x12c
jl 0x100163d8
cmp dword [ebx + 0x22c], eax
jne 0x100163d8
cmp dword [ebx + 0x1f4], eax
jne 0x100163d8
cmp dword [ebx + 0x230], eax
jne 0x100163e1
mov eax, dword [ebp + 0x268]
add eax, 0xfffffffe
cmp eax, 2
ja 0x100163d8
cmp dword [esi + 0xac], 0
jne 0x100163d8
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebp
call fcn.100230a0
mov eax, 1
mov dword [ebx + 0x1f4], eax
and dword [esi + 0xa8], 0xfffffffd
add esp, 8
mov dword [esi + 0xac], eax
cmp dword [ebp + 0x86c4], 0
je 0x100163d8
mov dword [esi + 0x84], 3
cmp dword [ebx + 0x230], 0
je 0x100163f6
push str.Keep_sending_data_to_get_tossed_away__n
push ebp
call fcn.100230a0
add esp, 8
or dword [esi + 0xa8], 2
cmp dword [esi + 0x48], 0
je 0x10016528
mov ecx, dword [ebp + 0x5d4]
mov dword [esi + 0x54], ecx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x58], 0
cmp dword [edx], 0
jne 0x100165ba
mov eax, dword [esi + 0x5c]
cmp byte [eax], 0
jne 0x10015680
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov ecx, dword [edi]
push ecx
call fcn.10013830
add esp, 4
test eax, eax
jne 0x100165bc
cmp dword [esi + 0x50], eax
jne 0x100165ba
cmp dword [esi + 0x58], 5
jbe 0x100165ba
mov eax, dword [ebp + 0x5d4]
mov ecx, dword [esp + 0x28]
push ebp
call fcn.10013800
add esp, 4
test eax, eax
jne 0x100165ba
pop edi
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 2
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x48], 0
cmp dword [eax], 0
je 0x100164a7
pop edi
mov dword [esi + 0x4c], 1
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov dword [esi + 0x4c], 2
mov dword [eax], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
push ebx
call fcn.100138e0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x10
ret
pop edi
mov dword [esi + 0x48], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
push str.Maximum_file_size_exceeded
push edi
call fcn.10023130
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x3f
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x10
ret
mov edx, dword [esi + 0x78]
push edx
push str.The_requested_URL_returned_error:__d
push ebp
call fcn.10023130
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x10
ret
cmp dword [ebp + 0x324], 0
je 0x1001653d
mov eax, dword [esp + 0x30]
mov dword [eax], 1
jmp 0x10016554
cmp dword [esi + 0xc8], 0
je 0x10016554
or eax, 0xffffffff
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x10016562
cmp ecx, eax
je 0x10016578
push ecx
push eax
push ebp
call fcn.10020e50
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add esp, 0xc
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
cmp dword [esi + 0x10], 0
jne 0x10016590
cmp dword [esi + 0x14], 0
jne 0x10016590
mov eax, dword [esp + 0x30]
mov dword [eax], 1
jmp 0x10016599
mov ecx, dword [esp + 0x30]
cmp dword [ecx], 0
je 0x100165a0
and dword [esi + 0xa8], 0xfffffffe
cmp dword [ebp + 0x334], 0
je 0x100165ba
mov edx, dword [esi + 0x60]
push ebx
push edi
push edx
push 1
push ebp
call fcn.10022fb0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret