Function at 0x10036110
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea esi, [ebx + 0x50]
nop
mov edi, dword [ebp + 0x10]
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x60], eax
push dword [edi]
push 0xa
push eax
call fcn.1006dd10
add esp, 0xc
mov dword [esi + 0x64], eax
test eax, eax
je 0x10036fcc
sub eax, dword [esi + 0x5c]
inc eax
sub dword [edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x64]
inc eax
mov dword [esi + 0x5c], eax
sub eax, dword [esi + 0x60]
push eax
push esi
push ebx
call fcn.100371a0
add esp, 0xc
test eax, eax
jne 0x1003700a
cmp dword [esi + 0x50], 0
mov eax, dword [esi + 0x54]
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x64], eax
mov eax, dword [ebx + 0x624]
mov dword [esi + 0x68], eax
jne 0x1003619d
cmp dword [esi + 0x58], 5
jbe 0x1003619d
push dword [ebx + 0x624]
push edi
push ebx
call fcn.100370a0
add esp, 0xc
test al, al
je 0x10036e47
mov edx, dword [esi + 0x68]
mov al, byte [edx]
cmp al, 0xa
je 0x10036bb3
cmp al, 0xd
je 0x10036bb7
mov ecx, dword [esi + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x50], eax
test ecx, ecx
jne 0x1003643e
mov eax, dword [edi + 0x288]
mov eax, dword [eax + 0x3c]
test al, 3
je 0x100362b8
lea ecx, [esi + 0x78]
push ecx
lea eax, [edi + 0x178]
push eax
lea eax, [ebp + 8]
push eax
push str._HTTP__d._d__d
push edx
call fcn.1000c190
add esp, 0x14
cmp eax, 1
jne 0x10036223
cmp dword [ebp + 8], 2
jne 0x10036267
lea eax, [esi + 0x78]
push eax
push str._HTTP_2__d
push dword [esi + 0x68]
call fcn.1000c190
add esp, 0xc
cmp eax, 1
jne 0x10036267
lea ecx, [edi + 0x178]
mov dword [ecx], 0
jmp 0x1003622e
cmp eax, 3
jne 0x10036267
lea ecx, [edi + 0x178]
mov eax, dword [ebp + 8]
lea eax, [eax + eax*4]
add eax, eax
add dword [ecx], eax
cmp dword [esi + 0x88], 2
jne 0x10036303
cmp dword [ecx], 0x14
je 0x10036303
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.1002f8d0
add esp, 8
lea ecx, [edi + 0x178]
jmp 0x10036303
lea eax, [esi + 0x78]
push eax
push str._HTTP__3d
push dword [esi + 0x68]
call fcn.1000c190
add esp, 0xc
mov dword [edi + 0x178], 0xa
lea ecx, [edi + 0x178]
test eax, eax
jne 0x10036303
push dword [esi + 0x68]
push ebx
call fcn.10037020
add esp, 8
test al, al
je 0x10037004
lea ecx, [edi + 0x178]
mov dword [esi + 0x78], 0xc8
mov dword [ecx], 0xa
jmp 0x10036303
test eax, 0x40000
je 0x10037004
lea eax, [esi + 0x78]
push eax
lea ecx, [edi + 0x17c]
push ecx
lea eax, [ebp - 8]
push eax
push str._RTSP__d._d__3d
push edx
call fcn.1000c190
add esp, 0x14
cmp eax, 3
jne 0x10037004
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x178]
mov dword [ecx], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [edi + 0x17c], eax
mov eax, dword [esi + 0x78]
mov dword [ebx + 0x47b8], eax
mov eax, dword [ecx]
mov dword [ebx + 0x47c0], eax
mov eax, dword [ebx + 0x4738]
test eax, eax
je 0x10036322
cmp eax, dword [ecx]
jle 0x1003632a
mov eax, dword [ecx]
mov dword [ebx + 0x4738], eax
cmp byte [ebx + 0x338], 0
je 0x1003638b
mov edx, dword [esi + 0x78]
cmp edx, 0x190
jl 0x1003638b
cmp edx, 0x191
jne 0x1003634f
cmp byte [edi + 0x254], 0
jne 0x1003638b
cmp edx, 0x197
jne 0x10036360
cmp byte [edi + 0x255], 0
jne 0x1003638b
mov eax, dword [ebx + 0x4750]
or eax, dword [ebx + 0x4754]
je 0x10036e78
cmp dword [ebx + 0x248], 1
jne 0x10036e78
cmp edx, 0x1a0
jne 0x10036e78
mov eax, dword [ecx]
cmp eax, 0xa
jne 0x100363aa
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.1002f8d0
push 1
push edi
call fcn.10030140
add esp, 0x10
jmp 0x100363fd
cmp eax, 0x14
je 0x100363f1
cmp dword [esi + 0x88], 1
jne 0x100363be
cmp dword [esi + 0x78], 0x65
je 0x100363f1
cmp eax, 0xb
jl 0x100363fd
cmp byte [edi + 0x24d], 0
jne 0x100363fd
cmp dword [edi + 0x4fc], 0
je 0x100363fd
push edi
push ebx
call fcn.1003af50
add esp, 8
test al, al
jne 0x100363fd
mov eax, dword [edi + 0x4fc]
mov dword [eax], 1
jmp 0x100363fd
mov eax, dword [edi + 0x4fc]
mov dword [eax], 2
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x1003640c
sub eax, 0x64
jne 0x1003643e
cmp dword [ebx + 0x23c], 0
je 0x1003641c
mov byte [ebx + 0x47c8], 1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [esi + 0xae], 1
cmp byte [esi + 0xae], 0
jne 0x100364f9
cmp byte [ebx + 0x35f], 0
jne 0x100364f9
push 0xf
push dword [esi + 0x68]
push str.Content_Length:
call fcn.10031920
add esp, 0xc
test eax, eax
je 0x100364f9
mov eax, dword [esi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.1007a84c
mov ecx, dword [ebx + 0x318]
add esp, 0xc
or ecx, dword [ebx + 0x31c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
je 0x100364b3
cmp edx, dword [ebx + 0x31c]
jg 0x10036e8d
jl 0x100364b3
cmp eax, dword [ebx + 0x318]
ja 0x10036e8d
test edx, edx
jl 0x100364d8
jg 0x100364bd
test eax, eax
jb 0x100364d8
push edx
push eax
push ebx
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call fcn.10039b10
add esp, 0xc
jmp 0x10036b52
push 2
push edi
call fcn.10030140
push dword [ebp - 4]
push dword [ebp - 0xc]
push str.Negative_content_length:__I64d__closing_after_transfer_n
push ebx
call fcn.1002f8d0
add esp, 0x18
jmp 0x10036b52
push 0xd
push dword [esi + 0x68]
push str.Content_Type:
call fcn.10031920
add esp, 0xc
test eax, eax
je 0x10036552
push dword [esi + 0x68]
call fcn.10035bd0
mov edi, eax
add esp, 4
test edi, edi
je 0x10036ea7
cmp byte [edi], 0
jne 0x10036538
push edi
call dword [0x1013c214]
add esp, 4
jmp 0x10036b52
push dword [ebx + 0x47e0]
call dword [0x1013c214]
add esp, 4
mov dword [ebx + 0x47e0], edi
jmp 0x10036b52
push 7
push dword [esi + 0x68]
push str.Server:
call fcn.10031920
add esp, 0xc
test eax, eax
je 0x100365be
cmp dword [edi + 0x178], 0x14
jge 0x10036b52
push dword [esi + 0x68]
call fcn.10035bd0
mov ecx, dword [edi + 0x4fc]
add esp, 4
mov dword [ebp - 4], eax
test ecx, ecx
je 0x100365af
cmp dword [ecx], 1
jne 0x100365af
push eax
push ebx
call fcn.1003ad20
add esp, 8
test al, al
je 0x100365ac
mov eax, dword [edi + 0x4fc]
mov dword [eax], 0xffffffff
mov eax, dword [ebp - 4]
push eax
call dword [0x1013c214]
add esp, 4
jmp 0x10036b52
cmp dword [edi + 0x178], 0xa
jne 0x10036604
cmp byte [edi + 0x252], 0
je 0x10036604
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0x68]
call fcn.10035b00
add esp, 0xc
test al, al
je 0x10036604
push 0
push edi
call fcn.10030140
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebx
call fcn.1002f8d0
add esp, 0x10
jmp 0x10036b52
cmp dword [edi + 0x178], 0xb
jne 0x1003664a
cmp byte [edi + 0x252], 0
je 0x1003664a
push 0x100986ac
push str.Proxy_Connection:
push dword [esi + 0x68]
call fcn.10035b00
add esp, 0xc
test al, al
je 0x1003664a
push 1
push edi
call fcn.10030140
push str.HTTP_1.1_proxy_connection_set_close__n
push ebx
call fcn.1002f8d0
add esp, 0x10
jmp 0x10036b52
cmp dword [edi + 0x178], 0xa
jne 0x10036687
push str.keep_alive
push str.Connection:
push dword [esi + 0x68]
call fcn.10035b00
add esp, 0xc
test al, al
je 0x10036687
push 0
push edi
call fcn.10030140
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
call fcn.1002f8d0
add esp, 0x10
jmp 0x10036b52
push 0x100986ac
push str.Connection:
push dword [esi + 0x68]
call fcn.10035b00
add esp, 0xc
test al, al
je 0x100366b0
push 2
push edi
call fcn.10030140
add esp, 8
jmp 0x10036b52
push 0x12
push dword [esi + 0x68]
push str.Transfer_Encoding:
call fcn.10031920
add esp, 0xc
test eax, eax
je 0x100367d2
mov edi, dword [esi + 0x68]
add edi, 0x12
mov al, byte [edi]
test al, al
je 0x100366f3
movzx eax, al
push eax
call fcn.10073546
add esp, 4
test eax, eax
jne 0x100366eb
cmp byte [edi], 0x2c
jne 0x100366f3
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100366d6
push 7
push edi
push str.chunked
call fcn.10031920
add esp, 0xc
test eax, eax
je 0x1003671c
push dword [ebp + 0xc]
mov byte [esi + 0xc0], 1
call fcn.1004ece0
add esp, 4
add edi, 7
cmp dword [esi + 0x8c], 0
jne 0x10036b52
push 8
push edi
push str.identity
call fcn.10031920
add esp, 0xc
test eax, eax
je 0x10036750
mov eax, 8
mov dword [esi + 0x8c], 0
add edi, eax
jmp 0x100366d0
push 7
push edi
push str.deflate
call fcn.10031920
add esp, 0xc
test eax, eax
je 0x1003677a
mov eax, 7
mov dword [esi + 0x8c], 1
add edi, eax
jmp 0x100366d0
push 4
push edi
push str.gzip
call fcn.10031920
add esp, 0xc
test eax, eax
je 0x100367a4
mov eax, 4
mov dword [esi + 0x8c], 2
add edi, eax
jmp 0x100366d0
push 6
push edi
push str.x_gzip
call fcn.10031920
add esp, 0xc
test eax, eax
je 0x10036b52
mov eax, 6
mov dword [esi + 0x8c], 2
add edi, eax
jmp 0x100366d0
push 0x11
push dword [esi + 0x68]
push str.Content_Encoding:
call fcn.10031920
add esp, 0xc
test eax, eax
je 0x1003689e
cmp dword [ebx + 0x39c], 0
je 0x1003689e
mov edi, dword [esi + 0x68]
add edi, 0x11
mov al, byte [edi]
test al, al
je 0x1003681d
movzx eax, al
push eax
call fcn.10073546
add esp, 4
test eax, eax
je 0x1003681d
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10036805
push 8
push edi
push str.identity
call fcn.10031920
add esp, 0xc
test eax, eax
je 0x10036840
mov dword [esi + 0x8c], 0
jmp 0x10036b52
push 7
push edi
push str.deflate
call fcn.10031920
add esp, 0xc
test eax, eax
je 0x10036863
mov dword [esi + 0x8c], 1
jmp 0x10036b52
push 4
push edi
push str.gzip
call fcn.10031920
add esp, 0xc
test eax, eax
jne 0x1003688f
push 6
push edi
push str.x_gzip
call fcn.10031920
add esp, 0xc
test eax, eax
je 0x10036b52
mov dword [esi + 0x8c], 2
jmp 0x10036b52
push 0xe
push dword [esi + 0x68]
push str.Content_Range:
call fcn.10031920
add esp, 0xc
test eax, eax
je 0x10036941
mov edi, dword [esi + 0x68]
add edi, 0xe
mov al, byte [edi]
test al, al
je 0x100368e1
movzx eax, al
push eax
call fcn.1007348e
add esp, 4
test eax, eax
jne 0x100368e1
cmp byte [edi], 0x2a
je 0x100368e1
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100368c4
movzx eax, byte [edi]
push eax
call fcn.1007348e
add esp, 4
test eax, eax
je 0x10036928
push 0xa
push 0
push edi
call fcn.1007a84c
mov dword [esi + 0x70], eax
add esp, 0xc
mov dword [esi + 0x74], edx
mov eax, dword [ebx + 0x4750]
cmp eax, dword [esi + 0x70]
jne 0x10036b52
cmp dword [ebx + 0x4754], edx
jne 0x10036b52
mov byte [esi + 0x6c], 1
jmp 0x10036b52
mov dword [ebx + 0x4750], 0
mov dword [ebx + 0x4754], 0
jmp 0x10036b52
cmp dword [ebx + 0x4d8], 0
je 0x100369a9
push 0xb
push dword [esi + 0x68]
push str.Set_Cookie:
call fcn.10031920
add esp, 0xc
test eax, eax
je 0x100369a9
push 2
push 2
push ebx
call fcn.1003b8c0
mov eax, dword [edi + 0x2b8]
add esp, 0xc
test eax, eax
jne 0x1003697d
mov eax, dword [edi + 0x98]
push dword [ebx + 0x4744]
push eax
mov eax, dword [esi + 0x68]
add eax, 0xb
push eax
push 1
push dword [ebx + 0x4d8]
push ebx
call fcn.10024900
push 2
push ebx
call fcn.1003b900
add esp, 0x20
jmp 0x10036b52
push 0xe
push dword [esi + 0x68]
push str.Last_Modified:
call fcn.10031920
add esp, 0xc
test eax, eax
je 0x10036a15
cmp dword [ebx + 0x23c], 0
jne 0x100369d1
cmp byte [ebx + 0x331], 0
je 0x10036a15
push 0
call fcn.1006fc72
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 0x68]
add eax, 0xe
mov dword [ebp - 0x10], edx
push eax
call fcn.1003b1f0
add esp, 0xc
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp byte [ebx + 0x331], 0
je 0x10036b52
mov dword [ebx + 0x47c4], eax
jmp 0x10036b52
push 0x11
push dword [esi + 0x68]
push str.WWW_Authenticate:
call fcn.10031920
add esp, 0xc
test eax, eax
je 0x10036a38
mov eax, dword [esi + 0x78]
mov dword [ebp - 4], eax
cmp eax, 0x191
je 0x10036a5b
push 0x13
push dword [esi + 0x68]
push str.Proxy_authenticate:
call fcn.10031920
add esp, 0xc
test eax, eax
je 0x10036aa5
mov eax, dword [esi + 0x78]
mov dword [ebp - 4], eax
cmp eax, 0x197
jne 0x10036aa5
push dword [esi + 0x68]
call fcn.10035bd0
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10036ea7
cmp dword [ebp - 4], 0x197
push eax
sete cl
movzx ecx, cl
push ecx
push edi
call fcn.10035e70
push dword [ebp - 0xc]
mov edi, eax
call dword [0x1013c214]
add esp, 0x10
test edi, edi
je 0x10036b52
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x10036b2f
cmp eax, 0x190
jge 0x10036b2f
push 9
push dword [esi + 0x68]
push str.Location:
call fcn.10031920
add esp, 0xc
test eax, eax
je 0x10036b2f
cmp dword [ebx + 0x100], 0
jne 0x10036b2f
push dword [esi + 0x68]
call fcn.10035bd0
add esp, 4
test eax, eax
je 0x10036ea7
cmp byte [eax], 0
jne 0x10036afd
push eax
call dword [0x1013c214]
add esp, 4
jmp 0x10036b52
cmp byte [ebx + 0x33a], 0
mov dword [ebx + 0x100], eax
je 0x10036b52
push eax
call dword [0x1013c21c]
add esp, 4
mov dword [ebx + 0x104], eax
test eax, eax
je 0x10036ea7
push edi
call fcn.10037360
add esp, 4
jmp 0x10036b4a
mov eax, dword [edi + 0x288]
test dword [eax + 0x3c], 0x40000
je 0x10036b52
push dword [esi + 0x68]
push edi
call fcn.1003de20
add esp, 8
test eax, eax
jne 0x1003700a
mov edi, dword [ebp + 0xc]
xor eax, eax
cmp byte [ebx + 0x33d], al
setne al
add eax, 2
cmp byte [ebx + 0x348], 0
mov dword [ebp - 0xc], eax
je 0x10036b84
push edi
push dword [esi + 0x58]
push dword [esi + 0x68]
push 1
push ebx
call fcn.1002f740
mov eax, dword [ebp - 0xc]
add esp, 0x14
push dword [esi + 0x58]
push dword [esi + 0x68]
push eax
push edi
call fcn.1002f710
add esp, 0x10
test eax, eax
jne 0x1003700a
mov eax, dword [esi + 0x58]
add dword [ebx + 0x47cc], eax
mov eax, dword [esi + 0x58]
add dword [ebx + 0x80], eax
jmp 0x10036e22
cmp al, 0xd
jne 0x10036bbd
lea eax, [edx + 1]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x10036bc9
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x10036c2f
cmp eax, 0xc7
jg 0x10036c2f
sub eax, 0x64
je 0x10036c08
sub eax, 1
je 0x10036bf2
mov byte [esi + 0x48], 1
mov dword [esi + 0x50], 0
jmp 0x10036c86
cmp dword [esi + 0x88], 1
je 0x10036eb3
mov byte [esi + 0x48], 0
jmp 0x10036c86
cmp dword [esi + 0x84], 0
mov byte [esi + 0x48], 1
mov dword [esi + 0x50], 0
jle 0x10036c86
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], 0
jmp 0x10036c86
mov eax, dword [esi]
and eax, dword [esi + 4]
mov byte [esi + 0x48], 0
cmp eax, 0xffffffff
jne 0x10036c86
cmp byte [esi + 0xc0], 0
jne 0x10036c86
cmp byte [edi + 0x24d], 0
jne 0x10036c8f
cmp dword [edi + 0x178], 0xb
jne 0x10036c86
mov eax, dword [edi + 0x288]
test dword [eax + 0x3c], 0x40000
jne 0x10036c86
cmp dword [ebx + 0x248], 5
je 0x10036c86
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebx
call fcn.1002f8d0
push 2
push edi
call fcn.10030140
add esp, 0x10
cmp byte [edi + 0x24d], 0
je 0x10036cca
mov eax, dword [ebx + 0xc8]
cmp eax, 0x191
jne 0x10036ca5
cmp dword [edi + 0x2fc], 2
je 0x10036cb5
cmp eax, 0x197
jne 0x10036cca
cmp dword [edi + 0x314], 2
jne 0x10036cca
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebx
call fcn.1002f8d0
add esp, 8
mov byte [ebx + 0x46f4], 1
push edi
call fcn.10037540
add esp, 4
test eax, eax
jne 0x10036faf
mov eax, dword [ebx + 0x624]
mov ecx, dword [esi + 0x68]
sub ecx, eax
push ecx
push eax
xor eax, eax
mov dword [ebp - 4], ecx
cmp byte [ebx + 0x33d], al
setne al
add eax, 2
push eax
push edi
call fcn.1002f710
add esp, 0x10
test eax, eax
jne 0x1003700a
mov eax, dword [ebp - 4]
add dword [ebx + 0x80], eax
add dword [ebx + 0x47cc], eax
mov eax, dword [esi + 0x78]
mov ecx, dword [ebx + 0x80]
cmp eax, 0x64
jl 0x10036d2f
cmp eax, 0xc7
jle 0x10036d31
xor ecx, ecx
push edi
mov dword [ebx + 0x84], ecx
call fcn.10035ca0
add esp, 4
test eax, eax
jne 0x1003700a
cmp dword [esi + 0x78], 0x12c
jl 0x10036e18
cmp byte [edi + 0x25e], al
jne 0x10036dfa
cmp byte [edi + 0x24d], al
jne 0x10036dfa
cmp byte [edi + 0x25f], al
jne 0x10036e03
mov eax, dword [ebx + 0x248]
add eax, 0xfffffffe
cmp eax, 2
ja 0x10036dfa
cmp byte [esi + 0xac], 0
jne 0x10036dfa
cmp byte [ebx + 0x339], 0
je 0x10036dc3
push str.HTTP_error_before_end_of_send__keep_sending_n
push ebx
call fcn.1002f8d0
add esp, 8
cmp dword [esi + 0x84], 0
jle 0x10036dfa
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], 0
jmp 0x10036dfa
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebx
call fcn.1002f8d0
push 2
push edi
call fcn.10030140
and dword [esi + 0xa8], 0xfffffffd
add esp, 0x10
mov byte [esi + 0xac], 1
cmp byte [ebx + 0x473c], 0
je 0x10036dfa
mov dword [esi + 0x84], 3
cmp byte [edi + 0x25f], 0
je 0x10036e18
push str.Keep_sending_data_to_get_tossed_away__n
push ebx
call fcn.1002f8d0
add esp, 8
or dword [esi + 0xa8], 2
cmp byte [esi + 0x48], 0
je 0x10036ee2
mov eax, dword [ebx + 0x624]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x58], 0
cmp byte [eax], 0
jne 0x10036120
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov byte [esi + 0x48], 0
cmp dword [ecx], 0
je 0x10036e63
pop edi
mov dword [esi + 0x4c], 1
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
pop edi
mov dword [esi + 0x4c], 2
pop esi
mov dword [ecx], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.10037770
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 ebx
call fcn.1002f820
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 ebx
call fcn.1002f8d0
add esp, 8
mov dword [esi + 0x88], 2
mov byte [esi + 0x48], 1
mov eax, 1
mov dword [esi + 0x50], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x340], 0
je 0x10036ef3
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x10036f44
mov eax, dword [edi + 0x288]
test dword [eax + 0x3c], 0x40000
je 0x10036f20
cmp dword [ebx + 0x46c], 2
jne 0x10036f20
cmp dword [esi + 4], 0xffffffff
jg 0x10036f20
jl 0x10036f18
cmp dword [esi], 0xffffffff
ja 0x10036f20
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x10036f44
cmp byte [esi + 0xc0], 0
je 0x10036f44
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], 0xffffffff
mov ecx, dword [esi]
mov eax, dword [esi + 4]
cmp ecx, 0xffffffff
jne 0x10036f52
cmp eax, ecx
je 0x10036f68
push eax
push ecx
push ebx
call fcn.10039b10
mov eax, dword [esi]
add esp, 0xc
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x14], eax
cmp dword [esi + 0x10], 0
jne 0x10036f7c
cmp dword [esi + 0x14], 0
jne 0x10036f7c
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x10036f84
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x10036f8b
and dword [esi + 0xa8], 0xfffffffe
cmp byte [ebx + 0x348], 0
je 0x10037008
push edi
push dword [ebp - 4]
push dword [esi + 0x60]
push 1
push ebx
call fcn.1002f740
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0x78]
push str.The_requested_URL_returned_error:__d
push ebx
call fcn.1002f820
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi]
push esi
push ebx
call fcn.100371a0
add esp, 0xc
test eax, eax
jne 0x1003700a
cmp dword [esi + 0x50], eax
jne 0x10037008
cmp dword [esi + 0x58], 5
jbe 0x10037008
push dword [ebx + 0x624]
push dword [ebp + 0xc]
push ebx
call fcn.100370a0
add esp, 0xc
test al, al
jne 0x10037008
mov dword [esi + 0x4c], 2
mov byte [esi + 0x48], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret