Function at 0x5090e0
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.004c57f0
add esp, 0xc
mov dword [esi + 0x64], eax
test eax, eax
je 0x509f9c
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.0050a140
add esp, 0xc
test eax, eax
jne 0x509fda
cmp dword [esi + 0x50], 0
mov eax, dword [esi + 0x54]
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x64], eax
mov eax, dword [ebx + 0x57c]
mov dword [esi + 0x68], eax
jne 0x50916d
cmp dword [esi + 0x58], 5
jbe 0x50916d
push dword [ebx + 0x57c]
push edi
push ebx
call fcn.0050a070
add esp, 0xc
test al, al
je 0x509e17
mov edx, dword [esi + 0x68]
mov al, byte [edx]
cmp al, 0xa
je 0x509b83
cmp al, 0xd
je 0x509b87
mov ecx, dword [esi + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x50], eax
test ecx, ecx
jne 0x50940e
mov eax, dword [edi + 0x248]
mov eax, dword [eax + 0x3c]
test al, 3
je 0x509288
lea ecx, [esi + 0x78]
push ecx
lea eax, [edi + 0x150]
push eax
lea eax, [ebp + 8]
push eax
push str._HTTP__d._d__d
push edx
call fcn.0041e410
add esp, 0x14
cmp eax, 1
jne 0x5091f3
cmp dword [ebp + 8], 2
jne 0x509237
lea eax, [esi + 0x78]
push eax
push str._HTTP_2__d
push dword [esi + 0x68]
call fcn.0041e410
add esp, 0xc
cmp eax, 1
jne 0x509237
lea ecx, [edi + 0x150]
mov dword [ecx], 0
jmp 0x5091fe
cmp eax, 3
jne 0x509237
lea ecx, [edi + 0x150]
mov eax, dword [ebp + 8]
lea eax, [eax + eax*4]
add eax, eax
add dword [ecx], eax
cmp dword [esi + 0x88], 2
jne 0x5092d3
cmp dword [ecx], 0x14
je 0x5092d3
push str.Lying_server__not_serving_HTTP_2_n
push ebx
call fcn.004f18d0
add esp, 8
lea ecx, [edi + 0x150]
jmp 0x5092d3
lea eax, [esi + 0x78]
push eax
push str._HTTP__3d
push dword [esi + 0x68]
call fcn.0041e410
add esp, 0xc
mov dword [edi + 0x150], 0xa
lea ecx, [edi + 0x150]
test eax, eax
jne 0x5092d3
push dword [esi + 0x68]
push ebx
call fcn.00509ff0
add esp, 8
test al, al
je 0x509fd4
lea ecx, [edi + 0x150]
mov dword [esi + 0x78], 0xc8
mov dword [ecx], 0xa
jmp 0x5092d3
test eax, 0x40000
je 0x509fd4
lea eax, [esi + 0x78]
push eax
lea ecx, [edi + 0x154]
push ecx
lea eax, [ebp - 8]
push eax
push str._RTSP__d._d__3d
push edx
call fcn.0041e410
add esp, 0x14
cmp eax, 3
jne 0x509fd4
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x150]
mov dword [ecx], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [edi + 0x154], eax
mov eax, dword [esi + 0x78]
mov dword [ebx + 0x86d4], eax
mov eax, dword [ecx]
mov dword [ebx + 0x86dc], eax
mov eax, dword [ebx + 0x865c]
test eax, eax
je 0x5092f2
cmp eax, dword [ecx]
jle 0x5092fa
mov eax, dword [ecx]
mov dword [ebx + 0x865c], eax
cmp byte [ebx + 0x2c8], 0
je 0x50935b
mov edx, dword [esi + 0x78]
cmp edx, 0x190
jl 0x50935b
cmp edx, 0x191
jne 0x50931f
cmp byte [edi + 0x21f], 0
jne 0x50935b
cmp edx, 0x197
jne 0x509330
cmp byte [edi + 0x220], 0
jne 0x50935b
mov eax, dword [ebx + 0x8678]
or eax, dword [ebx + 0x867c]
je 0x509e48
cmp dword [ebx + 0x248], 1
jne 0x509e48
cmp edx, 0x1a0
jne 0x509e48
mov eax, dword [ecx]
cmp eax, 0xa
jne 0x50937a
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.004f18d0
push 1
push edi
call fcn.00500320
add esp, 0x10
jmp 0x5093cd
cmp eax, 0x14
je 0x5093c1
cmp dword [esi + 0x88], 1
jne 0x50938e
cmp dword [esi + 0x78], 0x65
je 0x5093c1
cmp eax, 0xb
jl 0x5093cd
cmp byte [edi + 0x219], 0
jne 0x5093cd
cmp dword [edi + 0x4a8], 0
je 0x5093cd
push edi
push ebx
call fcn.0050ce60
add esp, 8
test al, al
jne 0x5093cd
mov eax, dword [edi + 0x4a8]
mov dword [eax], 1
jmp 0x5093cd
mov eax, dword [edi + 0x4a8]
mov dword [eax], 2
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x5093dc
sub eax, 0x64
jne 0x50940e
cmp dword [ebx + 0x23c], 0
je 0x5093ec
mov byte [ebx + 0x86e4], 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 0x5094c9
cmp byte [ebx + 0x2ef], 0
jne 0x5094c9
push 0xf
push dword [esi + 0x68]
push str.Content_Length:
call fcn.004f1530
add esp, 0xc
test eax, eax
je 0x5094c9
mov eax, dword [esi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.004cc2d8
mov ecx, dword [ebx + 0x2a8]
add esp, 0xc
or ecx, dword [ebx + 0x2ac]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
je 0x509483
cmp edx, dword [ebx + 0x2ac]
jg 0x509e5d
jl 0x509483
cmp eax, dword [ebx + 0x2a8]
ja 0x509e5d
test edx, edx
jl 0x5094a8
jg 0x50948d
test eax, eax
jb 0x5094a8
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.005050b0
add esp, 0xc
jmp 0x509b22
push 2
push edi
call fcn.00500320
push dword [ebp - 4]
push dword [ebp - 0xc]
push str.Negative_content_length:__I64d__closing_after_transfer_n
push ebx
call fcn.004f18d0
add esp, 0x18
jmp 0x509b22
push 0xd
push dword [esi + 0x68]
push str.Content_Type:
call fcn.004f1530
add esp, 0xc
test eax, eax
je 0x509522
push dword [esi + 0x68]
call fcn.00508ba0
mov edi, eax
add esp, 4
test edi, edi
je 0x509e77
cmp byte [edi], 0
jne 0x509508
push edi
call dword [0x8054c4]
add esp, 4
jmp 0x509b22
push dword [ebx + 0x86fc]
call dword [0x8054c4]
add esp, 4
mov dword [ebx + 0x86fc], edi
jmp 0x509b22
push 7
push dword [esi + 0x68]
push str.Server:
call fcn.004f1530
add esp, 0xc
test eax, eax
je 0x50958e
cmp dword [edi + 0x150], 0x14
jge 0x509b22
push dword [esi + 0x68]
call fcn.00508ba0
mov ecx, dword [edi + 0x4a8]
add esp, 4
mov dword [ebp - 4], eax
test ecx, ecx
je 0x50957f
cmp dword [ecx], 1
jne 0x50957f
push eax
push ebx
call fcn.0050cbf0
add esp, 8
test al, al
je 0x50957c
mov eax, dword [edi + 0x4a8]
mov dword [eax], 0xffffffff
mov eax, dword [ebp - 4]
push eax
call dword [0x8054c4]
add esp, 4
jmp 0x509b22
cmp dword [edi + 0x150], 0xa
jne 0x5095d4
cmp byte [edi + 0x21e], 0
je 0x5095d4
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0x68]
call fcn.00508ad0
add esp, 0xc
test al, al
je 0x5095d4
push 0
push edi
call fcn.00500320
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebx
call fcn.004f18d0
add esp, 0x10
jmp 0x509b22
cmp dword [edi + 0x150], 0xb
jne 0x50961a
cmp byte [edi + 0x21e], 0
je 0x50961a
push str.close
push str.Proxy_Connection:
push dword [esi + 0x68]
call fcn.00508ad0
add esp, 0xc
test al, al
je 0x50961a
push 1
push edi
call fcn.00500320
push str.HTTP_1.1_proxy_connection_set_close__n
push ebx
call fcn.004f18d0
add esp, 0x10
jmp 0x509b22
cmp dword [edi + 0x150], 0xa
jne 0x509657
push str.keep_alive
push str.Connection:
push dword [esi + 0x68]
call fcn.00508ad0
add esp, 0xc
test al, al
je 0x509657
push 0
push edi
call fcn.00500320
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
call fcn.004f18d0
add esp, 0x10
jmp 0x509b22
push str.close
push str.Connection:
push dword [esi + 0x68]
call fcn.00508ad0
add esp, 0xc
test al, al
je 0x509680
push 2
push edi
call fcn.00500320
add esp, 8
jmp 0x509b22
push 0x12
push dword [esi + 0x68]
push str.Transfer_Encoding:
call fcn.004f1530
add esp, 0xc
test eax, eax
je 0x5097a2
mov edi, dword [esi + 0x68]
add edi, 0x12
mov al, byte [edi]
test al, al
je 0x5096c3
movzx eax, al
push eax
call fcn.004d6671
add esp, 4
test eax, eax
jne 0x5096bb
cmp byte [edi], 0x2c
jne 0x5096c3
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x5096a6
push 7
push edi
push str.chunked
call fcn.004f1530
add esp, 0xc
test eax, eax
je 0x5096ec
push dword [ebp + 0xc]
mov byte [esi + 0xc0], 1
call fcn.00520290
add esp, 4
add edi, 7
cmp dword [esi + 0x8c], 0
jne 0x509b22
push 8
push edi
push str.identity
call fcn.004f1530
add esp, 0xc
test eax, eax
je 0x509720
mov eax, 8
mov dword [esi + 0x8c], 0
add edi, eax
jmp 0x5096a0
push 7
push edi
push str.deflate
call fcn.004f1530
add esp, 0xc
test eax, eax
je 0x50974a
mov eax, 7
mov dword [esi + 0x8c], 1
add edi, eax
jmp 0x5096a0
push 4
push edi
push str.gzip
call fcn.004f1530
add esp, 0xc
test eax, eax
je 0x509774
mov eax, 4
mov dword [esi + 0x8c], 2
add edi, eax
jmp 0x5096a0
push 6
push edi
push str.x_gzip
call fcn.004f1530
add esp, 0xc
test eax, eax
je 0x509b22
mov eax, 6
mov dword [esi + 0x8c], 2
add edi, eax
jmp 0x5096a0
push 0x11
push dword [esi + 0x68]
push str.Content_Encoding:
call fcn.004f1530
add esp, 0xc
test eax, eax
je 0x50986e
cmp dword [ebx + 0x324], 0
je 0x50986e
mov edi, dword [esi + 0x68]
add edi, 0x11
mov al, byte [edi]
test al, al
je 0x5097ed
movzx eax, al
push eax
call fcn.004d6671
add esp, 4
test eax, eax
je 0x5097ed
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x5097d5
push 8
push edi
push str.identity
call fcn.004f1530
add esp, 0xc
test eax, eax
je 0x509810
mov dword [esi + 0x8c], 0
jmp 0x509b22
push 7
push edi
push str.deflate
call fcn.004f1530
add esp, 0xc
test eax, eax
je 0x509833
mov dword [esi + 0x8c], 1
jmp 0x509b22
push 4
push edi
push str.gzip
call fcn.004f1530
add esp, 0xc
test eax, eax
jne 0x50985f
push 6
push edi
push str.x_gzip
call fcn.004f1530
add esp, 0xc
test eax, eax
je 0x509b22
mov dword [esi + 0x8c], 2
jmp 0x509b22
push 0xe
push dword [esi + 0x68]
push str.Content_Range:
call fcn.004f1530
add esp, 0xc
test eax, eax
je 0x509911
mov edi, dword [esi + 0x68]
add edi, 0xe
mov al, byte [edi]
test al, al
je 0x5098b1
movzx eax, al
push eax
call fcn.004d65b9
add esp, 4
test eax, eax
jne 0x5098b1
cmp byte [edi], 0x2a
je 0x5098b1
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x509894
movzx eax, byte [edi]
push eax
call fcn.004d65b9
add esp, 4
test eax, eax
je 0x5098f8
push 0xa
push 0
push edi
call fcn.004cc2d8
mov dword [esi + 0x70], eax
add esp, 0xc
mov dword [esi + 0x74], edx
mov eax, dword [ebx + 0x8678]
cmp eax, dword [esi + 0x70]
jne 0x509b22
cmp dword [ebx + 0x867c], edx
jne 0x509b22
mov byte [esi + 0x6c], 1
jmp 0x509b22
mov dword [ebx + 0x8678], 0
mov dword [ebx + 0x867c], 0
jmp 0x509b22
cmp dword [ebx + 0x430], 0
je 0x509979
push 0xb
push dword [esi + 0x68]
push str.Set_Cookie:
call fcn.004f1530
add esp, 0xc
test eax, eax
je 0x509979
push 2
push 2
push ebx
call fcn.004f01e0
mov eax, dword [edi + 0x278]
add esp, 0xc
test eax, eax
jne 0x50994d
mov eax, dword [edi + 0x98]
push dword [ebx + 0x8668]
push eax
mov eax, dword [esi + 0x68]
add eax, 0xb
push eax
push 1
push dword [ebx + 0x430]
push ebx
call fcn.004f5e60
push 2
push ebx
call fcn.004f0220
add esp, 0x20
jmp 0x509b22
push 0xe
push dword [esi + 0x68]
push str.Last_Modified:
call fcn.004f1530
add esp, 0xc
test eax, eax
je 0x5099e5
cmp dword [ebx + 0x23c], 0
jne 0x5099a1
cmp byte [ebx + 0x2c1], 0
je 0x5099e5
push 0
call fcn.004cc70a
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.0050d0e0
add esp, 0xc
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp byte [ebx + 0x2c1], 0
je 0x509b22
mov dword [ebx + 0x86e0], eax
jmp 0x509b22
push 0x11
push dword [esi + 0x68]
push str.WWW_Authenticate:
call fcn.004f1530
add esp, 0xc
test eax, eax
je 0x509a08
mov eax, dword [esi + 0x78]
mov dword [ebp - 4], eax
cmp eax, 0x191
je 0x509a2b
push 0x13
push dword [esi + 0x68]
push str.Proxy_authenticate:
call fcn.004f1530
add esp, 0xc
test eax, eax
je 0x509a75
mov eax, dword [esi + 0x78]
mov dword [ebp - 4], eax
cmp eax, 0x197
jne 0x509a75
push dword [esi + 0x68]
call fcn.00508ba0
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
je 0x509e77
cmp dword [ebp - 4], 0x197
push eax
sete cl
movzx ecx, cl
push ecx
push edi
call fcn.00508e40
push dword [ebp - 0xc]
mov edi, eax
call dword [0x8054c4]
add esp, 0x10
test edi, edi
je 0x509b22
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x509aff
cmp eax, 0x190
jge 0x509aff
push 9
push dword [esi + 0x68]
push str.Location:
call fcn.004f1530
add esp, 0xc
test eax, eax
je 0x509aff
cmp dword [ebx + 0x100], 0
jne 0x509aff
push dword [esi + 0x68]
call fcn.00508ba0
add esp, 4
test eax, eax
je 0x509e77
cmp byte [eax], 0
jne 0x509acd
push eax
call dword [0x8054c4]
add esp, 4
jmp 0x509b22
cmp byte [ebx + 0x2ca], 0
mov dword [ebx + 0x100], eax
je 0x509b22
push eax
call dword [0x8054cc]
add esp, 4
mov dword [ebx + 0x104], eax
test eax, eax
je 0x509e77
push edi
call fcn.0050a2f0
add esp, 4
jmp 0x509b1a
mov eax, dword [edi + 0x248]
test dword [eax + 0x3c], 0x40000
je 0x509b22
push dword [esi + 0x68]
push edi
call fcn.0051c3d0
add esp, 8
test eax, eax
jne 0x509fda
mov edi, dword [ebp + 0xc]
xor eax, eax
cmp byte [ebx + 0x2cd], al
setne al
add eax, 2
cmp byte [ebx + 0x2d8], 0
mov dword [ebp - 0xc], eax
je 0x509b54
push edi
push dword [esi + 0x58]
push dword [esi + 0x68]
push 1
push ebx
call fcn.004f1750
mov eax, dword [ebp - 0xc]
add esp, 0x14
push dword [esi + 0x58]
push dword [esi + 0x68]
push eax
push edi
call fcn.004f1720
add esp, 0x10
test eax, eax
jne 0x509fda
mov eax, dword [esi + 0x58]
add dword [ebx + 0x86e8], eax
mov eax, dword [esi + 0x58]
add dword [ebx + 0x80], eax
jmp 0x509df2
cmp al, 0xd
jne 0x509b8d
lea eax, [edx + 1]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x509b99
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x509bff
cmp eax, 0xc7
jg 0x509bff
sub eax, 0x64
je 0x509bd8
sub eax, 1
je 0x509bc2
mov byte [esi + 0x48], 1
mov dword [esi + 0x50], 0
jmp 0x509c56
cmp dword [esi + 0x88], 1
je 0x509e83
mov byte [esi + 0x48], 0
jmp 0x509c56
cmp dword [esi + 0x84], 0
mov byte [esi + 0x48], 1
mov dword [esi + 0x50], 0
jle 0x509c56
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], 0
jmp 0x509c56
mov eax, dword [esi]
and eax, dword [esi + 4]
mov byte [esi + 0x48], 0
cmp eax, 0xffffffff
jne 0x509c56
cmp byte [esi + 0xc0], 0
jne 0x509c56
cmp byte [edi + 0x219], 0
jne 0x509c5f
cmp dword [edi + 0x150], 0xb
jne 0x509c56
mov eax, dword [edi + 0x248]
test dword [eax + 0x3c], 0x40000
jne 0x509c56
cmp dword [ebx + 0x248], 5
je 0x509c56
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebx
call fcn.004f18d0
push 2
push edi
call fcn.00500320
add esp, 0x10
cmp byte [edi + 0x219], 0
je 0x509c9a
mov eax, dword [ebx + 0xc8]
cmp eax, 0x191
jne 0x509c75
cmp dword [edi + 0x2a4], 2
je 0x509c85
cmp eax, 0x197
jne 0x509c9a
cmp dword [edi + 0x2bc], 2
jne 0x509c9a
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push ebx
call fcn.004f18d0
add esp, 8
mov byte [ebx + 0x8628], 1
push edi
call fcn.0050a4d0
add esp, 4
test eax, eax
jne 0x509f7f
mov eax, dword [ebx + 0x57c]
mov ecx, dword [esi + 0x68]
sub ecx, eax
push ecx
push eax
xor eax, eax
mov dword [ebp - 4], ecx
cmp byte [ebx + 0x2cd], al
setne al
add eax, 2
push eax
push edi
call fcn.004f1720
add esp, 0x10
test eax, eax
jne 0x509fda
mov eax, dword [ebp - 4]
add dword [ebx + 0x80], eax
add dword [ebx + 0x86e8], eax
mov eax, dword [esi + 0x78]
mov ecx, dword [ebx + 0x80]
cmp eax, 0x64
jl 0x509cff
cmp eax, 0xc7
jle 0x509d01
xor ecx, ecx
push edi
mov dword [ebx + 0x84], ecx
call fcn.00508c70
add esp, 4
test eax, eax
jne 0x509fda
cmp dword [esi + 0x78], 0x12c
jl 0x509de8
cmp byte [edi + 0x229], al
jne 0x509dca
cmp byte [edi + 0x219], al
jne 0x509dca
cmp byte [edi + 0x22a], al
jne 0x509dd3
mov eax, dword [ebx + 0x248]
add eax, 0xfffffffe
cmp eax, 2
ja 0x509dca
cmp byte [esi + 0xac], 0
jne 0x509dca
cmp byte [ebx + 0x2c9], 0
je 0x509d93
push str.HTTP_error_before_end_of_send__keep_sending_n
push ebx
call fcn.004f18d0
add esp, 8
cmp dword [esi + 0x84], 0
jle 0x509dca
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], 0
jmp 0x509dca
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebx
call fcn.004f18d0
push 2
push edi
call fcn.00500320
and dword [esi + 0xa8], 0xfffffffd
add esp, 0x10
mov byte [esi + 0xac], 1
cmp byte [ebx + 0x8660], 0
je 0x509dca
mov dword [esi + 0x84], 3
cmp byte [edi + 0x22a], 0
je 0x509de8
push str.Keep_sending_data_to_get_tossed_away__n
push ebx
call fcn.004f18d0
add esp, 8
or dword [esi + 0xa8], 2
cmp byte [esi + 0x48], 0
je 0x509eb2
mov eax, dword [ebx + 0x57c]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x58], 0
cmp byte [eax], 0
jne 0x5090f0
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 0x509e33
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.0050a700
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.004f1830
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.004f18d0
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 + 0x2d0], 0
je 0x509ec3
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x509f14
mov eax, dword [edi + 0x248]
test dword [eax + 0x3c], 0x40000
je 0x509ef0
cmp dword [ebx + 0x3cc], 2
jne 0x509ef0
cmp dword [esi + 4], 0xffffffff
jg 0x509ef0
jl 0x509ee8
cmp dword [esi], 0xffffffff
ja 0x509ef0
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x509f14
cmp byte [esi + 0xc0], 0
je 0x509f14
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 0x509f22
cmp eax, ecx
je 0x509f38
push eax
push ecx
push ebx
call fcn.005050b0
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 0x509f4c
cmp dword [esi + 0x14], 0
jne 0x509f4c
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x509f54
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x509f5b
and dword [esi + 0xa8], 0xfffffffe
cmp byte [ebx + 0x2d8], 0
je 0x509fd8
push edi
push dword [ebp - 4]
push dword [esi + 0x60]
push 1
push ebx
call fcn.004f1750
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.004f1830
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.0050a140
add esp, 0xc
test eax, eax
jne 0x509fda
cmp dword [esi + 0x50], eax
jne 0x509fd8
cmp dword [esi + 0x58], 5
jbe 0x509fd8
push dword [ebx + 0x57c]
push dword [ebp + 0xc]
push ebx
call fcn.0050a070
add esp, 0xc
test al, al
jne 0x509fd8
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