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

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
lea esi, [edi + 0x70]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x70], eax
push dword [ecx]
push 0xa
push eax
call fcn.00644810
mov ebp, eax
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x74], ebp
test ebp, ebp
je 0x4e87aa
sub ebp, dword [esi + 0x6c]
inc ebp
sub dword [eax], ebp
mov eax, dword [esi + 0x74]
inc eax
mov dword [esi + 0x6c], eax
sub eax, dword [esi + 0x70]
push eax
push esi
push edi
call fcn.004e89a0
add esp, 0xc
test eax, eax
jne 0x4e87e6
cmp dword [esi + 0x60], 0
mov eax, dword [esi + 0x64]
mov dword [esi + 0x74], eax
mov eax, dword [edi + 0x864]
mov dword [esi + 0x78], eax
jne 0x4e7a36
cmp dword [esi + 0x68], 5
jbe 0x4e7a36
mov eax, dword [ebx + 0x2c0]
mov ecx, dword [edi + 0x864]
test dword [eax + 0x40], 0x40000
je 0x4e7a24
push 5
push ecx
push str.RTSP_
call fcn.004e1530
add esp, 0xc
test eax, eax
setne al
jmp 0x4e7a2e
push ecx
push edi
call fcn.004e87f0
add esp, 8
test al, al
je 0x4e85e9
mov edx, dword [esi + 0x78]
mov al, byte [edx]
cmp al, 0xa
je 0x4e8337
cmp al, 0xd
je 0x4e833b
mov ecx, dword [esi + 0x60]
lea eax, [ecx + 1]
mov dword [esi + 0x60], eax
test ecx, ecx
jne 0x4e7d18
mov eax, dword [ebx + 0x2c0]
mov eax, dword [eax + 0x40]
test al, 3
je 0x4e7b6c
lea eax, [esi + 0x88]
push eax
lea eax, [esp + 0x38]
push eax
lea ebp, [ebx + 0x180]
push ebp
lea eax, [esp + 0x20]
push eax
push str._HTTP__1d._1d_c_3d
push edx
call fcn.004d3e40
add esp, 0x18
cmp eax, 1
jne 0x4e7ad1
cmp dword [esp + 0x14], 2
jne 0x4e861a
lea eax, [esi + 0x88]
push eax
push str._HTTP_2__d
push dword [esi + 0x78]
call fcn.004d3e40
add esp, 0xc
cmp eax, 1
jne 0x4e861a
mov dword [ebp], 0
mov byte [esp + 0x34], 0x20
jmp 0x4e7ae1
cmp eax, 4
jne 0x4e7b17
cmp byte [esp + 0x34], 0x20
jne 0x4e861a
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*4]
add eax, eax
add dword [ebp], eax
cmp dword [esi + 0xa4], 2
jne 0x4e7bcd
cmp dword [ebp], 0x14
je 0x4e7bcd
push str.Lying_server__not_serving_HTTP_2_n
push edi
call fcn.004decd0
add esp, 8
jmp 0x4e7bcd
test eax, eax
jne 0x4e861a
lea eax, [esi + 0x88]
push eax
push str._HTTP__3d
push dword [esi + 0x78]
call fcn.004d3e40
add esp, 0xc
mov dword [ebp], 0xa
test eax, eax
jne 0x4e7bcd
push dword [esi + 0x78]
push edi
call fcn.004e87f0
add esp, 8
test al, al
je 0x4e87e0
mov dword [esi + 0x88], 0xc8
mov dword [ebp], 0xa
jmp 0x4e7bcd
test eax, 0x40000
je 0x4e87e0
lea eax, [esi + 0x88]
push eax
lea eax, [esp + 0x17]
push eax
lea ebp, [ebx + 0x184]
push ebp
lea eax, [esp + 0x24]
push eax
push str._RTSP__1d._1d_c_3d
push edx
call fcn.004d3e40
add esp, 0x18
cmp eax, 4
jne 0x4e87e0
cmp byte [esp + 0x13], 0x20
jne 0x4e87e0
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x180], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [ebp], eax
lea ebp, [ebx + 0x180]
mov eax, dword [esi + 0x88]
mov dword [edi + 0x4c00], eax
mov eax, dword [ebp]
mov dword [edi + 0x4c08], eax
mov eax, dword [edi + 0x4b80]
test eax, eax
je 0x4e7bf1
cmp eax, dword [ebp]
jle 0x4e7bfa
mov eax, dword [ebp]
mov dword [edi + 0x4b80], eax
cmp byte [edi + 0x4f1], 0
je 0x4e7c5e
mov ecx, dword [esi + 0x88]
cmp ecx, 0x190
jl 0x4e7c5e
cmp ecx, 0x191
jne 0x4e7c22
cmp byte [ebx + 0x280], 0
jne 0x4e7c5e
cmp ecx, 0x197
jne 0x4e7c33
cmp byte [ebx + 0x281], 0
jne 0x4e7c5e
mov eax, dword [edi + 0x4b98]
or eax, dword [edi + 0x4b9c]
je 0x4e8635
cmp dword [edi + 0x400], 1
jne 0x4e8635
cmp ecx, 0x1a0
jne 0x4e8635
mov eax, dword [ebp]
cmp eax, 0xa
jne 0x4e7c7e
push str.HTTP_1.0__assume_close_after_body_n
push edi
call fcn.004decd0
push 1
push ebx
call fcn.004df890
add esp, 0x10
jmp 0x4e7cd4
cmp eax, 0x14
je 0x4e7cc8
cmp dword [esi + 0xa4], 1
jne 0x4e7c95
cmp dword [esi + 0x88], 0x65
je 0x4e7cc8
cmp eax, 0xb
jl 0x4e7cd4
cmp byte [ebx + 0x279], 0
jne 0x4e7cd4
cmp dword [ebx + 0x5c4], 0
je 0x4e7cd4
push ebx
push edi
call fcn.004eb200
add esp, 8
test al, al
jne 0x4e7cd4
mov eax, dword [ebx + 0x5c4]
mov dword [eax], 1
jmp 0x4e7cd4
mov eax, dword [ebx + 0x5c4]
mov dword [eax], 2
mov eax, dword [esi + 0x88]
sub eax, 0xcc
je 0x4e7ce6
sub eax, 0x64
jne 0x4e7d18
cmp dword [edi + 0x3f0], 0
je 0x4e7cf6
mov byte [edi + 0x4c18], 1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [esi + 0xca], 1
cmp byte [esi + 0xca], 0
jne 0x4e7de5
cmp byte [edi + 0x517], 0
jne 0x4e7de5
push 0xf
push dword [esi + 0x78]
push str.Content_Length:
call fcn.004e1530
add esp, 0xc
test eax, eax
je 0x4e7de5
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 0x78]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.004ecf80
add esp, 0x10
test eax, eax
jne 0x4e7daf
mov ebp, dword [edi + 0x4d0]
mov eax, ebp
mov edx, dword [edi + 0x4d4]
or eax, edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
je 0x4e7d94
cmp ecx, edx
jg 0x4e864b
jl 0x4e7d94
cmp eax, ebp
ja 0x4e864b
push ecx
push eax
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
call fcn.004e9d40
add esp, 0xc
jmp 0x4e82d7
cmp eax, 1
jne 0x4e8666
mov eax, dword [edi + 0x4d0]
or eax, dword [edi + 0x4d4]
jne 0x4e864b
push 2
push ebx
call fcn.004df890
push str.Overflow_Content_Length:_value__n
push edi
call fcn.004decd0
add esp, 0x10
jmp 0x4e82d7
push 0xd
push dword [esi + 0x78]
push str.Content_Type:
call fcn.004e1530
add esp, 0xc
test eax, eax
je 0x4e7e3f
push dword [esi + 0x78]
call fcn.004e73a0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4e8681
cmp byte [ebp], 0
jne 0x4e7e25
push ebp
call dword [0x6fd358]
add esp, 4
jmp 0x4e82d7
push dword [edi + 0x4c30]
call dword [0x6fd358]
add esp, 4
mov dword [edi + 0x4c30], ebp
jmp 0x4e82d7
push 7
push dword [esi + 0x78]
push str.Server:
call fcn.004e1530
add esp, 0xc
test eax, eax
je 0x4e7ea7
cmp dword [ebx + 0x180], 0x14
jge 0x4e82d7
push dword [esi + 0x78]
call fcn.004e73a0
mov ebp, eax
add esp, 4
mov eax, dword [ebx + 0x5c4]
test eax, eax
je 0x4e7e98
cmp dword [eax], 1
jne 0x4e7e98
push ebp
push edi
call fcn.004eb010
add esp, 8
test al, al
je 0x4e7e98
mov eax, dword [ebx + 0x5c4]
mov dword [eax], 0xffffffff
push ebp
call dword [0x6fd358]
add esp, 4
jmp 0x4e82d7
cmp dword [ebx + 0x180], 0xa
jne 0x4e7eed
cmp byte [ebx + 0x27e], 0
je 0x4e7eed
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0x78]
call fcn.004e72d0
add esp, 0xc
test al, al
je 0x4e7eed
push 0
push ebx
call fcn.004df890
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
push edi
call fcn.004decd0
add esp, 0x10
jmp 0x4e82d7
cmp dword [ebx + 0x180], 0xb
jne 0x4e7f33
cmp byte [ebx + 0x27e], 0
je 0x4e7f33
push str.close
push str.Proxy_Connection:
push dword [esi + 0x78]
call fcn.004e72d0
add esp, 0xc
test al, al
je 0x4e7f33
push 1
push ebx
call fcn.004df890
push str.HTTP_1.1_proxy_connection_set_close__n
push edi
call fcn.004decd0
add esp, 0x10
jmp 0x4e82d7
cmp dword [ebx + 0x180], 0xa
jne 0x4e7f70
push str.keep_alive
push str.Connection:
push dword [esi + 0x78]
call fcn.004e72d0
add esp, 0xc
test al, al
je 0x4e7f70
push 0
push ebx
call fcn.004df890
push str.HTTP_1.0_connection_set_to_keep_alive__n
push edi
call fcn.004decd0
add esp, 0x10
jmp 0x4e82d7
push str.close
push str.Connection:
push dword [esi + 0x78]
call fcn.004e72d0
add esp, 0xc
test al, al
je 0x4e7f99
push 2
push ebx
call fcn.004df890
add esp, 8
jmp 0x4e82d7
push 0x12
push dword [esi + 0x78]
push str.Transfer_Encoding:
call fcn.004e1530
add esp, 0xc
test eax, eax
je 0x4e7fc6
mov eax, dword [esi + 0x78]
push 1
add eax, 0x12
push eax
push ebx
call fcn.004e16f0
add esp, 0xc
jmp 0x4e82cf
push 0x11
push dword [esi + 0x78]
push str.Content_Encoding:
call fcn.004e1530
add esp, 0xc
test eax, eax
je 0x4e7ffc
cmp dword [edi + 0x554], 0
je 0x4e7ffc
mov eax, dword [esi + 0x78]
push 0
add eax, 0x11
push eax
push ebx
call fcn.004e16f0
add esp, 0xc
jmp 0x4e82cf
push 0xe
push dword [esi + 0x78]
push str.Content_Range:
call fcn.004e1530
add esp, 0xc
test eax, eax
je 0x4e80b4
mov ebp, dword [esi + 0x78]
add ebp, 0xe
mov al, byte [ebp]
test al, al
je 0x4e8041
movzx eax, al
push eax
call fcn.005015d0
add esp, 4
test eax, eax
jne 0x4e8041
cmp byte [ebp], 0x2a
je 0x4e8041
mov al, byte [ebp + 1]
inc ebp
test al, al
jne 0x4e8023
movzx eax, byte [ebp]
push eax
call fcn.005015d0
add esp, 4
test eax, eax
je 0x4e809b
lea eax, [esi + 0x80]
push eax
push 0xa
push 0
push ebp
call fcn.004ecf80
add esp, 0x10
test eax, eax
jne 0x4e82d7
mov eax, dword [edi + 0x4b98]
cmp eax, dword [esi + 0x80]
jne 0x4e82d7
mov eax, dword [edi + 0x4b9c]
cmp eax, dword [esi + 0x84]
jne 0x4e82d7
mov byte [esi + 0x7c], 1
jmp 0x4e82d7
mov dword [edi + 0x4b98], 0
mov dword [edi + 0x4b9c], 0
jmp 0x4e82d7
cmp dword [edi + 0x6a8], 0
je 0x4e811c
push 0xb
push dword [esi + 0x78]
push str.Set_Cookie:
call fcn.004e1530
add esp, 0xc
test eax, eax
je 0x4e811c
push 2
push 2
push edi
call fcn.004e1950
mov eax, dword [ebx + 0x2f0]
add esp, 0xc
test eax, eax
jne 0x4e80f0
mov eax, dword [ebx + 0xa0]
push dword [edi + 0x4b8c]
push eax
mov eax, dword [esi + 0x78]
add eax, 0xb
push eax
push 1
push dword [edi + 0x6a8]
push edi
call fcn.004d23e0
push 2
push edi
call fcn.004e1990
add esp, 0x20
jmp 0x4e82d7
push 0xe
push dword [esi + 0x78]
push str.Last_Modified:
call fcn.004e1530
add esp, 0xc
test eax, eax
je 0x4e8197
cmp dword [edi + 0x3f0], 0
jne 0x4e8144
cmp byte [edi + 0x4ea], 0
je 0x4e8197
push 0
call fcn.0064b5b4
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esi + 0x78]
add eax, 0xe
mov dword [esp + 0x34], edx
push eax
call fcn.004ec880
add esp, 0xc
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], edx
cmp byte [edi + 0x4ea], 0
je 0x4e82d7
mov dword [edi + 0x4c10], eax
mov eax, dword [esi + 0xb4]
mov dword [edi + 0x4c14], eax
jmp 0x4e82d7
push 0x11
push dword [esi + 0x78]
push str.WWW_Authenticate:
call fcn.004e1530
add esp, 0xc
test eax, eax
je 0x4e81bb
mov ebp, dword [esi + 0x88]
cmp ebp, 0x191
je 0x4e81df
push 0x13
push dword [esi + 0x78]
push str.Proxy_authenticate:
call fcn.004e1530
add esp, 0xc
test eax, eax
je 0x4e822b
mov ebp, dword [esi + 0x88]
cmp ebp, 0x197
jne 0x4e822b
push dword [esi + 0x78]
call fcn.004e73a0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4e8681
cmp ebp, 0x197
push eax
sete cl
movzx ecx, cl
push ecx
push ebx
call fcn.004e7630
push dword [esp + 0x28]
mov ebp, eax
call dword [0x6fd358]
add esp, 0x10
test ebp, ebp
je 0x4e82d7
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x20
ret
mov eax, dword [esi + 0x88]
cmp eax, 0x12c
jl 0x4e82b4
cmp eax, 0x190
jge 0x4e82b4
push 9
push dword [esi + 0x78]
push str.Location:
call fcn.004e1530
add esp, 0xc
test eax, eax
je 0x4e82b4
cmp dword [edi + 0x13c], 0
jne 0x4e82b4
push dword [esi + 0x78]
call fcn.004e73a0
add esp, 4
test eax, eax
je 0x4e8681
cmp byte [eax], 0
jne 0x4e8282
push eax
call dword [0x6fd358]
add esp, 4
jmp 0x4e82d7
cmp byte [edi + 0x4f3], 0
mov dword [edi + 0x13c], eax
je 0x4e82d7
push eax
call dword [0x6fd360]
add esp, 4
mov dword [edi + 0x140], eax
test eax, eax
je 0x4e8681
push ebx
call fcn.004e8b70
add esp, 4
jmp 0x4e82cf
mov eax, dword [ebx + 0x2c0]
test dword [eax + 0x40], 0x40000
je 0x4e82d7
push dword [esi + 0x78]
push ebx
call fcn.00500070
add esp, 8
test eax, eax
jne 0x4e87e6
xor eax, eax
cmp byte [edi + 0x4f6], al
setne al
add eax, 2
cmp byte [edi + 0x500], 0
mov dword [esp + 0x1c], eax
je 0x4e8308
push ebx
push dword [esi + 0x68]
push dword [esi + 0x78]
push 1
push edi
call fcn.004dea90
mov eax, dword [esp + 0x30]
add esp, 0x14
push dword [esi + 0x68]
push dword [esi + 0x78]
push eax
push ebx
call fcn.004dea60
add esp, 0x10
test eax, eax
jne 0x4e87e6
mov eax, dword [esi + 0x68]
add dword [edi + 0x4c1c], eax
mov eax, dword [esi + 0x68]
add dword [edi + 0xa0], eax
jmp 0x4e85c3
cmp al, 0xd
jne 0x4e8341
lea eax, [edx + 1]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
cmp byte [eax], 0xa
jne 0x4e834d
inc eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x88]
cmp eax, 0x64
jl 0x4e83c1
cmp eax, 0xc7
jg 0x4e83c1
sub eax, 0x64
je 0x4e838f
sub eax, 1
je 0x4e8379
mov byte [esi + 0x58], 1
mov dword [esi + 0x60], 0
jmp 0x4e8418
cmp dword [esi + 0xa4], 1
je 0x4e868e
mov byte [esi + 0x58], 0
jmp 0x4e8418
cmp dword [esi + 0xa0], 0
mov byte [esi + 0x58], 1
mov dword [esi + 0x60], 0
jle 0x4e8418
or dword [esi + 0xc4], 2
push 0
push edi
mov dword [esi + 0xa0], 0
call fcn.004cf7f0
add esp, 8
jmp 0x4e8418
mov eax, dword [esi]
and eax, dword [esi + 4]
mov byte [esi + 0x58], 0
cmp eax, 0xffffffff
jne 0x4e8418
cmp byte [esi + 0xdc], 0
jne 0x4e8418
cmp byte [ebx + 0x279], 0
jne 0x4e8421
cmp dword [ebx + 0x180], 0xb
jne 0x4e8418
mov eax, dword [ebx + 0x2c0]
test dword [eax + 0x40], 0x40000
jne 0x4e8418
cmp dword [edi + 0x400], 6
je 0x4e8418
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push edi
call fcn.004decd0
push 2
push ebx
call fcn.004df890
add esp, 0x10
cmp byte [ebx + 0x279], 0
je 0x4e845c
mov eax, dword [edi + 0xf8]
cmp eax, 0x191
jne 0x4e8437
cmp dword [ebx + 0x368], 2
je 0x4e8447
cmp eax, 0x197
jne 0x4e845c
cmp dword [ebx + 0x3a4], 2
jne 0x4e845c
push str.Connection_closure_while_negotiating_auth__HTTP_1.0___n
push edi
call fcn.004decd0
add esp, 8
mov byte [edi + 0x4994], 1
push ebx
call fcn.004e8d10
add esp, 4
test eax, eax
jne 0x4e8789
mov eax, dword [edi + 0x864]
mov ebp, dword [esi + 0x78]
sub ebp, eax
push ebp
push eax
xor eax, eax
mov dword [esp + 0x24], ebp
cmp byte [edi + 0x4f6], al
setne al
add eax, 2
push eax
push ebx
call fcn.004dea60
add esp, 0x10
test eax, eax
jne 0x4e87e6
add dword [edi + 0xa0], ebp
add dword [edi + 0x4c1c], ebp
mov eax, dword [esi + 0x88]
mov ecx, dword [edi + 0xa0]
cmp eax, 0x64
jl 0x4e84c2
cmp eax, 0xc7
jle 0x4e84c4
xor ecx, ecx
push ebx
mov dword [edi + 0xa4], ecx
call fcn.004e7470
add esp, 4
test eax, eax
jne 0x4e87e6
cmp dword [esi + 0x88], 0x12c
jl 0x4e85b9
cmp byte [ebx + 0x28a], al
jne 0x4e859b
cmp byte [ebx + 0x279], al
jne 0x4e859b
cmp byte [ebx + 0x28b], al
jne 0x4e85a4
mov eax, dword [edi + 0x400]
add eax, 0xfffffffe
cmp eax, 3
ja 0x4e859b
push 0
push edi
call fcn.004cf7f0
add esp, 8
cmp byte [esi + 0xc8], 0
jne 0x4e859b
cmp byte [edi + 0x4f2], 0
je 0x4e8564
push str.HTTP_error_before_end_of_send__keep_sending_n
push edi
call fcn.004decd0
add esp, 8
cmp dword [esi + 0xa0], 0
jle 0x4e859b
or dword [esi + 0xc4], 2
mov dword [esi + 0xa0], 0
jmp 0x4e859b
push str.HTTP_error_before_end_of_send__stop_sending_n
push edi
call fcn.004decd0
push 2
push ebx
call fcn.004df890
and dword [esi + 0xc4], 0xfffffffd
add esp, 0x10
mov byte [esi + 0xc8], 1
cmp byte [edi + 0x4b84], 0
je 0x4e859b
mov dword [esi + 0xa0], 3
cmp byte [ebx + 0x28b], 0
je 0x4e85b9
push str.Keep_sending_data_to_get_tossed_away__n
push edi
call fcn.004decd0
add esp, 8
or dword [esi + 0xc4], 2
cmp byte [esi + 0x58], 0
je 0x4e86be
mov eax, dword [edi + 0x864]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x68], 0
cmp byte [eax], 0
jne 0x4e7992
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
mov eax, dword [esp + 0x3c]
mov byte [esi + 0x58], 0
cmp dword [eax], 0
je 0x4e8607
pop edi
mov dword [esi + 0x5c], 1
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
pop edi
mov dword [esi + 0x5c], 2
pop esi
mov dword [eax], ebp
xor eax, eax
pop ebp
pop ebx
add esp, 0x20
ret
push str.Unsupported_HTTP_version_in_response_n
push edi
call fcn.004deb80
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push edi
call fcn.004e8f80
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push str.Maximum_file_size_exceeded
push edi
call fcn.004deb80
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push str.Invalid_Content_Length:_value
push edi
call fcn.004deb80
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x20
ret
push str.Received_101_n
push edi
call fcn.004decd0
add esp, 8
mov dword [esi + 0xa4], 2
mov byte [esi + 0x58], 1
mov eax, 1
mov dword [esi + 0x60], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
cmp byte [edi + 0x4f9], 0
mov ebp, dword [esp + 0x40]
je 0x4e86d1
mov byte [ebp], 1
jmp 0x4e8720
mov eax, dword [ebx + 0x2c0]
test dword [eax + 0x40], 0x40000
je 0x4e86fc
cmp dword [edi + 0x630], 2
jne 0x4e86fc
cmp dword [esi + 4], 0xffffffff
jg 0x4e86fc
jl 0x4e86f6
cmp dword [esi], 0xffffffff
ja 0x4e86fc
mov byte [ebp], 1
jmp 0x4e8720
cmp byte [esi + 0xdc], 0
je 0x4e8720
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 0x4e872e
cmp eax, ecx
je 0x4e8744
push eax
push ecx
push edi
call fcn.004e9d40
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 0x4e8756
cmp dword [esi + 0x14], 0
jne 0x4e8756
mov byte [ebp], 1
jmp 0x4e875c
cmp byte [ebp], 0
je 0x4e8763
and dword [esi + 0xc4], 0xfffffffe
cmp byte [edi + 0x500], 0
je 0x4e87e4
push ebx
push dword [esp + 0x20]
push dword [esi + 0x70]
push 1
push edi
call fcn.004dea90
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push dword [esi + 0x88]
push str.The_requested_URL_returned_error:__d
push edi
call fcn.004deb80
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push dword [eax]
push esi
push edi
call fcn.004e89a0
add esp, 0xc
test eax, eax
jne 0x4e87e6
cmp dword [esi + 0x60], eax
jne 0x4e87e4
cmp dword [esi + 0x68], 5
jbe 0x4e87e4
push dword [edi + 0x864]
push ebx
push edi
call fcn.004e8870
add esp, 0xc
test al, al
jne 0x4e87e4
mov dword [esi + 0x5c], 2
mov byte [esi + 0x58], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret