Function at 0x4e4fc0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea edi, [ebx + 0x50]
nop
mov esi, dword [ebp + 0x10]
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
push dword [esi]
push 0xa
push eax
call fcn.00451fa0
add esp, 0xc
mov dword [edi + 0x64], eax
test eax, eax
je 0x4e5d68
sub eax, dword [edi + 0x5c]
inc eax
sub dword [esi], eax
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x64]
inc eax
mov dword [edi + 0x5c], eax
sub eax, dword [edi + 0x60]
push eax
push edi
push ebx
call fcn.004e5fc0
add esp, 0xc
test eax, eax
jne 0x4e5da9
cmp dword [edi + 0x50], 0
mov eax, dword [edi + 0x54]
mov esi, dword [ebp + 0xc]
mov dword [edi + 0x64], eax
mov eax, dword [ebx + 0x594]
mov dword [edi + 0x68], eax
jne 0x4e504d
cmp dword [edi + 0x58], 5
jbe 0x4e504d
push dword [ebx + 0x594]
push esi
push ebx
call fcn.004e5e20
add esp, 0xc
test eax, eax
je 0x4e5c39
mov edx, dword [edi + 0x68]
mov al, byte [edx]
cmp al, 0xa
je 0x4e5a2f
cmp al, 0xd
je 0x4e5a33
mov ecx, dword [edi + 0x50]
lea eax, [ecx + 1]
mov dword [edi + 0x50], eax
test ecx, ecx
jne 0x4e5266
mov eax, dword [esi + 0x218]
mov eax, dword [eax + 0x3c]
test al, 1
je 0x4e50f2
lea eax, [edi + 0x78]
add esi, 0x11c
push eax
push esi
lea eax, [ebp - 4]
push eax
push str._HTTP__d._d__3d
push edx
call fcn.00504a2a
add esp, 0x14
cmp eax, 3
jne 0x4e50b1
mov eax, dword [ebp - 4]
lea eax, [eax + eax*4]
add eax, eax
add dword [esi], eax
jmp 0x4e5141
lea eax, [edi + 0x78]
push eax
push str._HTTP__3d
push dword [edi + 0x68]
call fcn.00504a2a
add esp, 0xc
mov dword [esi], 0xa
test eax, eax
jne 0x4e5141
push dword [edi + 0x68]
push ebx
call fcn.004e5db0
add esp, 8
test eax, eax
je 0x4e5da0
mov dword [edi + 0x78], 0xc8
mov dword [esi], 0xa
jmp 0x4e5141
test eax, 0x40000
je 0x4e5da0
lea eax, [edi + 0x78]
push eax
lea ecx, [esi + 0x120]
push ecx
lea eax, [ebp - 8]
push eax
push str._RTSP__d._d__3d
push edx
call fcn.00504a2a
add esp, 0x14
cmp eax, 3
jne 0x4e5da0
mov eax, dword [ebp - 8]
mov dword [esi + 0x11c], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [esi + 0x120], eax
add esi, 0x11c
mov eax, dword [edi + 0x78]
mov dword [ebx + 0x86e4], eax
mov eax, dword [esi]
mov dword [ebx + 0x86ec], eax
mov eax, dword [ebx + 0x8680]
test eax, eax
je 0x4e5160
cmp eax, dword [esi]
jle 0x4e5168
mov eax, dword [esi]
mov dword [ebx + 0x8680], eax
cmp dword [ebx + 0x2f0], 0
mov eax, dword [ebp + 0xc]
je 0x4e51cf
mov ecx, dword [edi + 0x78]
cmp ecx, 0x190
jl 0x4e51cf
cmp ecx, 0x191
jne 0x4e5190
cmp dword [eax + 0x1b4], 0
jne 0x4e51cf
cmp ecx, 0x197
jne 0x4e51a1
cmp dword [eax + 0x1b8], 0
jne 0x4e51cf
mov eax, dword [ebx + 0x86a8]
or eax, dword [ebx + 0x86ac]
je 0x4e5c6d
cmp dword [ebx + 0x258], 1
jne 0x4e5c6d
cmp ecx, 0x1a0
jne 0x4e5c6d
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi]
cmp ecx, 0xa
jne 0x4e51f3
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.004e0710
mov eax, dword [ebp + 0xc]
add esp, 8
mov dword [eax + 0x1a4], 1
jmp 0x4e521f
cmp ecx, 0xb
jl 0x4e521f
cmp dword [eax + 0x1a4], 0
jne 0x4e521f
mov esi, dword [eax + 0x484]
test esi, esi
je 0x4e521f
push eax
push ebx
call fcn.004e9850
add esp, 8
test eax, eax
jne 0x4e521f
mov dword [esi], 1
mov eax, dword [edi + 0x78]
sub eax, 0xcc
je 0x4e522e
sub eax, 0x64
jne 0x4e5266
cmp dword [ebx + 0x248], 0
je 0x4e5241
mov dword [ebx + 0x86f4], 1
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0xb4], 1
cmp dword [edi + 0xb4], 0
jne 0x4e5380
cmp dword [ebx + 0x350], 0
jne 0x4e5380
push 0xf
push dword [edi + 0x68]
push str.Content_Length:
call fcn.004eb7a0
add esp, 0xc
test eax, eax
je 0x4e5380
mov eax, dword [edi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.0047f977
mov ecx, dword [ebx + 0x2b8]
add esp, 0xc
mov esi, dword [ebx + 0x2bc]
or ecx, esi
je 0x4e52d3
cmp edx, esi
jg 0x4e5c82
jl 0x4e52d3
cmp eax, dword [ebx + 0x2b8]
ja 0x4e5c82
test edx, edx
jl 0x4e535e
jg 0x4e52e1
test eax, eax
jb 0x4e535e
push edx
push eax
push ebx
mov dword [edi], eax
mov dword [edi + 4], edx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
call fcn.004e82e0
add esp, 0xc
mov esi, dword [ebp + 0xc]
cmp dword [ebx + 0x300], 0
mov eax, 2
mov ecx, 3
cmovne eax, ecx
cmp dword [ebx + 0x31c], 0
mov dword [ebp + 8], eax
je 0x4e532f
push esi
push dword [edi + 0x58]
push dword [edi + 0x68]
push 1
push ebx
call fcn.004e0590
mov eax, dword [ebp + 8]
add esp, 0x14
push dword [edi + 0x58]
push dword [edi + 0x68]
push eax
push esi
call fcn.004e0430
add esp, 0x10
test eax, eax
jne 0x4e5da9
mov eax, dword [edi + 0x58]
add dword [ebx + 0x86f8], eax
mov eax, dword [edi + 0x58]
add dword [ebx + 0x80], eax
jmp 0x4e5c08
mov esi, dword [ebp + 0xc]
push edx
push eax
push str.Negative_content_length:__lld__closing_after_transfer_n
push ebx
mov dword [esi + 0x1a4], 1
call fcn.004e0710
add esp, 0x10
jmp 0x4e52fa
push 0xd
push dword [edi + 0x68]
push str.Content_Type:
call fcn.004eb7a0
add esp, 0xc
test eax, eax
je 0x4e53e8
push dword [edi + 0x68]
call fcn.004e5e70
mov esi, eax
add esp, 4
test esi, esi
je 0x4e5c9c
cmp byte [esi], 0
jne 0x4e53bf
push esi
call dword [0x5739a4]
add esp, 4
jmp 0x4e52f7
mov eax, dword [ebx + 0x870c]
test eax, eax
je 0x4e53dd
push eax
call dword [0x5739a4]
add esp, 4
mov dword [ebx + 0x870c], 0
mov dword [ebx + 0x870c], esi
jmp 0x4e52f7
push 7
push dword [edi + 0x68]
push str.Server:
call fcn.004eb7a0
add esp, 0xc
test eax, eax
je 0x4e5452
push dword [edi + 0x68]
call fcn.004e5e70
mov esi, dword [ebp + 0xc]
add esp, 4
mov dword [ebp + 8], eax
mov ecx, dword [esi + 0x484]
test ecx, ecx
je 0x4e543b
cmp dword [ecx], 0
je 0x4e543b
push eax
push ebx
call fcn.004e9670
add esp, 8
test eax, eax
je 0x4e5438
mov eax, dword [esi + 0x484]
mov dword [eax], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e52fa
push eax
call dword [0x5739a4]
add esp, 4
jmp 0x4e52fa
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x11c], 0xa
jne 0x4e549d
cmp dword [esi + 0x1b0], 0
je 0x4e549d
push str.keep_alive
push str.Proxy_Connection:
push dword [edi + 0x68]
call fcn.004e4ab0
add esp, 0xc
test eax, eax
je 0x4e549d
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push ebx
mov dword [esi + 0x1a4], 0
call fcn.004e0710
add esp, 8
jmp 0x4e52fa
cmp dword [esi + 0x11c], 0xb
jne 0x4e54e5
cmp dword [esi + 0x1b0], 0
je 0x4e54e5
push str.close
push str.Proxy_Connection:
push dword [edi + 0x68]
call fcn.004e4ab0
add esp, 0xc
test eax, eax
je 0x4e54e5
push str.HTTP_1.1_proxy_connection_set_close__n
push ebx
mov dword [esi + 0x1a4], 1
call fcn.004e0710
add esp, 8
jmp 0x4e52fa
cmp dword [esi + 0x11c], 0xa
jne 0x4e5524
push str.keep_alive
push str.Connection:
push dword [edi + 0x68]
call fcn.004e4ab0
add esp, 0xc
test eax, eax
je 0x4e5524
push str.HTTP_1.0_connection_set_to_keep_alive__n
push ebx
mov dword [esi + 0x1a4], 0
call fcn.004e0710
add esp, 8
jmp 0x4e52fa
push str.close
push str.Connection:
push dword [edi + 0x68]
call fcn.004e4ab0
add esp, 0xc
test eax, eax
je 0x4e554c
mov dword [esi + 0x1a4], 1
jmp 0x4e52fa
push 0x12
push dword [edi + 0x68]
push str.Transfer_Encoding:
call fcn.004eb7a0
add esp, 0xc
test eax, eax
je 0x4e56b4
mov esi, dword [edi + 0x68]
add esi, 0x12
lea esp, [esp]
mov al, byte [esi]
test al, al
je 0x4e5593
movzx eax, al
push eax
call fcn.0045165d
add esp, 4
test eax, eax
jne 0x4e558b
cmp byte [esi], 0x2c
jne 0x4e5593
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4e5576
push 7
push esi
push str.chunked
call fcn.004eb7a0
add esp, 0xc
test eax, eax
je 0x4e55bf
push dword [ebp + 0xc]
mov dword [edi + 0xc8], 1
call fcn.004ff440
add esp, 4
add esi, 7
cmp dword [edi + 0x88], 0
jne 0x4e52f7
push 8
push esi
push str.identity
call fcn.004eb7a0
add esp, 0xc
test eax, eax
je 0x4e55f2
mov dword [edi + 0x88], 0
add esi, 8
jmp 0x4e5570
push 7
push esi
push str.deflate
call fcn.004eb7a0
add esp, 0xc
test eax, eax
je 0x4e5618
mov dword [edi + 0x88], 1
add esi, 7
jmp 0x4e5570
push 4
push esi
push str.gzip
call fcn.004eb7a0
add esp, 0xc
test eax, eax
je 0x4e563e
mov dword [edi + 0x88], 2
add esi, 4
jmp 0x4e5570
push 6
push esi
push str.x_gzip
call fcn.004eb7a0
add esp, 0xc
test eax, eax
je 0x4e5664
mov dword [edi + 0x88], 2
add esi, 6
jmp 0x4e5570
push 8
push esi
push str.compress
call fcn.004eb7a0
add esp, 0xc
test eax, eax
je 0x4e568a
mov dword [edi + 0x88], 3
add esi, 8
jmp 0x4e5570
push 0xa
push esi
push str.x_compress
call fcn.004eb7a0
add esp, 0xc
test eax, eax
je 0x4e52f7
mov dword [edi + 0x88], 3
add esi, 0xa
jmp 0x4e5570
push 0x11
push dword [edi + 0x68]
push str.Content_Encoding:
call fcn.004eb7a0
add esp, 0xc
test eax, eax
je 0x4e57b7
cmp dword [ebx + 0x390], 0
je 0x4e57b7
mov esi, dword [edi + 0x68]
add esi, 0x11
mov al, byte [esi]
test al, al
je 0x4e56ff
movzx eax, al
push eax
call fcn.0045165d
add esp, 4
test eax, eax
je 0x4e56ff
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4e56e7
push 8
push esi
push str.identity
call fcn.004eb7a0
add esp, 0xc
test eax, eax
je 0x4e5722
mov dword [edi + 0x88], 0
jmp 0x4e52f7
push 7
push esi
push str.deflate
call fcn.004eb7a0
add esp, 0xc
test eax, eax
je 0x4e5745
mov dword [edi + 0x88], 1
jmp 0x4e52f7
push 4
push esi
push str.gzip
call fcn.004eb7a0
add esp, 0xc
test eax, eax
jne 0x4e57a8
push 6
push esi
push str.x_gzip
call fcn.004eb7a0
add esp, 0xc
test eax, eax
jne 0x4e57a8
push 8
push esi
push str.compress
call fcn.004eb7a0
add esp, 0xc
test eax, eax
jne 0x4e5799
push 0xa
push esi
push str.x_compress
call fcn.004eb7a0
add esp, 0xc
test eax, eax
je 0x4e52f7
mov dword [edi + 0x88], 3
jmp 0x4e52f7
mov dword [edi + 0x88], 2
jmp 0x4e52f7
push 0xe
push dword [edi + 0x68]
push str.Content_Range:
call fcn.004eb7a0
add esp, 0xc
test eax, eax
je 0x4e5835
mov esi, dword [edi + 0x68]
add esi, 0xe
mov al, byte [esi]
test al, al
je 0x4e57f8
lea esp, [esp]
movzx eax, al
push eax
call fcn.004515ad
add esp, 4
test eax, eax
jne 0x4e57f8
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4e57e0
push 0xa
push 0
push esi
call fcn.0047f977
mov dword [edi + 0x70], eax
add esp, 0xc
mov dword [edi + 0x74], edx
mov eax, dword [ebx + 0x86a8]
cmp eax, dword [edi + 0x70]
jne 0x4e52f7
mov esi, dword [ebp + 0xc]
cmp dword [ebx + 0x86ac], edx
jne 0x4e52fa
mov dword [edi + 0x6c], 1
jmp 0x4e52fa
cmp dword [ebx + 0x470], 0
je 0x4e589d
push 0xb
push dword [edi + 0x68]
push str.Set_Cookie:
call fcn.004eb7a0
add esp, 0xc
test eax, eax
je 0x4e589d
push 2
push 2
push ebx
call fcn.004eb6b0
mov eax, dword [esi + 0x248]
add esp, 0xc
test eax, eax
jne 0x4e5871
mov eax, dword [esi + 0x80]
push dword [ebx + 0x8690]
push eax
mov eax, dword [edi + 0x68]
add eax, 0xb
push eax
push 1
push dword [ebx + 0x470]
push ebx
call fcn.004d7730
push 2
push ebx
call fcn.004eb6f0
add esp, 0x20
jmp 0x4e52fa
push 0xe
push dword [edi + 0x68]
push str.Last_Modified:
call fcn.004eb7a0
add esp, 0xc
test eax, eax
je 0x4e5909
cmp dword [ebx + 0x248], 0
jne 0x4e58c5
cmp dword [ebx + 0x2d4], 0
je 0x4e5909
push 0
call fcn.0044f81c
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [edi + 0x68]
add eax, 0xe
mov dword [ebp - 0xc], edx
push eax
call fcn.004e9b10
add esp, 0xc
mov dword [edi + 0x90], eax
mov dword [edi + 0x94], edx
cmp dword [ebx + 0x2d4], 0
je 0x4e52fa
mov dword [ebx + 0x86f0], eax
jmp 0x4e52fa
push 0x11
push dword [edi + 0x68]
push str.WWW_Authenticate:
call fcn.004eb7a0
add esp, 0xc
test eax, eax
je 0x4e5929
mov eax, dword [edi + 0x78]
cmp eax, 0x191
je 0x4e5949
push 0x13
push dword [edi + 0x68]
push str.Proxy_authenticate:
call fcn.004eb7a0
add esp, 0xc
test eax, eax
je 0x4e5963
mov eax, dword [edi + 0x78]
cmp eax, 0x197
jne 0x4e5963
push dword [edi + 0x68]
push eax
push esi
call fcn.004e4d50
add esp, 0xc
test eax, eax
jne 0x4e5da9
jmp 0x4e52fa
mov eax, dword [edi + 0x78]
cmp eax, 0x12c
jl 0x4e5a03
cmp eax, 0x190
jge 0x4e5a03
push 9
push dword [edi + 0x68]
push str.Location:
call fcn.004eb7a0
add esp, 0xc
test eax, eax
je 0x4e5a03
cmp dword [ebx + 0x108], 0
jne 0x4e5a03
push dword [edi + 0x68]
call fcn.004e5e70
add esp, 4
test eax, eax
je 0x4e5c9c
cmp byte [eax], 0
jne 0x4e59c2
push eax
call dword [0x5739a4]
add esp, 4
jmp 0x4e52fa
cmp dword [ebx + 0x2f4], 0
mov dword [ebx + 0x108], eax
je 0x4e52fa
push eax
call dword [0x5739ac]
add esp, 4
mov dword [ebx + 0x10c], eax
test eax, eax
je 0x4e5c9c
push esi
call fcn.004e6180
add esp, 4
test eax, eax
jne 0x4e5da9
jmp 0x4e52fa
mov eax, dword [esi + 0x218]
test dword [eax + 0x3c], 0x40000
je 0x4e52fa
push dword [edi + 0x68]
push esi
call fcn.004fb8a0
add esp, 8
test eax, eax
jne 0x4e5da9
jmp 0x4e52fa
cmp al, 0xd
jne 0x4e5a39
lea eax, [edx + 1]
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x68]
cmp byte [eax], 0xa
jne 0x4e5a45
inc eax
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x78]
cmp eax, 0x64
jl 0x4e5a7e
cmp eax, 0xc7
jg 0x4e5a7e
cmp dword [edi + 0x84], 0
mov dword [edi + 0x48], 1
mov dword [edi + 0x50], 0
je 0x4e5ada
or dword [edi + 0xa8], 2
mov dword [edi + 0x84], 0
jmp 0x4e5ada
mov eax, dword [edi]
and eax, dword [edi + 4]
mov dword [edi + 0x48], 0
cmp eax, 0xffffffff
jne 0x4e5ada
cmp dword [edi + 0xc8], 0
jne 0x4e5ada
cmp dword [esi + 0x1a4], 0
jne 0x4e5ada
cmp dword [esi + 0x11c], 0xb
jl 0x4e5ada
mov eax, dword [esi + 0x218]
test dword [eax + 0x3c], 0x40000
jne 0x4e5ada
cmp dword [ebx + 0x258], 5
je 0x4e5ada
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebx
call fcn.004e0710
add esp, 8
mov dword [esi + 0x1a4], 1
push esi
call fcn.004e6330
add esp, 4
test eax, eax
jne 0x4e5d4b
cmp dword [ebx + 0x300], eax
mov ecx, 2
mov edx, dword [edi + 0x68]
mov eax, 3
cmovne ecx, eax
mov eax, dword [ebx + 0x594]
sub edx, eax
push edx
push eax
push ecx
push esi
mov dword [ebp + 8], edx
call fcn.004e0430
add esp, 0x10
test eax, eax
jne 0x4e5da9
mov eax, dword [ebp + 8]
add dword [ebx + 0x80], eax
add dword [ebx + 0x86f8], eax
mov eax, dword [edi + 0x78]
mov ecx, dword [ebx + 0x80]
cmp eax, 0x64
jl 0x4e5b44
cmp eax, 0xc7
jle 0x4e5b46
xor ecx, ecx
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x84], ecx
cmp dword [eax], 0
jne 0x4e5bfe
push esi
call fcn.004e4b80
add esp, 4
test eax, eax
jne 0x4e5da9
cmp dword [edi + 0x78], 0x12c
jl 0x4e5bdd
cmp dword [esi + 0x1dc], eax
jne 0x4e5bdd
cmp dword [esi + 0x1a4], eax
jne 0x4e5bdd
cmp dword [esi + 0x1e0], eax
jne 0x4e5be6
mov eax, dword [ebx + 0x258]
add eax, 0xfffffffe
cmp eax, 2
ja 0x4e5bdd
cmp dword [edi + 0xac], 0
jne 0x4e5bdd
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebx
call fcn.004e0710
mov dword [esi + 0x1a4], 1
add esp, 8
and dword [edi + 0xa8], 0xfffffffd
mov dword [edi + 0xac], 1
cmp dword [ebx + 0x8684], 0
je 0x4e5bdd
mov dword [edi + 0x84], 3
cmp dword [esi + 0x1e0], 0
je 0x4e5bfb
push str.Keep_sending_data_to_get_tossed_away__n
push ebx
call fcn.004e0710
add esp, 8
or dword [edi + 0xa8], 2
mov eax, dword [ebp + 0x14]
cmp dword [edi + 0x48], 0
je 0x4e5ca8
mov eax, dword [ebx + 0x594]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x58], 0
cmp dword [eax], 0
jne 0x4e5da7
mov eax, dword [edi + 0x5c]
cmp byte [eax], 0
jne 0x4e4fd0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov dword [edi + 0x48], 0
cmp dword [ecx], 0
je 0x4e5c58
mov dword [edi + 0x4c], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [edi + 0x4c], 2
pop edi
pop esi
mov dword [ecx], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.004e6550
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.004e0670
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
cmp dword [ebx + 0x30c], 0
je 0x4e5cb9
mov dword [eax], 1
jmp 0x4e5cdd
cmp dword [edi + 0xc8], 0
je 0x4e5cdd
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 0xffffffff
mov ecx, dword [edi]
mov eax, dword [edi + 4]
cmp ecx, 0xffffffff
jne 0x4e5ceb
cmp eax, ecx
je 0x4e5d01
push eax
push ecx
push ebx
call fcn.004e82e0
mov eax, dword [edi]
add esp, 0xc
mov dword [edi + 0x10], eax
mov eax, dword [edi + 4]
mov dword [edi + 0x14], eax
cmp dword [edi + 0x10], 0
jne 0x4e5d18
cmp dword [edi + 0x14], 0
jne 0x4e5d18
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
jmp 0x4e5d20
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
je 0x4e5d27
and dword [edi + 0xa8], 0xfffffffe
cmp dword [ebx + 0x31c], 0
je 0x4e5da7
push esi
push dword [ebp + 8]
push dword [edi + 0x60]
push 1
push ebx
call fcn.004e0590
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi + 0x78]
push str.The_requested_URL_returned_error:__d
push ebx
call fcn.004e0670
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi]
push edi
push ebx
call fcn.004e5fc0
add esp, 0xc
test eax, eax
jne 0x4e5da9
cmp dword [edi + 0x50], eax
jne 0x4e5da7
cmp dword [edi + 0x58], 5
jbe 0x4e5da7
push dword [ebx + 0x594]
push dword [ebp + 0xc]
push ebx
call fcn.004e5e20
add esp, 0xc
test eax, eax
jne 0x4e5da7
mov dword [edi + 0x4c], 2
mov dword [edi + 0x48], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret